Results 1 to 6 of 6

Thread: exe file wont't run perfectly on other PC

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2005
    Posts
    2

    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

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: exe file wont't run perfectly on other PC

    Welcome to Forums, leynie!

    How did you distribute your app? Did you build Setup Package? If not then do that first: you can use Package & Deployment Wizard (aka PDW) - it comes shipped with VB or any other utility that you might have.

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: exe file wont't run perfectly on other PC

    This is the place to read about deployment issues.

    Application Deployment Forum

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: exe file wont't run perfectly on other PC

    Moved from Classic VB forum.

    Since it sounds like your using a database. Did you use a hard coded path in the connectionstring?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5
    Frenzied Member pnish's Avatar
    Join Date
    Aug 2002
    Location
    Tassie, Oz
    Posts
    1,918

    Re: exe file wont't run perfectly on other PC

    It's possible that you've hardcoded one of the properties on the data control (ConnectionString or RecordSource) that points to a non-existent file or path on the other PC.
    Pete

    No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: exe file wont't run perfectly on other PC

    leynie,

    Check my signature for Installer Problems and Apllication Deployment Forum. This could possibly help you on your quest.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width