Home > Archive > Visual Basic > May 2005 > help with passing values from an aspx page?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
help with passing values from an aspx page?
|
|
| Daniel 2005-05-30, 8:55 am |
| hi everyone, can anyone point me some help or reference on passing values
from an aspx page? i have a vb6 dhtml page which is supposed to retrieve a
string variable from an aspx page. how do i do it?
Thanks!!
| |
| Steven Burn 2005-05-30, 8:55 am |
| Oks, first off, there was no need to post this errr.... 4 times.
Second, the answer to your question depends on 2 things;
1. what your aspx does/returns and how it does such
2. How your dhtml page is setup to function.
For example, if it returned the value as a querystring, you could use;
<Script Language=3D"VBScript">
MsgBox Request.Querystring("sQuery")
</Script>
If it returns it to the aspx page itself however, you'd need to use =
XMLHTTP to retrieve and parse the page for the value you were wishing to =
use.
--=20
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
"Daniel" <Daniel@discussions.microsoft.com> wrote in message =
news:6DBFEBD5-547F-48B0-9D82-9CD981EA2031@microsoft.com...
> hi everyone, can anyone point me some help or reference on passing =
values=20
> from an aspx page? i have a vb6 dhtml page which is supposed to =
retrieve a=20
> string variable from an aspx page. how do i do it?
>=20
> Thanks!!
| |
| Daniel 2005-05-31, 3:56 am |
| actually, i have a string that will store the values which are keyed into a
textbox on the aspx page and i am supposed to retrieve the value in the dhtml
page and use the string to perform some operations.
"Steven Burn" wrote:
> Oks, first off, there was no need to post this errr.... 4 times.
>
> Second, the answer to your question depends on 2 things;
>
> 1. what your aspx does/returns and how it does such
> 2. How your dhtml page is setup to function.
>
> For example, if it returned the value as a querystring, you could use;
>
> <Script Language="VBScript">
> MsgBox Request.Querystring("sQuery")
> </Script>
>
> If it returns it to the aspx page itself however, you'd need to use XMLHTTP to retrieve and parse the page for the value you were wishing to use.
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message news:6DBFEBD5-547F-48B0-9D82-9CD981EA2031@microsoft.com...
>
>
| |
| Jeff Johnson [MVP: VB] 2005-05-31, 3:55 pm |
|
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:6DBFEBD5-547F-48B0-9D82-9CD981EA2031@microsoft.com...
> hi everyone, can anyone point me some help or reference on passing values
> from an aspx page? i have a vb6 dhtml page which is supposed to retrieve a
> string variable from an aspx page. how do i do it?
Can you define "VB6 DHTML page"? Are you hosting a WebBrowser control in
your app? Did you use a Web Class? (Hopefully not; that would be like making
a video and only issuing it in BetaMax....)
|
|
|
|
|