|  Newbie-question: How to make a dll in VB? | 
| Author: | 
Message: | 
math 
New Member 
 
  
 
Posts: 7 
Joined: Jul 2003 
 | 
| 
O.P.  Newbie-question: How to make a dll in VB?
 How do you make a dll in Visual Basic 6.0? 
When I start a new project, I get a window in which I can choose a type of program, for example Exe-file. I guess I should choose a special type here? 
 |   
 | 
| 07-08-2003 01:47 PM | 
 | 
  | 
Bamboe 
Junior Member 
  
  
  
 
Posts: 30 
Joined: Feb 2003 
 | 
| 
 RE: Newbie-question: How to make a dll in VB?
 just open the sample project from patchou and moddify it (works for c) 
 |   
 | 
| 07-08-2003 01:48 PM | 
 | 
  | 
surfichris 
Former Admin 
     
  
  
 
Posts: 2365 Reputation: 81 
Joined: Mar 2002 
 | 
| 
 RE: Newbie-question: How to make a dll in VB?
 You chose Active X DLL 
 |   
 | 
| 07-08-2003 02:11 PM | 
 | 
  | 
math 
New Member 
 
  
 
Posts: 7 
Joined: Jul 2003 
 | 
| 
O.P.  RE: Newbie-question: How to make a dll in VB?
 Bamboe, I prefer using VB and not C. I could start learning C for this pupose, but I'm afraid there will raise lots more questions by me. 
 
Thanks Chris, but when I do this, I get the following alerts: 
 
The project file 'C:\program files\microsoft visual studio\vb98\template\projects\activex document dll.vbp' contains invalid 'Type' key value. 
OK 
 
Display more load alerts 
Yes No 
 
The project file 'C:\program files\microsoft visual studio\vb98\template\projects\activex document dll.vbp' contains invalid 'Type' key value. 
OK 
 
Display more load alerts 
Yes No 
 
The project file 'C:\program files\microsoft visual studio\vb98\template\projects\activex document dll.vbp' contains invalid 'ThreadingModel' key value. 
OK 
 
Display more load alerts 
Yes No 
 
User Documents are not allowed in Standard EXE and UserControl project types. Item(s) not loaded. 
OK 
 
Does anybody know how to solve this? 
 |   
 | 
| 07-09-2003 02:10 PM | 
 | 
  | 
math 
New Member 
 
  
 
Posts: 7 
Joined: Jul 2003 
 | 
| 
O.P.  RE: Newbie-question: How to make a dll in VB?
 When I do this, I get these alerts: Why? 
 
The project file 'C:\windows\profiles\matthijs\mijn documenten\prog\plus\VB\MPPluginVB.vbp' contains invalid 'Type' key value. 
OK 
 
Display more load alerts 
Yes No 
 
'MPPlugindef can not be public in this type of project. The item has been changed to public. 
 
The project file 'C:\windows\profiles\matthijs\mijn documenten\prog\plus\VB\MPPluginVB.vbp' contains invalid 'Type' key value. 
OK 
 
Display more load alerts 
Yes No 
 
The project file 'C:\windows\profiles\matthijs\mijn documenten\prog\plus\VB\MPPluginVB.vbp' contains invalid 'ThreadingModel' key value. 
OK 
 
Display more load alerts 
Yes No 
 
 
And how to make a dll? When I run the program, it says: 
Must have Startup form of Sub main(). 
OK 
 
Out of memory 
OK Help 
 
I can't believe there is really to little memory. 
 This post was edited on 07-10-2003 at 07:44 AM by math.
 |   
 | 
| 07-10-2003 07:38 AM | 
 | 
  | 
AzNiNsEcT 
Full Member 
   
  
  
...whoa
  
Posts: 170 Reputation: 3 
38 /   / – 
Joined: Jan 2003 
 | 
| 
 RE: Newbie-question: How to make a dll in VB?
 can u put ur compiled code for the class module uve made? 
 |   
 | 
| 07-10-2003 07:54 AM | 
 | 
  | 
math 
New Member 
 
  
 
Posts: 7 
Joined: Jul 2003 
 | 
| 
O.P.  RE: Newbie-question: How to make a dll in VB?
 I can't because I can't run or compile the program. 
The uncompiled (does that word exist?) code is the default code of Patchou. 
 This post was edited on 07-10-2003 at 08:46 AM by math.
 |   
 | 
| 07-10-2003 08:45 AM | 
 | 
  | 
AzNiNsEcT 
Full Member 
   
  
  
...whoa
  
Posts: 170 Reputation: 3 
38 /   / – 
Joined: Jan 2003 
 | 
 RE: Newbie-question: How to make a dll in VB?
...um...i was asking for what u have there, the code that your using 
compile is a fancy word for 'create' so to speak    
 |   
 | 
| 07-10-2003 08:51 AM | 
 | 
  | 
math 
New Member 
 
  
 
Posts: 7 
Joined: Jul 2003 
 | 
| 
O.P.  RE: Newbie-question: How to make a dll in VB?
 I told you, the example of Patchou. I haven't changed anything in it yet. 
 |   
 | 
| 07-10-2003 08:52 AM | 
 | 
  | 
AzNiNsEcT 
Full Member 
   
  
  
...whoa
  
Posts: 170 Reputation: 3 
38 /   / – 
Joined: Jan 2003 
 | 
| 
 RE: Newbie-question: How to make a dll in VB?
 so essentially...unless im mistaken...is that you cant even load the modules into whatever compiler ur using...am i right? 
 |   
 | 
| 07-10-2003 08:55 AM | 
 | 
  | 
| 
Pages: (2): 
« First
  
 [ 1 ]
 2
 
»
 
Last »
 | 
| 
 |