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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with 'button-command' in asp to VB

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,

I want to connect my button in an asp-page with a VB code saved as an .exe file.
I have tried following ways:

<input type=&quot;submit&quot; name=&quot;...&quot; value=&quot;...&quot;
onClick=&quot;remote=window.open ('facts.exe' 1, 'mall', 'resize=yes');&quot;> likewise <input type=&quot;submit&quot; name=&quot;...&quot; value=&quot;...&quot;
onClick=&quot;remote=window.open ('facts.exe 1', 'mall', 'resize=yes');&quot;>

<a href=&quot;facts.exe 1&quot;>Report</a> likewise <a href=&quot;facts.exe&quot; 1>Report</a>

Non of the two way work.[sadeyes] What/Where do I wrong?

Some of the VB code look like this:
Option Explicit
Sub Main()
If Trim(Command$) = &quot;1&quot; Then
Call Uppdatera(1)
End If

If Trim(Command$) = &quot;2&quot; Then
Call Uppdatera(2)
End If
End Sub
Public Sub Uppdatera(ByVal dotVal As Long)
....etc.....

Thanks in advance!
Johanna P
 
Hi,

I found out that there are no way of connecting a button-command via asp-page and VB code saved as .exe file.
As fare as I found out...

//Johanna P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top