Setup problem

Hi experts:
 I am making an installation package for my application using package and deployment wizard. But i am facing a problem that i want to read and write to some files which
are installed on the client machine i have done amodule in vb which do this function but when i added this module to the setup1.vbp it always raises an error during the installation process " saying file not found" although i am sure the file is found on the client machine.
Is there a reason  for this error?Does the setup1 don't support the sequentail and binary open file methods?
nermeenAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
You may have a problem with the location of the file. Can you show us your OPEN statement? Are you using APP.Path to retreive the current path?
0
 
BrianGEFF719Commented:
Ill help you isolate the error, do this in every function inside the module add this code at the top:

On Error Goto ErrH:


at the sub/function add this code:

errh:
msgbox "Error rasied in PUT FUNCTION/SUB NAME HERE" & vbcrlf & vbcrlf & err.number & vbcrlf & err.description,16,"error"

what that will do if you specify the function name in the error handling code while the program is runnign NOT IN THE IDE MODE you will be able to debug it.
0
 
BrianGEFF719Commented:
he makes a good point...i dident even think about that.
0
 
Éric MoreauSenior .Net ConsultantCommented:
Any progress?
0
 
nermeenAuthor Commented:
Sorry for being late in giving the points.
It was realy a problem in the location of the file so I gave the points for emoreau.
Thanks for help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.