VB forms are a little bit more tricky. I
assume you're using VB6? See, web pages, for the most part, don't have the
same security considerations as do standalone EXE or DLL VB forms. You
could theoretically call the EXE directly from your URL, ie:
This should launch your app, provided that it is
installed from an accessible location for anyone who might want to access
it. Usually, this is local to the user, making deployment a
pain. But inherent Windows security comes heavy into play
here, Examples: 1) The browser security settings for each user
must be set to accept this behavior, and 2) Users will almost certainly have to
contend with that "Save or Open" download prompt dialog each time a link to your
form is selected. Of course, your VB app would have to be configured to
accept the passed in myvar command parameter as
well.
Something you could try is to compile your form as
an OCX. Without too terribly much effort, you could embed your OCX
in a web page using an object tag, not much unlike what AEV does. The
problem here is that without a digital certificate, or altering each client
browser to extend full trust to your deployment site (unlikely going
to get past IT), the user would still get prompted each time.
I would take a hard look at migrating your form to
a web-based form. There are many deployment benefits, and with DHTML
behaviors or Visual Studio .NET, many of the features that you are currently
doing in your VB form can be replicated in an ASPX page.
HTH,
😛
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
think that Zach and I are looking for the same thing. Only I have a VB form
that already accesses the database. Anyone have any ideas on how to use a
hyperlink to open a form in VB.