|
The original question was
.Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?:
He was not looking for an exact one to one match. Your reply was both rude and unhelpful.
|
|
|
|
|
-you don't understand english
-you don't know what you are talking about
|
|
|
|
|
Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste.
I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework.
|
|
|
|
|
WizardOfPeyton wrote:
Yes he does understand English, and he does know what he is talking about. I posted the original message. I also thought you reply was in bad taste.
Wise words from someone whose contribution totals 5 messages. You must be kidding.
WizardOfPeyton wrote:
I am attempting to 'hook' into another applications messsage queue, similiar to what spy++ does but from within the .net framework.
messages, windows,... etc.
Definitely not the .NET world. (second attempt).
|
|
|
|
|
Stephane, I think you would get along quite well with Mr Maddox at http://maddox.xmission.com[^]
Be warned, this will take at least an hour of your life away.
I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past.
-Chris Maunder
Microsoft has reinvented the wheel, this time they made it round.
-Peterchen on VS.NET
|
|
|
|
|
.S.Rod. wrote:
Have you heard or read about the "window" term in the .NET doc
The Form class represents a window within an application. -- MSDN .NET Framework Class Library
potato, patotoe; tomato, tamooto; jerk, S.Rod
|
|
|
|
|
Mark Nischalke wrote:
The Form class represents a window within an application
So, an editbox is a form.
[edit]Both of my posts are about the lack of window concept in the .NET world. Looks like this simple sentence is way too complex to catch for some people (who by the way can't manage to use the Cp search engine either).[/edit]
|
|
|
|
|
You should look at Eric Gunnerson's Win32Window class on GotDotNet. I think it has what you're looking for.
http://www.gotdotnet.com/team/csharp/code/default.aspx[^]
I don't know whether it's just the light but I swear the database server gives me dirty looks everytime I wander past.
-Chris Maunder
Microsoft has reinvented the wheel, this time they made it round.
-Peterchen on VS.NET
|
|
|
|
|
There's a class here:
http://www.gotdotnet.com/team/csharp/code/default.aspx
That probably does what you want.
|
|
|
|
|
Hi,
I have string values like this "12345" and i want to convert it to "123.45".
I tried doing something like this:
String.Format({"0:###.##"}, "12345");
But did not get the expected results. I always got "12345" as the out put.
Could you please help me in getting the right out put as suggested in the first line.
Thanks.
Venkatesh
|
|
|
|
|
|
How do you make a button in a form the default button when the user his <enter>?
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
Set the forms AcceptButton property in the property window.
Pete
Insert Sig. Here!
|
|
|
|
|
In design view select the form. Go to the properties window and look for a property called AcceptButton. Change this property to the button you want to be the default (pick from the drop down list).
Regards
Andy
|
|
|
|
|
For you answers
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
Dam! 1 minute too late! Or was I early? The post times don't make any sense?
|
|
|
|
|
|
First Question:
Unless the author of the .NET app has added support for Automation it will not have an automation model. If the application does have an automation model you would likely have to get the doc's from the authoring company.
Second Question:
I don't know the answer to this. I would assume there has to be some way.
|
|
|
|
|
|
tlbexp.exe
doc link here[^].
In short, the public types exposed by your assembly are automatically reexposed as a standard tlb to play with.
(regasm.exe both exports a type library and registers it, in one call).
|
|
|
|
|
Hi Thomas,
Thomas George wrote:
When functionality is exposed from a .NET app, are there methods for a non-.NET app (C++ or VB) access it?
This is very much possible. .net classes can be exposed as Components.
Once you have the assembly(dll) written, you need to make sure a couple of things.
There are public methods in your class, only these methods are visible to COM.
You will have to use a tool called regasm to register the dll with the registry so that the COM clients can know about your component.
Have a look at this thread
http://www.codeproject.com/script/comments/forums.asp?msg=360476&forumid=1649#xx360476xx[^]
Regards
Kannan
|
|
|
|
|
Hi All
Need a very basic help!
I need to insert double quotes (") in a string like
sXML = "<dataitems object="patient" ...="">
in the main node itself. How to write a c# stmt for this? I tried with various combinations, but without sucesss...
sXML = "
|
|
|
|
|
code project error !!
it failed to show the xml tags written by mine !!!
the items are dataitems object="patient"
|
|
|
|
|
No, you didn't spot the 'show page as is ( no HTML)' option....
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
|
|
|
|
|
Try this:
string s= "\"";
Console.WriteLine(s);
Console.ReadLine();
Cheers,
Simon
"From now on, if rogue states want to buy weapons of mass destruction, they're going to have to go on eBay," Mr. Bezos said.
|
|
|
|