|
MouseClickEventOfButton
If red -> make green
else -> make red
That is all you need.
जय हिंद
|
|
|
|
|
can u give me the code pls
|
|
|
|
|
No. Its your work and not mine. do it yourself.
जय हिंद
|
|
|
|
|
I don't have a clue how to solve this...
In the first place I needed to know how to read Shared Memory. Then I have a freeware program that use that and my thought was to reverse engineer that app to see how it's done. Well, works like a charm, so far.
The problem is: The main app use a dll from the GAC, lets say Framework.dll. I have reversed engineered that one too and have a reference in the main app to that dll.
But when I run the program it is the original one in the GAC that is used and I can't find where to change that.
|
|
|
|
|
Did you change the version number of the "GAC" modified DLL, and then ensure your reference was pointing at the new version?
|
|
|
|
|
What I have done:
The main app reversed. The dll from GAC also reversed and put into same solution. The main app has the Framework.dll as reference.
Building works. When I run I get following:
"The following module was built either with optimization enabled or without debug information".... and the path to GAC dll.
That indicates to me that it's wrong dll since I run in debug mode, even the Framework.dll.
Maybe this is over my head
The point is that I don't need the dll to reside in the GAC, but how do I make the reference point to "my" dll?
|
|
|
|
|
|
Hi
I need export data from sqlserver to excel, and hen change data in database in sql,this change effect in excel aoutpmatically.
thanks alot.
|
|
|
|
|
|
Hi...
I have to generate dynamic crystal report. I m using .net inbuilt crystal report(C#.net).
i requiured report according to table but at runtime.i have to pass tablename at run time.
thanks in advance.
modified on Saturday, May 2, 2009 3:40 AM
|
|
|
|
|
What is it with you people, you state some requirements and say thanks. For what, you have not asked for any information, you have not shown any effort in thinking this through and you do not shown you are capable of even understanding the question.
Do some work and when you are stuck ask specific question and we'll try to help!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I want to do this in my crystal report:
select table from combo box(List of tables from database) and then show table data on crystal report.My code is in C#.net
e.g.my combobox shows tables emp1,emp2,emp3....etc.if i select emp2 and click on show button then my report shows all data of emp2.
Help!!!
|
|
|
|
|
So design a CR report that is based on your emp dataset and pass it the dataset of the selected emp - simple really.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
But my table name varry every time.i created tables dynamically when new employee added.i want facility to choose new table name every time when i open same crystal report.
Can u please show me it with code(C#)
|
|
|
|
|
KIDYA wrote: i created tables dynamically when new employee added
You WHAT, are you nuts, that is a disaster, give it up.
Read up on database design and data structures, chuck what you have and start again. There is no hope for you with that structure!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi
I need a datagridview like excel spreadsheet .
would you mind helping me?
thanks alot
|
|
|
|
|
Can you be a bit more descriptive?
जय हिंद
|
|
|
|
|
Hi.
I want to build a small application that has the ability to open and interact with other applications. So far I've figured out how to open files with the Process class, and I can get my application to send a mouse click to the other application. The problem I have now is that I want to get my application to click on a specified control in the other application, and not just a hard coded coordinate.
Is there a way to programatically open an application, check for a specific control, and send a mouse click to that control no matter where its location might be?
|
|
|
|
|
Read some MSDN info on FindWindow and SendMessage(..., WM_CLICK, ...) win API functions. Other than that, you may want to use Spy++ utility (optionally installs with VS) to learn some info about the controls you wish to click.
H.
|
|
|
|
|
Search for Inter-process communication. You will find a lot of help. Or, look into this[^].
जय हिंद
modified on Saturday, May 2, 2009 5:47 AM
|
|
|
|
|
I don't think hooks are what he is looking for. He doesn't want to capture clicks on controls of other processes, he wants to initiate them. This is how I understood it.
|
|
|
|
|
Yes, watching programs for events is not exactly what I've had in mind, but thanks anyways for the advice.
I just need a way of finding a specific control on a application outside of my own. I'm hoping that if I could do this, then I would be able to extract the location of that single control and send mouse clicks to that location.
|
|
|
|
|
Read again what I said in my first reply. FindWindow (and/or FindWindowEx), is going to find the control you wish to click on and SendMessage can simulate clicking (I believe). I wouldn't say it is neccessary to click on some screen-coordinates, just send WM_CLICK message to the control (Button, whatever) found by FindWindow(Ex) and forget about coordinates altogether.
Bottom line: do some research on FindWindow/FindWindowEx and SendMessage win32 api functions, they're going to help you.
H.
|
|
|
|
|
Hi all,
I'm facing a problem in Ipc with remoting in .net 2.0
objAuction = (AuctionWeb.AuctionService.clsAuctionProcess)Activator.GetObject(typeof(AuctionWeb.AuctionService.clsAuctionProcess),
"ipc://AuctionService/RunService");
Here i have created an object using activator.getobject.
after creating the object if i want to go for any method with that object then i'm getting the Null Reference exception
"Object reference is not set to the instance of an object"
Can any one give me a solution.
Thanks in advance.
|
|
|
|
|
Hey,
I'm building some automation tool of some web site.
It has the following code:
<TD style="cursor:pointer" align="right" dir="ltr" onClick="javascript:function1(list of params);" id="12345">qwerty</TD> .
I'm using EtmlDocument HtmlElementCollection and HtmlElement and my HtmlElement variable has:
OuterHtml =
<TD style="cursor:pointer" align="right" dir="ltr" onClick="javascript:function1(list of params);" id="12345">qwerty</TD>
OuterText = "qwerty"
What should I do in order to generate mouse click and fire function1 and get the reply?
Thanks.
|
|
|
|