Oops...I'm sorry, but I think you're misunderstanding me. My other threads were relating to detecting when a piece of hardware was plugged in, and I used the bluetooth device as an example. You guys were very helpful and I got it working properly. This is related to actually using it, and if...
Here's what I want to do: I carry my bluetooth enabled phone with me all the time, so if I were able to detect it, my computer could tell when I was near it or not. Useful for many things, but not if I can't use bluetooth in VB.
I've done a few days of searching, and the only things I've found...
Even in the most simple ping code I could find, the timeout still seems to be ignored and it takes a while to return a result if you're offline.
Option Explicit
Const SOCKET_ERROR = 0
Const MAX_IP = 10
Private Type WSAdata
wVersion As Integer
wHighVersion As Integer...
It does seem to halt program execution if you're offline, but it seems to work well other than that, thank you though.
Here's the ping code if anyone's interested. I tried changin the PING_TIMEOUT to a low value to see if that might help, but no such luck. Why is that? I tried everything from...
Currently I'm using a ping script I got off here to check if the computer is online, but it tends to freeze the computer while it checks for a second if you're not online. Is there a better way to check online status, or a ping that doesn't freeze your program while checking if you're not...
It detects my usb bluetooth device too, thanks. Now, two last things, how do I tell what device arrived, and how do I tell if a device is present at runtime?
I got it to detect my PCMCIA card with:
Private Sub SysInfo1_DeviceArrival(ByVal DeviceType As Long, ByVal DeviceID As Long, ByVal DeviceName As String, ByVal DeviceData As Long)
MsgBox "Arrival!"
End Sub
Which is what I was afraid of. Neither my bluetooth usb key is detected, or my PCMCIA card. That's annoying, although I managed to find a key in the registry I can read to see if the bluetooth key is plugged in, I can't figure out how to detect my WiFi card :(
Hmm, well thanks for your help. Let's see if I can detect a PCMCIA card with it. Why am I getting a "method or data member not found" When I run this:
Label1.Caption = SysInfo1.DeviceArrival
Okay, I'm not sure how to use this. I've added the sysinfo control and I've tried both:
Private Sub SysInfo1_DeviceArrival()
Label1.Caption = "Moof"
End Sub
Which never does anything (Even if I plug in a device)
And a timer that changes label1.caption to whatever sysinfo1.devicearrival
Which...
Here's what I want to do:
Detect the plugging in of my generic USB bluetooth dongle and automatically run my bluetooth manager (bluesoleil is the name of the program) when it is plugged in. Is there a way to do this?
So far the only way I've figured is I think hardware info is stored in the...
It must have been either I was holding the screwdriver on too long, or letting it sit overnight, or the bios jumper, but that you for all your help. The power jumpers function correctly and everything works. Thank you all.
UPDATE:
It boots! Yay for christmas coming early.
It must have, although I'm not entirely sure, been the jumper set to the wrong position.
Ah, after configuring the bios it tells me to power down and reinstall the jumper in the normal position.
What does that jumper do? Why would you want a...
I'm going to assume nothing's powered if the board's not on, since the psu isn't on. And yes, this power supply has been tested on another computer. The power on pins are 6 and 8, sorry about the picture, but nothing turns it on there. I've tried all pin combinations. I just checked, the cmos...
Also be warned when shorting the psu, some will not spin the psu fan or generate any power until they have a load on them.
Also, on most power supplies I've seen, you short the green wire to ground (Black wire) and there's only one green.
Also, to make you a little more comfortable, usually when it hangs it's not going to be accessing the hard drive, which is the only reason you can't just turn off your computer in the middle of using it.
I've been very bad about turning off computer without shutting down many times over the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.