Windows form control in explorer browser
How can I put a windows form control in a browser? I found a few tutorials, but none work, I am assuming it is an outdated thing to do. What I am trying to do is use a c# class to manipulate files on the server and display the data to the user.

Roei BarRank #1,271 · 1.4K reputationPosted Aug 14, 2009, 1:55 PM EDT
the class:
namespace Personal.Web.Controls.DateTime { /// /// Summary description for UserControl1. /// public class DateTimePicker : System.Windows.Forms.DateTimePicker { /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public string Date { get {return Value.ToShortDateString();} } public DateTimePicker() : base() { InitializeComponent(); } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if( components != null ) components.Dispose(); } base.Dispose( disposing ); } #region Component Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { // // DateTimePicker // this.Format = System.Windows.Forms.DateTimePickerFormat.Short; } #endregion } }and on the web side you can then put the dll in the bin directory and do this:
patrickRank #4,458 · 342 reputationPosted Aug 14, 2009, 2:29 PM EDT
Roei BarRank #1,271 · 1.4K reputationPosted Aug 14, 2009, 11:00 PM EDT
sorry...
but if the code sent was good for you dont forget me...
Mark it as "Accepted answer"