W
Wayne Gibson
Hi,
Was wondering if anybody could point me in the right direction.
I'm looking at developing a Windows User Control using Visual Studio .NET
2005 in C#. The user control is to be used on a web page to replace an
existing Java applet. One of the main reasons for switching from Java to
the Windows User Control is to reduce the amount of the time spent maintain
two lots of source code, keeping the online and offline versions in sync.
So the creating a Windows User Control, would help in this matter.
I haven't seen many samples on how to achieve creating a Windows User
Control using C#. The ones that I have seen, seem to implement the Windows
User Controls like ActiveXs. Using the Object Tag in the HTML file, as
follows:
<object id="HelloWorldControl1"
classid="http://localhost/HelloWorldControlHost/HelloWorldControl.dll#HelloWorldControl.HelloWorldCtl"
height="500" width="500" VIEWASTEXT>
</object>
Using the # to specify the Assemblyname and class to invoke.
Firstly, is this the correct way of doing it. Or is there a better method
that I haven't found as yet?
I also noticed that the when the custom control is download, it states that
it is unsigned. Am I correct in thinking that I will need to sign the
custom control, using a digital signature from Verisign?
Once signed, will the user still be prompted to install the control or is
there someway of avoiding the dialog be presented to them?
Is it also possible to use a cab file, just in case there are an additional
dlls that are required by the custom control ? If so will this be
transparent to the users, or will they see some sort of installation being
performed?
My major problem, is that I want this to work on as many machines as
possible. But nowadays a lot of system managers are restricting what can
and can't be installed on the users machines and I don't want to lose these
users....
Thanks
Wayne
Was wondering if anybody could point me in the right direction.
I'm looking at developing a Windows User Control using Visual Studio .NET
2005 in C#. The user control is to be used on a web page to replace an
existing Java applet. One of the main reasons for switching from Java to
the Windows User Control is to reduce the amount of the time spent maintain
two lots of source code, keeping the online and offline versions in sync.
So the creating a Windows User Control, would help in this matter.
I haven't seen many samples on how to achieve creating a Windows User
Control using C#. The ones that I have seen, seem to implement the Windows
User Controls like ActiveXs. Using the Object Tag in the HTML file, as
follows:
<object id="HelloWorldControl1"
classid="http://localhost/HelloWorldControlHost/HelloWorldControl.dll#HelloWorldControl.HelloWorldCtl"
height="500" width="500" VIEWASTEXT>
</object>
Using the # to specify the Assemblyname and class to invoke.
Firstly, is this the correct way of doing it. Or is there a better method
that I haven't found as yet?
I also noticed that the when the custom control is download, it states that
it is unsigned. Am I correct in thinking that I will need to sign the
custom control, using a digital signature from Verisign?
Once signed, will the user still be prompted to install the control or is
there someway of avoiding the dialog be presented to them?
Is it also possible to use a cab file, just in case there are an additional
dlls that are required by the custom control ? If so will this be
transparent to the users, or will they see some sort of installation being
performed?
My major problem, is that I want this to work on as many machines as
possible. But nowadays a lot of system managers are restricting what can
and can't be installed on the users machines and I don't want to lose these
users....
Thanks
Wayne