|
-
Oct 28th, 2005, 08:01 AM
#1
Thread Starter
Fanatic Member
[VB6] Visual Basic 6 keeps giving me this error
Hello
I hope this goes here. I have an OCX and a DLL for my game. I have included them in the games .vbp. So I have added them through the components (ocx) and references (dll). My issue is that when I open the vbp after having my computer off, it gives me errors from the OCX and DLL and they are no longer included in the game. I have to add them again.
But, I dont have to save the vbp. I just add them, close the window, say dont save and when I open the window again, they are there. Does anyone know why I cant get the DLL and OCX to stay? Why does the program keep removing them?
Thank you.
-
Oct 28th, 2005, 08:11 AM
#2
Re: [VB6] Visual Basic 6 keeps giving me this error
 Originally Posted by neicedover1982
But, I dont have to save the vbp.
If you want to save the fact that the .dll and .OCX are a part of your project, then you do have to save the project file.
-
Oct 28th, 2005, 08:18 AM
#3
-
Oct 28th, 2005, 08:21 AM
#4
Thread Starter
Fanatic Member
Re: [VB6] Visual Basic 6 keeps giving me this error
I do save it. Eventually, i mean it as this, i figured I wasnt specific.
1. Open vbp and get erros abour OCX/DLL
2. Add both OCX and DLL
3. Close vbp (dont save)
4. Open vbp, no errors, DLL and OCX there
5. Do work on game and save
after I shutdown my computer or restart for any reason, and I go to start working on my game again, please return to number 1.
Its a vicious loop i would like to solve. why does Visual Basic keep "loosing/dropping/whatever" the DLL and OCX even though they were added and saved to the vbp? The reason I cant save at step 3 is becuase without the OCX, that peice gets removed from my game screen and if I save, I have to re add it and re format it every time.
-
Oct 28th, 2005, 08:27 AM
#5
Re: [VB6] Visual Basic 6 keeps giving me this error
I wonder if he's losing the reference due to compatibility reasons:
http://vbforums.com/showthread.php?p...98#post2203498 <- might be of some use.
-tg
-
Oct 29th, 2005, 04:41 AM
#6
Re: [VB6] Visual Basic 6 keeps giving me this error
neicedover1982,
Are you working in a group project with the dll/ocx code included? Are the ocx/dll files registered or did you just browse to add them to the project?
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
|