|
Look into the System.IO namespace, particularly the classes that begin with File (File, FileInfo, FileStream).
|
|
|
|
|
you say that as if you have looked.
I cant image you did a search for anything related to files in c# and found nothing!!!
do you need something specific about the file, or from the file?
|
|
|
|
|
|
how can i open project c# by visuel stodio 2005
|
|
|
|
|
|
|
lmao!!! How did you get in this forum? surely that is a more brain draining task!
do you mean open an existing project?
cuz then you can right click the project and select the program to open it with
|
|
|
|
|
From Windows explorer: Double click project or solution file.
From Visual Studio: File > Open Project...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Click on the .sln/.csproj file from explorer or open them from VS.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
If you can't work this out, and if you can't work out how to give your question a decent subject line, how did you manage to turn your computer on ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I thought the same.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
First download the VS2005/2008 then open a *.csproj file with VS
|
|
|
|
|
Didn't there used to be away in Visual Studio that you could go "forward" or "backward" in your code? If so is it still there in 2005/2008 and how do I find it?
|
|
|
|
|
It's CTRL [ and ], from memory. I use it all the time, it kills me when I go to XCode and it's not there.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I don't know the exact shortcut (because I remapped it to the alt-left alt-right Eclipse shortcuts), but you can find it under Tools -> Options -> Environment -> Keyboard
- View.NavigateForward
- View.NavigateBackward
regards
modified 12-Sep-18 21:01pm.
|
|
|
|
|
Ctrl - [Ctrl + Minus(-)] :-To navigate backward.
Ctrl Shift - [Ctrl + Shift + Minus(-)] :-To navigate forward
modified on Wednesday, January 14, 2009 1:37 PM
|
|
|
|
|
I created 6 Windows services in C# as per the requirements and deployed working fine, but we found hanging of server, disconnecting SQL SERVER, IE 6.0 not able to open.
And also we found CPU useage varrying from 0 to 90 percentage, without uniformity.
Is hanging the system, disconnecting sql server and drastic CPU useage are because of 6 Windows Services, if because of windows services, can we control.
what is the solution for smooth running of server.
ch sriniw8z
|
|
|
|
|
surely it would depend on what your services do and how much processing they do etc.
|
|
|
|
|
Do the services never sleep?
I use a System.Timers.Timer to control my services, generally they cycle every ten to sixty seconds.
|
|
|
|
|
Hi,
Can any one tell that how can i display both text and image together in
a single cell of datagridview??
Thanks in advance..
|
|
|
|
|
You'd have to create your own DataGridViewColumn and DataGridViewCell implementations and supply all the required code to handle the data and the custom drawing code. Examples...[^]
|
|
|
|
|
well that i don know but... if you want to place in the same row but in different cells
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
yes i want to place in the same row and same cells
both image and text.
|
|
|
|
|
only in different cells of DGV.
nelsonpaixao@yahoo.com.br
trying to help & get help
|
|
|
|
|
Hi all,
Currently I'm creating a process on a remote PC, the problem is that there is no UI that appears when the process starts. When I navigate to the task manager I can see the process in the process list, but nothing with regards to the UI.
I am make use of the following code:
ConnectionOptions options = new ConnectionOptions();
options.EnablePrivileges = true;
options.Authentication = AuthenticationLevel.Connect;
options.Impersonation = ImpersonationLevel.Impersonate;
string SystemName = "PC_NAME";
string Path = string.Format(@"\\{0}\root\cimv2", SystemName);
ManagementScope ms = new ManagementScope(Path);
ms.Connect();
ManagementPath processMgmtpath = new ManagementPath("Win32_Process");
ManagementClass processClass = new ManagementClass(ms, processMgmtpath, null);
ManagementPath processStartupMgmtpath = new ManagementPath("Win32_ProcessStartup");
ManagementClass processStartup = new ManagementClass(ms, processStartupMgmtpath, null);
ManagementBaseObject inParams = processClass.GetMethodParameters("Create");
inParams["CommandLine"] = @"c:\Application.exe";
inParams["CurrentDirectory"] = @"c:\";
inParams["ProcessStartupInformation"] = null;
ManagementBaseObject ReturnObj = processClass.InvokeMethod("Create", inParams, null);
Console.WriteLine("RC={0}", ReturnObj["returnValue"].ToString());
Many thanks in advance
Kind regards,
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|