Home All Groups Group Topic Archive Search About

help with passing values from an aspx page?

Author
30 May 2005 9:24 AM
Daniel
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!!

Author
30 May 2005 11:04 AM
Steven Burn
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!

Show quoteHide quote
"Daniel" <Dan***@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?
>
> Thanks!!
Author
31 May 2005 1:20 AM
Daniel
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.


Show quoteHide quote
"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" <Dan***@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?
> >
> > Thanks!!
>
>
Author
31 May 2005 3:20 PM
Jeff Johnson [MVP: VB]
"Daniel" <Dan***@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....)