Solved

developing VB+SQL apps

Posted on 2002-06-03
7
235 Views
Last Modified: 2010-05-02
we have developed an application under vb+sql and win98 but there are probs when we install these apps in client sites...shoudl we be doing something  so we can avoid installation problems?
0
Comment
Question by:meng_97
7 Comments
 
LVL 22

Expert Comment

by:CJ_S
ID: 7050635
Depends on the installation problems. Have you created a setup-executable? Are all necessary components copied and registered? Does the machine have access to the SQL Server? Are the correct database providers available for the client?

CJ
0
 

Expert Comment

by:dhavaljariwala
ID: 7050705
You should make your front end setup. After that u will have to make a script file of your database, which has to be executed on the client before running the front end setup provided client has SQL Server on his machine.

I know that this is very difficult solution, and may not be the answer to your question. But it is very tedious installing VB+SQL on clients machine. The reason for this i guess is bcoz of the licensing issue of SQL Server.
0
 
LVL 2

Expert Comment

by:chops123
ID: 7050975
I dont think you would be installing SQL on each client.Practically it doesnt make sense really.

You should be installing SQL server on a centralized server.

You havent mentioned the installation problems that you are facing.I presume it has got more to do with different ADO versions installed on the client PCs.If you program is compiled on Wint NT OS,then it could lead to installation issues on Win 98 and vice versa.There can be many reasons why this happens.

Just a suggestion: If you are having issues with database connection,try and create a System DSN on each of the machines and make sure that the ADO version you have used in the VB program and the ADO version installed on the machine is the same.

Rgds
KC
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 2

Expert Comment

by:chops123
ID: 7050993
Code to check ADO version on the machine

=============================
Private Sub Form_Load()
Dim con As New ADODB.Connection
MsgBox con.Version
End Sub
=============================

Rgds
Kc

0
 
LVL 1

Expert Comment

by:Garfy
ID: 7234981
You need to setup the ODBC connections for your clients, the same as the one used to develop the program originally.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7851408
Hi meng_97,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Save as PAQ -- No Refund.

meng_97, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7912975
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

810 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