|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
hi..
i have a running visual basic application that basically takes an ID and processes some data based on that ID and gives out results..i want to know how to implement this application thru the internet..how to pass data to VB dll files.. what i want to be able to do is on an HTML form field be able to enter the ID and pass that value to the visual basic engine and also display the result on a HTML page..after subsequent processing..i am new to VB so any kind of help is appreciated. thanks a lot, everybody Last edited by Aetos_1978 : October 7th, 2003 at 08:45 AM. |
|
#2
|
||||
|
||||
|
are you using .NET? If you are, then it would not be that bad....
I found this on dbForums. I won't take credit for this one. Chris Barber came up with it. <QUOTE> If the DLL is COM compliant then you can do: Dim pobjDLL Set pobjDLL = CreateObject("ProgIDOfDLL") Dim pvarReturn pvarReturn = pobjDLL.functionname(parameters) Set pobjDLL = Nothing </QUOTE>
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
|
#3
|
|||
|
|||
|
thanks for the post fisherman.....but unfortunately the VB application is not .NET
is there any way of getting it done in a non .NET environment? |
|
#4
|
|||
|
|||
|
Somewhere MS has a kb article on doing this. Try searching the msdn library at http://msdn.microsoft.com/library
|
|
#5
|
|||
|
|||
|
I think fisherman is right when the DLL is COM compliant in vb6 or vb.net...
First you will make a dll with "ProgIDOfDLL" which finished your function..And in the html(asp) use the vbscript to call it... Dim pobjDLL Set pobjDLL = CreateObject("ProgIDOfDLL") Dim pvarReturn pvarReturn = pobjDLL.functionname(parameters) Set pobjDLL = Nothing |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > how to interact with visual basic application using HTML forms.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|