Many people use Zend Framework for it's MVC implementation, but it has a lot of hidden gems. Internationalization (i18n) is one of them. We will look how you can create an application that will have the right languages, currencies, dates and times all based on the location of the visiting user. This session will take away a lot of headaches in international projects and will improve the quality in overall.
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 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 code for multiple projects. Project 1 contains code to show and hide different forms when buttons are clicked. Project 2 contains code to load different country flag images into an image control based on a list selection. Project 3 contains code to populate and manipulate a combo box form control. Project 4 contains code for a login form, hotel reservation form calculations, and form navigation buttons.
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.
This document describes an interactive animation wall project called "Animation Wall e-HEAD LINES 2010". The project uses animation and interactivity to summarize 2010 political headlines on a wall. Kinect is used to detect users' hand movements and trigger animations. When users interact with the wall, they can view article summaries and additional details about the political issues and people mentioned in the headlines. The project aims to attract and engage people by making the wall interactive, instead of just static images. It provides concise overviews of past political events to remind viewers.
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.
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 blog article will explore the exciting topic of handling user input and events in Flutter.
Youll discover that user interaction is critical to developing exciting and dynamic Flutter mobile applications as you progress in your app development journey.
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 discusses Android services and provides examples of creating different types of services. It explains that a service is an application component that can perform long-running operations in the background without a user interface. The document covers started services, which run indefinitely until stopped, and bound services, which run only as long as components are bound to them. It provides code examples for creating started services by extending the Service and IntentService classes and for creating a bound service using the Binder pattern.
The document discusses different types of dialogs in Android, including AlertDialogs, ProgressDialogs, and custom dialogs. It provides details on how to create and customize each type of dialog. AlertDialogs can include titles, text messages, buttons, and lists. ProgressDialogs display progress animations like spinning wheels or progress bars. Creating a custom dialog involves designing an XML layout, setting it as the dialog content view, and populating the view elements.
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.
How to Integrate Text and Phone Messaging with your WebsiteCindy Cullen
油
This document discusses how to integrate text and phone messaging capabilities into a website using services like Twilio. It provides an overview of options like short codes, shared short codes, phone numbers, and APIs from Twilio, Tropo, Plivo and Nexmo. It also provides code examples of handling incoming texts and calls, responding to messages, and building automated phone systems. The document suggests this could be useful for businesses like doctors, dentists, salons, restaurants and more to provide notifications, call queues and other phone features through their website.
Gracika Benjamin , Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Gracika Benjamin , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Sheikh Anjum Firdoush , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
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 code for multiple projects. Project 1 contains code to show and hide different forms when buttons are clicked. Project 2 contains code to load different country flag images into an image control based on a list selection. Project 3 contains code to populate and manipulate a combo box form control. Project 4 contains code for a login form, hotel reservation form calculations, and form navigation buttons.
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.
This document describes an interactive animation wall project called "Animation Wall e-HEAD LINES 2010". The project uses animation and interactivity to summarize 2010 political headlines on a wall. Kinect is used to detect users' hand movements and trigger animations. When users interact with the wall, they can view article summaries and additional details about the political issues and people mentioned in the headlines. The project aims to attract and engage people by making the wall interactive, instead of just static images. It provides concise overviews of past political events to remind viewers.
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.
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 blog article will explore the exciting topic of handling user input and events in Flutter.
Youll discover that user interaction is critical to developing exciting and dynamic Flutter mobile applications as you progress in your app development journey.
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 discusses Android services and provides examples of creating different types of services. It explains that a service is an application component that can perform long-running operations in the background without a user interface. The document covers started services, which run indefinitely until stopped, and bound services, which run only as long as components are bound to them. It provides code examples for creating started services by extending the Service and IntentService classes and for creating a bound service using the Binder pattern.
The document discusses different types of dialogs in Android, including AlertDialogs, ProgressDialogs, and custom dialogs. It provides details on how to create and customize each type of dialog. AlertDialogs can include titles, text messages, buttons, and lists. ProgressDialogs display progress animations like spinning wheels or progress bars. Creating a custom dialog involves designing an XML layout, setting it as the dialog content view, and populating the view elements.
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.
How to Integrate Text and Phone Messaging with your WebsiteCindy Cullen
油
This document discusses how to integrate text and phone messaging capabilities into a website using services like Twilio. It provides an overview of options like short codes, shared short codes, phone numbers, and APIs from Twilio, Tropo, Plivo and Nexmo. It also provides code examples of handling incoming texts and calls, responding to messages, and building automated phone systems. The document suggests this could be useful for businesses like doctors, dentists, salons, restaurants and more to provide notifications, call queues and other phone features through their website.
Gracika Benjamin , Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Gracika Benjamin , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Sheikh Anjum Firdoush , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Harsha Chhaparwal , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
油
This document is a project report submitted by Harsha Chhaparwal, a second year fashion design student, toward fulfilling the requirements of a two-year diploma in fashion design. The project focused on print development, where the student learned about various Indian art and craft techniques for creating motifs. Under faculty guidance, the student explored different print creation methods like block printing and developed a print design for bedsheets using software. The report includes sections on print types, case studies, market research, inspiration boards, and the final bedsheet design and specification sheet.
Harsha Chhaparwal, Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Harsha Chhaparwal , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sheikh Anjum Firdoush , Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College,Sheikh Anjum Firdoush , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College, Sushmita Bhati, Second Year Fashion Design. This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sushmita Bhati, Diploma Fashion Design Second Yeardezyneecole
油
Portfolio Of Student Of Dezyne E'cole College, Sushmita Bhati, Second Year Fashion Design. This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College, Sushmita Bhati, Second Year Fashion Design. This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...dezyneecole
油
Somya Jain chose fashion design as her career after discovering her creativity and interest in design through school activities. She learned the basics of design at Dezyne E'cole College, including elements, principles, shape, form, and bringing designs to life. Somya wants to become a renowned minimalist fashion designer who focuses on simple, elegant styles with a mixture of trends and her own touch. She is thankful for the skills and values Dezyne E'cole College helped develop in her and wants to continue learning to improve her design abilities.
This document describes an ATM system designed by Gitesh Chhatwani. It discusses the key functions of creating new accounts and accessing existing accounts. The new account process involves providing information like name, DOB, gender, address, contact number, deposit amount, email, account number and password. The existing account process requires entering the existing account number and password to perform operations like withdrawal, deposit, transfer, view mini statement, and check account info.
Portfolio Of Student Of Dezyne E'cole College , Anurag Yadav , B.Voc-Interior Design First Year .This Is The Portfolio Of His Work From First Year .For More Details Visit www.dezyneecole.com
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College , Namita Bakoliya, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Portfolio Of Student Of Dezyne E'cole College,Sheikh Anjum Firdoush , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Portfolio Of Student Of Dezyne E'cole College,Sheikh Anjum Firdoush , Second Year Fashion Design.This Is The Portfolio Of Her Work From Second Year .For More Details Visit www.dezyneecole.com
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College, Gouri Ramchandani, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College, Gouri Ramchandani, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College , Dimple Mordani, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College , Dimple Mordani, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)dezyneecole
油
Portfolio Of Student Of Dezyne E'cole College , Dimple Mordani, First Year Fashion Design.This Is The Portfolio Of Her Work From First Year .For More Details Visit www.dezyneecole.com
Information Technology for class X CBSE skill SubjectVEENAKSHI PATHAK
油
These questions are based on cbse booklet for 10th class information technology subject code 402. these questions are sufficient for exam for first lesion. This subject give benefit to students and good marks. if any student weak in one main subject it can replace with these marks.
QuickBooks Desktop to QuickBooks Online How to Make the MoveTechSoup
油
If you use QuickBooks Desktop and are stressing about moving to QuickBooks Online, in this webinar, get your questions answered and learn tips and tricks to make the process easier for you.
Key Questions:
* When is the best time to make the shift to QuickBooks Online?
* Will my current version of QuickBooks Desktop stop working?
* I have a really old version of QuickBooks. What should I do?
* I run my payroll in QuickBooks Desktop now. How is that affected?
*Does it bring over all my historical data? Are there things that don't come over?
* What are the main differences between QuickBooks Desktop and QuickBooks Online?
* And more
Prelims of Rass MELAI : a Music, Entertainment, Literature, Arts and Internet Culture Quiz organized by Conquiztadors, the Quiz society of Sri Venkateswara College under their annual quizzing fest El Dorado 2025.
How to Configure Flexible Working Schedule in Odoo 18 EmployeeCeline George
油
In this slide, well discuss on how to configure flexible working schedule in Odoo 18 Employee module. In Odoo 18, the Employee module offers powerful tools to configure and manage flexible working schedules tailored to your organization's needs.
How to attach file using upload button Odoo 18Celine George
油
In this slide, well discuss on how to attach file using upload button Odoo 18. Odoo features a dedicated model, 'ir.attachments,' designed for storing attachments submitted by end users. We can see the process of utilizing the 'ir.attachments' model to enable file uploads through web forms in this slide.
APM event hosted by the South Wales and West of England Network (SWWE Network)
Speaker: Aalok Sonawala
The SWWE Regional Network were very pleased to welcome Aalok Sonawala, Head of PMO, National Programmes, Rider Levett Bucknall on 26 February, to BAWA for our first face to face event of 2025. Aalok is a member of APMs Thames Valley Regional Network and also speaks to members of APMs PMO Interest Network, which aims to facilitate collaboration and learning, offer unbiased advice and guidance.
Tonight, Aalok planned to discuss the importance of a PMO within project-based organisations, the different types of PMO and their key elements, PMO governance and centres of excellence.
PMOs within an organisation can be centralised, hub and spoke with a central PMO with satellite PMOs globally, or embedded within projects. The appropriate structure will be determined by the specific business needs of the organisation. The PMO sits above PM delivery and the supply chain delivery teams.
For further information about the event please click here.
How to Modify Existing Web Pages in Odoo 18Celine George
油
In this slide, well discuss on how to modify existing web pages in Odoo 18. Web pages in Odoo 18 can also gather user data through user-friendly forms, encourage interaction through engaging features.
APM People Interest Network Conference 2025
- Autonomy, Teams and Tension
- Oliver Randall & David Bovis
- Own Your Autonomy
Oliver Randall
Consultant, Tribe365
Oliver is a career project professional since 2011 and started volunteering with APM in 2016 and has since chaired the People Interest Network and the North East Regional Network. Oliver has been consulting in culture, leadership and behaviours since 2019 and co-developed HPTM速an off the shelf high performance framework for teams and organisations and is currently working with SAS (Stellenbosch Academy for Sport) developing the culture, leadership and behaviours framework for future elite sportspeople whilst also holding down work as a project manager in the NHS at North Tees and Hartlepool Foundation Trust.
David Bovis
Consultant, Duxinaroe
A Leadership and Culture Change expert, David is the originator of BTFA and The Dux Model.
With a Masters in Applied Neuroscience from the Institute of Organisational Neuroscience, he is widely regarded as the Go-To expert in the field, recognised as an inspiring keynote speaker and change strategist.
He has an industrial engineering background, majoring in TPS / Lean. David worked his way up from his apprenticeship to earn his seat at the C-suite table. His career spans several industries, including Automotive, Aerospace, Defence, Space, Heavy Industries and Elec-Mech / polymer contract manufacture.
Published in Londons Evening Standard quarterly business supplement, James Caans Your business Magazine, Quality World, the Lean Management Journal and Cambridge Universities PMA, he works as comfortably with leaders from FTSE and Fortune 100 companies as he does owner-managers in SMEs. He is passionate about helping leaders understand the neurological root cause of a high-performance culture and sustainable change, in business.
Session | Own Your Autonomy The Importance of Autonomy in Project Management
#OwnYourAutonomy is aiming to be a global APM initiative to position everyone to take a more conscious role in their decision making process leading to increased outcomes for everyone and contribute to a world in which all projects succeed.
We want everyone to join the journey.
#OwnYourAutonomy is the culmination of 3 years of collaborative exploration within the Leadership Focus Group which is part of the APM People Interest Network. The work has been pulled together using the 5 HPTM速 Systems and the BTFA neuroscience leadership programme.
https://www.linkedin.com/showcase/apm-people-network/about/
Finals of Kaun TALHA : a Travel, Architecture, Lifestyle, Heritage and Activism quiz, organized by Conquiztadors, the Quiz society of Sri Venkateswara College under their annual quizzing fest El Dorado 2025.
APM People Interest Network Conference 2025
-Autonomy, Teams and Tension: Projects under stress
-Tim Lyons
-The neurological levels of
team-working: Harmony and tensions
With a background in projects spanning more than 40 years, Tim Lyons specialised in the delivery of large, complex, multi-disciplinary programmes for clients including Crossrail, Network Rail, ExxonMobil, Siemens and in patent development. His first career was in broadcasting, where he designed and built commercial radio station studios in Manchester, Cardiff and Bristol, also working as a presenter and programme producer. Tim now writes and presents extensively on matters relating to the human and neurological aspects of projects, including communication, ethics and coaching. He holds a Masters degree in NLP, is an NLP Master Practitioner and International Coach. He is the Deputy Lead for APMs People Interest Network.
Session | The Neurological Levels of Team-working: Harmony and Tensions
Understanding how teams really work at conscious and unconscious levels is critical to a harmonious workplace. This session uncovers what those levels are, how to use them to detect and avoid tensions and how to smooth the management of change by checking you have considered all of them.
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...Ajaz Hussain
油
This presentation delves into the systemic blind spots within pharmaceutical science and regulatory systems, emphasizing the significance of "inactive ingredients" and their influence on therapeutic equivalence. These blind spots, indicative of normalized systemic failures, go beyond mere chance occurrences and are ingrained deeply enough to compromise decision-making processes and erode trust.
Historical instances like the 1938 FD&C Act and the Generic Drug Scandals underscore how crisis-triggered reforms often fail to address the fundamental issues, perpetuating inefficiencies and hazards.
The narrative advocates a shift from reactive crisis management to proactive, adaptable systems prioritizing continuous enhancement. Key hurdles involve challenging outdated assumptions regarding bioavailability, inadequately funded research ventures, and the impact of vague language in regulatory frameworks.
The rise of large language models (LLMs) presents promising solutions, albeit with accompanying risks necessitating thorough validation and seamless integration.
Tackling these blind spots demands a holistic approach, embracing adaptive learning and a steadfast commitment to self-improvement. By nurturing curiosity, refining regulatory terminology, and judiciously harnessing new technologies, the pharmaceutical sector can progress towards better public health service delivery and ensure the safety, efficacy, and real-world impact of drug products.
Digital Tools with AI for e-Content Development.pptxDr. Sarita Anand
油
This ppt is useful for not only for B.Ed., M.Ed., M.A. (Education) or any other PG level students or Ph.D. scholars but also for the school, college and university teachers who are interested to prepare an e-content with AI for their students and others.
Digital Tools with AI for e-Content Development.pptxDr. Sarita Anand
油
Deepika Mittal , BCA Third Year
1. SUBMITED BY
Deepika Mittal
Bachelor of Computer Application IIl YEAR
Dezyne Ecole College
www.dezyneecole.com
INFORMATION TECHNOLOGY
PROJECT REPORT
Visual Basic PROGRAMMING
Notepad
TOPIC
Visual Basic
2. Project Report
On
Visual Basic
At
Dezyne Ecole College
Ajmer
Submitted to
Dezyne Ecole College
Towards the
Partial Fulfillment on
Bachelors of Computer Application
By
Deepika Mittal
Dezyne Ecole College
106/10 Civil Line, Ajmer
Tel 0145-2624679
Www.dezyneecole.com
2016
3. Acknowledgement
I Deepika Mittal, Student On Dezyne Ecole College, An Extremely
Grateful To Each And Every Individual. Who Has Contributed. In
Successful Completion Of My Project. I Express My Gratitude Towards
Dezyne Ecole College For Their. Guidance and Contrast Supervision As
Well As For Providing The Necessary Information And Support Regarding
The Completion Of Project
Thank You
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.
27. Source
Dim i As Integer
Dim fin, s As Variant
Dim m%
Option Explicit
Const maxUndo = 150
Dim gblnIgnoreChange As Boolean
Dim gintIndex As Integer
Dim gstrStack(maxUndo) As String
Dim stackBK(maxUndo) As String
Private Sub Form_Activate()
Form1.Caption = "Untitled-Notepad"
m = 1
RichTextBox1.RightMargin = Screen.Width - (Screen.Width -
RichTextBox1.Width - 0)
End Sub
Private Sub mnuprint_Click()
CommonDialog1.Flags = 1
CommonDialog1.ShowPrinter
End Sub
Private Sub mnucopy_Click()
Clipboard.SetText RichTextBox1.SelText
End Sub
Private Sub mnucut_Click()
Clipboard.SetText RichTextBox1.SelText
RichTextBox1.SelText = " "
End SubSub
Private Sub mnudelete_Click()
RichTextBox1.Text = " "
End Sub
Private Sub mnuexit_Click()
If i <> 1 Then
s = MsgBox("Do you Want to Save Your File.", vbYesNoCancel)
If s = 6 Then
CommonDialog1.InitDir = "G:"
28. CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowSave
RichTextBox1.SaveFile CommonDialog1.FileName
Unload Me
i = i + 10
ElseIf s = 7 Then
Unload Me
i = i + 10
End If
i = 0
Else
i = 0
Unload Me
End If
End Sub
Private Sub mnufind_Click()
fin = InputBox("Enter Word", "Find")
RichTextBox1.Find (fin)
End Sub
Private Sub mnufont_Click()
CommonDialog1.Flags = 1
CommonDialog1.ShowFont
RichTextBox1.SelFontName = CommonDialog1.FontName
RichTextBox1.SelBold = CommonDialog1.FontBold
RichTextBox1.SelItalic = CommonDialog1.FontItalic
RichTextBox1.SelUnderline = CommonDialog1.FontUnderline
RichTextBox1.SelStrikeThru = CommonDialog1.FontStrikethru
RichTextBox1.SelFontSize = CommonDialog1.FontSize
End Sub
Private Sub mnunew_Click()
If i <> 0 Then
s = MsgBox("Do you Want to Save Your File.", vbYesNoCancel)
If s = 6 Then
RichTextBox1.Text = " "
CommonDialog1.InitDir = "G:"
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowSave
RichTextBox1.SaveFile CommonDialog1.FileName
i = i - 1
ElseIf s = 7 Then
29. Form1.RichTextBox1.Text = " "
CommonDialog1.InitDir = "G:"
CommonDialog1.Filter = "TEXT | *.txt"
i = i - 1
End If
Else
Form1.RichTextBox1.Text = " "
i = i + 1
End If
End Sub
Private Sub mnuopen_Click()
If i <> 0 Then
s = MsgBox("Do you Want to Change Your File.", vbYesNoCancel)
If s = 6 Then
RichTextBox1.Text = " "
CommonDialog1.InitDir = "G:"
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowOpen
RichTextBox1.LoadFile (CommonDialog1.FileName)
i = i + 1
End If
Else
CommonDialog1.InitDir = "G:"
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowOpen
RichTextBox1.LoadFile (CommonDialog1.FileName)
i = i + 1
End If
End Sub
Private Sub mnupaste_Click()
RichTextBox1.SelText = Clipboard.GetText
End Sub
Private Sub mnuprint_Click()
CommonDialog1.Flags = 1
CommonDialog1.ShowPrinter
End Sub
Private Sub mnure_Click()
Form2.Show
End Sub
30. Private Sub mnusave_Click()
If i <> 1 Then
s = MsgBox("Do you Want to Save Your File.", vbYesNoCancel)
If s = 6 Then
CommonDialog1.InitDir = "G:"
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowSave
RichTextBox1.SaveFile (CommonDialog1.FileName)
i = 1
End If
ElseIf i = 1 Then
RichTextBox1.SaveFile (CommonDialog1.FileName)
End If
End Sub
Private Sub mnusaveas_Click()
If i <> 0 Then
s = MsgBox("Do you Want to Save Your File.", vbYesNoCancel)
If s = 6 Then
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowSave
RichTextBox1.SaveFile (CommonDialog1.FileName)
i = i + 1
End If
Else
CommonDialog1.Filter = "TEXT | *.txt"
CommonDialog1.ShowSave
RichTextBox1.SaveFile (CommonDialog1.FileName)
i = i + 1
End If
End Sub
Private Sub mnuseal_Click()
Call msel
End Sub
Public Sub msel()
RichTextBox1.SelStart = 0
RichTextBox1.SelLength = Len(RichTextBox1.Text)
End Sub
Private Sub mnustatus_Click()
If mnustatus.Checked = True Then
mnustatus.Checked = False
31. Private Sub mnustatus_Click()
If mnustatus.Checked = True Then
mnustatus.Checked = False
StatusBar1.Visible = False
RichTextBox1.Height = Form1.Height - 850
Else
mnustatus.Checked = False
mnustatus.Checked = True
StatusBar1.Visible = True
RichTextBox1.Height = RichTextBox1.Height - 375
End If
End Sub
Private Sub mnutd_Click()
RichTextBox1.Text = Now()
End Sub
Private Sub mnuUndo_Click()
Call undo
End Sub
Private Sub mnuviewhelp_Click()
CommonDialog1.Flags = 1
CommonDialog1.ShowHelp
End Sub
Public Sub undo()
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 mnuword_Click()
If mnuword.Checked = True Then
mnuword.Checked = False
RichTextBox1.RightMargin = Screen.Width - (Screen.Width - RichTextBox1.Width
- 10000000)
Else
mnuword.Checked = True
RichTextBox1.RightMargin = Screen.Width - (Screen.Width - RichTextBox1.Width
- 1)
32. End If
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
End If
gstrStack(gintIndex) = RichTextBox1.TextRTF
End If
End Sub
Private Sub mnuedit_click()
If RichTextBox1.SelLength = 0 Then
mnucut.Enabled = False
mnucopy.Enabled = False
mnudelete.Enabled = True
mnuseal.Enabled = True
ElseIf RichTextBox1.SelLength = Len(RichTextBox1.Text) Then
mnucut.Enabled = True
mnucopy.Enabled = True
mnudelete.Enabled = False
mnuseal.Enabled = False
Else
mnucut.Enabled = True
33. mnucopy.Enabled = True
mnudelete.Enabled = False
mnuseal.Enabled = True
End If
If Len(Clipboard.GetText(1)) = 0 Then
mnupaste.Enabled = False
Else
mnupaste.Enabled = True
End If
End Sub