We have a two-pronged application, one is ASP.NET driven and the other is a
bunch of WinForms packed into a VB.NET executable. Is there anyways to be
able to call that executable from the ASPX page?
We had implemented a custom URL handler in the past, but in our next release
we cannot require any users to have administrative rights to their machine,
so that means they cannot write the necessary registry information to
register the URL handler, so we are having to find a different approach.
We've tried a WinForm control embedded in IE6, but Process.Start() renders
the method completely uncallable, so if anyone has any other ideas I could
try, please let me know.
Thanks,
Michael 4 2241
On Tue, 17 Aug 2004 18:18:35 -0500, "Mike"
<Mi*****@no-spam.PrioritySo ftware.com> wrote: We've tried a WinForm control embedded in IE6, but Process.Start() renders the method completely uncallable, so if anyone has any other ideas I could try, please let me know.
I'm not sure how its done but the technology is called ActiveX
controls. Maybe the project has to be recompiled to be used as such?
After creating the control you could embed it into the page using the
<object> tags?
-Adam
You can launch Winforms via the <object> tag and them on demand.download .
There are code access security considerations if you want to do more than
Ul.
"Mike" <Mi*****@no-spam.PrioritySo ftware.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. .. We have a two-pronged application, one is ASP.NET driven and the other is a bunch of WinForms packed into a VB.NET executable. Is there anyways to be able to call that executable from the ASPX page?
We had implemented a custom URL handler in the past, but in our next release we cannot require any users to have administrative rights to their machine, so that means they cannot write the necessary registry information to register the URL handler, so we are having to find a different approach.
We've tried a WinForm control embedded in IE6, but Process.Start() renders the method completely uncallable, so if anyone has any other ideas I could try, please let me know.
Thanks, Michael
"Mike" <Mi*****@no-spam.PrioritySo ftware.com> wrote in
news:#C******** ******@TK2MSFTN GP12.phx.gbl: We have a two-pronged application, one is ASP.NET driven and the other is a bunch of WinForms packed into a VB.NET executable. Is there anyways to be able to call that executable from the ASPX page?
Create a DLL interface - sort of a class factory. In the DLL, add a
reference to the .EXE. Use the DLL to instantiate the form logic.
However, I would avoid Winforms in IE if possible... I found them to be
unreliable, require too much tweaking with security, and generally
immature. I think Microsoft needs a couple more iterations before Winforms
in IE will work smoothly.
--
Lucas Tam (RE********@rog ers.com)
Please delete "REMOVE" from the e-mail address when replying. http://members.ebay.com/aboutme/coolspot18/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Brent Stevenson |
last post by:
DOtNEt newbie. How do you launch an IE Browser from a winform?
|
by: Brian Brown |
last post by:
I have code which works as an asp.net page that posts an
xml file to web page and gets a response back.
When the the calls GetResponse() it goes into the page
it's posting to to and works fine. When it's been ported
to a winform it doesn't work on the GetResponse() call.
I think it probably needs credentials but not sure what
to use, tried a few ids w/o any luck.
|
by: Scott Meddows |
last post by:
I'm trying to embed a winform control into an HTML page and I don't seem to be getting anywhere..
I've put the following object tag in the body of the HTML document
<object id="UpdateControl11"
classid="http://lafdev2/reportControl/TSG.RiskManagement.RiskManagementControl.dll#TSG.RiskManagement.RMMain" width=100%
height=100%>
When I open the web page there is just a box there with no control in it. I try to attach to the IExplorer...
|
by: randy1200 |
last post by:
I'm using Visual Studio 2005 and C#. I need to print a WinForm used for data
entry as a graphic. In other words, I need to print the exact WinForm the
user sees on the screen.
I searched through the newsgroups, and found the code below. This seems
reasonable, except for the fact that the author does not provide his
SetSeq_Library. This is needed to load the Bitmap variable _ActiveFormImage.
Any suggestions on how to capture a WinForm...
|
by: Hasim AH |
last post by:
Hi ..
Just getting interested to learn C# and needs help.
I want to write C# application so that the program will execute and draw graphics when the user select the drawing menu from the main menu, SigDraw.
Here is the codes:-
using System;
using System.Drawing;
using System.Collections;
| |
by: jyanmin.fang |
last post by:
Hi,
In my current project, I need to embed an .NET winform usercontrol in
the aspx page (via <Objecttag). This winform usercontrol has an
event called DoEvent (void DoEvent()). This winform usercontrol will
fire this event upon certain action by the user. I tried to let the
aspx page subscribe to this event via
<script for="winObj1" event="DoEvent()" language="javascript">
window.alert("window control event happen!");
|
by: moondaddy |
last post by:
I had to repost this becuase I renewed-changed my msdn alias. Also, the
asnwer in the other past did not understand what I'm trying to do, so I'll
attempt to clarify.
I have a .net 2.0 winforms app that calls a web service which creates
creates a GUID and caches it, then passes the GUID back to the winform.
then it opens a aspx page and passes the GUID as a parameter. this GUID is
only cached for about 10 seconds and must be still...
|
by: Ed Jay |
last post by:
I'm having difficulty launching a page in IE with URL#name. No issue with FF
or Opera
On Page 1, I have the link <a href="URL#here>Go here</a>.
On Page 2, I have <a name="here"></a>.
Both pages are in the same folder. When I invoke the link on Page 1, I get a
404 error in IE6. If I invoke the link without appending #here, the page
launches correctly. Am I missing something, or is this expected IE
behavior?
|
by: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= |
last post by:
I have a WinForm application that, depending on user actions, may spin for a
while doing extensive calculations, showing a progress bar in the meantime.
I would like to be able to launch a second complete copy of the main form so
the user may start a second lengthy calculation if desired.
I have a menu item to "Launch New Workspace" but I am having difficulty
implementing this. I detail my experiments below; any suggestions on the
proper...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |