This document is a report submitted by Kajal Gaharwal for their Visual Basic assessment project. It includes an acknowledgements section thanking those who helped. The synopsis explains that the project strengthened their practical Visual Basic concepts. The bulk of the document contains the code for the Notepad application created in Visual Basic, including multiple forms and functions for common text editing tasks.
This document is a report submitted by Kajal Gaharwal for their Visual Basic assessment project. It includes an acknowledgements section thanking those who helped. The synopsis explains that the project strengthened their practical Visual Basic concepts. The bulk of the document contains the code for the Notepad application created in Visual Basic, including multiple forms and functions for common text editing tasks.
The document is a Visual Basic program for a hotel reservation system. It allows users to enter a guest name, select a room type and number, and pick check-in and check-out dates. It then calculates the room rate, number of nights stayed, and any applicable discounts (0-75% off for long stays). The total payment due is displayed along with a record of the reservation added to several list boxes.
The document contains code snippets in Visual Basic for various programming tasks like:
1. Copying text from one text box to another
2. Clearing text from text boxes
3. Summarizing a number and reversing it
4. Calculating factorial of a number
5. Checking if a number is prime
6. Swapping numbers by value and reference
7. Checking case of a string and converting case
The document contains code for a password protected form that allows the user to log in with their username and password. It also contains code for a main form that collects customer information like name, address, phone number and validates the required fields. The main form allows the user to navigate to additional forms to select snowboards, bindings, boots and other items.
This document provides information about an inventory management application created in VB.NET. It includes details on the login screen, main menu, stock record viewing and editing screens, size and color record screens, and supporting code. The application allows users to view, add, update and delete inventory stock records with attributes like quantity, product type, size, and color.
The document contains the code for a basic calculator application. It defines variables to store the total, operation, and second total. It includes subroutines for each number and operation button that append the value to a text box. The equal button routine performs the calculation based on the stored operation and totals, displays the result, and resets for the next operation.
1. The document contains code for three forms - one for number conversion between binary, decimal, octal and hexadecimal, one for temperature conversion, and one for calculating area.
2. The number conversion form contains functions to convert between the different number systems.
3. The temperature conversion form contains an option-driven routine to convert between Celsius, Fahrenheit and Kelvin scales.
4. The area calculation form contains buttons to calculate the area of triangles, circles, squares and rectangles by calling the appropriate formulas.
This document provides instructions for creating a simple book sales application in VB.Net. It describes setting up the database tables, designing the user interface forms, and includes example code for form functionality like loading and saving data. Tables are created for book types, books, transactions, and transaction details. Forms are designed for a main menu, managing book types and books, and processing sales transactions. Code examples show connecting to the database and querying/manipulating data. The goal is to demonstrate creating a basic working application with a database backend using VB.Net.
The document contains 9 VB.Net programs with code examples and output. The programs cover topics like counting vowels in a string, checking if a number is even/odd/overflow, calculating compound interest, summing positive and negative numbers from user input, concatenating strings with message box, changing font style based on checkboxes, generating a student enrollment form with combo boxes, creating a dynamic user login form using a database, and implementing a multiple document interface with parent and child forms.
The document contains 12 code examples demonstrating various functions in VB.NET including:
1) Displaying a message when a button is clicked
2) Showing a message box on button click
3) Accepting input and displaying a sum
4) Performing math operations on input values
5) Checking if a number is positive, negative, or zero
6) Finding the maximum and minimum of three numbers
7) Calculating simple and compound interest
8) Creating a student marksheet
9) Building a digital clock using a timer
10) Displaying prime numbers between ranges
11) Collecting and displaying user information
12) Adding names between listboxes and removing selected names
This presentation covers four controls: the timer, combo box, rich text box, and slider. It discusses how each control works and provides code examples for using them. For the timer, it shows how to use it as a stopwatch. For the combo box, it demonstrates populating one and changing text color based on selection. The rich text box example adds formatting to text. And the slider examples set the range and handle value change events.
The document contains 13 programs demonstrating various visual basic concepts. Program 1 prints numbers from 1 to 5 in a loop. Program 2 prints a triangle pattern using nested loops. Program 3 prints a reverse triangle pattern. Program 4 multiplies two numbers. Program 5 prints a pyramid pattern. The remaining programs demonstrate concepts like checkboxes, option buttons, timers, mouse painting, puzzles, menus and calculating student results.
This document contains the code for an editor application called EditorNet. It includes code for opening, saving, printing and formatting text in a rich text box. Functions allow changing font style and color, as well as cutting, copying and pasting text. The code handles opening, saving and printing documents, and includes a print preview dialog box and page setup options.
This document contains the code submissions and reflections of a student named Happy Nezza Aranjuez for various Visual Basic projects assigned by their teacher, Mrs. Rowena A. Reyes. The projects include creating click events to display text, changing the shape and properties of objects, performing mathematical computations, and calculating area, volume, and hypotenuse using inputs. The student found the projects fun and educational for learning Visual Basic concepts and enjoyed exploring the different features. They felt the activities helped improve their programming skills and appreciation for how technology can enhance teaching.
This document contains the source code for an application called "Travel App" created using visual programming. It includes code for various forms like the login form, splash screen, customer form, transaction form, route form, price form and about form. The code handles form loading, navigation between forms, adding/deleting customer records from the database and calculating ticket prices based on routes. The author of the application is Muslih Hidayat with student number 1101169 from Sekolah Tinggi Manajemen Informatika dan Komputer Nurdin Hamzah.
This document provides examples of various Visual Basic applications using different controls. It includes 12 short applications demonstrating:
1. Label and text box controls to display input fields.
2. A calculator application using command buttons to perform arithmetic operations on two input numbers.
3. Radio buttons to display options and respond to user selection.
4. A form with text boxes, combo boxes and command buttons to accept user input.
5. A timer control changing the visibility of shapes to simulate traffic lights.
6. Getting user input on a form and displaying marks on another frame.
So in summary, it presents 12 mini-projects to demonstrate common Visual Basic controls and concepts like forms, buttons
Uniface Lectures Webinar - Uniface 10 Technical Deep DiveUniface
In this addition of the Uniface Lectures Webinar we cover:
• Understand Uniface adoption and the need for Uniface 10
• Learn about the new capabilities in Uniface 10
• Codify your company standards to accelerate development and consistency.
The document is a Visual Basic program for a hotel reservation system. It allows users to enter a guest name, select a room type and number, and pick check-in and check-out dates. It then calculates the room rate, number of nights stayed, and any applicable discounts (0-75% off for long stays). The total payment due is displayed along with a record of the reservation added to several list boxes.
The document contains code snippets in Visual Basic for various programming tasks like:
1. Copying text from one text box to another
2. Clearing text from text boxes
3. Summarizing a number and reversing it
4. Calculating factorial of a number
5. Checking if a number is prime
6. Swapping numbers by value and reference
7. Checking case of a string and converting case
The document contains code for a password protected form that allows the user to log in with their username and password. It also contains code for a main form that collects customer information like name, address, phone number and validates the required fields. The main form allows the user to navigate to additional forms to select snowboards, bindings, boots and other items.
This document provides information about an inventory management application created in VB.NET. It includes details on the login screen, main menu, stock record viewing and editing screens, size and color record screens, and supporting code. The application allows users to view, add, update and delete inventory stock records with attributes like quantity, product type, size, and color.
The document contains the code for a basic calculator application. It defines variables to store the total, operation, and second total. It includes subroutines for each number and operation button that append the value to a text box. The equal button routine performs the calculation based on the stored operation and totals, displays the result, and resets for the next operation.
1. The document contains code for three forms - one for number conversion between binary, decimal, octal and hexadecimal, one for temperature conversion, and one for calculating area.
2. The number conversion form contains functions to convert between the different number systems.
3. The temperature conversion form contains an option-driven routine to convert between Celsius, Fahrenheit and Kelvin scales.
4. The area calculation form contains buttons to calculate the area of triangles, circles, squares and rectangles by calling the appropriate formulas.
This document provides instructions for creating a simple book sales application in VB.Net. It describes setting up the database tables, designing the user interface forms, and includes example code for form functionality like loading and saving data. Tables are created for book types, books, transactions, and transaction details. Forms are designed for a main menu, managing book types and books, and processing sales transactions. Code examples show connecting to the database and querying/manipulating data. The goal is to demonstrate creating a basic working application with a database backend using VB.Net.
The document contains 9 VB.Net programs with code examples and output. The programs cover topics like counting vowels in a string, checking if a number is even/odd/overflow, calculating compound interest, summing positive and negative numbers from user input, concatenating strings with message box, changing font style based on checkboxes, generating a student enrollment form with combo boxes, creating a dynamic user login form using a database, and implementing a multiple document interface with parent and child forms.
The document contains 12 code examples demonstrating various functions in VB.NET including:
1) Displaying a message when a button is clicked
2) Showing a message box on button click
3) Accepting input and displaying a sum
4) Performing math operations on input values
5) Checking if a number is positive, negative, or zero
6) Finding the maximum and minimum of three numbers
7) Calculating simple and compound interest
8) Creating a student marksheet
9) Building a digital clock using a timer
10) Displaying prime numbers between ranges
11) Collecting and displaying user information
12) Adding names between listboxes and removing selected names
This presentation covers four controls: the timer, combo box, rich text box, and slider. It discusses how each control works and provides code examples for using them. For the timer, it shows how to use it as a stopwatch. For the combo box, it demonstrates populating one and changing text color based on selection. The rich text box example adds formatting to text. And the slider examples set the range and handle value change events.
The document contains 13 programs demonstrating various visual basic concepts. Program 1 prints numbers from 1 to 5 in a loop. Program 2 prints a triangle pattern using nested loops. Program 3 prints a reverse triangle pattern. Program 4 multiplies two numbers. Program 5 prints a pyramid pattern. The remaining programs demonstrate concepts like checkboxes, option buttons, timers, mouse painting, puzzles, menus and calculating student results.
This document contains the code for an editor application called EditorNet. It includes code for opening, saving, printing and formatting text in a rich text box. Functions allow changing font style and color, as well as cutting, copying and pasting text. The code handles opening, saving and printing documents, and includes a print preview dialog box and page setup options.
This document contains the code submissions and reflections of a student named Happy Nezza Aranjuez for various Visual Basic projects assigned by their teacher, Mrs. Rowena A. Reyes. The projects include creating click events to display text, changing the shape and properties of objects, performing mathematical computations, and calculating area, volume, and hypotenuse using inputs. The student found the projects fun and educational for learning Visual Basic concepts and enjoyed exploring the different features. They felt the activities helped improve their programming skills and appreciation for how technology can enhance teaching.
This document contains the source code for an application called "Travel App" created using visual programming. It includes code for various forms like the login form, splash screen, customer form, transaction form, route form, price form and about form. The code handles form loading, navigation between forms, adding/deleting customer records from the database and calculating ticket prices based on routes. The author of the application is Muslih Hidayat with student number 1101169 from Sekolah Tinggi Manajemen Informatika dan Komputer Nurdin Hamzah.
This document provides examples of various Visual Basic applications using different controls. It includes 12 short applications demonstrating:
1. Label and text box controls to display input fields.
2. A calculator application using command buttons to perform arithmetic operations on two input numbers.
3. Radio buttons to display options and respond to user selection.
4. A form with text boxes, combo boxes and command buttons to accept user input.
5. A timer control changing the visibility of shapes to simulate traffic lights.
6. Getting user input on a form and displaying marks on another frame.
So in summary, it presents 12 mini-projects to demonstrate common Visual Basic controls and concepts like forms, buttons
Uniface Lectures Webinar - Uniface 10 Technical Deep DiveUniface
In this addition of the Uniface Lectures Webinar we cover:
• Understand Uniface adoption and the need for Uniface 10
• Learn about the new capabilities in Uniface 10
• Codify your company standards to accelerate development and consistency.
The document provides an overview of .NET technology and VB.NET programming. It discusses key aspects of .NET including the Common Language Runtime (CLR), Common Type System, Windows Forms, Web Forms, Web Services, ADO.NET, XML support, and multiple language support. It also covers VB.NET programming concepts like forms, events, databases, dialog boxes, menus, classes, and arrays of objects. The document is intended as teaching material for a course on .NET and VB.NET programming.
This document provides instructions and code examples for 8 lab exercises involving Visual Basic programming. Exercise 1 demonstrates using text boxes and command buttons. Exercise 2 loads multiple forms. Exercise 3 creates a timer program. Exercise 4 demonstrates command buttons and text manipulation. Exercise 5 involves list boxes and combo boxes. Exercise 6 builds a basic calculator application using arrays. Exercise 7 demonstrates string operations and conversions using a custom class. Exercise 8 uses picture boxes and labels to demonstrate color values.
The document contains VBA code for a userform with 6 text boxes and 2 option buttons. The code in SubCommandButton1_Click clears all text boxes when clicked. SubCommandButton2_Click validates that all text boxes contain text, then writes the text box values to a spreadsheet. It also writes a formula to the next column based on the selected option button, clears the text boxes, and displays a confirmation message.
The document discusses various aspects of using Visual Basic 2008 and Microsoft Access 2007 for GUI and database development. It covers topics like Visual Basic basics, the Visual Basic 2008 interface and tools, using forms and controls in Access 2007, creating tables and relationships in a Access 2007 database, and includes examples of Visual Basic and VBA code for forms interacting with an Access 2007 backend database.
The document discusses various topics related to GUI Visual Basic 2008 and Microsoft Office Access 2007. It includes sections on Visual Basic, Access 2007 features like tables, queries, forms and reports. It also includes code examples for forms in Visual Basic to manage customer, car and rent data in an Access 2007 database. The code shows how to search, add, update and delete records using buttons and text boxes on the forms.
This document is a report submitted by Sachin Foujdar for his Bachelor of Computer Application degree. It details the development of an ATM application created in Visual Basic. The application uses event-driven programming concepts and connects to an Access database. Sachin thanks his mentor for assistance in creating the project and his college for providing the opportunity. Code snippets are included that show functions for logging into the ATM, performing transactions, creating new accounts, and updating accounts.
The document contains source code for several .NET programming examples including currency conversion, degree conversion, string manipulation, calculator, and employee salary calculation. The code demonstrates how to design forms, add controls, handle events, perform calculations and insert data into a SQL database. Output for the examples is not shown. The last example contains code to calculate an employee's gross pay and net pay based on their base pay and standard deductions.
The document is a project report submitted by Reema Agarwal for their BCA degree at Dezyne E'cole College. The report describes a basic Visual Basic project that uses a timer control to change the background color on a cyclic basis, with the goal of strengthening practical Visual Basic concepts. The project uses a timer to increment a number variable, and changes the form's background color corresponding to the variable value before resetting it, cycling through the colors.
Shikh Mohammad Usman Haidar , BCA Third YearDezyneecole
This document is a project report submitted by Shekh Mod. Usman Haider towards fulfilling requirements for a Bachelor's degree in Computer Application from Dezyne E ́cole College in Ajmer, India. The project involves developing a prime number checker using Visual Basic programming. The report acknowledges the guidance provided by Dezyne E ́cole College and necessary information and support for completing the project. It then provides code snippets for a program that takes integer input in a 3x3 array, checks if each number is prime by testing for divisors, and outputs the numbers in a second 3x3 array with prime numbers highlighted in red.
Shikh Mohammad Usman Haidar , BCA Third YearDezyneecole
This document describes a C++ program for generating a name list. It includes functions for inserting, viewing, modifying, deleting, and searching student records stored in a file. The main menu allows selecting these options to add, view, edit, or find a student's name, class, ID and city details stored in a text file database. Functions use file input/output streams, string comparisons and screen positioning commands to manage the student records and display messages.
The document is a student project report submitted by Pooja Sharma for their BCA degree. It includes an acknowledgement thanking those who helped, a synopsis stating it is a C++ project to strengthen practical concepts, and the coding for a student management system with options to add, show, search, modify, and delete student records from a text file.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Diana Rendina
Librarians are leading the way in creating future-ready citizens – now we need to update our spaces to match. In this session, attendees will get inspiration for transforming their library spaces. You’ll learn how to survey students and patrons, create a focus group, and use design thinking to brainstorm ideas for your space. We’ll discuss budget friendly ways to change your space as well as how to find funding. No matter where you’re at, you’ll find ideas for reimagining your space in this session.
Strategies for Effective Upskilling is a presentation by Chinwendu Peace in a Your Skill Boost Masterclass organisation by the Excellence Foundation for South Sudan on 08th and 09th June 2024 from 1 PM to 3 PM on each day.
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPRAHUL
This Dissertation explores the particular circumstances of Mirzapur, a region located in the
core of India. Mirzapur, with its varied terrains and abundant biodiversity, offers an optimal
environment for investigating the changes in vegetation cover dynamics. Our study utilizes
advanced technologies such as GIS (Geographic Information Systems) and Remote sensing to
analyze the transformations that have taken place over the course of a decade.
The complex relationship between human activities and the environment has been the focus
of extensive research and worry. As the global community grapples with swift urbanization,
population expansion, and economic progress, the effects on natural ecosystems are becoming
more evident. A crucial element of this impact is the alteration of vegetation cover, which plays a
significant role in maintaining the ecological equilibrium of our planet.Land serves as the foundation for all human activities and provides the necessary materials for
these activities. As the most crucial natural resource, its utilization by humans results in different
'Land uses,' which are determined by both human activities and the physical characteristics of the
land.
The utilization of land is impacted by human needs and environmental factors. In countries
like India, rapid population growth and the emphasis on extensive resource exploitation can lead
to significant land degradation, adversely affecting the region's land cover.
Therefore, human intervention has significantly influenced land use patterns over many
centuries, evolving its structure over time and space. In the present era, these changes have
accelerated due to factors such as agriculture and urbanization. Information regarding land use and
cover is essential for various planning and management tasks related to the Earth's surface,
providing crucial environmental data for scientific, resource management, policy purposes, and
diverse human activities.
Accurate understanding of land use and cover is imperative for the development planning
of any area. Consequently, a wide range of professionals, including earth system scientists, land
and water managers, and urban planners, are interested in obtaining data on land use and cover
changes, conversion trends, and other related patterns. The spatial dimensions of land use and
cover support policymakers and scientists in making well-informed decisions, as alterations in
these patterns indicate shifts in economic and social conditions. Monitoring such changes with the
help of Advanced technologies like Remote Sensing and Geographic Information Systems is
crucial for coordinated efforts across different administrative levels. Advanced technologies like
Remote Sensing and Geographic Information Systems
9
Changes in vegetation cover refer to variations in the distribution, composition, and overall
structure of plant communities across different temporal and spatial scales. These changes can
occur natural.
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...PECB
Denis is a dynamic and results-driven Chief Information Officer (CIO) with a distinguished career spanning information systems analysis and technical project management. With a proven track record of spearheading the design and delivery of cutting-edge Information Management solutions, he has consistently elevated business operations, streamlined reporting functions, and maximized process efficiency.
Certified as an ISO/IEC 27001: Information Security Management Systems (ISMS) Lead Implementer, Data Protection Officer, and Cyber Risks Analyst, Denis brings a heightened focus on data security, privacy, and cyber resilience to every endeavor.
His expertise extends across a diverse spectrum of reporting, database, and web development applications, underpinned by an exceptional grasp of data storage and virtualization technologies. His proficiency in application testing, database administration, and data cleansing ensures seamless execution of complex projects.
What sets Denis apart is his comprehensive understanding of Business and Systems Analysis technologies, honed through involvement in all phases of the Software Development Lifecycle (SDLC). From meticulous requirements gathering to precise analysis, innovative design, rigorous development, thorough testing, and successful implementation, he has consistently delivered exceptional results.
Throughout his career, he has taken on multifaceted roles, from leading technical project management teams to owning solutions that drive operational excellence. His conscientious and proactive approach is unwavering, whether he is working independently or collaboratively within a team. His ability to connect with colleagues on a personal level underscores his commitment to fostering a harmonious and productive workplace environment.
Date: May 29, 2024
Tags: Information Security, ISO/IEC 27001, ISO/IEC 42001, Artificial Intelligence, GDPR
-------------------------------------------------------------------------------
Find out more about ISO training and certification services
Training: ISO/IEC 27001 Information Security Management System - EN | PECB
ISO/IEC 42001 Artificial Intelligence Management System - EN | PECB
General Data Protection Regulation (GDPR) - Training Courses - EN | PECB
Webinars: https://pecb.com/webinars
Article: https://pecb.com/article
-------------------------------------------------------------------------------
For more information about PECB:
Website: https://pecb.com/
LinkedIn: https://www.linkedin.com/company/pecb/
Facebook: https://www.facebook.com/PECBInternational/
Slideshare: http://www.slideshare.net/PECBCERTIFICATION
This presentation was provided by Steph Pollock of The American Psychological Association’s Journals Program, and Damita Snow, of The American Society of Civil Engineers (ASCE), for the initial session of NISO's 2024 Training Series "DEIA in the Scholarly Landscape." Session One: 'Setting Expectations: a DEIA Primer,' was held June 6, 2024.
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
Leveraging Generative AI to Drive Nonprofit InnovationTechSoup
In this webinar, participants learned how to utilize Generative AI to streamline operations and elevate member engagement. Amazon Web Service experts provided a customer specific use cases and dived into low/no-code tools that are quick and easy to deploy through Amazon Web Service (AWS.)
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Dr. Vinod Kumar Kanvaria
Exploiting Artificial Intelligence for Empowering Researchers and Faculty,
International FDP on Fundamentals of Research in Social Sciences
at Integral University, Lucknow, 06.06.2024
By Dr. Vinod Kumar Kanvaria
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
हिंदी वर्णमाला पीपीटी, hindi alphabet PPT presentation, hindi varnamala PPT, Hindi Varnamala pdf, हिंदी स्वर, हिंदी व्यंजन, sikhiye hindi varnmala, dr. mulla adam ali, hindi language and literature, hindi alphabet with drawing, hindi alphabet pdf, hindi varnamala for childrens, hindi language, hindi varnamala practice for kids, https://www.drmullaadamali.com
2. Partial Fulfillment
On
Visual Basic Programming
At
Dezyne E´cole College
Submitted to
Dezyne E’cole College
Partial Fulfillment on
BCA
Bachelors of Computer Application
By:
Rakesh Bijawat
Dezyne E´cole College
106/10, Civil Lines Ajmer
Tel-Phone - 0145-2624679
www.dezyneecole.com
2017-18
3. Acknowledgement
I Rakesh Bijawat, Student of Dezyne E´Cole College, I Am Extremely
Grateful To Each And Every Individual Who Has Contributed In
Successful Completion of My Project. I Express My Gratitude
Towards Dezyne E´Cole College For Their Guidance And Contrast
Supervision As Well As For Providing The Necessary Information And
Support Regarding The Completion Of Project.
Thank You
Rakesh Bijawat
BCA IIIrd Year
4. Synopsis
This Project Is A Minor Project Made, Based On The Practical Concept Of
Visual Basic. This Project Has Made Our Basic Practical Concepts On Visual
Basic Strong.
7. Dim rp, fp, a As Variant
Dim m%, b%, c%, fd%, d%
Option Explicit
Const maxUndo = 50
Dim gblnIgnoreChange As Boolean
Dim gintIndex As Integer
Dim gstrStack(maxUndo) As String
Dim stackBK(maxUndo) As String
Dim i As Integer
Private Sub copy_Click()
Call mcop
End Sub
Public Sub mcop()
Clipboard.SetText RichTextBox1.SelText
End Sub
Private Sub cut_Click()
Call mcut
Form 1
st
8. End Sub
Private Sub edit_Click()
If RichTextBox1.SelLength = 0 Then
cut.Enabled = False
copy.Enabled = False
delete.Enabled = False
selectall.Enabled = True
ElseIf RichTextBox1.SelLength =
Len(RichTextBox1.Text) Then
cut.Enabled = True
copy.Enabled = True
delete.Enabled = True
selectall.Enabled = False
Else
cut.Enabled = True
copy.Enabled = True
delete.Enabled = True
selectall.Enabled = True
9. End If
If Len(Clipboard.GetText(1)) = 0 Then
paste.Enabled = False
Else
paste.Enabled = True
End If
End Sub
Private Sub munpop_click()
If RichTextBox1.SelLength = 0 Then
munc.Enabled = False
muncop.Enabled = False
mundele.Enabled = False
munsele.Enabled = True
ElseIf RichTextBox1.SelLength =
Len(RichTextBox1.Text) Then
munc.Enabled = True
muncop.Enabled = True
mundele.Enabled = True
munsele.Enabled = False
10. Else
munc.Enabled = True
muncop.Enabled = True
mundele.Enabled = True
munsele.Enabled = True
End If
If Len(Clipboard.GetText(1)) = 0 Then
munpst.Enabled = False
Else
munpst.Enabled = True
End If
End Sub
Public Sub mcut()
Clipboard.SetText RichTextBox1.SelText
RichTextBox1.SelText = " "
End Sub
Private Sub delete_Click()
Call mdel
End Sub
11. Public Sub mdel()
RichTextBox1.SelText = ""
RichTextBox1.SelText = ""
End Sub
Private Sub exit_Click()
Unload Me
End Sub
Private Sub munc_Click()
Call mcut
End Sub
Private Sub muncop_Click()
Call mcop
End Sub
Private Sub mundele_Click()
Call mdel
End Sub
Private Sub munfind_Click()
fd = InputBox("Enter Word", "Find")
12. RichTextBox1.Find (fd)
End Sub
Private Sub munfindnext_Click()
Form4.Show
End Sub
Private Sub Form_Load()
Form1.Caption = "Untitled-Notepad"
m = 1
RichTextBox1.RightMargin = Screen.Width -
(Screen.Width - RichTextBox1.Width - 6000)
End Sub
Private Sub Form_Resize()
RichTextBox1.Width = Form1.Width - 300
RichTextBox1.Height = Form1.Height – 1140
End Sub
Private Sub helptopics_Click()
On Error Resume Next
With CommonDialog1
.Flags = 1
13. .CancelError = True
.ShowHelp
End With
End Sub
Private Sub munfont_Click()
On Error Resume Next
With CommonDialog1
.Flags = 1
.CancelError = True
.ShowFont
End With
RichTextBox1.Font.Name = CommonDialog1.FontName
RichTextBox1.Font.Size = CommonDialog1.FontSize
RichTextBox1.Font.Bold = CommonDialog1.FontBold
RichTextBox1.Font.Italic = CommonDialog1.FontItalic
RichTextBox1.Font.Underline =
CommonDialog1.FontUnderline
RichTextBox1.Font.Strikethrough =
CommonDialog1.FontStrikethru
14. End Sub
Private Sub munpst_Click()
Call mpas
End Sub
Private Sub munsave_Click()
On Error GoTo Label
Dim ifile As Integer
Dim savefile As Boolean
Dim txtbox As Object
Dim filepath As String
Dim append As Boolean
With CommonDialog1
.Flags = 1
.CancelError = True
.Filter = "Text Document(*.txt)|*.txt |All
Files(*.*)|*.*"
If m = 1 Then
m = m + 1
. ShowSave
15. End If
End With
ifile = FreeFile
If append Then
Open CommonDialog1.FileName For Append As
#ifile
Else
Open CommonDialog1.FileName For Output As #ifile
End If
Print #ifile, RichTextBox1.Text
savefile = True
Label:
Close #ifile
Form1.Caption = CommonDialog1.FileTitle + "-
Notepad"
End Sub
Private Sub munsele_Click()
Call msel
End Sub
16. Private Sub munund_Click()
Call und
End Sub
Public Sub und()
If gintIndex = 0 Then Exit Sub
gblnIgnoreChange = True
gintIndex = gintIndex - 1
On Error Resume Next
RichTextBox1.TextRTF = gstrStack(gintIndex)
gblnIgnoreChange = False
End Sub
Private Sub new_Click()
On Error Resume Next
m = 1
If RichTextBox1.Text <> "" Then
a = MsgBox("Do you want to save the changes?",
vbYesNoCancel + vbQuestion, "Save")
If a = vbYes Then
With CommonDialog1
17. .CancelError = True
.InitDir = "E:"
.Filter = "Text Documents(*.txt)|*.txt | All
Files(*.*)|*.*"
.ShowSave
End With
RichTextBox1.Text = ""
End If
If a = vbNo Then
RichTextBox1.Text = " "
End If
End If
End Sub
Private Sub notepad_Click()
Form2.Show
End Sub
Private Sub open_Click()
On Error Resume Next
With CommonDialog1
18. .CancelError = True
.InitDir = "E:"
.Filter = "Text Documents(*.txt)|*.txt| All Files(*.*) |
*.*"
.ShowOpen
End With
RichTextBox1.LoadFile (CommonDialog1.FileName)
End Sub
Private Sub paste_Click()
Call mpas
End Sub
Public Sub mpas()
If Clipboard.GetFormat(vbCFText) Then
RichTextBox1.SelText =
Clipboard.GetText(vbCFText)
End If
End Sub
Private Sub print_Click()
On Error GoTo Label
19. Dim b, e, n, i As Variant
With CommonDialog1
.Flags = 1
.CancelError = True
.ShowPrinter
b = .FromPage
e = .ToPage
n = .Copies
End With
For i = 1 To n
Printer.Print RichTextBox1.Text
Next
Exit Sub
Label:
Exit Sub
End Sub
Private Sub replace_Click()
Form3.Show
20. End Sub
Private Sub RichTextBox1_Change()
Dim g As Integer
Dim b As Integer
Dim i As Integer
g = maxUndo
If Not gblnIgnoreChange Then
gintIndex = gintIndex + 1
If gintIndex >= maxUndo + 1 Then
For b = 0 To maxUndo
stackBK(b) = gstrStack(b)
Next b
For i = 0 To maxUndo
If g >= 1 Then
g = g - 1
gstrStack(g) = stackBK(g + 1)
End If
Next i
gintIndex = maxUndo
21. End If
gstrStack(gintIndex) = RichTextBox1.TextRTF
End If
End Sub
Private Sub saveas_Click()
On Error GoTo Label
Dim ifile As Integer
Dim savefile As Boolean
Dim txtbox As Object
Dim filepath As String
Dim append As Boolean
With CommonDialog1
.Flags = 1
.CancelError = True
.Filter = "Text Document(*.txt)|*.txt |All
Files(*.*)|*.*"
.ShowSave
End With
ifile = FreeFile
22. If append Then
Open CommonDialog1.FileName For Append As
#ifile
Else
Open CommonDialog1.FileName For Output As #ifile
End If
Print #ifile, RichTextBox1.Text
savefile = True
Label:
Close #ifile
Form1.Caption = CommonDialog1.FileTitle + "-
Notepad"
End Sub
Private Sub selectall_Click()
Call msel
End Sub
Public Sub msel()
RichTextBox1.SelStart = 0
RichTextBox1.SelLength = Len(RichTextBox1.Text)
23. End Sub
Private Sub statusbar_Click()
If statusbar.Checked = True Then
statusbar.Checked = False
StatusBar1.Visible = False
RichTextBox1.Height = Form1.Height - 850
Else
statusbar.Checked = False
statusbar.Checked = True
StatusBar1.Visible = True
RichTextBox1.Height = RichTextBox1.Height - 375
End If
End Sub
Private Sub timedate_Click()
RichTextBox1.SelText = Now()
End Sub
Private Sub undo_Click()
Call und
24. End Sub
Private Sub VScroll1_Change()
RichTextBox1.RightMargin = 0
RichTextBox1.Left = 0
End Sub
Private Sub wordwrap_Click()
If wordwrap.Checked = True Then
wordwrap.Checked = False
RichTextBox1.RightMargin = Screen.Width -
(Screen.Width - RichTextBox1.Width - 1000000)
Else
wordwrap.Checked = True
RichTextBox1.RightMargin = Screen.Width -
(Screen.Width - RichTextBox1.Width - 6000)
End If
End Sub
Private Sub Command1_Click()
Unload Me
25. End Sub
Private Sub Form_Load()
Form2.Caption = "About As"
End Sub
Replace (Form 3rd)
Option Explicit
Dim lastpos As Integer
Dim findtext As String
Private Sub Command1_Click()
findtext = Text1.Text
26. If Check1.Value = vbChecked Then
lastpos = InStr(lastpos + 1,
Form1.RichTextBox1.Text, findtext, vbBinaryCompare)
Else
lastpos = InStr(lastpos + 1, Form1.RichTextBox1.Text,
findtext, vbTextCompare)
End If
If lastpos > 0 Then
Form1.RichTextBox1.SelStart = lastpos - 1
Form1.RichTextBox1.SelLength = Len(findtext)
Else
MsgBox "Not Found"
End If
End Sub
Private Sub Command2_Click()
Dim fp, a, rp As String
fp = Text1.Text
rp = Text2.Text
a = Form1.RichTextBox1.Find(fp)
If a <> -1 Then
a = Form1.RichTextBox1.Find(fp)
27. Form1.RichTextBox1.SelText = rp
Else
MsgBox "Not Found"
End If
End Sub
Private Sub Command3_Click()
findtext = Text1.Text
lastpos = 0
If Check1.Value = vbChecked Then
lastpos = InStr(lastpos + 1,
Form1.RichTextBox1.Text, findtext, vbBinaryCompare)
Else
lastpos = InStr(lastpos + 1,
Form1.RichTextBox1.Text, findtext, vbTextCompare)
End If
If lastpos > 0 Then
Do While lastpos > 0
Form1.RichTextBox1.SelStart = lastpos - 1
Form1.RichTextBox1.SelLength = Len(findtext)
Form1.RichTextBox1.SelText = Text2.Text
If Check1.Value = vbChecked Then
28. lastpos = InStr(lastpos + 1,
Form1.RichTextBox1.Text, findtext, vbBinaryCompare)
Else
lastpos = InStr(lastpos + 1,
Form1.RichTextBox1.Text, findtext, vbTextCompare)
End If
If lastpos = 0 Then
MsgBox "All Instances have been replaced"
Exit Do
End If
Loop
Else
MsgBox "Not Found"
End If
Form1.RichTextBox1.SelStart = 0
Form1.RichTextBox1.SelLength = 0
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Form_Load()
29. Form3.Caption = "Replace"
End Sub
Private Sub Text1_Change()
If Text1 = "" Then
Command1.Enabled = False
Command2.Enabled = False
Command3.Enabled = False
Else
Command1.Enabled = True
Command2.Enabled = True
Command3.Enabled = True
End If
End Sub
Option Explicit
Dim lastpos As Integer
Find (Form 4
th
)
30. Dim findtext As String
Private Sub Command1_Click()
findtext = Text1.Text
If Check1.Value = vbChecked Then
lastpos = InStr(lastpos + 1, Form1.RichTextBox1.Text,
findtext, vbBinaryCompare)
Else
lastpos = InStr(lastpos + 1, Form1.RichTextBox1.Text,
findtext, vbTextCompare)
End If
If lastpos > 0 Then
Form1.RichTextBox1.SelStart = lastpos - 1
Form1.RichTextBox1.SelLength = Len(findtext)
Else
MsgBox "Not Found"
End If
Form3.Text1.Text = Text1.Text
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()