|
-
Nov 23rd, 2000, 05:21 PM
#1
Thread Starter
Frenzied Member
Is there any way that i can edit vb in such a way that it allows me to be able to add my functions say
Public Sub GetCenter() etc to the standard list of functions that vb has ? Do i need to make a dll that loads each time vb does that has these functions in ?
-
Nov 23rd, 2000, 05:29 PM
#2
Junior Member
As you thought, this is accomplished via a DLL. You can not, unfortunately, make it load on VB start up, you'll have to add it to the reference section of your project each time.
Also, it still takes initialization code. But what you CAN do is alter your template Project1 to include the code (VB98\Templates). Not quite like VB, but it'll save you time.
[Edited by Cromas on 11-23-2000 at 05:35 PM]
(¯`·.¸¸.·´¯`·->Cromas<-·´¯`·.¸¸.·´¯)
Teenage Programmer
Formerly known as ShadowCrawler
E-Mail: [email protected]
ICQ: 9872708
AIM: VotchOut
-
Nov 23rd, 2000, 10:07 PM
#3
Lively Member
What you can do is make a dll with a class marked as GlobalMultiuse. That way you dont have to dim up anything. Just include the reference in your project and you can call all the functions directly.
You can also create a blank project and then put in the reference to this dll, and save that project to the vb\template\projects directory. So next time you say new project, it will show it in there. You can open the project and it will have the existing reference in there.
Hope this helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|