Migrating Winforms Application To ASP.NET?

Jun 10, 2009

I need to convert my winform VB.NET application to an ASP.NET application.My current application has 4 forms, it reads a remote XML file, and uses a datagrid to collect user input and to create a report.It is a very simple application, and I would like to know where to start to convert it to ASP.NET.

View 3 Replies


ADVERTISEMENT

Migrating From WinForms To WPF

Jun 25, 2010

We're building an application using VB.net and WPF. Obviously we've found that there are huge differences between the syntax in the two, and we have a few problems trying to do things in Form apps in WPF.If possible, could you pass us some resources on things like switching between WPF windows, we'd use Show() and Close() in WinForms, and referencing variables from other forms, i.e. otherForm.StrVariable references StrVariable from otherForm.

View 2 Replies

.net - Migrating Application From Microsoft Access To VB Or C#.NET?

Sep 5, 2010

I'm currently trying to convince management of the need to port one of our applications to .NET. The application has grown to be a bit of a monster in Access (backend in SQL), with 700 linked tables, 650 forms/subforms, 130 modules and 850 queries.

I pretty much know all the major benefits of doing this, but now need to look at how this can be achieved technically, so I can put a project plan together.So, my plan was to convert the queries into stored procedures and/or views on the backend and re-write the forms in WPF or WinForms.

Now, the code is where I come unstuck. Is it possible to packaged up the code behind and modules into dlls and consume them whilst it is slowly ported to VB/C#?

What we can't be left with is half an application in VB/C# and half in Access, it must 'appear' to all be one application, even half way through the migration.EDIT: Just some more info about what we do and why we're looking at moving away from Access.We are essentially an ISV and the Access application is our main product. This application has been developed over a period of 15 years, by many, many developers on an ad hoc basis. There is no documentation for this application.

We also have problems with getting branching in SCC to work properly, so we've currently got 4 or 5 code bases for the half a dozen clients we have. On top of that, all the testing we do is completely manual, which you can imagine is very labour intensive, and only scratches the surface of what really needs to be tested.We're currently looking to expand, and have a number of sales leads that are in the final stages. I'm worried that with these new sales, we're going to be swamped with support and testing, and that this application is going to become even more entangled an buggy.

I'll also add to this the fact that we're just about to enter the spec phase of a brand new product, which is almost certainly going to be built in .NET. If we were to rewrite the Access application in .NET, then the people we use for that can go straight on to this new development. If we were to stay in Access, then we'd have to get some new Access people in, whom would have to be retrained once we start the new development.

So essentially it has come down to two choices, major refactoring work in Access to try and 'organise' the code a bit better, and those of you who have suggested culling parts are most probably right; I'm sure there are parts that are no longer used. However, I fear that if we stay in Access we still won't be able to build in effective testing and we still won't have proper SCC branching, which will lead to support continuing to be a nightmare, and any future developments on this product makings things worse. Either way there is a lot of work that we're about to embark on, which is either going to be done in Acces, or .NET.

View 5 Replies

Compact Framework Migrating To Windows Application?

Jun 6, 2012

Had any of you tried to migrating the code written in Compact framework (For Windows CE mobile application) into windows application 2010 I did this but getting .resx error i.e resource file error since it is in old version.Has any of you tried a workaroud on this in order to get rid of .resx error.

View 7 Replies

Sql Server - Migrating Stored Procedures Into Application

Jul 22, 2010

All of those disadvantages of stored procedures (database portability etc.) I am now facing. We are going to migrate our VB.Net/ASP/SQL Server application to something like Mono/Postgresql and fully internationalize.

One of the many issues we face is that we have 800-900 stored procedures. What we are thinking of doing is moving the logic in these SP's in to the application code. I have searched around for how people have done this or how it can be done however I have found very little. Most of the info on stored procedures is about what should be in them etc. So I have come to the conclusion that the best way to approach this is to leave the SQL retrieve/update type queries as stored procedures and move the ones with business logic in to the application.

View 2 Replies

Deploying Winforms Application To Client Machines Application Failing On Start?

Jul 2, 2009

Deploying Winforms Application to Client Machines Application Failing on start

View 8 Replies

Winforms - Convert A Desktop Application To A Mobile Web Application?

Mar 9, 2011

I have an application that is written in VB.NET, using the System.Windows.Forms.Form as the front-end GUI. It runs perfectly on my Windows machine however recently there is a business requirement to convert this application to run as a web application so that people could view them in their blackberries when they go to the URL. Is there any quick way to perform such a conversion or I will have to translate the code line-by-line for such cases?

View 1 Replies

Detect If The Application Is A Console Or WinForms Application?

Sep 24, 2010

detect whether the current application is a console or a winforms application.The reason that I want to do this is that I am developing a library with a global error handler in it and I need to know what type of application it is in order to be able to subscribe to the appropriate exception event.Obviously I could get the user to pass in a parameter specifying what type of application it is, but I would rather deal with that automatically so its all encapsulated from the user of the class.

View 1 Replies

CSS Be Used In A WinForms Application?

Mar 9, 2010

Can we use css formatting in a vb application to give some enhancement? Examples would be changing the font color and or background? Are there any other way to customize a (VB)desktop application?

View 4 Replies

Porting Winforms Application To C#?

Jun 24, 2012

Possible Duplicate: Porting VB.NET Winforms Application to C# .Is there any way to convert a vb.net winforms application into c# ? In terms of both code and .vb (forms) files.

View 2 Replies

References Not Appering In Winforms Application?

Nov 25, 2009

I have a 3 tier applicaiton, winforms, business and data layers.I just pulled the projects out of souce control. My winforms application references business which references data.I added a reference to my business layer and my winforms project is not seeing the reference. "Names or type specified in the Imports . . . doesn't contain any public member or cannot be found . . .

View 1 Replies

C# - How To Get Path To File In Winforms Application

Oct 5, 2011

How can I get the path of a file on my computer or on the local area network.

I would to show a window that allows me to browse the file system when I click a button, and I want to select a file and get the path to the file. How can I do this?

P.S. I'm not looking to upload the file; I just want to get the path.

View 4 Replies

Secure Connection Of .net Winforms Application

Dec 1, 2011

I am developing an .net Winforms application and I need to secure the connection to the sql server 2008 database. I plan to create a webservice as a middle tier that will handle the authentication and that will provide data manipulation. Is there a better way to go with? Does .net have components or tools for that? What is the best technique?

View 2 Replies

Use GridView In A Winforms Application But It Does Not Appear In Toolbox?

Sep 26, 2009

I need to use GridView in a Winforms application but it does not appear in my Toolbox (see attached).

Attached Images VBToolBox.jpg (9.9 KB, 34 views)

View 4 Replies

Winforms - Launch External Application Using Hot Key?

Mar 7, 2011

I have a windows program which is launched after pressing certain key combination (if its already running). Now i want to do this triggering through vb.net code? How can it be done?

View 3 Replies

.net - Window Close Events In A Winforms Application?

Jan 31, 2011

I am looking to prompt the user to save data when they close a form window in a winforms application. I can't figure out how to trigger the prompt to the user, should they click the red box at the top right corner of the form.

My application currently has a boolean flag, that is set to True on textchanged event. So I will only need to check for the boolean value in whatever event is trigger by the red box.

View 3 Replies

Can't Distribute Winforms Application That Writes To Event Log

Feb 3, 2012

My application writes to the event log if there is an error or other status updates.

The application checks to see if there is an event source named "applicationName"and if not, it creates the source (see code below).

This works fine if the user is an administrator.

If the user is not an administrator, an error is thrown when SourceExists is called:

{"The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security."}

In my environment, the typical user is NOT an admin. Therefore, I cannot use the event log in my application.

Is there a way around this, or is the event log effectively useless for distributed applications?

View 9 Replies

Embed HTML Code Into A WinForms Application?

Jul 21, 2010

I've a somewhat unusual feature to implement and I don't know if it can be done without much effort.A WinForms application has a help file (well, not HTML help, but simply a HTML file with a reference sheet). When user presses F1 button a form with a web-browser control in it displays showing this file. The client wants this HTML file to contain buttons/checkboxes which a program should respond to.For example, if a user clicks a HTML button in the help file some value should appear in a textbox on the main form, etc. Is it altogether possible

View 1 Replies

Notified Of Date Change In .NET WinForms Application?

Dec 27, 2010

I would like to specify a function to be called in my VB.Net 2005 WinForms project at midnight when the system date changes. Is this possible?I know I could do this by setting a timer by setting the interval to midnight minus the current time, then after the first tick, setting the interval to 24 hours. I was wondering if there was a cleaner, simpler way.

View 3 Replies

Passing Data From WinForms Application To MVC3

Dec 14, 2011

I am working on an application that has a Winforms and MVC3 Web component. We need to be able upload large files from the desktop to the web. I have tried the various VB 2010 WebClient and FTP FileUpload alternatives but continue to run into permission issues, even though the User-ID and password I supply are the same as those used by an FTP application that successfully copies files to the same MVC3 site. In my efforts to find alternative solutions, I have looked into using WCF which also seems complicated and problematic for this particular application.

The closest I have come to a solution utilizes HttpWebRequest on the Winforms application. The following VB 2010 and C# code (MVC3) successfully passes the Filename and File data to MVC3 (the InputStream contains the references and UrlEncode data, but the class containing the fields for this data are null. (I have also passed just the file data without the filename, and the uploaded file is successfully created from the InputStream - but the method variable is still null). Although I could pick apart the InputStream, I would prefer a more elegant alternative.

VB 2010 Winforms method:
Public Shared Sub FileUpload(ByVal Filepath As String)
Try
Dim Host = System.Configuration.ConfigurationManager.AppSettings("Host")
Dim url As String = Path.Combine(Host, "UI/FileUpload")
Dim request As HttpWebRequest = HttpWebRequest.Create(url)
request.Method = "POST"
[Code] .....

View 2 Replies

WinForms - Clicking Button On 3rd Party Application

Oct 19, 2010

I am launching a 3rd party application from my windows form
System.Diagnostics.Process.Start("C:Program Filesabcabc.exe")
There is a "SAVE" button and a tool bar on the is application. Is it possible to click the button on this application as soon as it is launched or click (Alt + F) on the toolbar programmatically without clicking the mouse or keyboard.

View 2 Replies

Winforms - Deploying A VB 2010 Win Forms Application

Nov 16, 2010

I am deploying a VB.net 2010 winforms application, and when I install it on the client's machine, the install process also installs an instance of SQL Server 2005 Express. The application connects to a central SQL database on the server. To install, I am using the "Publish" option in VS 2010. Why does it do that? There should be no need for a local instance of SQL Express. Is there a way to avoid installing SQL 2005 Express (I know it is free, but I would rather not have it installed if possible).

View 1 Replies

WinForms - Screen Freezes On Closing Any Other Application

Feb 5, 2010

I have a vb.net 2.0 winforms application. When I open another application (like calculator) have the focus to it and try to close my application the screen freeze and I have to use ctrl + alt + del to get it to refresh.

View 1 Replies

.net - Use A WinForms Application To Access A Database On A Centralized Server?

Nov 28, 2010

I want to connect a database that is located on centralized server. How can I use a windows form VB.NET application to access it? Is this possible?

How can I maintain a single user entry (e.x== used of INSERT command)?

Are both of the above things possible? If so, how can I go about implementing them?

View 1 Replies

C# - Detect Ctrl+left Click In Winforms Application?

Sep 17, 2009

detect ctrl+left click (for button) in winforms application

View 1 Replies

Error Handling - Setup A Basic WinForms Application?

Jan 31, 2010

I'm want to write a professional application for resale. I need to know how do I setup a WinForms application with effective error handling?

View 2 Replies

Forms :: Create Separate Parts/winforms Of The Same Application?

Sep 19, 2011

is it a bad idea to create separate parts/winforms of the same application (using the same SQL Server DB) in different executable files. For example for a School IS: A Receptionist App, A Teacher App, A Principal App and so on.

View 2 Replies

Forms :: Run A Command Line Script From Within Winforms Application

Jul 19, 2010

I am writing an application in which a user is doing a file conversion. I have a set of tools that can perform the conversion on the fly via command line, but I'm not entirely sure of how to go about passing the parameters I need to the command line and running them. Can someone point me to the right direction?Would I just create a System.Diagnostics.Process and use that? If so how do I do the line by line command? For instance if I need to issue a cd command to change the directory and then execute a command after that how would I do that?

View 1 Replies

Launching URL Differences Between Internet Explorer And From A WinForms Application?

Jun 17, 2010

What is the difference between launching Internet Explorer and going to a web site with Flash and it runnig OK vs. launching a URL from a VB .NET WinForm application (using either Shell or Process.Start) and getting prompted to accept the use of the Flash Control? I don't understand why it is prompting for that and how do I get rid of it (by using the same Flash control already installed like going to a URL directly from Internet Explorer).

View 4 Replies

Making A NET WinForms Form A Child Of A Native Application

Nov 9, 2010

I have a NET (version 3.5) Class Library written in VBNET 2008 (on Windows 7 x64) that will at times display a WinForm. The class lib will be used in Excel, and I want to set the NET WinForm to be a child of the Excel Application window. If I weren't using NET, I would just call the SetParent API function, but I can't seem to get this to work since WinForms (I assume) don't have a HWnd suitable for SetParent. I'm sure this is possible, but I just can't find the right properties and methods. The WinForm will be shown modelessly so the user can switch back and forth between Excel and the displayed WinForm.

[Code]...

View 2 Replies







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