 |
| View previous topic :: View next topic |
| Author |
Message |
leynie Newbie
Joined: 28 Aug 2005 Posts: 11
|
Posted: Oct 7th, 2005 11:45 PM Post subject: exe file wont't run perfectly on other PC |
|
|
Hi,
I created my VB application on my pc and make an executable file of it (exe file) to run on other PC. Problem is.... there is this error popping up saying "network or disk error" once i try to run my exe file on other pc... (it runs perfectly normal on my pc though)... What could be the problem? I have included the necessary .ocx and .dll file on the other PC i am running on... I am using VB6 and my application involves SSTAB (Microsoft Dialogue Tabbed Control 6.0), ADODC control, frame, and etc.... Just wondering what does the message "network or disk error" means? Is the exe file corrupted? I tried recreating it but the outcome is still the same...
Thanks in advance for any information and guide!
cheers,
leynie |
|
| Back to top |
|
dougthomas Moderator
Joined: 27 Jul 2005 Posts: 271 Location: Essex, UK
|
Posted: Oct 8th, 2005 01:33 AM Post subject: |
|
|
Hi,
Just copying the .ocx and dlls is probably not good enough. You should use the application deployment wizard which willl build a distribution set for your code. It will identify all the dependencies and make sure they're available on the target machine.
The other thing to check is any hard coded filenames in your program and make sure that they're available on the target machine as well.
Regards
Doug _________________ If you can see the light at the end of the tunnel, it probably means there's a Train coming. |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|