Welcome to Dream.In.Code
Become a VB Expert!

Join 149,722 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,291 people online right now. Registration is fast and FREE... Join Now!




How to make my program works on every PC?

 
Reply to this topicStart new topic

How to make my program works on every PC?

Trazz
12 Feb, 2007 - 07:38 PM
Post #1

New D.I.C Head
*

Joined: 21 Dec, 2006
Posts: 12


My Contributions
I have tried the package and Deployment Wizard for my software.
A package folder with a Support folder, .cab and a setup are created.
I copied the whole package folder to another PC and run the setup.exe. However, when i executed my exe file, it still prompt me an error "Unknown error in finding XXX.dll"

in my code, i have this dll registered
ShellReturn = Shell("regsvr32 /s ""C:\HOB\XXX.dll""", vbHide)
I have already included this dll inside the package.

can anyone advise what had i done wrong? sleepy.gif

User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: How To Make My Program Works On Every PC?
12 Feb, 2007 - 08:13 PM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
there are a few .dll (dynamic library) files which VB uses to run any program. in Windows the files need to be located in the System folder and sometimes the System32 folder. I am not to sure of the location on *nix though. Also if your code calls anything that is OS or hardware specific, and not abstracted through the generic ANSI API it will not cross the OS platform barrier.
User is offlineProfile CardPM
+Quote Post

born2c0de
RE: How To Make My Program Works On Every PC?
13 Feb, 2007 - 08:19 AM
Post #3

printf("I'm a %XR",195936478);
Group Icon

Joined: 26 Nov, 2004
Posts: 4,026



Thanked: 38 times
Dream Kudos: 2800
Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions
Put this in a batch file and call it when your Application's installation is complete.

Then start the app.
User is offlineProfile CardPM
+Quote Post

Trazz
RE: How To Make My Program Works On Every PC?
14 Feb, 2007 - 12:09 AM
Post #4

New D.I.C Head
*

Joined: 21 Dec, 2006
Posts: 12


My Contributions
QUOTE(born2c0de @ 13 Feb, 2007 - 09:19 AM) *

Put this in a batch file and call it when your Application's installation is complete.

Then start the app.




Hi , wat do u mean by calling the dll? huh.gif
User is offlineProfile CardPM
+Quote Post

KeyWiz
RE: How To Make My Program Works On Every PC?
15 Feb, 2007 - 02:18 AM
Post #5

D.I.C Regular
Group Icon

Joined: 26 Oct, 2006
Posts: 428


Dream Kudos: 125
My Contributions
What .dll file exactly is it not finding? Some are included within other dlls or .ocx files that can only be loaded using the parrent file.
To look up the .dll file name - Click on Project - Refernces and use the Browse button to find the exact .dll or .ocx file you need to include in the Package and deployment in the dependancy files section.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 04:53AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month