o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

detect DB connection -

I have some code where I am connecting to a SQL-7 DB. I want to be able to detect the open connection & pass the user into the site.

Whats the correct syntax for this?

objConnection.Open()
> detect connection here<

Thanks,
~Piz

 

detect DB connection -
I have some code where I am connecting to a SQL-7 DB. I want to be able to detect the open connection & pass the user into the site. Whats the correct syntax for this? objConnection.Open() > detect connection here< Thanks, ~Piz


Internet Connection Detect.... -
anyone know how to detect if an Internet Connection is still present or has been dropped? Other than seeing if a webpage loads. i want to be able to insert a code into the Form Load and have it monitor the net connection and pause my app if connection is lost.


Detect Internet Connection in Win2K! -
Hi pals! How can I detect an Internet Connection in Win2K! Firstly I use a modem or ISDN Adapter, which should be easier than the LAN way! So how can I detect wether my PC is online and than start a logging Prog that I wrote?? Neon


how to see/detect internet connection (RESOLVED) -
Hi, As I know there are distinction between connection to the Games server and connection to the browser http//:www.blabla.com Is there any vbcode that can detect these connection and there are any other connection beside these? I use Winme(workgroup) and winroute and ADSL conne


[1.0/1.1] Detecting if there is an Internet Connection -
Hi. I usually detect if there is an internet connection by pinging a popular site like yahoo or google. However I was wondering if there is a neater way to determine if there is an internet connection, similar to MSN. From what i've noticed with msn is that as soon as an Internet c


PC detection on LAN'S -
Hi ! How can I detect whether a pc is logged onto the LAN or not!Or how can i detect my LAn connection!! I need to know if I'm connected or not!And if so,how can I establish a connection?? Thanx!Neon


Detecting Internet connection loss/restore -
After a failing search... is there a way to detect "immediately" if a connection to Internet has been lost? Or I'm I just forced to check this manually every minute by trying to download something off the web? My application doesn't have a solid connection to the Internet


Detect UBS Connection -
What API or code do I use to detect the connection/disconnection of a device through the usb ports? Thanks


connection -
I've looked at several examples of how to detect if there is an internet connection present and how to connect via dial-up. But they all have their problems...what i need is to detect if a connection exists (preferable not using winsock) and if there is no connection then bring up the


Detect Wireless Network Connection -
Hello, I have a laptop mounted in a vehicle. The vehicle is usually at our headquarters and therefore can connect to our wireless network. What I would like to do is write a small VB application to run as a service or in the system tray which will detect when a new wireless network


Detecting internet/modem status -
Hello all Does anyone how to detect whether an internet connection is sending and receving data?? eg. If i am downloading something using IE or other download managers, how do i know the internet connection/modem is busy sending and receiving data using VB? I know how to detec


Internet Connection -
I have wrote some VB code to detect when my modem connects to my ISP, then logs the time and date in a log file. The problem is, i can't work out how to detect when the connection disconnects, and also write that to the log file.


can one detect an internet connection if ... -
Consider i have a computer network , and there is a dialup connection on one of them (server) , all the others have access to the internet Via Wingate , can one detect this connection on a vb program (note: the program is running on a Client computer) if so How to enable/disable thi


detect internet connection -
[Resolved] hello programmers, how are you this is my first question so help me please, i want an api function to detect my internet connection is it on or off note that i use windows xp aymun


how to detect a internet connection -
Hi, I'm new with Vb so be patient plz. Here is my question: How to detect if a internet connection is active? I need a program which will sit on the background and if the user starts a connection then it starts to record the time he spends online. I suspect i need to use


Detect WireLess Connection -
Does anyone have an idea if you can detect a wireless connection? I have laptop as well as a pc. So when switching on both the wireless automatically kicks in so i need to pick this up and run a program depending on this... any ideas?


*RESOLVED* Winsock server detect when client drops connection -
Is there any way for a winsock server to detect when the client drops the connection so that I can put it back to the Listening state. I have a client connected to the server and all runs OK. In my testing I am simulating the situation where the client app crashes and is then run a


Detecting Hardware -
How do I Detect the following hardware: -Detect CD-ROM -Detect ZIP Drive -Detect JAZ -Detect Sparq -Detect Floppy -Detect DVD ------------------ Thanks, In Christ, Ben


Help! How to detect internet connection time (need help sooooooooooooon) -
Hey!!.... Sum body help me with this... i want my program to detect the internet connection time and the disconnection time... i suppose that my program have to run on the systray to do so .. so pls sum one help me with this .. to detect the conn and dis conn time and how to


Detect Connection Device Name -
Hello everyone, I've been making a simple updater type program and I have litterally hit a speed bump. If people are not on a 10 BaseT I need to prevent the program from downloading the larger files. Here is the kicker, the Air Card that some of these people use show up as a LAN


Connection Detection Convention -
I have two questions regarding detecting various types of connections. First of all, I am using InternetOpenUrl method of detecting an internet connection. I am opening a site that is very likely to be up, such as yahoo.com, but the problem is that it takes a very long time to detect i


Detect active connection name -
Is there a way to detect the name of an active inernet (modem) connection???? Baja


How to detect ADO Connection object abnormal disconnection -
Does anyone know how I can detect an ADO connection has been abnormalky disconnected (i.e the network cable being unplugged or the link is dropped). Currently the applications hangs whenever it tried to use the ADO connection after a disconnection like that. I tried checking the


Does anyone know how I can detect a network connection. -
I need to detect whether or not I currently have a network connection. I am on a LAN not a dialup. Any solutions...


Detect connection type -
Hi, We are going to develop mobile application using .NET CF. User may use 2G, 3G, WiFi.......etc, to connect to the Internet, especially for new generation of smart device (e.g. phone+PPC). I just wonder if it is possible to detect the type of connection one is using to conne


HOWTO automatically detect if my internet connection is suffering form high latency -
Hi! i'm working at an ISP and one of the tiresome, redundant job that we do is to monitor our network latency by using the ping command. My question is, is there any method using VBasic 6 that I can use to automatically detect and notify us if our network connection is > 500ms la


Detecting a connection -
Hi friends. I'm making a program that calculates the time i'm online. My connection is via modem. How do I detect when someone has made a dail-up connection to the net? / mj81@spray.se


PLEASE HELP!!!! - detect a internet connection -
can VB detect when an internet connection is active? does ne1 know how to do this? also i have a program running in the system tray, its a simple program which only has a popup list, each of the menu items opens another EXE using the shell command... but when i click to open a p


how to detect redirects with webbrowser control -
is it possible to detect whether a page is being redirected to another page.i am using the webbrowser control. right now iam using a timer and checking the webbrowser.locationURL and matching it with already known urls(the urls follow a sequence) it works if the connection is fast e


CSocket Class - How to detect when a client disconnects *resolved* -
I'm using the CSocket class, and so far its been lovely to use. But now I'm facing a problem. In one part of my code, which was previously working perfectly with the winsock control, its now falling over with the CSocket class. I am listening for a connection on a port. I get a


Detect Connection -
Is there a way to detect the conenction of any program to any internet-related thing such as AIM connecting to it's server, or IE connecting to a website?


Detect if database is running. (ASP) -
I need a routine for errorhandling. Is it possible to detect if the connection to the database, the procedures call etc was sucessfully??


ADO: Connection.State unreliable -
Hello there, I'm writing a generic error handler where I want to test the connection state to my databases. (SQLServer 7 via OLEdb) Unfortunately (perhaps because I'm using the data environment?) the 'State' property of the connection object does'nt change whenever th


How do I detect a connection to the Internet -
I need this code desperately. How can I see if there is a connection to the Internet, no matter if the user is connected through DUN, LAN, AOL or any other type of connection. It must support all versions of Windows too (95, 98, NT and 2k). I really need this code, but I accept al


Detect an internet connection -
I'm needing to write a little app for my office. Basically its a internet filter/monitor. I suspect I should start with System.Net.Sockets.Socket class. But I really dont' know. But I've never used it and am not sure how or even if that is where I should start? What I need to


How can I detect if there is an active internet connection -
When I dial modem and have internet connection, I want to know connection state (Connected or Disconnect). best regards


Net Connection - Please Help -
I need a 100% accurate way to detect if there is an active connection to the internet. The only way there seems to be so far is pinging a site but this can take a long time. Other methods only check for via modem or via LAN etc. Is there a way of checking connection no matter how y


DAO Connect -
Is there a way to detect the connection status of my DAO connection? I need something like the Status property of the ADODB Connection object. Thanks in advance!


[1.0/1.1] Help with TCP ip/ -
Hi guys. I have to do something here at work using TCP ip. Now I'm familiar with TCP ip I normally use connectionless TCP ip, i.e. when you want to send a message from a client to a server, you make a connection, send the message and then the connection ends. Now a guy here did a c


Pls help me -
i wondering could any one tell me it is possible to detect active connection of a client computer connected to LAN ethernet network? example there are is bus topolgy used to connect computer in a local area network, i want to write a program to detect whether the client