Topics Topics Help/Instructions Help Edit Profile Profile Member List Register  
Search Last 1 | 3 | 7 Days Search Search Tree View Tree View  
Randem Systems Support Board * Visual Basic 6 * VB6 run time error < Previous Next >

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this 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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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".
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

So, how is your progress?
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

This should work for you. BTW you are hard coding a path. A BIG NO_NO!!!

application/zipForm Code
open_btw.zip (1.0 k)


application/zipInstallation
ESDLabel0100000Release.zip (5055.2 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Ok, I will look at your code.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Hi, I've got the same error message:
Run-Time Error 430:"Class does not support Automation or does not support expected interface".
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Try this...

application/zipESD Installation
ESDLabel0100000Release.zip (3777.7 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Ok, reuploaded.
application/x-zip-compressedESDLabel Project
ESD_Label.zip (9525.3 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Please re-upload as a .zip file.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

Hi,
I have uploaded my project. It always highlights this part: btApp.Visible = True when i click debug in client pc.
application/octet-streamESDLabel Project
ESD_Label.7z (8101.6 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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.
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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?
Top of pagePrevious messageNext messageBottom of page Link to this message

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:   Edit Post Delete Post View Post/Check IP    Move Post (Moderator/Admin Only)

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

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration