Home > Software engineering >  How do the second landing and calls to the database connection string
How do the second landing and calls to the database connection string

Time:10-08

I want to use VB to develop a software of landing window component... Idea is when I call this component after landing software, software [other] can also call the login status, such as call its database connection string, don't do the second landing.. This component should be how to do excuse me I can achieve this effect?.
Note: \ registry database, records logged in these methods do not count...

CodePudding user response:

This is just a matter of communication or program interface, why in the database?

CodePudding user response:

Can, as long as your components support GetObject,
So other programs can directly take over with,

 
Dim oYourObject as object name
The set oYourObject=GetObject (" library. The object name ")

CodePudding user response:

So long, problem solving have no? The building Lord said show up the seconds,

CodePudding user response:

The function program in the active database connection exe, returns a connection object,

So the program calls the active connection, will be the connection is successful, the object returned

CodePudding user response:

The
reference 3 floor wangyuzg response:
so long, problem solving have no? The building Lord show up said, thiamethoxam,


Use my methods to solve of,
  • Related