|
Please, PLEASE, don't put 'C#' as your header, every question here is about C#.
As has been said before, people who put captha stuff on their sites, do so exactly to stop what you're trying to do. Why do you need to do this ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Let me get this straight. You want code to read the CAPTCHA image, figure out what characters it's supposed to send and then submit the form with the correct response to the CAPTCHA?
You do realize that CAPTCHA was created to stop the automated submission of forms, right?
|
|
|
|
|
you have to wonder if he's trolling.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yeah, that's occured to me. If he posts it again, I'll just vote the thing Spam and be done with him. Another name on the blacklist...
|
|
|
|
|
No, I think it's plain old-fashioned stupidity.
Cheers,
Vıkram.
After all is said and done, much is said and little is done.
|
|
|
|
|
Hello,
Christian Graus told you bevore to use the subject line, to inform people who whant to help you.
Cause a lot of people (including me) do not even read question with a subject line like:
C#
Help
urgent
very urgent
Maybe this[^] will help you
All the best,
Martin
|
|
|
|
|
|
That's obviously not what he's saying
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I guess Luc just forgot to set the joke message type...
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Yeah, I thought it was someone else, once I knew it was him, I presumed the same.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Here it is.
I thought it was rather obvious...
|
|
|
|
|
Thing is - you look at the original post on this thread. Nothing is obvious, anymore. Like I said, when I saw it was you, it was obvious to me. I didn't notice, and not knowing who posted, it was not obvious to me.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
;);P
|
|
|
|
|
how i connect to database in VC# as when i make connection from server explorer it display there but i cudnt able to drag that onto the designer
|
|
|
|
|
|
Hello i'm beginner in c# with GDI+
can anyone tell me how i can drag drop rectangle that i draw with DrawRectangle.
please i need help
thanks
|
|
|
|
|
If you're new to C# in general, you may be biting off more than you can chew.
you want to drag and drop a rectangle, the typical way to do this is to handle mouse events to track mouse position and button status, and keep calling Invalidate() in your mouse move after updating the co-ordinates that your OnPaint will use to draw the rectangle. When you finish dragging, you need to store the location, so your onpaint continues to draw it.
Did you also expect to 'pick' a rectangle to drag by clicking on it ? To do that, you work out the co-ordinates of your mouse down and iterate through your list of rectangles, to find out which one the mouse is in.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Can i give some mouse event to this rectangle?
|
|
|
|
|
No, the rectangle is not a control. In WPF, you can. But, if you're drawing a rect yourself, it's not a control, it can't get an event.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hmmm ok i see, can you give some example code that can dragdrop some rectangle over the panel ( windows form component)
[ sorry if my english bad, or not polite, i am indonesian, can't speak english better ]
thanks
|
|
|
|
|
You've not given any offense, not at all.
It's a fair bit of code, I can't just whip it up for you. The core thing to understand, is to get your rectangles drawing in a paint event, and to have the ability to change the location of one ( or create a new one ), based on mouse events. I'd start with a List<Rectangle> and a Paint event that draws the rectangles. Then I'd write the code to get mouse events, and draw a rect. Then I'd write the bit that finds a rect based on a click, and moves it.
Feel free to ask questions any step of the way, but I'm afraid I am unable to jsut write all that for you. If you ask specific questions as you go, I'll be more than happy to help any way I can
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
my problem is that when i open a site there is CAPTCHA i have 2 retrieve it buut it ha no reference number only reference site and when u enter that reference site and click it always changes . so i want a code that when i send the URL the captcha along with it should also be obtained.iam working in BOT technology
|
|
|
|
|
Your first problem is that you didn't offer a subject that tells people what you're looking for.
ravilikesaboli wrote: iam working in BOT technology
What is that ?
The whole point of captcha is to stop people from connecting automatically. Why do you need to ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
So you want your bot (computer) to pass a "completely automated public Turing test to tell computers and humans apart"?
See any issue with this?
|
|
|
|