?
Solved

How to Connect Informix Database to VB5

Posted on 1998-07-29
2
Medium Priority
?
225 Views
Last Modified: 2010-05-03
Greetings,
  Im having problem how to connect Visual Basic 5 to Informix database . Can i have script or
program that will do this. I already have Informix Data Director.
 Thanks and hoping for your support..

Eldie
0
Comment
Question by:wave180
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:wave180
ID: 1467183
Edited text of question
0
 

Accepted Solution

by:
sujatha060198 earned 40 total points
ID: 1467184
wave180,  try the following.

Global MyDbInformix As Database
Global MyWorkspace As Workspace
Set MyWorkspace = Workspaces(0)
Set MyDbInformix = MyWorkspace.OpenDatabase("", , , "odbc")

This will connect the database for you.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Suggested Courses

770 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