It is not recommended to put .NET dlls in System32. If you want to install it in a globally accessible place, then that place is the GAC (global assembly cache). It can be installed into the GAC using the command-line gacutil utility.
Before installing into the GAC, you need to give the application a strong name, to uniquely identify it. The .net sdk help files have all the details on how to do that.
log4net is the equivalent to log4j (google for web page). Otherwise, .NET comes with some basic logging, through the use of System.Diagnostics.TraceListener. I do not know how much of it works with the compact framework.
Hi, i'm writing a windows service nad it wroked very well in C#, the problem is that it runs unser the LocalSystem acount and i want to run it under a specific User acount in the network, but whenever i chose this option the Service is failed to be installed, i use the "installutil.exe" that comes with the .NET and when i ask to install the service it shows a login dialog that asks for the username and password, and i enter a valid user name and password in the domain ( which is my account!!!) but still it keep fails to install and it rollback! does anyone have a solution for this problem?
can i ask another question, ow if i want to change the user name name and password from the code (since i'm bilding a controller for the service) i can stop and start and query the service but i need to have control on changing the User name and Password, so do you know or any other how can i do it in C#?
I'm working on an program and I need help. It seems like a basic thing to do, but does anyone know how to make a desktop shortcut open a currently running tray program/process? Any help would be greately appreciated. Thanks!
one way to do this is by letting the shortcut open the same running application. However, that application should be made to run as a single-instance...if the app is yours, you can do that easily by checking out some of the articles showing how to make a single-instance application (this means that if your app is running, trying to re-open it again will not create a new instance, it opens the already running one instead.
You know there is some language which is not support in built-in NLS. I learned System.Globalization can accept custom sort key data or NLS+ sort data. And www.unicode.org give us the key file sample in format like:
E0040 ; [.0000.0000.0000.0000] # [E0040] TAG COMMERCIAL AT
E0041 ; [.0000.0000.0000.0000] # [E0041] TAG LATIN CAPITAL LETTER A
E0042 ; [.0000.0000.0000.0000] # [E0042] TAG LATIN CAPITAL LETTER B
And code page sample like:
0x3F 0x003F #QUESTION MARK
0x40 0x0040 #COMMERCIAL AT
0x41 0x0041 #LATIN CAPITAL LETTER A
0x42 0x0042 #LATIN CAPITAL LETTER B
So how could I make the resource file for sort key data and which format is right. How could I make the resource exactly.
How can I make my application go in fullscreen mode using only windows forms (no directx)?
I want to make a game where menu/options/new game/etc. screens would be done in windows forms (c#) and the very game would be in C++/DirectX therefore I need the menu, etc. to be fullscreen to look exactly as the following DirectX game...
Can anyone tell me how to make fullscreen form in c#, please?
psyho wrote: Can anyone tell me how to make fullscreen form in c#, please?
Handle your form's Load event and insert the code something along the lines of:
// Remove the border (titlebar also)this.FormBorderStyle = FormBorderStyle.None;
// Set the upper-left corner of the form in the upper-left corner of the screen.this.Location = new Point(0, 0);
// Then size the form to fill the screen.this.Size = new Size(Screen.PrimaryScreen.Bounds.Width,
See if this is what you are looking for. Good luck on your game!
Happy Programming and may God Bless!
"Your coding practices might be buggy, but your code is always right."
i am using some marcros in Excel.
My problem is that i am down loading this Excel document from an Asp.Net application,
while downloading Excel the marcros are not running. i want the marcro should be run.
can anybody help.
Last Visit: 31-Dec-99 18:00 Last Update: 8-Aug-22 1:32