|
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: ^_^
|
|
|
|
|
Programm3r wrote: The only programmers that are better those C# programmers are those who code in 1's and 0's
The sigs around here are getting stranger and stranger. C# is not a complex language, I don't see how being a user of it, means someone is terribly good.
If you're running it remotely, I think it runs as the remote user and so won't show on the desktop. But, I could be wrong.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: The sigs around here are getting stranger and stranger. C# is not a complex language, I don't see how being a user of it, means someone is terribly good.
I think I should really change my sig, the strange thing is that it use to be "... C ..." and everybody was fine with that(during my first two year of being a member), but after I made it "... C# ..." I'm dodging bullets. Maybe I should change it back
Christian Graus wrote: If you're running it remotely, I think it runs as the remote user and so won't show on the desktop. But, I could be wrong.
That is what I thought too, but then I changed my local PC account to the account name of the remote PC, and it still does the same thing.
Thanks for the input.
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
Programm3r wrote: the strange thing is that it use to be "... C ..." and everybody was fine with that(during my first two year of being a member), but after I made it "... C# ..." I'm dodging bullets.
Yeah, that makes sense. You know C and C# are almost totally different, right ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Accoring to this[^] it is due to security reasons..
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
|
You cannot create an interactive process remotely. This is so someone can't start an arbitrary application and trick someone into entering usernames and passwords or credit card information or some other sensitive information.
|
|
|
|
|
I have the below lines of code in a windows service.
When I run the service locally this works fine. But on the server it creates an issue on line no 6 "_dAdapter.Fill method". I can not debug it on the server as there is no VS 2005 installed.
The issue is the program just hangs and do not move further to line no 6 and it never comes on catch. It do not come on Finally block too.
Please advice.
1. try
2. {
3. ...
4.OracleDataAdapter _dAdapter = new OracleDataAdapter();
5. _dAdapter.SelectCommand = _oCom;
6. _dAdapter.Fill(dsGetOrder, "process");
7. }
8. catch (Exception ex)
9. {
10. ...
11. }
12. finally { }
Regards,
Pavas
|
|
|
|
|
mpavas wrote: I can not debug it on the server as there is no VS 2005 installed.
But you can add instrumentation and logging to get a view of what is happening inside your application.
mpavas wrote: The issue is the program just hangs and do not move further to line no 6 and it never comes on catch. It do not come on Finally block too
Is your live database bigger than your test/development database? The issue could be that it is attempting to load in all that data into memory.
|
|
|
|
|
Hangs for how long ? Sounds like it's just taking a long time to execute the call.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|