Convert A WinForm To A WebForm In .NET?

Dec 7, 2010

I didn't think it was possible but I was just talking to a co-worker who said she had done it before. Is she pulling my chain?

View 4 Replies


Similar Messages:

C# - Convert WinForm To WebForm / Show Database Grid On Screen?

Nov 26, 2010

i have C# Winform program and i need to convert it to Webform. can i get any simple sample for how to show database grid on screen,

add new, update and delete ?

i try to show table on screen like this:

SQL = "SELECT * FROM MEN order by Lname";
dsView = new DataSet();
adp = new SqlDataAdapter(SQL, Conn);
adp.Fill(dsView, "MEN");
adp.Dispose();
GridView1.DataSource = dsView.Tables["MEN"].DefaultView;

View 1 Replies

System.Security.Permissions.SecurityPermission Winform In Webform?

Nov 22, 2010

It's a ?/$%/$%"!$ mess ... My webpage contains a winform user control. That user control send text to LPT1.It acts like an ActiveX. I set my website (on localmachine) as a trust one in IE and set all properties for ActiveX under security tab. The user control is showed under IE but I got a System.Security.Permissions.SecurityPermission when execute it.When I sign my control, IE can't display it ! I registered the dll in the .Net Framework Configuration tool

View 3 Replies

Viewing Crystal Reports Other Than Through Custom Developed Webform Or Winform Apps?

May 19, 2010

At work we currently have a custom in-house built winforms app for the business users to view reports. It has role-based security and several administrator functions.My boss is thinking about getting me to port this app to webforms.My question is, are there options other than custom built winforms and webforms apps for deploying/viewing/administrating Crystal Reports at an enterprise level (role-based security, easy report deployment, etc)? I'm thinking about third-party packages or perhaps applications provided by Microsoft/Business Objects/SAP?

View 1 Replies

VS 2013 - Pass Data With POST Method From WinForm To WebForm And Retrieve It

Jul 9, 2015

What I want to do is Pass data with GET/POST method from WinForm to WebForm and retrieve it. I know how to send the Datads using Winform. How can I capture those data using webform so that after i get the submitted data from the winform I can perform my querys .

View 8 Replies

Web Forms :: How To Convert Winform Component

Jan 25, 2010

I have succeeded in capturing image from webcam with window form.

There is a problem, i.e I'd like to apply this application on web page.

I try to convert winform component to webform component

(Winform Component (PictureBox) to Web User Control (asp:Image)), but it fails.

View 1 Replies

JQuery Application Running From CD - Convert In A WinForm App

Mar 9, 2010

I've developed a very simple ASP.NET (jQuery) application. The RDBMS is MS Sql Server but I could easily convert it in MS Access. My client would like to have it available on a CD, ready to run. I was thinking to convert it in a WinForm app but, still, I have to install the framework on the client. Is there any other "possible" solution?

View 5 Replies

Using Webform User Control On Webform In MVC Project?

Feb 26, 2010

I am using a server control on a single web.forms page. I have to use this control on a web.forms page since its a server control, although this is actually a MVC project. So I created a web.forms folder and put my new page in it. I then copy the example code from the signature control. I get the following error:

The base class includes the field 'ctrlSign', but its type (WebSignatureCapture.SignatureControl) is not compatible with the type of control (ASP.signaturecapture_signaturecontrol_ctlsignature_ascx).

I know the code works because if I removed the ID attribute from the server control, it no longer gives me this error and my control renders. But I need the attribute for the ID so I can perform is post event

I am using this signature control. Here's the web.forms code...

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="KahunaCentralTIDRevamp.SignatureCapture.Index" %> [code]....

View 2 Replies

How To Send Parameter From One Webform To Another Webform

Oct 19, 2010

in webform 1, i have search button when i click its open webform2 and there the gridview.

I want when i click the link in gridview in webform 2 then it close webform 2 and change the datasource parameter in webform 1 without open the new window (still same window)

View 2 Replies

C# - Send Visitors From One Webform To Other Webform?

Mar 21, 2011

What is right way to send visitors from one webform to other. What are their limitations and their plus points.

View 2 Replies

Winform Versus MVC

Jun 1, 2010

I want to know when to use winform and MVC asp.net

View 11 Replies

How To Print A Pdf From Winform Without Opening

Oct 25, 2010

I have pdf file saved on my hard disk. I want to print it without opening it in a single click.

View 1 Replies

Architecture :: Integrate .NET Page Into A Winform

Apr 1, 2011

I've an ASP.NET application running for reporting purposes. This is done for the management. The persons on the production floor have

a windows application running. Some of them needs to view the ASP.NET reporting page. To avoid writing twice the same reporting tools

(ASP.NET and Windows application) I want to import the ASP.Net pages into a windows form. I don't want to have the ASP.NET pages running

outside the windows application.

View 1 Replies

C# - Trigger On Database Using A Web And Winform Application

May 25, 2010

Situation: I have a web application which shows errors and where you can accept those error messages. I also have a service, which checks errors from a system and sets the error messages in the database. When I accept an error in the web application, i would like the service to know which error message has been accepted, so that it can do some other actions. My guess is that this could be done through some sort of trigger, but i can't figure out how.

View 1 Replies

C# - Can Create A PDF Quotation File From Winform

Aug 6, 2010

Assuming i have a winform that has a button called "Create a Quote". Once user clicks it, a PDF File gets created on desktop. The PDF File has a fixed design/structure e.g. the logo is at the top left corner, the headers are fixed, etc. However, the data it self is pulled from a database.

As you see above, Quotation #, Description, Qty, U.P (USD), T.P (USD) records should be fetched from the db and dumped in the pdf template then create the pdf for user.

View 1 Replies

C# - Is There Equivalent Of WPF OriginalSource Event Property In Winform?

Jan 23, 2011

From:

[URL]

The OriginalSource property of the object identifies the original object that received/initiated the event. Consider a custom control (called CustomControl1 in this example) that is composed of a TextBlock. When a MouseDown event is raised on the TextBlock, the OriginalSource property will be the TextBlock, but in CustomControl1's handler, the Source will be changed to the CustomControl1 object so that other elements along the event's route will know that CustomControl1 received a MouseDown.

Is there equivalent of WPF OriginalSource event property in Winform and ASP.NET ? If not how to emulate this ?

View 1 Replies

How To Determine If The Executing Assembly Is A Web App Or Winform/console

Apr 16, 2010

I would like to write a helper function which build the exception message to write to a log.The code look like:

if(IsWebApp)
{
use HttpContext to get the Request Path and RawUrl [code]....

View 4 Replies

Create Global.asax In Winform Application?

May 17, 2010

I'm trying to create Global.asax in a Winform. I could do it in ASP.NET, but i couldn't find a way for Windows Application. I have a singleton class called DataAccessLayer, i need to instantiate it once only, so i can call its method/properties anywhere in the application easily.

View 5 Replies

C# - Plug Dependency Property Framework To Winform Or .NET ?

Dec 18, 2010

The dependency property framework is a general UI Framework that can be needed outside WPF. So is there a way to use it for Winforms or ASP.NET UI for example ?

Update: I mean can I declare a few namespaces and use dependency property framework in winforms and asp.net ?

View 3 Replies

Web Forms :: Signed WinForm Control Not Showing In Web Page?

Nov 8, 2010

I developped a light WinForm Control that run like an ActiveX in a Web Page. No problem yet.However, when i want to access System.IO I got a Security Exception. It seems that I have to sign my assembly, so that's what I did. When my assembly is signed, my Web Browser can't show the Winform. I set IE to download any ActiveX in the Security tab ... Nothing happens. Uncheck "Sign Assembly" ... works fine ...

View 2 Replies

Simulate Virtual Users Interacting With Winform Or ASP Application?

Mar 10, 2011

Microsoft release a product named - Visual Studio Load Test Virtual User Pack 2010 to do that. However, it cost USD$4,799. So,is it other free or commercial tool can do simulate jobs? At now, my solution is :

Winform :
3 x virtualbox + WinXP with some macro software.

ASP.NET
3 x virtualbox + WinXP + Firefox and iMacro

View 3 Replies

C# - Parameter Is Not Valid Exception When Saving Image In Winform?

Nov 22, 2010

I am getting a parameter is not valid exception..While saving the image

Here is my code to save the image

if (!File.Exists(pictureBox1.Tag.ToString()))
{
Image image = pictureBox1.Image;
image.Save(pictureBox1.Tag.ToString(), ImageFormat.Jpeg);
}
else
{
string delStr = pictureBox1.Tag.ToString();
pictureBox1.Image.Dispose();
File.Delete(delStr);
Image image = pictureBox1.Image;
image.Save(delStr, ImageFormat.Jpeg);
pictureBox1.Image = Image.FromFile(delStr);
}

View 2 Replies

SQL Reporting :: Display SSRS Report Based On Winform Parameters?

Jan 25, 2011

I need to display report in winform based on winform parameters.

I'm ve in SSRS report via URL, I deployed in Reportviewer in winform . Now I need to display that report based on my win form parameters i.e., I'm ve in textbox and button.

I ve to enter related item in textbox and when I press the button the report should be viewed based on this values. Remember I'm calling report via URL.

View 2 Replies

Winform Control Hosted In IE, FileIO Security Exception / How To Solve This Error Message

Nov 4, 2010

I see a message on:

winform control hosted in IE, FileIO security exception.

I have got the same problem, which I cannot figure out what is the solution for weeks.

I have Windows 7 (Home premium edition), framework 3.5 (how can I check that, if gacutil is correct version, if it metters, anyway ...)

I am writting on C#.

Also on assemblyInfo.cs :

[code]....

View 5 Replies

C# - Can Convert To The String But Can't Convert Back

Jul 30, 2010

I have a string I need to convert back to a date. I can call .ToString("yyyyMMdd") and get the string i want. My question is how can I convert that back into a date? I'm trying something like the following with no luck.

DateTime d;
var formatInfo = new DateTimeFormatInfo {ShortDatePattern = "yyyyMMdd"};
if (DateTime.TryParse(details.DetectionTime.Date, formatInfo, DateTimeStyles.None, out d))
{
lit.Text = d.ToShortTimeString(); //would like 07/30/2010 as the text
}

I've never used DateTimeFormatInfo before if that isn't obvious. Can someone point me in the right direction. I know I could probably use substring and create a new DateTime(y, m, d) etc... I'm just wondering since c# interpreted .ToString() correctly, if it can't derive a date from the very same string it output.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved