際際滷

際際滷Share a Scribd company logo
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
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
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
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.
Notepad
New
Deepika Mittal , BCA Third Year
Open
Save
Save As
Print
Exit
Edit
Undo
Cut
Paste
Paste
Delete
Find
Replace
Select All
Time/Date
Format
Font
View  StatusBar
Help  View Help
Deepika Mittal , BCA Third Year
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:"
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
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
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
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)
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
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
THANK YOU

More Related Content

Similar to Deepika Mittal , BCA Third Year (20)

Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
dezyneecole
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
dezyneecole
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
Dezyneecole
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
Dezyneecole
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
Dezyneecole
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
Dezyneecole
C坦digo Editor Net
C坦digo Editor NetC坦digo Editor Net
C坦digo Editor Net
cymbron
Trabajo de ept lissethe toro
Trabajo de ept lissethe toroTrabajo de ept lissethe toro
Trabajo de ept lissethe toro
lissethee
Inventory management
Inventory managementInventory management
Inventory management
Rajeev Sharan
Android Architecture components
Android Architecture componentsAndroid Architecture components
Android Architecture components
Michelantonio Trizio
E headline2010 - Presentation Seminar
E headline2010 - Presentation SeminarE headline2010 - Presentation Seminar
E headline2010 - Presentation Seminar
Nuraini Mohd Ghani
Ict project pdf
Ict project pdfIct project pdf
Ict project pdf
Happy Nezza Aranjuez
VB Dot net
VB Dot net VB Dot net
VB Dot net
Akber Khowaja
Mobile Application Development class 005
Mobile Application Development class 005Mobile Application Development class 005
Mobile Application Development class 005
Dr. Mazin Mohamed alkathiri
flutteragency-com-handling-events-and-user-input-in-flutter-.pdf
flutteragency-com-handling-events-and-user-input-in-flutter-.pdfflutteragency-com-handling-events-and-user-input-in-flutter-.pdf
flutteragency-com-handling-events-and-user-input-in-flutter-.pdf
RubenGray1
VB 6
VB 6VB 6
VB 6
Naufal Al-azzam
9 services
9 services9 services
9 services
Ajayvorar
Android ui dialog
Android ui dialogAndroid ui dialog
Android ui dialog
Krazy Koder
Richtextbox
RichtextboxRichtextbox
Richtextbox
Amandeep Kaur
How to Integrate Text and Phone Messaging with your Website
How to Integrate Text and Phone Messaging with your WebsiteHow to Integrate Text and Phone Messaging with your Website
How to Integrate Text and Phone Messaging with your Website
Cindy Cullen
Mithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third YearMithlesh Singh Rawat , BCA Third Year
Mithlesh Singh Rawat , BCA Third Year
dezyneecole
Harendra Singh,BCA Third Year
Harendra Singh,BCA Third YearHarendra Singh,BCA Third Year
Harendra Singh,BCA Third Year
dezyneecole
Ravi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third YearRavi Prakash Yadav , BCA Third Year
Ravi Prakash Yadav , BCA Third Year
Dezyneecole
Sachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third YearSachin Foujdar , BCA Third Year
Sachin Foujdar , BCA Third Year
Dezyneecole
Gaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third YearGaurav Jatav , BCA Third Year
Gaurav Jatav , BCA Third Year
Dezyneecole
Akshay Sharma , BCA Third Year
Akshay Sharma , BCA Third YearAkshay Sharma , BCA Third Year
Akshay Sharma , BCA Third Year
Dezyneecole
C坦digo Editor Net
C坦digo Editor NetC坦digo Editor Net
C坦digo Editor Net
cymbron
Trabajo de ept lissethe toro
Trabajo de ept lissethe toroTrabajo de ept lissethe toro
Trabajo de ept lissethe toro
lissethee
Inventory management
Inventory managementInventory management
Inventory management
Rajeev Sharan
Android Architecture components
Android Architecture componentsAndroid Architecture components
Android Architecture components
Michelantonio Trizio
E headline2010 - Presentation Seminar
E headline2010 - Presentation SeminarE headline2010 - Presentation Seminar
E headline2010 - Presentation Seminar
Nuraini Mohd Ghani
flutteragency-com-handling-events-and-user-input-in-flutter-.pdf
flutteragency-com-handling-events-and-user-input-in-flutter-.pdfflutteragency-com-handling-events-and-user-input-in-flutter-.pdf
flutteragency-com-handling-events-and-user-input-in-flutter-.pdf
RubenGray1
9 services
9 services9 services
9 services
Ajayvorar
Android ui dialog
Android ui dialogAndroid ui dialog
Android ui dialog
Krazy Koder
How to Integrate Text and Phone Messaging with your Website
How to Integrate Text and Phone Messaging with your WebsiteHow to Integrate Text and Phone Messaging with your Website
How to Integrate Text and Phone Messaging with your Website
Cindy Cullen

More from dezyneecole (20)

Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
dezyneecole
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
dezyneecole
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
dezyneecole
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
dezyneecole
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
dezyneecole
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
dezyneecole
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
Gracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second YearGracika Benjamin , Diploma Fashion Design Second Year
Gracika Benjamin , Diploma Fashion Design Second Year
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Harsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second YearHarsha Chhaparwal, Diploma Fashion Design Second Year
Harsha Chhaparwal, Diploma Fashion Design Second Year
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second YearSheikh Anjum Firdoush , Diploma Fashion Design Second Year
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second YearSushmita Bhati, Diploma Fashion Design Second Year
Sushmita Bhati, Diploma Fashion Design Second Year
dezyneecole
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
Sushmita Bhati, Diploma Fashion Design Second Year, (How to Design for Fashio...
dezyneecole
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
Somya Jain, Diploma Fashion Design Second Year, (How to Design for Fashion In...
dezyneecole
Gitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 YearGitesh Chhatwani , BCA -3 Year
Gitesh Chhatwani , BCA -3 Year
dezyneecole
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
Anurag Yadav , B.Voc Interior Design 1st Year ( Residential Portfolio)
dezyneecole
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
Namita Bakoliya, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Pattern Engineer...
dezyneecole
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
Sheikh Anjum Firdoush , Diploma Fashion Design Second Year, (Draping Project)
dezyneecole
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
dezyneecole
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
Dimple Mordani, Diploma Fashion Design First Year, (Design Basics Project)
dezyneecole
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
Dimple Mordani, Diploma Fashion Design First Year, (Corel Draw Project)
dezyneecole

Recently uploaded (20)

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
Information Technology for class X CBSE skill Subject
Information Technology for class X CBSE skill SubjectInformation Technology for class X CBSE skill Subject
Information Technology for class X CBSE skill Subject
VEENAKSHI PATHAK
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
How to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 EmployeeHow to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 Employee
Celine George
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Fuel part 1.pptx........................
Fuel part 1.pptx........................Fuel part 1.pptx........................
Fuel part 1.pptx........................
ksbhattadcm
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
Essentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok SonawalaEssentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok Sonawala
Association for Project Management
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025Kaun TALHA quiz Finals -- El Dorado 2025
Kaun TALHA quiz Finals -- El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
APM People Interest Network Conference - Tim Lyons - The neurological levels ...
APM People Interest Network Conference - Tim Lyons - The neurological levels ...APM People Interest Network Conference - Tim Lyons - The neurological levels ...
APM People Interest Network Conference - Tim Lyons - The neurological levels ...
Association for Project Management
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Ajaz Hussain
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
Year 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptxYear 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptx
mansk2
Digital Tools with AI for e-Content Development.pptx
Digital Tools with AI for e-Content Development.pptxDigital Tools with AI for e-Content Development.pptx
Digital Tools with AI for e-Content Development.pptx
Dr. Sarita Anand
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
Information Technology for class X CBSE skill Subject
Information Technology for class X CBSE skill SubjectInformation Technology for class X CBSE skill Subject
Information Technology for class X CBSE skill Subject
VEENAKSHI PATHAK
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
How to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 EmployeeHow to Configure Flexible Working Schedule in Odoo 18 Employee
How to Configure Flexible Working Schedule in Odoo 18 Employee
Celine George
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Fuel part 1.pptx........................
Fuel part 1.pptx........................Fuel part 1.pptx........................
Fuel part 1.pptx........................
ksbhattadcm
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18How to Modify Existing Web Pages in Odoo 18
How to Modify Existing Web Pages in Odoo 18
Celine George
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
Eng7-Q4-Lesson 1 Part 1 Understanding Discipline-Specific Words, Voice, and T...
sandynavergas1
APM People Interest Network Conference - Tim Lyons - The neurological levels ...
APM People Interest Network Conference - Tim Lyons - The neurological levels ...APM People Interest Network Conference - Tim Lyons - The neurological levels ...
APM People Interest Network Conference - Tim Lyons - The neurological levels ...
Association for Project Management
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Blind Spots in AI and Formulation Science Knowledge Pyramid (Updated Perspect...
Ajaz Hussain
A PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of FireA PPT on the First Three chapters of Wings of Fire
A PPT on the First Three chapters of Wings of Fire
Beena E S
Year 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptxYear 10 The Senior Phase Session 3 Term 1.pptx
Year 10 The Senior Phase Session 3 Term 1.pptx
mansk2
Digital Tools with AI for e-Content Development.pptx
Digital Tools with AI for e-Content Development.pptxDigital Tools with AI for e-Content Development.pptx
Digital Tools with AI for e-Content Development.pptx
Dr. 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.
  • 10. Print
  • 11. Exit
  • 12. Edit
  • 13. Undo
  • 14. Cut
  • 15. Paste
  • 16. Paste
  • 18. Find
  • 23. Font
  • 25. Help View Help
  • 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