|
Hi all...
Is there any way that by moving my program's form over another application,it will display all controls name drawn on that application along with their properties?
If yes then suggest me how can I do this.
Thanks.
Gagan
|
|
|
|
|
I have no idea on this. Would you need to use something like spy++?
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
You can't do it easily. You cannot cast a .NET Control class onto an arbitrary control and expect all the fields to be filled in for you for display. You'd have to use the Win32 API functions to get at pieces of the controls, but even then, since your talking about another application, there are functions that will not work acrossed application boundries. The information you get is going to be limited to window parameters.
|
|
|
|
|
Thanks for your suggestion but tell me is there no way to do that.How can I call Win32 API to do it.
Thanks.
Gagan
|
|
|
|
|
I didn't say there was no way to do it. I said it takes some Windows Kung Fu.
Some of the functions involved would be GetWindow, FindWindow, EnumWindows, GetWindowText, GetWindowInfo, GetWindowPlacement, GetWindowRect, ...
|
|
|
|
|
Ok Dave, thanks for your suggestion.
Gagan
|
|
|
|
|
Hi all...
I want to print all rows and columns of datagridview with their column name.I never used printing datagridview.
Suggest me how can I do this.
Thanks.
Gagan
|
|
|
|
|
|
Thanks for your reply.
I already googled a lot but I did not got any proper way,thats why I posted my question here.
If you have any idea then please suggest me.
Thanks.
Gagan
|
|
|
|
|
Are you saying that you didn't get exactly what you wanted? There's tons of examples out there. You take those examples, learn the basic techniques from them, then modify or rewrite the examples to fit your needs.
|
|
|
|
|
|
|
Hi to all,
Could anyone please tell me how (or what is the shortcut) to give the Tab Index for all control in a form in vb.net2005
Thanks in advance
I am a beginner
|
|
|
|
|
Select Tab order from View menu and select controls for desired tab order
|
|
|
|
|
Yeah, it's a bit diff. compared to VB6.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Hi,
I need someone to tell me about a free web service to retrieve stock prices and i need some instruction on how to use it in VB.net.
Thanks in advance
|
|
|
|
|
|
Hi,
Canyou be a little more specific please? 
|
|
|
|
|
Enjoy[^]
--edit--
I know, I know, it's C#/ASP.NET and not VB.NET, but the framework is the same.
I are troll
|
|
|
|
|
Nice!
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
|
Hi to all,
I wanted to run my vb exe whenever the system starts up. The idea behind the scene is to "not allow the user to do anything in the system except my own application."(for some security issue). I have made the form maximized, the control buttons are removed, special keys are disabled. Now i should run in system start up.
If I put the exe in startup folder of system, it takes sometime to run. by that time the user is able to do something else in the system. I dont want that to happen too.
So, could you please tell me if there is nay other solution ofr the same,
Thanks in advance
I am a beginner
|
|
|
|
|
Open the registry editor and modify this node;
[HKEY_LOCAL_MACHINE]\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell = "C:\calc.exe"
This will launch "C:\Calc.exe" instead of the Windows' Explorer, directly after login. Enjoy
I are troll
|
|
|
|
|
edit the following registry item :
[HKEY_LOCAL_MACHINE]\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\userinit,"C:\Windows\system32\userinit.exe,your application's executable path here"
It will run your program along with login to system.Don't remove C:\Windows\system32\userinit.exe while adding your application's path otherwise your system will no logon.
Gagan
|
|
|
|
|
hi to all
i wanted to know why test dialog doesn't work in vb.net....Do i have to enable somethin?
Thanks in advance
I am a beginner
|
|
|
|