I am new to .NET so I have a basic question to ask, is there a way to add Windows Forms application to my web page, as creating forms was easy and I created my app in the form format now I want to add them to asp.net page.
It's a different thing, but you might want to look into the silverlight out-of-browser technology.
http://www.silverlight.net/learn/overview/out-of-browser-applications/out-of-browser-applications-(silverlight-quickstart)
Spend good time on w3schools.com learning about <form> tags..
then gradually move on towards processing data at backend using C#
a good starting point can be http://www.deitel.com/articles/csharp_tutorials/20060128/index.html
Long way to go..first get your basics right!!
If you have basic knowledge of html, then you can learn the basics of asp.net too. Then you can easily create a web form which exactly matches your windows forms. But always keep it in mind, webforms are not as flexible as windows forms.
well... there are something you can do that is similar.
You can add your windows-form to an BHO and install it in you webBrowser as an ActiveX object (for a IE) or extension (in other browsers), and then share it to everyone you want. Then your win-form application can start and interact with your web-page.
You can start looking here: http://msdn.microsoft.com/en-us/library/bb250436(v=vs.85).aspx
hope it help.
Windows form cannot be added in a web form. They altogether are a different technology. You can add link in your web app for downloading Windows app.
Related
I dig into the WPF(browser app) and Silverlight application environment to know which one is best suitable for web development. I search out many portals saying that WPF is good for window forms and Silverlight for web. I also tested my WPF web app on different browsers and faced thousands of browser plugins issues except IE browser. As I come to know Silverlight is sub party of WPF which means SL has less features as compare to WPF. Now I want to figure out which practice is best suitable for web development and why?????
Thanks in advance
Silverlight is being discontinued, so don't use it for anything important. Use WPF if you want that kind of display tech, or Metro w/C# or Javascript
We have a 5 page website and we are looking to make a desktop application to update parts of the text just 1 or 2 words to start off with , simple change the html word of hello to test from the desktop program.
I know parts of visual basic 2008 but im not a master of it and so i didn't know if that was the best way to go forward or any other programming languages.
Also what would be the best code way to try and update the text on the website
Any websites would be appreciated so i could learn and possibly build on this as this would be something id like to get into
thanks
That's a bit much to answer fully here. I can give you the basic steps and links to resources to help you on your way.
Without going into specifics, you want to do the following:
Create your website using ASP.NET (since you tagged this as .NET)
Save the text that you want to be changeable in a database
Use DataBinding in ASP.NET to retrieve the data from the database to show it on the pages.
there are plenty of videos on how to do this at http://www.asp.net
You'll have to choose between Web Forms and MVC. if you're brand new I won't try to confuse you. WebForms is a bit easier to use if you've never done real web programming before, but MVC is becoming much more popular. Since it sounds like you're new I'm going to recommend you start at http://www.asp.net/web-forms and pay attention to the "Learning Resources" area
Create a Windows Forms application to update the data
there are plenty of videos on how to do this at http://www.windowsclient.net
Technically you could update the data from an ASP.NET application, or even a Visual Studio Lightswitch app, but you specified you wanted to make a Desktop app, which I interperet as being a standard Windows app.
Of course, you'll have to host this website in IIS. I'm assuming you're already doing that...
I have a game I made in windows form and an asp.net website(with a masterpage)
I made a new page in the website called game.aspx and I want that users could play the game inside the website (inside a frame, not another window)
It is possible to host a WinForms user control in a web page, but it is only supported in Internet Explorer, and even there the support is poor.
I would rather suggest that you package the game as a ClickOnce application that you deploy from your web site.
Edit:
If you REALLY want to do it you will find many examples on the web. Try this google search: http://www.google.com/search?q=user+control+host+winforms+web+page+html
This article from codebetter.com looks interesting for example:
http://codebetter.com/petervanooijen/2007/06/18/including-a-winforms-user-control-in-an-asp-net-web-page/
If the game is HTML/JavaScript based then you're all set. But if the game is written in WinForms there is no way to host it from within a webpage without it being installed on the client's machine and using some kind of container (like ActiveX) and some fancy footwork.
You probably want to look at Silverlight or Flash or even HTML5. Implement your game in one of those and it can be played inside the client's browser.
Well it's kind of a newbie question but I think lots of people have problems with this.
I'm developing Windows/web application for fun, and installing them at friends' places. Most of my developing concentrates on the CRM system, but I have a big problem with showing data from DB in better, more effective and lighter ways.
Using Microsoft built-in web controls is a nice and easy way, but it doesn't answer my needs, and worse, it's not that effective as other web controls in great software and websites(Google(lol)).
I want to build my own controls(GridView, etc...). So my question is how can I do this myself?
How does Microsoft build their web controls for both web and Windows Form developing?
Thanks!
Amit
Here's the starting place for learning about creating your own web controls.
http://msdn.microsoft.com/en-us/library/bb386565.aspx
And here's an older reference, but probably a better place to start.
http://msdn.microsoft.com/en-us/library/aa710843(VS.71).aspx
And finally.... If you want to develop custom controls for Windows Forms applications...
http://msdn.microsoft.com/en-us/library/6hws6h2t.aspx
Well, this can be answered several ways. Most of the nice controls are doing a lot of Javascript that is not obvious unless you look at the output. You might be interested in using JQuery plugins (or "controls"). Also, to be honest, you might be interested in persuing a new way of doing ASP.NET, which is called ASP.NET MVC. This is a very good way forward of building Web applications that utilize a lot of Web standard technologies without hiding and obscuring the details. Here's a link to that:
http://www.asp.net/mvc/
I'm going to develop a web application based on mathematics. It's going to provide stuff like canvas' showing graphs (quadratics etc.) and also provide an exercise area to test knowledge.
I am stuck as to which route to take. I haven't developed a Web Application before and I am most confident working in C# applications. I would prefer to use C# when creating this but I don't know if that is really appropriate.
I have the following routes that I could go down:
Silverlight - I haven't used this before but it seems to be the most obvious solution to me. I was wondering how hard it will be to develop an understanding of silverlight (xaml etc.)
Java, I haven't any idea about java, but I've heard it has a lot of similarities to C#.
Tclets, my university tutor said he has worked with this before and it's easier to get on the web, and very handy for gui's.
I thought I'd ask this here to get everyones opinion on which path to take, and sum up all the positives and negatives of each route.
Thanks in advance.
If you decide to go the Silverlight route the Silverlight Toolkit has some good graphing samples : Silverlight Toolkit Control Samples - which is itself a Silverlight application.
Using Silverlight is probably the closest you can get to writing a desktop application for the web. The UI is specified in XAML with the application layer in C#. The whole application sits within the Silverlight control and you can generate the menus and other navigation items you need.
It complies to a XAP file which you deploy and then reference from either an HTML page or ASP page.
If you are most comfortable with C# then I would advise developing it in ASP.NET. Heres a starting point: Creating ASP.NET Web Applications
I really can't speak to Java or Tclets but Silverlight will offer you a familiar programming model if you are most comfortable in C#. XAML requires a bit of a learning curve if you don't have any experience with it. You don't have to go 100% Silverlight though - it could be a hybrid HTML (ASP.NET) and Silverlight solution - where Silverlight could primarily be used for the graphing/charting. You could use HTML or a more sophisticated ASP.NET site for the remainder of the content.