Well, look how can you help me, i want to open a url on the primary internet broswer in a new window. And i want to set a Text1 to x or y etc... how can i do this??? Thanks.
Printable View
Well, look how can you help me, i want to open a url on the primary internet broswer in a new window. And i want to set a Text1 to x or y etc... how can i do this??? Thanks.
Please be much more specific:
1. Is this a web application, if so please explain what you're doing
2. Assuming a non-web application,
2a. Which operating system(s)
2b. What language
2c. What sort of environment are your users going to have (other software dependencies)?
3.
What does that mean?Quote:
And i want to set a Text1 to x or y
Text1 is a the generic name given to the first text Box on a form/window in "Visual Basic"...
I'm pretty sure there are no objects in your borwser called "Text1" ...
Which textbox would you like to acquire, you'll prolly need to make some API Calls...
If this sounds about right, respond and i'll explain a little more... As far as getting the right browser to open? that might either be a general API call of you might have to look it up in the registry... someone please respond if i'm incorrect!
I hope this helps :-)
Try accomplishing this using Windows API calls.
From there u can do this task in c or asm but I would prefer asm dude!
Next time tell which language U will be coding in it will be more helpful
to help U.
Well i need the code of these things on vb6 please.
I have found that never mind about that just tell me if you want the other thing.How to open a url (website-link) on the primary broswer via a vb6 application. Thanks.Quote:
And i want to set a Text1 to x or y
To open a url in the primary browser, use the shell function like so:
shell("start http://www.antionline.com/index.php")
Cheers,
cgkanchi
cgkanchi- really, does that work for all win9x+... great tip! thanx :-)
for ii-monk:
| if you are using visual basic 5+ i included a nice bas file... it's for the old proggies for aol 6- ;
| its commented pretty well- it has a ton of api references for capturing/setting values...
| i hope it helps, again- i assume you are using Visual Basic...
|
| btw- i renamed it dos32.txt, you will have to rename it dos32.bas before you include it into your vb projects...
|
|
| oh- i thought you were trying to set/read the value of the browser?
| if you are, the dos32 file will help alot...
Yes, that works for all win9x and 2k+ systems. I'm not sure if it works for NT though. "start document" will open the document in it's default application. From a command windows "start application" will open the application in a new window. This is especially useful if the program is a command line utility. For example, "start netstat -an 10" when your working on the command prompt.
Cheers,
cgkanchi
Thank you all...