Answer Questions
Bruno Nogueira Obtaining the Messages of Another Application in .NET
Hi All! Is there any way to get the messages of another running application in .Net just like the message logging feature of Spy++ I have searched already over the net and they told me that it can't be done in .net and I need to create an external dll using a non-.net language. Can anyone tell me how to do this Thanks and regards, Mike Hi Alex, Thanks for the reply. I forgot to mention that I'm ...Show All
Thomas Sabourin ActivityLog.xsl
Does anybody know where I can find file " ActivityLog.xsl " It appears as formating file for batch compilation log file. I had scanned once again my disk, but i have not it :-( Would you please to send it on forum Thanks in advance Hi, I have searched all the hard driver, it seems that it is located at the path below. %userprofile%\Application Data\ ...Show All
bataras Socket Programming - newbie question
hello, I am making a client socket, but i get this security exception. I am not using any security, so can someone please help me identify the root of the problem below is part of my code: private void button1_Click( object sender, EventArgs e) { IPAddress ipAddr = IPAddress .Parse( "64.246.64.37" ); IPEndPoint endpoint = new IPEndPoint (ipAddr, 4500); Socket client = new Socket ( AddressFamily .Int ...Show All
JeffOzvold SetRecognizer
Hello , Everyone I have been getting stuck with it for a long time. I have used SAPI v.5.1 I'd like to change recognizer and text-to-speech language at runtime (Instead of changing in Control Panel) . And I found "SetRecognizer" method (SpSharedRecognizerClass) but when I just try this code ------------------------------------------------------------------------- SpeechLib.SpSharedRecognizerClass s=new SpeechLib.SpSharedRec ...Show All
Nagendra Jammi Custom dictionary keys identity
I implemented a reference class (MyKey) that I use as key of a dictionary (Generic.Dictionary<MyKey, MyValue>). The problem is that ContainsKey always returns false, except when I pass the very object that I used as key. I tried to override Object.Equals: no change I then tried to implement IComparable, then IEquatable<MyKey>: still no change What should MyKey implement for this to work Chris. ...Show All
Rajput Appsetting!! am I doing it right?
basically, I need to save two strings for my app (Upload and Download) so I can retrieve them on app startup. what I did, I created a setting file under project properties. This is how I save and load them: //to save the settings private void button2_Click( object sender, EventArgs e) { Properties. Settings .Default.Upload = tbUp.Text; Properties. Settings .Default.Download = tbDownload.Text; Properties. Settings .Defaul ...Show All
DBAcrobat Elements in one Array (or Collection) But not in another
I apologize again for bringing up perl in context of C# but... In perl if I have two arrays and want to know what elements are in one but not the other I could do the following (assume @a & @b are already populated): my %seen // lookup table (hash) my @aonly //answer //Build lookup table @seen{@b} = (); foreach $item (@a) { push (@aonly, $item) unless exists $seen{$item}; } Another way that might make more sense: %seen //Lo ...Show All
Rory Surname windows users list
Hi, anybody know how can i list windows user list in .NET code (C#) i need to know name of "internet user" IUSR_MACHINE. help meee. thak you Windows have network management Functions that deal with groups and users To list users at specific group use NetGroupGetUsers for more info look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/netmgmt/netmgmt/netuseradd.asp ...Show All
jho1965dk Variable doesn't increment
Hi, I'm creating a Tetris game in which I have an 'x' and a 'y' variable. At first they are set to 0. I use a timer to change the 'y' value to move the figure down. Here's the code: private void timer1_Tick( object sender, EventArgs e) { y++; Graphics grfx = this .CreateGraphics(); PaintEventArgs f = new PaintEventArgs (grfx, this .ClientRectangle); DrawFigure dr = new DrawFigure (f, x, y); grfx.Dispose() ...Show All
jefftardif How to prepare Combined Setup using VS 2005
Hello all, How to prepare a combined setup using .NET 2.0, In this I want to Execute first SQL Scripts, Web Service Setup, Web Application Setup and Windows Service Setup. Is this possible using .NET Setup . if yes, how to do this any body any sounds or any suggestions or articles plz help me. I checked VS.Net 2005 and I couldn't find a fancy stuff like DevStudio from InstallShield. Happy packaging ...Show All
Ayal91 Obfuscator - Crytografy code
I work with c#.net and i need a obfuscator to Cryptography the code of the projects, for nobody can read the code using a reverse engineering. i would like to know which is the best obfuscator Thanks Junior Lopes We are using the Remotesoft Protector, but does anybody know how to use it in combination with ClickOnceDeployment obfuscators can't protect your code from reverse engineering. Only .net Protec ...Show All
Lee Meyers multiline linklabel ???
hi, How can i have a multilined linklabel thanks Visual Studio 2005 already supports multiline link labels. In the linklabel's properties, just select the "Text" field then click the dropdown arrow next to it. Then just enter the lines that you want. I have installed GTK# Runtime but steel i can not use the Gtk , Yes this is a sep ...Show All
GarthK How can I protect the use name and password in ConnectionString?
In order to connect to database, I have to put the name and password in ConnectionString, I know the C# program can be uncompiled easily, how can I the use name and password thanks! Hello dear, Have you solved this problem. If so , Kindly share with me. Appreicated your early response Mubarak Do you know how to do the same in Enterprise Library 2006 I tried to follow your instructions but in the new version of config ...Show All
ZopoStyle please microsoft or anyone tell me why !!!????
when i debug this code Process p=process.getAllprocessbyName(processName, Remote MachineName); p.Kill(); i have this exeption this feature is not supported in remote machine what i want to say is why microsoft make this function and told us that we can use it for remote machinr in msdn help i found: C# public static Process [] GetProcessesByName ( string processName , string machineName ) Param ...Show All
Jake kim Conole.WriteLine does not work.
I have been posting pieces of this code in regards to another problem. Now when I try to execute this routine, I get an error message. During debug, however, I cannot seem to notice any error messages but there is nothing in the Console. I've made sure it is a "console application" not "windows app." Why is it that there is no output to the cmd prompt at all Another question concerns the debugger behavior. It needs a FOCUS to respond to F11 t ...Show All
