Creating an extra desktop in C# [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I've seen some applications that create virtual desktops. I want to create one.
However, I do not know how you would do this, or even it it is possible.
How do I create a virtual desktop/monitor in C#?

You need to use CreateDesktop function in order to create full functional dekstop on windows os:
Creates a new desktop, associates it with the current window station
of the calling process, and assigns it to the calling thread. The
calling process must have an associated window station, either
assigned by the system at process creation time or set by the
SetProcessWindowStation function.
Would invite your attention also on interesting article from CodeProject:
Desktop Switching
In general multidektop environment already exists in Windows Os for many years, but never has been "visible" via any multi-dektop application implemented by MS itself.
For some reason MS never, as much as I'm aware of, implemented multidesktop app.
If I'm not mistaken, beginning even from WindowsNT familly OSes, you already have a second desktop. When you press Ctrl+Alt+Del the screen that appears, in reality, is on another, fully functional, windows desktop.

Related

Developing .Net app and embed in CD [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have an application (Stand alone app) , that basically reads & writes data with UI . And i have to embed it in CD and make it auto-run.
But i have few confusions , needs your help for the same
Whether to choose Windows or web application of .Net?
Which Data Storage mechanism is preferable ?
How to handle the DB part , since app will be CD how to write the data.
Thanks
You can't run a web application from a CD. You probably want to use a Windows application.
You seem to be assuming a database, so I'd guess your storage mechanism is to use a database. Look at the data you need to store and how you need to use it, and make a decision based on that.
You can't write to a CD. You need to either write to a known location (say, the AppData folder) or ask the user to specify one in your application.
Also worth noting: you can't auto-run an application any more (since Windows 7, and I believe back-ported to Vista). The best you can do is have the auto-run dialogue include an option to run your application.

Setup File with Start up Folder [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I Have created a application, and i want to create a set up file, where the application should run automatically like when we move it to start up folder. but here i want to keep it when it will install the application.
and second thing, I want to implement also when my application will close, but that application should not quit, it will run like any anti virus software, skypee, etc. and we can maximize it from show hidden icons
You are looking for a Windows Service.
The service will run at all times even when no-one is logged in.
A WinForms application could be added to the system tray How to make a Windows Forms .NET application display as tray icon? and it could communicat with the service to find out its status or to configure it.

How to make a form simulate a desktop [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Right, this "might" be a tough one, as I do not even know where to start with this.
Ok, I am working on a program, which can load visual studio solutions and display them within a form when debugging.
Actually, the program does a whole lot more, but what it does, is strictly classified, so I can not go into that.
Anyway, whatever it does, does not matter in this case.
Here is the plot:
You create a project in visual studio, but when you debug it, it does so on your desktop.
What I need it to do, is debug it within a form, effectively acting as a desktop with a different resolution.
So if the specific program for example, uses Screen.PrimaryScreen.Bounds.Width - 30, as a this.left property, it needs to think that the boundaries of the form it is displayed in, is in fact the Screen.PrimaryScreen.Bounds.
I am having difficulties, trying to find out how to handle this.
Should I perhaps catch this type of code and then covert it, to work within the form?
Is there perhaps another way, to make windows simulate a different PrimaryScreen size, based on the size of the form?
EDIT: Perhaps a little more simplified.
I want the from to act as if it was my windows desktop, so any solution i load into the program, get's debugged and viewed in that form.
Handy for if you need to check how your application will look on a phone or simply in another resolution.
Point is that the program itself is going to be an IDE, but rather an online one, in which a group of people can work together on the same application/file, at the same time.
People tend to use virtual machines for these kinds of 'challenges'. It's surprising how efficient this method is! :-)

windows store app in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
This might be very newbie, I am experienced asp.net and c# developer with winforms experience as well.
I wonder what I need to learn to start making windows store app, what new technonologies, languages?
and 2nd question is:
How can I submit applications to the new windows store if its possible now?
thanks
Second question first. Right now, you cannot submit applications to the Windows Store. The OS is still in beta (consumer preview) and the store is not open to everyone.
There are many ways to program on Windows 8. You can use JavaScript/HTML5 or you can use C#/XAML or C++/XAML. Given your background, you should look into C# as a language with XAML as a UI framework. This is very similar to Silverlight or WPF that you may have run across.
One good place to start is Charles Petzold's upcoming book. It's on sale right now. Another place is on http://dev.windows.com. That will point you at tutorials, reference documentation, and samples.

empty form appears to hang when loading [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
any help with this would be gratefully received.
I have a Windows Forms project in C#. This, when a button is pressed opens a new Outlook email via interop. When the email has been sent and added to the sent items folder, the Windows Forms project then opens a single form which contains a single panel currently.
My problem is that everything seems to run fine, I use Marshalling to sever the links with the interop instance of Outlook all other methods seem to run as normal in the Windows Forms project, but the form that is opened (called zoom) just shows the Spinning Wheel waiting symbol.
When I break on the code to see what it's doing, it appears to be doing nothing. This is driving me nuts. Can anyone suggest why the form (Zoom) that is launched after the interop facility has done its stuff and apparently been disposed appears to hang.
It does appear to me somehow to be connected to the Interop instance but I can't see how.
As I remember interop objects should be disposed.
Try this

Categories