By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,457 Members | 1,334 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,457 IT Pros & Developers. It's quick & easy.

vb.net open iexplorer and pass a variable

P: n/a
I need to call internet explorer from another program and pass along a
variable to the aspx page that I am opening.
example iexplorer.exe "search.aspx?variable1="12345"

please give me an example of the proper command line syntax and the code to
set the variable in the aspx program.
thanks
Jul 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Don't put "12345" in quotes. I don't know what the syntax would be for
"another program" but in any normal language, having a " in the middle of
the string like that would kick an error.

Ray at work

"Mike Ratliff" <mi**********@putnam-fl.com> wrote in message
news:gN*****************@bignews1.bellsouth.net...
I need to call internet explorer from another program and pass along a
variable to the aspx page that I am opening.
example iexplorer.exe "search.aspx?variable1="12345"

please give me an example of the proper command line syntax and the code to set the variable in the aspx program.
thanks

Jul 19 '05 #2

P: n/a
Shell("IEXPLORE.EXE http://www.developersdex.com/asp/default.asp?p=577")

Sarder Hasnut
http://totalitsolution.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

P: n/a
I am not even sure that is the correct syntax to call an aspx program. I
need examples using vb.net. The calling program does not matter, you could
run it from the command prompt of your computer. I just want to start an
aspx program and pass it a variable.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ON**************@TK2MSFTNGP10.phx.gbl...
Don't put "12345" in quotes. I don't know what the syntax would be for
"another program" but in any normal language, having a " in the middle of
the string like that would kick an error.

Ray at work

"Mike Ratliff" <mi**********@putnam-fl.com> wrote in message
news:gN*****************@bignews1.bellsouth.net...
I need to call internet explorer from another program and pass along a
variable to the aspx page that I am opening.
example iexplorer.exe "search.aspx?variable1="12345"

please give me an example of the proper command line syntax and the code

to
set the variable in the aspx program.
thanks


Jul 19 '05 #4

P: n/a
See a .net group then. This is a "classic" asp group.

Ray at work

"Mike Ratliff" <mi**********@putnam-fl.com> wrote in message
news:Z0*****************@bignews2.bellsouth.net...
I am not even sure that is the correct syntax to call an aspx program. I
need examples using vb.net. The calling program does not matter, you could run it from the command prompt of your computer. I just want to start an
aspx program and pass it a variable.

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ON**************@TK2MSFTNGP10.phx.gbl...
Don't put "12345" in quotes. I don't know what the syntax would be for
"another program" but in any normal language, having a " in the middle of the string like that would kick an error.

Ray at work

"Mike Ratliff" <mi**********@putnam-fl.com> wrote in message
news:gN*****************@bignews1.bellsouth.net...
I need to call internet explorer from another program and pass along a
variable to the aspx page that I am opening.
example iexplorer.exe "search.aspx?variable1="12345"

please give me an example of the proper command line syntax and the
code to
set the variable in the aspx program.
thanks



Jul 19 '05 #5

P: n/a
This is a classic asp newsgroup. While you may be lucky enough to find a
dotnet-savvy person here who can answer your question, you can eliminate the
luck factor by posting your question to an appropriate group. The .Net
groups contain the word "dotnet"

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.