15,898,134 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by velvet7 (Top 84 by date)
velvet7
2-May-13 13:12pm
View
Thanks for your answer!
Canny edge detection.
velvet7
30-Mar-13 13:16pm
View
I thought so, thanks for confirming!:)
velvet7
30-Mar-13 13:14pm
View
Ok, look, if you can't say anything about the topic why did you even take time to comment? You are just being rude. That's it for me, thanks for commenting.
velvet7
30-Mar-13 11:54am
View
Only if you read what I wrote you would know. All I was asking if this was possible, and if so, how? There you go, this is the question. :) Yes, this may be a hardware problem, but hey, a hardware isn't going to solve the whole problem, it needs to be coded, right? I don't have any program code, I don't even know if this is possible. I don't think it is, but I asked because I was curious.
velvet7
14-Mar-13 1:43am
View
Thanks for your answer. :) Well, in Mac OSx it is possible, and I am just trying to do the same. I guess then in Windows it's impossible.
(On osx: http://www.bitcartel.com/irecordmusic/index.html )
velvet7
3-Mar-13 8:28am
View
By the way, I was thinking about this lately:
"if A-B is different than B-A, that'd be more interesting".
Why would it be more interesting?
As I understood Dijkstra's algorithm it would work for this one perfectly as well. (and I tried it as well, and there weren't any problems)
Am I missing something here?
velvet7
1-Mar-13 3:27am
View
Exactly what I was looking for, thank you. :)
velvet7
9-Jan-13 15:32pm
View
This is exactly what I tried to do. The problem comes when I try to draw on the boundary of the wall. So imagine it like this:
*
---***-
| * |
| |
-------
Where the * is the bullet texture. Basically it draws "in the air", which I want to avoid.
velvet7
8-Jan-13 12:10pm
View
I said that as an example to understand the concept better. The competition I am preparing for wrote the eaxct same thing. A librarian wants to know what are the minimum steps (swaps) to put them in order. That is the ONLY and ONE thing he cares about, nothing else. So I think this may help me, I'll check it out right away, thanks, Daniele.
velvet7
7-Jan-13 15:58pm
View
Please look above my comment.
By the way, you are right. But that's not the case. :)
velvet7
7-Jan-13 15:51pm
View
Quicksort: 9 swaps
velvet7
7-Jan-13 15:50pm
View
Right. So the point of my application is not to be better.
Look at it this way. You have a friend, a librarian. He asked you to find a way how he could sort his books numbered from 1 to 10. (above) You have to tell him how many steps he has to do to sort them. :)
velvet7
7-Jan-13 15:44pm
View
A swap is a step, yes.
velvet7
7-Jan-13 15:44pm
View
Uhm, yeah so I have to give the minimum number of steps I have to do to sort it.
Array.sort doesn't return that to me. (and I think it does it in the fastest way, not the most efficient, im not sure though)
velvet7
7-Jan-13 15:42pm
View
Maybe I don't know what a real knowledge is, I am not old enough yet, I admit. I am just a young boy who tries to learn new things. (I guess I don't have to say that you didn't help, that's the reason I gave you 2 points)
Thank you for your time. :)
velvet7
7-Jan-13 15:23pm
View
So... You are trying to say, that let's say I can't add up 2 numbers then I have to figure it out myself? Then what's the point of schools? They teach you how to use the numbers, not the solution, right?
For example, how did you start programming? You just KNEW how to do it? You read books about it maybe, but still, you had that book to help you out and get you started, the exact same thing I am asking for.
I would like to find out where to start when I get a problem like this (not exactly this), not the solution.
I hope you understand me. Maybe I am wrong, in that case, I am sorry for wasting your time.
velvet7
7-Jan-13 15:14pm
View
Thanks, anyways :-)
velvet7
7-Jan-13 15:03pm
View
Also, I was trying to get a HINT, not the answer. I stated that clearly in my quesiton. I know I have to find out the answer myself to get somewhere.
velvet7
7-Jan-13 15:02pm
View
I am sorry, I think you misunderstood me... I am practicing for this upcoming competition. The year before last this was the problem, so I was thinking of trying to solve it, just to be prepared. I would never ever cheat... I solved all of them, except this one. This one is giving me a headache.
velvet7
6-Aug-12 3:47am
View
Just the exe. But anyways, I figured out another way, the reader device sends the data as plain text(sends data like a normal keyboard), so I just read with the lowlevelkeyboard api, and prevent it from writing by returning 1 in the HookCallBack method, so the cardreader won't write anything but I am still able the read out what it wants to write.
velvet7
5-Aug-12 14:02pm
View
Alright, but if I send to the device that it should write bytes to the card, then it will write the start character no matter what. It's nothing something I can control, as far as I know. But shouldn't the decoder decode it to remove the start and end characters? Maybe I screw up something, because when I try to read from the card it doesn't read the real informations, it reads just 0's, so I think the data is encoded, but I don't want it to be encoded.
velvet7
5-Aug-12 7:18am
View
I don't really understand you, the start character and the end character would stay there.
velvet7
5-Aug-12 6:22am
View
Yeah, but the point of this whole thing is to directly write this data to an application on another computer. So this '%' and '?' would screw the whole thing up.
velvet7
5-Aug-12 5:52am
View
I checked the test program too, but same thing. Though I tried with numeric values, and they were just working fine. But when I tried to read the card the text appeared like this:%123? So how could I write on the card without the start and the end characters? I mean, I don't want the % and ? character to appear after reading.
velvet7
5-Aug-12 5:29am
View
Updated.
velvet7
2-Jan-12 18:52pm
View
I don't think so, because I tried the Peek() and Read() methods, but they just block it too. And also, as I said when I send a wrong request it works, so it reads the incoming data and it forwards it to the browser.
velvet7
12-Jul-11 4:10am
View
Thank you!
velvet7
11-Jul-11 13:41pm
View
Please check out my comment above.
velvet7
11-Jul-11 13:41pm
View
Deleted
Yes. So the points would be: (0,0),(0,1),(0,2)
velvet7
11-Jul-11 13:40pm
View
Yes. So the points would be:(0,0),(0,1),(0,2)
velvet7
5-Jul-11 14:05pm
View
Thanks for the answer, unfortunately it doesn't work:(
velvet7
5-Jun-11 4:16am
View
Looks like you misunderstood me. I didn't want to be rude. I understood what your problem is. But I still couldn't find out why I can't see a Frame in a Div. Maybe somewhere else with a better start I will be able to do that. (I think the problem is in me.) Thanks for the advices and see you in the future, I hope next time I won't be rude (if there will be next time)!
velvet7
5-Jun-11 3:29am
View
Javascript? I don't think so. ASP.NET? Just look at the title, and search for WatiN: "WatiN started in December 2005 to make a similar kind of Web Application Testing possible for the .Net languages". So yes, it is ASP.NET (but I tag it for you). Anyway, thanks for the comments, I could solved it myself on another way, but I still can't understand why I can't see a Frame in a Div (if you don't understand what I am talking about then please download WatiN and do the same as I did above, and you will understand hopefully).
PS: Thanks for the 1 rate (whoever did that) :)
velvet7
1-Jun-11 13:38pm
View
Then this isn't what I am looking for I am afraid :( It's too easy for them.
velvet7
1-Jun-11 12:32pm
View
Thank you for the answer. And what programs could get around this kind of security?
velvet7
1-Jun-11 11:14am
View
It is 3rd party app.
velvet7
1-Jun-11 11:14am
View
Deleted
It is 3rd party app.
velvet7
22-May-11 11:18am
View
There's nothing wrong with that imo, I try to click on that DIV with the help of WatiN which is .NET :)
velvet7
13-May-11 9:39am
View
Nice answer, thank you, that is what I needed! 5 points!
velvet7
12-May-11 11:06am
View
And then how can I remove the image from the screen without erasing the snake?
velvet7
7-May-11 5:46am
View
Good job!
velvet7
29-Apr-11 10:38am
View
No, I am talking about uploading the whole page to FTP, and the downloading it from the FTP, but how would you send the request form the client side if your don't know the exact link? And because of ajax you won't get the exact link.
For example: how would you send the request to the server to reply to this comment? There's no link, or anything like that.
velvet7
29-Apr-11 9:53am
View
Well, yes, I have tried to save the whole page, and upload it, but when saving sites which uses ajax it simply goes wrong, because you can't navigate to a site.
velvet7
29-Apr-11 0:45am
View
Thanks :)
velvet7
28-Apr-11 15:09pm
View
Actually, I haven't think about it already, maybe you are right. I will check it tomorrow (because the computer is far away from me). First when I started my c# application it threw an error, and I thought it was the framework, but then no. Well, tomorrow I check that error code again.
Thanks, question answered.
velvet7
28-Apr-11 15:05pm
View
Please explain that error more deatailed.
velvet7
28-Apr-11 14:52pm
View
While I am not fed up of them I try to help them out, anyway you are right, maybe this isn't the best way to do that.
velvet7
28-Apr-11 14:42pm
View
Don't be so evil:)
velvet7
26-Apr-11 9:00am
View
There are about a million records, and a space can't be a datetime, so I don't think.
velvet7
26-Apr-11 2:38am
View
To answer to the question you asked from Abhinav: I would like to make the read time a bit shorter this way, because now it takes ~3 second (on my computer, and this will be used on a slower one!). So to check it, I have to read all cells.
velvet7
26-Apr-11 2:31am
View
"I try to read out from a GDB".
I just need an SQL command.
Anyway, to be exact the field is set to "Not null".
velvet7
26-Apr-11 2:26am
View
Image above.
velvet7
26-Apr-11 2:24am
View
Actually the problem is this is not my database. It is generated by another program.
And the database doesn't allow NULL.
velvet7
25-Apr-11 7:19am
View
Thanks for sharing your code with us.
velvet7
25-Apr-11 1:34am
View
Well, I couldn't get exactly what do you want, but check this:
dataGridView2.SelectedRows[index].Cells["cellname"].Value
This will get the selected cell's value.
velvet7
24-Apr-11 12:32pm
View
textbox.Visible = false, and string s = textbox.Text. It gives the correct result for me.
PS.: Why are you using hidden textboxes if they will never appear? Use a simple integer.
velvet7
22-Apr-11 12:47pm
View
But then how is it possible that I can copy with ctrl+c, but I can't with File.Copy? What is the difference between this two thing? I thought they are the same.
velvet7
22-Apr-11 2:43am
View
Thank you Patrick, it works. Now how should I give you the points?:)
velvet7
21-Apr-11 15:11pm
View
Well, I have downloaded this one, and installed. Now there's another problem:
source code:
string path = "provider=sibprovider;location=D:\\test.GDB; user id=SYSDBA;password=masterkey";
OleDbConnection con = new OleDbConnection(path);
con.Open();
Now when I debug it throws an exception:
OleDbException: "unavailable database"
velvet7
4-Feb-11 16:48pm
View
In both.
velvet7
16-Jan-11 9:33am
View
"if you show us that what exception was caught when something goes wrong.... then we can help definitely....."
It doesn't even throw exception.
velvet7
16-Jan-11 8:04am
View
It doesn't "spawn" the picturebox. But in step-by-step mode it works.
velvet7
14-Jan-11 14:12pm
View
Yes. But I still can't get it to work.
velvet7
14-Jan-11 11:10am
View
The full exception:Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.
Maybe it helps.
velvet7
14-Jan-11 11:03am
View
1) MethodInvoker is in .Net, that isn't mine 2) Yes, it is in WinForms 3) I write it in Form1 : Form class
velvet7
14-Jan-11 10:33am
View
Well, maybe if i call it less frequently solves the problem, but I have to call it 50 times a seco
velvet7
7-Jan-11 15:12pm
View
Updated again, I hope it's clear now what I try to do.
velvet7
7-Jan-11 14:50pm
View
Edited above.
velvet7
7-Jan-11 14:40pm
View
Thanks for the long, and understandable answer, but unfortunately it still doesn't work when I try to call Form1.Invoke from class called Players. It says that an object reference is requeried for the non-static field, so yes, and that is clear.
velvet7
7-Jan-11 14:01pm
View
Yes.
velvet7
7-Jan-11 11:57am
View
Worked. Thanks!
velvet7
20-Dec-10 15:27pm
View
Well, I'm still interested in that thing, so if you can find out a solution for it that would be nice.
velvet7
20-Dec-10 10:44am
View
Yea, thanks. Worked pretty well, I just had to go to /man.cgi?redirect=GBstart.htm%3Fsec%3D30&failure=fail.htm&type=reboot
(which Fiddler2 write) But I still would like to know how to click on a button:) But that was the main question!
velvet7
20-Dec-10 10:35am
View
Thanks for the answer! Tried myReq.Method = "REBOOT" (this is what they write), but it gives an error:The remote server returned an error: (501) Not Implemented.
velvet7
11-Dec-10 12:28pm
View
Hmm :doh: I don't know, it still gives the same result for me. Can you tell me where should I search the problem?
velvet7
11-Dec-10 12:22pm
View
Sorry, I can't understand you. It is NOT a homework. But tell you what, don't help me, thanks, I have nothing to lose. Honestly...
velvet7
11-Dec-10 11:14am
View
PS: It isn't a homework assignment neither, and it still doesn't work after editing a few things in it.
velvet7
11-Dec-10 11:07am
View
Thanks for the answer! Yes, that's true, but I'm not asking you to solve it, just help me in solving it.
velvet7
11-Dec-10 11:07am
View
Thanks for the answer, yes, I realised the split thing after I wrote here the code, and by the way, I make this program to teach myself, so my professor isn't "monitor" this site, because I don't even have one.
velvet7
27-Nov-10 6:22am
View
Thanks for the answer. I write it down again. I have 9 sudoku tables. They are behind each other. You have to solve all the 9 sudoku tables, and then if you are done, you have to flip or rotate ONE (of the 9) sudoku table, and then check it its correct. So let's see an example:
1. Sudoku table: [0,0] is 1
2. Sudoku table: [0,0] is 1
(and so on... to 9, then check it again with [0,1] and so on)
So thats wrong, because there are two of 1. Then rotate, or flip another sudoku table again, and do it while it isn't correct.
I hope you could understand me:)
velvet7
27-Nov-10 6:13am
View
I tried your code, and it works perfectly for me.
velvet7
27-Nov-10 5:59am
View
Deleted
Thanks for the answer. I write it down again. I have 9 sudoku tables. They are behind each other. You have to solve all the 9 sudoku tables, and then if you are done, you have to flip or rotate ONE (of the 9) sudoku table, and then check it its correct. So let's see an example:
1. Sudoku table: [0,0] is 1
2. Sudoku table: [0,0] is 1
(and so on... to 9, then check it again with [0,1] and so on)
So thats wrong, because there are two of 1. Then rotate, or flip another sudoku table again, and do it while it isn't correct.
I hope you could understand me:)
velvet7
1-Oct-10 16:15pm
View
So, I tried it on my friends computer, and it also connects there to server, but it doesn't connect to server2. With the same exception.
velvet7
1-Oct-10 15:06pm
View
192.168.1.4 (which is my brothers lan address)
Show More