|
I think the API you are thinking of is 'InternetGetConnectedState' all part of the WinInet library
Technically speaking the dictionary would define Visual Basic users as programmers. But here again, a very generalized, liberal definition is being employed and it's wrong - just plain wrong - Tom Archer 5/12/02
|
|
|
|
|
Hello,
How to set the SystemTime ? GetSystemTime work but SetSystemTime don't work.
|
|
|
|
|
how to map a drive programatically ?
can any body tell ?
r00d0034@yahoo.com
|
|
|
|
|
Does C# and or .NET provide a function similiar to the WinAPI FindWindow or FindWindowEx methods?
|
|
|
|
|
If you simply lookup this forum, you'll probably find a dozen answers for this question.
Beyond that, why should there be anything like xxxWindow method or function call in the .NET API ? Have you heard or read about the "window" term in the .NET doc ? Answer : windows are hidden behind the FCL. You've got to get used to work without explicit windows.
|
|
|
|
|
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).
|
|
|
|