Not sure what you mean. If you are copying from Windows Explorer, the clipboard would hold a description of what you copied/deleted in various formats. Clipboard.GetFileDropList() or Clipboard.GetText() might fit your needs.
Luc Pattyn [Forum Guidelines][My Articles] DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.
When I add a new connection string in my .setting file it brings up a nice Connection Manager screen, which allows me to select the appropiate setting for my connection. I was just wondering if anyone knows how I could bring this screen up once my app has been installed at the client. To make it easier for him to select the connection string.
Your requirement is not clear to me.Why do you want your end user to put the the connection string?
In general, the end user should only install the application (I am assuming it's a desktop application). If you are working on a WebApp,then end user does not have that choice as the application would be in IIS server.
The screen that you get that's a feature of Visual Studio.
i want to create a C# win app that allows the user to enter in a text box some data and press send..
the data in the text box will be sent to the web app (server side) and store this data in a text file on the web app.
you can use webservice to communicate with server.
Create new web site project , Add new item , WebService (Asmx) and it gives you an example method with [WebMethod] attribute. You can add parameter to it and rename as you wish, then go to your win app project right click the project item and click Add Web Reference (Vs2005) or Add Service Reference (Vs2008) then write your asmx file's address into the box then give a name for your local service client object. Press ok to close dialog.
Write these to make SOAP request :
YourObjectName obj = new YourObjectName();
My code is really basic using an Http channel to send a client activated object and it works fine when I run the client and the server from the same pc.. But when I try to run the server on one pc and the client on another, the client just shuts automatically. The 2 pcs are not connected in any way, but they both are using wifi.. and my code uses an http channel, so they can connect through the internet.. right? Do I need their IPs for them to find each other, or is the shared Http channel port enough? Sorry.. I'm a beginner.. any help would be amazing...
There's also a library called ProcessActivator and it just has the run command... I included the remoting references.. The code runs fine when i run both the server and the client on the same machine... but they won't work with each on a separate pc...
I would like to write a picture viewer app that outputs the image over the entire screen, not just the desktop. I can't seem to find the solution to write over the taskbar. Any help would be appreciated.
You need to set the window state to be set manually, and you set the coordinates of the window so that the Top and Left are 0. You can use Screen.PrimaryScreen.Bounds to work out what the width and height of your screen is. Obviously, you'd need to do more work if you wanted to cover other screens in a multi monitor setup, but the Screen class provides access to the other monitor information in AllScreens.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.