473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Controls/Components

Is it possible to make ordinary controls/components in CSharp and use
it like i could use <object>-tag with COM in a HTML-page?

This page is a locally stored HTML-page, not run through any
webserver, just a single HTML-page browsed to by a FILE://-tag from
another program.

What I want is to open a FILE-url (to this HTMLpage) wich includes a
..Net User/WebControl or Component.

With Visual Studio when I created a UserControl I could just add the
object-tag to a "dead" HTML page to view the Control when
doucleclicking the HTML-page. How is this done with .Net (and CSharp)?
Any tutorials, or is it even possible?

(and NO, I do not have any local webserver available to host any
aspx-pages...)

t.
Nov 16 '05 #1
2 993

Just curious why messing with c# when you want usercontrols to html.
Java is very similar to c#, you can write very easely java applet what runs
in html.
C# is good for windows smart client applications.

"Tormod Engebu" <to****@engebu.com> wrote in message
news:9e**************************@posting.google.c om...
Is it possible to make ordinary controls/components in CSharp and use
it like i could use <object>-tag with COM in a HTML-page?

This page is a locally stored HTML-page, not run through any
webserver, just a single HTML-page browsed to by a FILE://-tag from
another program.

What I want is to open a FILE-url (to this HTMLpage) wich includes a
.Net User/WebControl or Component.

With Visual Studio when I created a UserControl I could just add the
object-tag to a "dead" HTML page to view the Control when
doucleclicking the HTML-page. How is this done with .Net (and CSharp)?
Any tutorials, or is it even possible?

(and NO, I do not have any local webserver available to host any
aspx-pages...)

t.

Nov 16 '05 #2
Yes, see this example, which works with Internet Explorer:
http://weblogs.asp.net/frank_hileman...23/192509.aspx

Also see this description of the process:
http://msdn.microsoft.com/msdnmag/is...tSmartClients/

Regards,
Frank Hileman

check out VG.net: http://www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor

"Tormod Engebu" <to****@engebu.com> wrote in message
news:9e**************************@posting.google.c om...
Is it possible to make ordinary controls/components in CSharp and use
it like i could use <object>-tag with COM in a HTML-page?

This page is a locally stored HTML-page, not run through any
webserver, just a single HTML-page browsed to by a FILE://-tag from
another program.

What I want is to open a FILE-url (to this HTMLpage) wich includes a
.Net User/WebControl or Component.

With Visual Studio when I created a UserControl I could just add the
object-tag to a "dead" HTML page to view the Control when
doucleclicking the HTML-page. How is this done with .Net (and CSharp)?
Any tutorials, or is it even possible?

(and NO, I do not have any local webserver available to host any
aspx-pages...)

t.

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET)...
3
by: Chris | last post by:
Hi, I'm trying to append text from another class to a generic richTextBox that I've added to a Windows form. I can't seem to figure out how to expose the richTextBox to append text to it. ...
3
by: Tom | last post by:
I am writing a Visual basic .Net database application. There are many forms that first let you select and look at a DB record and then when you click a "modify" button you are allowed to change...
1
by: npaulus | last post by:
Hi, I am trying to dynamically add user controls on to my web form but for some reason my form isnt displaying the user control. form1.cs: using System; using System.Drawing; using...
8
by: mark.norgate | last post by:
I've run into a few problems trying to use generics for user controls (classes derived from UserControl). I'm using the Web Application model rather than the Web Site model. The first problem...
8
by: Ryan | last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip, data binding elements (dataset, binding source, table adapter), tab control with 7 tab pages, each page contains a...
1
by: Martin | last post by:
Hi all ! I use Visual Studio .NET 2005 SP1 (+ Updates for Vista) on Windows Vista. I have a strange problem in a WinForm application. In a UserControl, which inherit another UserControl...
1
by: Don | last post by:
I'm getting the following exception displayed in the task list at design time for my project: "Code generation for property 'Controls' failed. Error was: 'Object reference not set to an...
8
by: =?Utf-8?B?U2hhd24gUmFtaXJleg==?= | last post by:
I am coming at the world from the standpoint of a veteran ASP Classic developer. I am not clear on the advantages of using the ASP.NET control over standard HTML control. With the ASP.NET...
4
by: =?Utf-8?B?WVhR?= | last post by:
Me.Controls can get all the controls on the form, but i want to get all the controls include non-from controls, for example ToolTip, ContextMenuStrip... Thank you
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.