4,901 Posted Topics

Member Avatar for the b
Member Avatar for efmesch

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 …

Member Avatar for rproffitt
0
336
Member Avatar for Tammy_2

We used to use a KVM switch to use one monitor/mouse/keyboard on multiple servers. Staples has one for $35.

Member Avatar for Reverend Jim
0
238
Member Avatar for victoria_5

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() …

Member Avatar for Reverend Jim
0
600
Member Avatar for vhycko

You will have to change the `WHERE` clause to something like WHERE DATEPART(month,TanggalLahir) = 9 AND DATEPART(day,TanggalLahir) BETWEEN 1 AND 15

Member Avatar for vhycko
0
415
Member Avatar for B E
Member Avatar for byron_2

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).

Member Avatar for Reverend Jim
0
159
Member Avatar for sasank_1
Member Avatar for Reverend Jim

... 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.

Member Avatar for diafol
0
421
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
406
Member Avatar for Smalls

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) …

Member Avatar for akash_12
0
3K
Member Avatar for vin_1

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)

Member Avatar for vin_1
0
443
Member Avatar for amanda_9

Or you can join one of the general discussinons in the Community Forum.

Member Avatar for happygeek
0
172
Member Avatar for musa B
Member Avatar for Reverend Jim
0
414
Member Avatar for Reverend Jim

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?

Member Avatar for diafol
1
502
Member Avatar for happygeek

>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.

Member Avatar for AssertNull
0
301
Member Avatar for WAIWAIWAI

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.

Member Avatar for Reverend Jim
0
17K
Member Avatar for Stefce

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 …

Member Avatar for pdsubbu
0
550
Member Avatar for Mati_1

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?

Member Avatar for Mati_1
0
928
Member Avatar for rfrapp

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.

Member Avatar for pty
0
1K
Member Avatar for Noorul Ariff
Member Avatar for Rahul47
Member Avatar for rproffitt

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. …

Member Avatar for JamesCherrill
1
560
Member Avatar for byron_2
Member Avatar for Reverend Jim
0
176
Member Avatar for Dani

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 …

Member Avatar for jwenting
1
964
Member Avatar for dongtrien

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 …

Member Avatar for dongtrien
0
547
Member Avatar for les_3
Member Avatar for Ákos_1

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 …

Member Avatar for sathish kumar_1
0
770
Member Avatar for parreirae1

>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 …

Member Avatar for Reverend Jim
0
494
Member Avatar for snakay

You'll increase the odds of getting an answer if you start a new thread rather than hijacking an old and already solved thread.

Member Avatar for Reverend Jim
0
6K
Member Avatar for Van_5

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'

Member Avatar for Van_5
0
230
Member Avatar for Sibuns
Member Avatar for zebnoon1
Member Avatar for Sneaky_1
Member Avatar for pri.chakraborty

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.

Member Avatar for Reverend Jim
0
5K
Member Avatar for sprikot
Member Avatar for jailani_1

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

Member Avatar for Reverend Jim
0
991
Member Avatar for Rehana_1

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.

Member Avatar for jwenting
0
301
Member Avatar for happygeek

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.

Member Avatar for Reverend Jim
0
770
Member Avatar for mikeybware

You should consider using parameterized queries. Not only are they more secure, they are much easier to read and debug.

Member Avatar for Reverend Jim
0
323
Member Avatar for සශික

>I want to retrive mod_id,name from module table SELECT mod_id, name FROM Module

Member Avatar for Reverend Jim
0
174
Member Avatar for sessy629

You'd be more likely to get a useful response if you started a new thread rather than reviving one from 11 years ago.

Member Avatar for Reverend Jim
0
3K
Member Avatar for Mr.M

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.

Member Avatar for xrjf
0
302
Member Avatar for UI

Or, in other words, >If you're going to shoot, shoot. Don't talk. - Tuco (TGTBATU)

Member Avatar for JamesCherrill
0
432
Member Avatar for Obbie_1

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.

Member Avatar for Mr.M
0
223
Member Avatar for Plinth

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 …

Member Avatar for diafol
0
512
Member Avatar for Reverend Jim

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 …

Member Avatar for Web_4
2
1K
Member Avatar for Hatem_2

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

Member Avatar for Reverend Jim
0
279
Member Avatar for jkon

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.

Member Avatar for Kevin_1
0
361
Member Avatar for Reverend Jim

Happy 150th birthday to all of the Canadian Daniweb members. ![DSCF4166.JPG](/attachments/large/3/02ce0218964c94dddb8a85068c2570bb.JPG "align-center")

Member Avatar for Agilemind
0
215

The End.