Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual basic 6+ASP

Status
Not open for further replies.

LalanKG

Programmer
Jan 25, 2005
23
IN
Hi All,

i am new to Visual basic. I have some requirement in intergrating VB with ASP page.
The requirement is ,assume I have a html form, in that i have a two txt box and one button.

On clicking the button i need to pop up a visual basic form (external) and prepopulate
these txt box values(html page) in the new VB form.

I am using VB 6 and ASP and not .NET

Please help me, is there any way.. any third part control or so..pls let me know

Lal
 
It was a good thing that it was posted in both places because I might not have seen it otherwise.

I'm not trying to incourage this cross posting but really this one is more appropriate than others because it is both a VB and an ASP question. (Not VBScript ASP but separate external VB EXE)

The reason is that everyone in the ASP forum said, "No, can't do it." And that is wrong... Sorta.

You can't do with ASP... but you can do it with VB and client side script. (either VB or ASP)

What you need to do is change your VB program into an ActiveX EXE, add a public createable class, and instantiate it from client side script. I put more details over in the other thread.


 
Whoops, typo:

"You can't do with ASP... but you can do it with VB and client side script. (either VB or ASP)"

^^^^^^^

This line should have said:
"You can't do with ASP... but you can do it with VB and client side script. (either VBScript or JavaScript)"
 
The way the question was asked, though, seemed to indicate that it wasn't from someone with a lot of experience who can do the things you suggested without a good deal of other questions and training.

Lee
 
Also this is one of those things that just because you CAN do it doesn't mean that you SHOULD.

This type of design decision should not be made without investigating all of the options and consequences.

You'll get into binary compatibility issues with your ActiveX EXE if you aren't careful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top