Solved

Setup problem

Posted on 2002-06-26
5
140 Views
Last Modified: 2010-05-02
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?
0
Comment
Question by:nermeen
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 7110004
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
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7110126
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
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 7110223
he makes a good point...i dident even think about that.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7128887
Any progress?
0
 

Author Comment

by:nermeen
ID: 7161739
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

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question