Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Installation and Documentation

Post new topic   Reply to topic
exe file wont't run perfectly on other PC
View previous topic :: View next topic  
Author Message
leynie
Newbie


Joined: 28 Aug 2005
Posts: 11

PostPosted: Oct 7th, 2005 11:45 PM    Post subject: exe file wont't run perfectly on other PC Reply with quote

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
View user's profile Send private message
dougthomas
Moderator


Joined: 27 Jul 2005
Posts: 271
Location: Essex, UK

PostPosted: Oct 8th, 2005 01:33 AM    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Installation and Documentation All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic