|
Why don't you start with Visual Studio's own tools like Spy++ for discovering what controls other running applications have?
|
|
|
|
|
But how i can find handle to this control??
Have idea?
Greetings
S_W
|
|
|
|
|
Getting these handles involves working with C++. Do you know C++ well?
|
|
|
|
|
No i'm just start learn C#, before i program in Visual Basic.
S_W
|
|
|
|
|
You would have to use the Win32 API calls to find the window of the application and walk through the child windows to get to the window you want to modify.
This kind of application is not really a target for .NET, it would be more a C++/VB6 app. You can do it of course, but I am not sure the extra work is worth it. Much simpler to use C++ directly accessing he Win32 API.
I put up a little program quite a long time ago that walks the window try and displays.
http://www.codeproject.com/tools/showwindowtree.asp[^]
Rocky Moore <><
|
|
|
|
|
Hi,
It seems that the VStudio .net doesn't include any tool to do an installation set .
What things should Include ir order to install my application on another computer ?. Is there any free or shareware installer, to deploy .net applications ( I have not the money to go for wise or things like that ).
Greetings
Braulio
|
|
|
|
|
What about the setup project included in Visual Studio? I know its quality can't be compared with professional installer apps, but it is still a way of deploying your apps
|
|
|
|
|
OOps, Sorry I didn't know about that, I will take a look ( I was get used to see the Install Shield in the program files folder...). Thanks for the info !
Braulio
|
|
|
|
|
The native call is obviously returning an Unicode string, whereas the DllImport marshaling expects an ANSI string. The first char is in fact the first char of a 2-byte unicode string. Use Charset=... in the DllImport attribute.
|
|
|
|
|
Excuse me I have some problems using an Access Database with a username and password while trying to create a OledbConnection object for it in .Net. Whould someone please tell me exact steps for doing that in .Net environment? greately appreciated!
Don't forget, that's " Persian Gulf " not Arabian gulf!
|
|
|
|
|
|
You need to use the WebBrowser control in your program.
CHtmlView is just a wrapper for WebBrowser control.
- Kannan
|
|
|
|
|
I get the error: The base class ' System.Windows.Forms.Form' cannot be designed.
All i do is create a new windows application in visual C# 2002, change the references path to the 1.1 dlls, ensure the System etc. references are 1.0.5, but when I try and design the form it gives me the above error.
i've can't find any service packs or updates for VS.NET 2002.
is this just a way of forcing us to upgrade to VS.NET 2003?
any tips would be much appreciated!
|
|
|
|
|
Actually, Visual Studio 2002 only targets NET 1.0 You you can not use the .NET 1.1 from within Visual Studio 2002.
To build a .NET 1.1 App you have two options:
1. Use Visual Studio to write and organize your files and then use the command line compiler on the 1.1 SDK folder to build your app (but remember that NET 1.1 introduces some code-breaking changes to NET 1.0)
2. Upgrade to Visual Studio 2003
|
|
|
|
|
thanks for confirming that. i already resorted to your option (1)
|
|
|
|
|
I am working on a .NET commandbar control. The menus are supposed to be able to scroll in pager fashion when there are too many items to fit on the screen. There are 2 different ways of doing this:
1) have the menu items in a toolbar control inside a pager-like control. (This is how the start menu does things - the menus are popups with toolbar controls on them.)
PROS: Since I'm going to have the toolbar control be able to be drawn like a menu (in other words, like a list), this would be the easiest way to do things.
CONS: This will make there be 4 windows per menu instead of 2.
2) Implement the scrolling by hand. (This is how Office does it.)
PROS: Fewer windows
CONS: Harder to implement.
Which do you think is best?
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
1)
Unless you prove to me that HWND's a scarce resource and creating / destroying them takes more than thetypical 200ms you have for user innput response.
"Der Geist des Kriegers ist erwacht / Ich hab die Macht" StS
sighist | Agile Programming | doxygen
|
|
|
|
|
Just wanting to be sure. People can be really "religious" about such things ("any good programmer knows that...[insert-pet-peeve-here]") and I wanted to be sure I was doing the right thing. I've looked it over some more, and not only would it be easier to do a toolbar/pager combination, it may actually save resources.
Thanks for your input!
"Do unto others as you would have them do unto you." - Jesus
"An eye for an eye only makes the whole world blind." - Mahatma Gandhi
|
|
|
|
|
Hi,
is there any sample information around on how to program a chart control?
Especially some information on how to program the horizontal and vertical scale would be highly appreciated
|
|
|
|
|
I believe I saw one on the main page.
<a TITLE="See my user info" href=http:
|
|
|
|
|
hmm... where? =)
I know that there are 2 sample chart controls here but both use static scales
|
|
|
|
|
i use TcpClient class to connect server,but the server sometimes shutdown.but when the server close the socket,my TcpClient class can't kown that.how can i kown the socket state when use TcpClient.
by the way.some body told me to send some bytes to server very serval seconds,if the server have nothing send back.then determin that the socket closed.i down what use this way.
i kown there is a protected property "Active",but how can i use a protected property.
|
|
|
|
|
Xytme wrote:
i kown there is a protected property "Active",but how can i use a protected property.
You need to inherit from that class, if it is not sealed. If sealed you can perhaps try getting that value with Reflection.
<a TITLE="See my user info" href=http:
|
|
|
|
|
I am calling a Java Web Service from my C# Client (WinForm) is there any way to dump the Request and Response of Soap Message? Or is there any tool which can run in background and intercept all the Soap Messages? Please share with me if anyone knows about it.
Thanks a million.
|
|
|
|
|
Hi all
Is there any way I can do this? I want to embed some debug comments, so I can see it when it decompiles.
CHeers
<a TITLE="See my user info" href=http:
|
|
|
|