Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Using VB to send data to a PHP page
  
User name:
Password:
Reply:
 

UserPost
Xtreme984
Posts: 18/111
thnx everyone, I'll try to see what I can gather from your resources. btw I'm using Visual Basic 6 EE.
dan
Posts: 145/782
Here's a good article on retrieving the default browser. If you look around that website a bit more, you may find the rest of the answers to your questions. (That website is a great VB resource)
Kaiser Wilhelm
Posts: 1/37
Not sure if this is applicable (you don't mention if it's .net/vb6), but in .net this is all pretty trivial.

Use the System.Diagnostics namespace to pull whatever data you need, then make a WebRequest with the data you want to push into your php script input like a form (keep the php simple, ya know).

http://lab.msdn.microsoft.com/express/vbasic/default.aspx

For a free (as in beer) Visual Basic.NET, although C# would probably be better, it's the same libraries anyway.

Pretty informative first post (! ) I think. Let's hope it degenerates into toilet humour and obscure anime/music references asap eh
Jesper
Posts: 760/2390
I'm pretty sure there are APIs for checking all of that. For default web browser specifically, you can work out the path if you read the register key at HKEY_CLASSES_ROOT\HTTP\shell\open\command - that's the association for the http:// protocol, IE default browser. Once you have the path it should be pretty easy to figure out what browser name it is and version data should be retrievable via file metadata API functions.
Xtreme984
Posts: 16/111
is there a way to detect CPU usage, webbrowser and things like that with VB?
I know how to let a timer do a every 3 min update.
Jesper
Posts: 773/2390
You want the Internet Transfer Control, and you want it to send data to a special PHP script that will store it in a file for you. The sig file would read the file and print out as usual.
neotransotaku
Posts: 1273/4016
hmm...well, you could probably use VB to write to a file on a server that PHP will use to determine what it will do. But to use VB to provide input to PHP directly, I do not think that is possible.
Xtreme984
Posts: 15/111
does anyone have a method to get system stats and send them to a PHP page?
I'm trying to make my own kind of SigX.
Acmlm's Board - I2 Archive - Programming - Using VB to send data to a PHP page


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.004 seconds.