Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error: File not found!
Message
From
09/02/2001 15:07:42
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Error: File not found!
Miscellaneous
Thread ID:
00474581
Message ID:
00474581
Views:
47
Hi,

I know that the error mentionned in my Title is a very common and simple one but I can't seem to resolve it.

I have a project with it's start set as a "Sub Main". In that "Sub Main", I create an instance of a form and I load it. The code corresponds to the following:

Public Sub Main()
*Code*
MsgBox "Before set server"
Set frmServer = New netserver
MsgBox "Before load server"
Load frmServer
MsgBox "After load server"
*Code*
End Sub

As you can see, I left the traces there. I know that the error occurs during the load of my form because I don't get the message "After Load server". I have also put some traces in the Load method of the form and I can tell you that the error occurs before the load is called because a trace put in the first line of the load method never appeared.

The wierd thing is that the error doesn't show up on most of the computers where I installed the program. That's what made me think that I must have forgotten to distribute some controls (that are on the server form) with my program on some computers. So, I tried to use the MS distribution wizard (just to be sure that I distributed everything) with no success. After running the program installed with the wizard, the error was still there.

I'm now officially clueless.

Oh yes, and one more thing: I have two controls on my server form: a WinSock control (corresponding to the file mswinsck.ocx which I know is distributed and registered on all the computers) and a timer object.

That's it! If any of you have a clue of what I should try next, please please please let me know!

Thanks a lot in advance, Stephane.
Reply
Map
View

Click here to load this message in the networking platform