-->>Hi,I am getting tired of recreating the menus in every form I design my be due to lack of information...
-->>Thus I was wondering if there is a way that I write codes in may be a module so that I may be using it...
-->>by just calling it in my form?
-->>Thanx.
Bile
10
Newbie Poster
Recommended Answers
Jump to Postheres what you can do:
- Open your template form in notepad (form with the extension of .frm) - this is the form you want to copy the menu.
After you open it with notepad, find the Begin VB.Menu and COPY it. Something like this;
Begin VB.Menu mnuGroups
Caption = "&Groups"
…
Jump to PostCreate your form with all the menus you need, save it (with the name that will help you identify it's contents) and copy it to the forms templates folder of visual basic. About this folder, :( I can no longer remember where exactly it is. Haven't been using vb6 for …
Jump to PostOh, Bile, I guess it's in Program Files\Microsoft Visual Studio\VB98\Template. In that folder there are different subfolders that for each respective type of template: forms, classes, etc. etc.
All 10 Replies
jhai_salvador
48
Junior Poster
RonalBertogi
46
Junior Poster in Training
RonalBertogi
46
Junior Poster in Training
Bile
10
Newbie Poster
AndreRet
526
Senior Poster
donard.marollano
0
Newbie Poster
AndreRet
526
Senior Poster
Bile
10
Newbie Poster
sachins1986
12
Newbie Poster
AndreRet
526
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.