4,901 Posted Topics
Re: Does it work with a direct cable connection? | |
Re: Now that you have upgraded, your computer is registered with Microsoft and you will no longer have to validate it. What I suggest is that you do a full backup to external media then completely wipe your system and reinstall Win10 from scratch. I don't know how big your drive … | |
Re: We used to use a KVM switch to use one monitor/mouse/keyboard on multiple servers. Staples has one for $35. | |
Re: What is happening is that when you read a char for "do you want to do another transaction" it is returning the next character from the last scanf. You can fix this by making sure that unused characters are flushed. One way to do this is to add void flush_stdin() … | |
Re: You will have to change the `WHERE` clause to something like WHERE DATEPART(month,TanggalLahir) = 9 AND DATEPART(day,TanggalLahir) BETWEEN 1 AND 15 | |
Re: Care to elaborate so we can all avoid the same fate? | |
Re: I suspect the "hide extensions" option in Explorer has been turned back on. Go to folder options and deselect it and see if that fixes the problem. Yes, it's MS stupidity to have that enabled by default. Or even to have the option (IMO). | |
Re: Show us what you have tried so far. | |
... how the same politicians who said that New Jersey should just man up and take care of themselves after Hurricane Sandy hit, are now calling for federal aid from FEMA for relief from Hurricane Harvey, and in a few days, probably Hurricane Irma. ![]() | |
What are the qualifications to be an announcer/commentator at the US Open? Clearly it's not the ability to be able to pronounce the names of the players. Someone who has been making a big splash of late is an 18 year-old Canadian named Denis Shapovalov. At the start, when nobody … | |
Re: Change the statement Dim cmd As New SqlCommand("SELECT Username, Password FROM(Users) WHERE (Username = '" & UserTXT.Text & "') AND (Password = '" & PassTXT.Text & "')", con) to remove the parentheses around the table name. The proper syntax is select field1,field2,etc from table where etc not select field1,field2,etc from(table) … | |
Re: You can find code samples for that in my snippets post [here](https://www.daniweb.com/programming/software-development/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) | |
Re: Or you can join one of the general discussinons in the Community Forum. | |
Re: @rproffitt - As I recall, they tried to unplug it. Didn't work out too well for Ensign Ricky. | |
I've been a Windows user right from the start and I've seen many problems that resulted in the infamous `checking for a solution to the problem`. I'm curious. Can anyone tell me if they have ever had an instance where Windows has actually found a solution? ![]() | |
Re: >I mean how difficult is it to say that Nazis suck? Apparently it's a lot easier to say Rosie O'Donnell sucks than Nazis. Rosie is clearly the devil. As for the statues, Jefferson Davis stood in the way of progress. I can't quite say the same for Washington, Jefferson, etc. | |
Re: There is no error in the code, For future reference please read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules). Particularly the part about hijacking old threds. | |
Re: I don't normaly just provide code but 1. It's pretty simple 1. I'm really bored Copy the following code into a file named `SortFiles.vbs` in the same folder containing your images. If you run it by cscript sortfiles.vbs the script will create the required folders under the current folder and … | |
Re: Probably not going to happen with such a bare-bones description. How about giving us the schema, some sample data and what you expect to see as a result? How do you define "most common pairs"? Do you mean the two most common, five most common? | |
Re: You can start by reading the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules). Then you can [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). You also might want to read everything that has already been posted in this thread. | |
Re: Please start a new thread for your question. | |
![]() | Re: If it's not replacing then it's not the right code. |
Re: I think it is inevitable. Our next vehicle will definitely be electric as will my younger son's. Our elder son has a Prius that he swears by. As battery technology evolves, older, lower capacity batteries could be swapped out with newer ones without the expense of a complete car replacement. … | |
Re: Are you looking for something like [teracopy](http://www.codesector.com/teracopy)? | |
Re: Yeah. I have those nights when my mind just won't turn off. The trick (for me) is to concentrate on something totally unrelated. I listen to a piece of music in my head, concentrating on every note. By doing that I force my mind out of the rut it is … | |
Re: I have had the odd project get corrupted like this and the only solution I could find (if you can call it a solution) is to rebuild the project from scratch. Fortunately you should still have all the code (.vb) files to copy/paste into the new project. You might even … | |
Re: Do any other USB devices work in that port? | |
Re: You could always go to [Rosetta Code](http://rosettacode.org/wiki/Category:C). That link will take you to the C page with a list of problems with sample code. You could look at the problem definition (there are a large number of problems), try to code up a solution, then refer to the given solution … | |
Re: >nobody should store their backups in compressed form I use Macrium Reflect for my imaging and I alwys use `compressed`. However, I also use `verify`. Before that I used Acronis for years (corporate as well as personal). In all they years I have never had a backup image refuse to … | |
Re: You'll increase the odds of getting an answer if you start a new thread rather than hijacking an old and already solved thread. | |
Re: Username is a text field so the comparison value must be quoted. Compare SELECT * FROM table where username= hai with SELECT * FROM table where username= 'hai' | |
| |
Re: A typical statement to insert multiple rows at a time looks like INSERT INTO table (fldname1, fldname2, fldname3) VALUES(val1, val2, val3), (val4, val5, val6), (val7, val8, val9) Just modify for your particular database columns. | |
Re: You can do it using [AutoIt](https://www.autoitscript.com/site/autoit/) (free). If you create the AutoItX object within your program you can get the value in the calculator by calc = "Calculator" If aut.WinExists(calc) Then result = aut.WinGetText(calc) Else MsgBox(calc & " window not found") End If | |
Re: Judging by your post it is possible that you have not read the Daniweb [Posting Rules](https://www.daniweb.com/welcome/rules) and [Terms of Service](https://www.daniweb.com/welcome/tos). Please give these a read. You might also want to [Read This Before Posting a Question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) to increase your chances of getting a timely (and more useful) response. | |
Re: I think a cool smartwatch app would be to have it pair with your self-driving car. If the smartwatch app detects that you are having a heart attack it drives you to the nearest hospital while calling 911. | |
Re: You should consider using parameterized queries. Not only are they more secure, they are much easier to read and debug. | |
![]() | Re: >I want to retrive mod_id,name from module table SELECT mod_id, name FROM Module |
Re: You'd be more likely to get a useful response if you started a new thread rather than reviving one from 11 years ago. | |
Re: The FileSystemWatcher can be triggered on Created Deleted Changed events. As far as it is concerned, when a files is copied/moved into the watched folder, it is considered as a **Created** event. There is no way to determine where the file came from. | |
Re: Or, in other words, >If you're going to shoot, shoot. Don't talk. - Tuco (TGTBATU) | |
Re: A word of advice - you seem to like starting threads with the title #(ask)# That is not the best way to get an answer. A thread with a meaningful title is far more likely to get a timely, and useful response. | |
Re: I agree with pty. Python is a great first choice. That's why many schools/universities are using it as a first language. You chould learn C but I would wait until you have a grounding in programming fundamentals. There are gotchas in every language, but the ones in c are harder … ![]() | |
A while back I came across an article that mentioned genetic algorithms. For those unfamiliar with the term, simply put, rather than finding a solution to a problem by iterating over all possible cases, a genetic algorithm attempts to find a solution by starting with a guess, then generating a … | |
Re: Here we had the start of a pleasant thread and you had to turn it into a Windows-bashing conversation. I guess there is a little bit of troll in the best of us ;-P | |
Re: It's seasonal. In the winter I like cross-country skiing. In the spring and fall it's roller skating, and in the summer it's biking and canoeing. And, of course, reading all year round. | |
Happy 150th birthday to all of the Canadian Daniweb members.  |
The End.