473,395 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Problem in Executable version

274 100+
hi everyone
I am a student developer. I created setup of my project(VB 6 at frontend and Access as database) and uploaded in on my client system.
The problem is ... He perform a transection and save it successfully, Whe he tried to open report , it says no record found and they displays an error message.....invalid datasource.
However whenI install the same software in my pc, it works fine and prints reports too.. weired?

...My client haven't installed Access on his PC.
any help pls
Oct 25 '07 #1
8 1206
9815402440
180 100+
hi
it may a setup error
instal vb6 and msaccess on client pc . this will solve the probalm

regards
manpreet singh dhillon hoshiarpur
Oct 25 '07 #2
code937
24
when building the executable make sure you include any DLL's and bits the program says it needs, your client wont have them on his pc (especially if he hasnt got access) so you'll need to include them on the install as you have them on your pc because you have vb6 !
Oct 25 '07 #3
rizwan6feb
108 100+
If installing the runtime files doesn't solve the problem then post your database connectivity code, it may help solve the problem
Oct 25 '07 #4
creative1
274 100+
I asked my client to install Access and try this again. The thing is, if it saves transaction, why not generate reports?

Here is my database connectivity code.
Expand|Select|Wrap|Line Numbers
  1. Public Sub openconnection()
  2. On Error GoTo connectionerror:
  3.  
  4.     Set Conn = New ADODB.Connection
  5.     Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.\database\PoPDBF.mdb;Persist Security Info=False"
  6.     Exit Sub
  7. connectionerror:
  8.     MsgBox ("Unable to connect to the database! Critical Error..")
  9. End Sub
Oct 26 '07 #5
creative1
274 100+
Hello Everyone
the problem isn't solved yet, I am trying many things but can't find a why.

My client says follwoing are files prompted during installation:

C:\WINDOWS\system32\msvcrt.dll (the destination file is in use) Abort/Retry/Ignore

C\WINDOWS\system32\uxtheme.dll - message same as above

C:\WINDOWS\system32\msimg32.dll - message sames as above

I think he aborts all of them; not 100% sure though ;
what is right action for this?

He has installed Offfice 2003 but not Access

When he tries to start PoP(exe file of project after installation) - it tries to install Microsoft Office Standard Edition 2003 files and gives an Installation Error:File Not found; A required installation file SKU112.CAB could not be found. PLease insert MS Office Standard Edition from a CD.

He pointed it to the Support folder - no luck; He also pointed it at the MSO Cache on the hardrive and it seemed to install ( don't know if he did that right or not ?)

When setup is complete it does not install database; so I need to copy and paste it with exe file. To make exe file work.

Please Please help me; I am worried about this.

Thanks in advance
Farhana
Oct 29 '07 #6
QVeen72
1,445 Expert 1GB
Hi,

What are you using for Reports..? CR or DataReports. What version is ur Access..?
If CR, then you have to set the Data Location for all the Tables used in Report, or Place the Database in the Same Path / Folder as your Working Path Folder in your system..

Regards
Veena
Oct 29 '07 #7
creative1
274 100+
I am using Access2003 and all reports are Datareports
Oct 29 '07 #8
creative1
274 100+
I figured out the problem. I tought its good to tell you guys so it might help someone in future.

I used dataenviornment to create reports and I had hard coded address in Datalink properties of connection (c:/program files/..../database/database.mdb) I changed it to(./database/database.mdb) It solved my problem.

Thanks to all who tried to help me.
Farhana
Nov 7 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Eric | last post by:
Problem: -------- I'm trying to create an executable jar file. I can do so as long as I don't use the "package" statement in my source code. Once I put the package statement in I can't execute...
5
by: jwb | last post by:
Hello all, I just was wondering if any one knows how to compare compiled VB.NET executables to determine whether or not they are identical. In the dark ages (read: pre-CLR and .NET) one could...
4
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by...
6
by: Edd Dawson | last post by:
Hi. I have a strange problem involving the passing of command line arguments to a C program I'm writing. I tried posting this in comp.programming yesterday but someone kindly suggested that I'd...
12
by: Steven Berkovitz | last post by:
I have several ASP.NET applications with near identical web.config files. In one of them I am successfuly able to bind to an assembly while on others I am not. All of them have the following...
0
by: softwareakash | last post by:
Hi All I am using cruise control for continuous integration with clearcase for this I am using 2 build files, One for cruise control and one for nant all this is done according to the...
1
by: Marcel Brekelmans | last post by:
Hello, I know about the FileInfo.LastWriteTime() function. However, this is not always returning the modified date of the executable that I want: when you copy the executable to another...
4
by: Vivienne | last post by:
I am using vs 2005 on windows xp. I created a project, named ssps.And when debugging, I set project property->debugging->command argument the way I wanted,like this: -b f: \files f:\files. Then...
3
by: Rene | last post by:
Hello to all! For a long time I have been "fighting" a problem compiling an OpenGL program which uses GLUT. First I have put a question in a Watcom group (I want to use this compiler) to which I...
3
by: Jeffrey Froman | last post by:
Hello All, I have two python versions installed, one in /usr/bin, and one in /usr/local/bin. However, when invoking python without a full path, I get the wrong executable with the right...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.