| Author |
Message |
   
shena
New member Username: shena
Post Number: 7 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 10:12 pm: |
|
OK, understood. I have already changed the path definition method. I'm not sure whether the bartender software is creating the problem or project component/reference. Hence, I will uninstall and then reinstall the software at client's pc to see what happen. Hope it works. |
   
randem
Moderator Username: randem
Post Number: 1684 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 06:45 pm: |
|
App.Path is returning where the program was invoked from. You really should rethink about "C:\ESDLabel" location. What if the clients computers system drive is d: or e: or any other drive? What if C: is the CD? Your application will fail miserably. For app.path to have the location you state you would have had to COPY the exe to the desktop and not have a shortcut on the desktop. |
   
shena
New member Username: shena
Post Number: 6 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 06:18 pm: |
|
Hi, thanks for the advice on hard coding a path. But, though the file exist in the directory, but program prompted "File doesn't exist". (the 1st attacment-form code) Whereas, for second attachment I've got the same error message. But, it runs perfectly in my pc, not in my client's pc (Windows xp service pack 2). The App.Path refering "C:\Documents and Settings\shena\Desktop", is it by default? Because I'll always keep the files in "C:\ESDLabel". |
   
randem
Moderator Username: randem
Post Number: 1683 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 11:28 am: |
|
So, how is your progress? |
   
randem
Moderator Username: randem
Post Number: 1682 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 01:36 am: |
|
This should work for you. BTW you are hard coding a path. A BIG NO_NO!!!
|
   
randem
Moderator Username: randem
Post Number: 1681 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 01:06 am: |
|
Ok, I will look at your code. |
   
shena
New member Username: shena
Post Number: 5 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 01:02 am: |
|
Hi, I've got the same error message: Run-Time Error 430:"Class does not support Automation or does not support expected interface". |
   
randem
Moderator Username: randem
Post Number: 1680 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Wednesday, October 06, 2010 - 12:03 am: |
|
Try this...
|
   
shena
New member Username: shena
Post Number: 4 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 11:10 pm: |
|
Ok, reuploaded. |
   
randem
Moderator Username: randem
Post Number: 1679 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 10:56 pm: |
|
Please re-upload as a .zip file. |
   
shena
New member Username: shena
Post Number: 3 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 10:44 pm: |
|
Hi, I have uploaded my project. It always highlights this part: btApp.Visible = True when i click debug in client pc.
|
   
randem
Moderator Username: randem
Post Number: 1678 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 08:51 pm: |
|
If you zip and post your project .vbp, .exe and HHActiveX.dll files (3 files) I can take a look to see what I can see. |
   
randem
Moderator Username: randem
Post Number: 1677 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 08:43 pm: |
|
Yes, that is an inherent problem with PDW. It hasn't been updated since 1998, so it is really out of touch with installation in the present day. You can still use it if you like but you will need to do some tweaking to get it to work. First you will need to use the universal VB Runtime files (they can be found at http://www.randem.com/softwaresupport.html) and you should read http://www.randem.com/installerproblems.html to better help. Or you can use Inno Setup (http://jrsoftware.org/isdl.php) along with InnoScript (http://www.randem.com/innoscript.html) and be kept up-to-date. This will make creating an Installer simpler. |
   
shena
New member Username: shena
Post Number: 2 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 08:19 pm: |
|
Hi, Thanks for your reply. The file that I try to open is a printing software's file (.btw) called Bartender Software. I added only two references in VB6, Bartender 7.74 and HHActiveX.dll. The rest of the files were included in support folder when i used package and deployment wizard. But, when i run the setup at client's pc but this is the error that I've got: "Setup cannot continue because some system files are out of date on your system. Click OK if you would like setup to update these files now. You will need to restart Windows before you can run setup again. Click Cancel to exit setup without updating system files." I have tried to restart and reinstalled, but it prompted me the same error message again and again. |
   
randem
Moderator Username: randem
Post Number: 1676 Registered: 04-2004
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 07:04 pm: |
|
Aloha Shena, You definitely are not deploying all that is needed for your app to run. 1 - What installer did you use to create your installation? 2 - what references and components are you using in your application? 3 - What files are you deploying? |
   
shena
New member Username: shena
Post Number: 1 Registered: 10-2010
Rating: N/A Votes: 0 (Vote!) | | Posted on Tuesday, October 05, 2010 - 06:05 pm: |
|
Hi all, I'm a new member here. I need your help for a problem with VB6 program. I have program that has only one form that capture an input and opens the right file if it is found in the directory specified. I can run that program in my pc. So, then i created setup and tried to install in my clients pc but I got an error. I installed vb in that pc and run the program, the error message was Run-Time Error 430:"Class does not support Automation or does not support expected interface". Please desperately i need help on this. Regards/shena |