C# - Switch Between Two Apps Seamlessly?

Jan 17, 2012

I have a .NET application that was written in C# and VB.NET using WinForms. We want to slowly migrate this to something new, in many iterations. The new code will be entirely C# and WPF. We would like to utilize Prism.

As far as I know, we can't integrate the old WinForm app in Prism.

I am considering making my old app show the new app in certain instances. For example, when you press a tab in the old app, the new app opens on top of the old app, with the same tabs. Over time, only the new app would be necessary.

View 1 Replies


ADVERTISEMENT

Windows.Forms Based Apps Vs WPF Based Apps?

Jun 21, 2010

what WPF based apps are?Is it an application that runs under Silverlight? If so, how?I know; Windows Forms based apps,console apps,DLL _ Class Library Projectsand I've had an introduction to ASP.Net.What I mostly want to know is, if WPF apps are for Silverlight then do they also run in a server based fashion like anASP.NET website would when you create ASP.Net webpages?Is it a way of creating what looks like a FORMS BASED application but it runs in a browser instead or what?Please enlighten me a bit further as I have no idea what WPF is all about.

View 3 Replies

How To Switch Between .NET And C#

Apr 23, 2012

how to switch between VB.NET and C#. I need this information because I have a project that needs application building and the programming language is C#.I found a good sample program on the Internet which uses an SDK called Ozeki SIP SDK.

View 1 Replies

C# - Switch Case In VB

May 19, 2012

This is my vb.net code:

[Code]...

View 2 Replies

How To Switch A Large App From VB6 To .Net

Nov 5, 2009

Exact duplicate: How to switch a large app from VB6 to VB.Net Exact duplicate: Best strategy for moving applications from VB6 to VB.Net Exact duplicate: Conversion tool comparisons for VB6 tool which converts vb6 to vb.net

View 5 Replies

How To Switch Forms

Apr 28, 2010

I am using Visual Studio 2010. I have a Splash Screen which starts first (Everything is running smoothly there). Then it Opens Dialog1. My user is required to check 5 boxes (2,3,4,5,6) (1 has been deleted). I used this Code :

If
CheckBox2.Checked
And
CheckBox3.Checked And

[code].....

I've been experimenting for an 1 hour. The code didn't show errors. I tested it and it didn't work. Then I found out that I was working on Dialog 2 in Dialog 1 code. So I tried another thing and that didn't work because I can't put Dialog2 code in Dialog1 code.

View 2 Replies

How To Switch Machines

May 28, 2012

I have two machines, on the first of which I have developed my application to a point of satisfactory stability. Now I want to move everything to my second machine.Both computers have the same level of XP and NET Framework code, and both have Visual Studio 2010 at the same level.I copied my application's project folder onto the second machine, but the second machine's VS 10 can't load the project because it can't find a couple of Interop files (e.g., AxMSComCtl2). All of files are present in the project folder and also in its.bin subfolder. The only observable difference between the two machines is the presence, on the first machine, of some Assemblies stored under my user name there. Copying the Assemblies to the second machine didn't help (I hadn't thought it would).Is my application permanently "imprinted" on my first computer, or is there a simple way of resusitating its clone?

View 10 Replies

How To Switch Users

Jan 3, 2009

How to switch from users A to user B in visual basic? User A should not log off.

View 3 Replies

Switch Between Different Forms?

Sep 27, 2011

I always get an exception when I try to switch between different forms in my program. Here is the exception message:

Control.Invoke must be used to interact with controls created on a separate thread

I have attached the forms to very nice variables and this problem occurs when I try to use command like MyForm.Show().

It does not happen when the forms are not attached to variables, but then I have collosal problems with refreshing the textboxes and stuff.

edit;

I have 4 different forms. When I load the main module and main form, in the Sub (...) Handles MyBase.Load I execute the following code:

In module:

Public StartupForm As frmStartup
Public RegularForm As frmRegularUse
Public LoginForm As frmLogin

[Code]....

This is the aproach I worked out to get the full control over refreshing the forms. It is a program for Motorola Scanner with Windows CE. Now, for example, when I enter the correct password in LoginForm, I want to switch to the RegularForm. When I try to use RegularForm.Show() or RegularForm.ShowDialog or RegularForm.BringToFront(), I get an exception. When I try to call the form with the frmRegularUse.Show() I can call the form, but it is being created in a different thread, I believe, so I loose control over it (when I try to put something from the keyboard, there is no response).

View 2 Replies

Switch Between The Windows?

Jul 30, 2009

I'm creating a wizard kind of Windows Application. I've to show up the next window on click on "Next >" of every window.

FYI, I cannot use MDI architecture.

What is the best way to achive that?

Right now, I've put the following code on Next Click of every Window.

FormNext.Show()
Me.Hide()

View 2 Replies

Switch Code On And Off?

Jun 1, 2012

I have some code for my DGV Cell painting event:

'Private Sub DataGridView1_CellPainting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellPaintingEventArgs) Handles DataGridView1.CellPainting
' If e.ColumnIndex <> 1 Then Exit Sub

[code].....

View 2 Replies

Way To Make A Switch

Nov 11, 2009

VB.NET is good for me, because it is simple and its not complicated and you don't need to be so strict with syntax. I want to switch to C# but I just don't feel up to it because of the syntax and C# being so strict. What are some good reasons to switch to C# and what will make the transition easier?

View 7 Replies

Asp.net - Use Of Multithreading In Web Apps

Dec 17, 2011

I am using an Application server for calling Oracle Reports and I have a URL to call the report. When the report is called the server converts it into PDF but when report contains large data it takes a lot of time to load. I want to do in asp.net that when I call the report url it opens the PDF file and copies it into the root of my web folder. The next time when I call the URL it opens the PDF file and creates a new PDF on backend for next call. I have made this function to download file

[Code]....

View 2 Replies

C# - .NET Framework 1.x Apps Run On PC's With .NET 4.0 Only?

Oct 3, 2010

Basically, i am trying to determin if an application made for 1.x will run on a computer with just one copy of the .NET framework installed which is a higher version than what i am targetting, ie: it only has one copy of .NET 2.0, or 3.0, or 3.5 or 4.0 - has one copy of either of these and thats it, the hypothetical computer would not have 1.0 or 1.1 installed.

[Code]...

View 5 Replies

Can't Find The Exe Name Of Any Of Apps

Sep 12, 2009

Usually when you right click on an application, and then click on properties, you can find the applications exe name. Such as, explorer.exe, mspaint.exe, and much much more. But I can't find the exe name of any of my apps.

View 7 Replies

Communicate Between 2 .Net Apps?

Apr 10, 2010

If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?

View 4 Replies

Develop Apps For PC And Mac?

Mar 19, 2012

I need to develop some apps that will be accessed from both PC and macs. Can this be done with visual Studio 2010?

View 2 Replies

Getting A Bug In Console Apps?

Nov 1, 2009

I have the following

Private Sub startMySQLConsole()
Dim parameterString As String
parameterString = ""

[code]....

For some reason, it partially exists the program. The first letter of the line is starred (MySQL wants me to enter a password).I want to use get to mysql via the my app, which launches mysql.

View 1 Replies

Regarding Apps And Animations?

Jul 8, 2010

I'm developing a media player app and upon looking at it for a week now, it seems really bland. I would really like to add some animations for it (besides just moving forms with x,y locations) but have no idea where to start.

Are more complex apps/designs/animations better suited for a language like c#/c++? I've never done animations before (except simple form moving) and I think now would be a great time to get some opinions!

You could probably say this would linger more so on 3d images and 3d animations

View 3 Replies

Use Mono To Run .net Apps On A Mac?

Oct 17, 2011

I've heard a lot about Mono but I have no idea what exactly it is or how to use it. All I know is it's aimed at making .NET apps cross platform. Could someone tell me or point me to some tutorials explaining how to port my vb code to run on other operating systems? Maybe shed some light on all of this?

View 9 Replies

Using Same Code In Different Apps?

Sep 9, 2009

say i have a piece of code of some function I would use in many different new apps for example

Code:
Dim Expression As New System.Text.RegularExpressions.Regex("S+@S+.S+")
If Expression.IsMatch(txtEMail.Text) Then

[code].....

View 4 Replies

Hangs When I Switch To Design ?

Aug 21, 2009

I have downloaded SP1 and installed it,I have an applciation with 10 form and numerous classes and dialogs. When I right click a form in the soultion Explorer window and choose view Designer VS hangs for anything upto 10 mins. Is there anything that I can disable/ enable to stop this hapening. The only Language that I will be developing in is vb.net.

View 10 Replies

How To Avoid If ... Else And Switch Cases

Aug 3, 2010

I have been programming for alot of time. Generally i program in some languages like PHP, ASP.net, Java, JavaScript and others. In all languages i have to use alot of if else statments . Like if value= 10 then ... if i review my code then i find alot of if conditions. So i would like to minimise them but how not sure. one point was using classes somewhat minimised but still they are more... like task, cat, sec and type:

[Code]...

View 9 Replies

How To Switch Between Form In Runtime

Jan 5, 2010

How to switch between form in runtime

View 5 Replies

How To Switch Between Forms In VB 2010

Jan 21, 2010

I have a form (form1.vb), but i want it to be able to click a button (I already have it) and display another form (IEclick.vb)

View 2 Replies

How To Switch Between Two Form Using Buttons

Aug 10, 2010

In my program I want to have two different 'modes', each has its own form. My main form in the program is 'Normal Mode', but there is also a mode called 'Basic Mode' which has a smaller form. How can I switch between the two forms (using buttons) by closing the other without my program closing on me?

View 6 Replies

Monitor A Switch Using LPT Port?

Jun 12, 2010

How can I monitor how many times a switch open and close? I am planning to add a label13 to my form and use the LPT port so every time the switch goes high (1) it will add 1 to my label13.text. The Printer Adaptor address in the target PC is 0x378. using pin 10 (ACK) or pin 2 (D0).

View 16 Replies

Switch .NET Runtime Version Like JVM?

Jun 19, 2009

There is a machine in which .NET v1.1.4322 was installed and also .NET v2.0.50727/v3.0/v3.g were installed.Can we switch these runtime version for each applications like Java applications?Or we can not switch runtime and we can just use only the installed latest version in the machine?

View 3 Replies

Switch Between DataGridViewTextBoxCell And DataGridViewComboBoxCell?

Nov 18, 2009

I want to have a DataGridView that has two columns.The first column will always be of type DataGridViewComboBoxColumn. Based on the selection in that column, I'd like to be able to change the corresponding cell in the second column to either a DataGridViewComboBoxCell or a DataGridViewTextBoxCell.I'm thinking I just need to make the second column of type DataGridViewColumn, but don't understand the mechanics of how to change the cell type on the fly.I'm working with VB.NET in Visual Studio 2005.

Update: One way around it, I suppose, is to make the second column as a DataGridViewComboBoxColumn, and change the attributes of the cell so that it either behaves like a drop-down list, or as an (editable) drop-down with no elements. The latter looks enough like a text box that I could live with it, and it wouldn't involve changing the type of the cell.

View 3 Replies

Switch Project From Program To C#?

Jun 29, 2010

Is there a way to change the language of an ASP.NET project from Visual Basic to C# easily? I would even be willing to re-write the code as it's still fairly simple at this point.

View 2 Replies







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