4,911 Posted Topics
The election is over and it looks like fear loses, at least for now. Our former Conservative government, led by Stephen Harper, went down in flames to the Liberals, led by Justin Trudeau. Thus ends a decade of Conservative rule that was slowly turning Canada into the US. One of … ![]() | |
There is one new user who seems to always include the text **Bold Text Here** in every post. I think I see why. Try this. 1. Create a new thread 1. Type a title 1. Type a tag or two 1. After the last tag, press Enter The cursor will … | |
Re: Top right about 3 inches down with the text **Answered? Mark As Solved**. You can always use your browser to do a **Find** of the text. | |
Warning - DO NOT BUY DELL IF YOU NEED TECH SUPPORT Let me start by saying that until today I was a loyal Dell customer. My first personal laptop was a Dell Inspiron 1720. My father-in-law had a Dell desktop and my two sons have three Dell laptops between them. … | |
When I type code directly into a post I realize that I must indent four spaces/tab in order for the text to be recognized as code. But when I insert code using the code tool I would expect (as it did in the "old" DaniWeb) the first indent to be … | |
Re: First of all, it's hard to say what you are doing wrong unless we can see the code in the Subs `Play1` through `Play6`. If you post some code we can have a look. In the meantime, I suggest you have one generic Sub called (for example) `PlaySound`. I also … | |
Re: You can determine the maximum and minimum value of a column by SELECT minval=MIN(fldname), maxval=MAX(fldname) FROM tablename and you can simplify your other query by using BETWEEN as in (for example) SELECT * FROM tbStudents WHERE fld1Name BETWEEN 50 AND 100 AND fld2Name BETWEEN 75 AND 85 | |
Re: I think that once you've posted the code publicly you're pretty much SOL as to retaining control, legally or otherwise. | |
Re: I strongly suggest you use [Parameterized Queries](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks). For one thing, you won't have to worry about adding appropriate field delimiters and names containing single quotes (like O'Brien) will be automatically adjusted so that they insert properly. Lacking that I suggest the following format to make it easier to read what … | |
Re: OleDbCommand does not support named parameters. You should use sql = "INSERT into inventory (pcode, psup, pcat, pdescript, pstock, piprice, ptprice, pdate) values (?,?,?,?,?,?,?,?)" Just make sure you add the values in the same order as you specified the field names. See [MSDN article](https://msdn.microsoft.com/en-us/library/system.data.oledb.oledbcommand.parameters(v=vs.110).aspx). If your database is MS SQL … | |
Re: I use [Networx](http://networx.en.softonic.com/). It's free. | |
Re: I had a similar problem recently. While at the cabin I connect via a Roger's wireless Rocket Hub. The hub came configured to use 8.8.8.8 as both the primary and backup DNS. From the command line, when I typed ping 8.8.8.8 I got no response. When I reset the two … | |
Re: The question is meaningless unless you give a specific word with that sequence of letters. ![]() | |
Re: Are you referring to rude replies from the people you are trying to help, or rude replies by people other than the people posting the questions? | |
Re: Can you please be more specific? What is a "reportviewer textbox"? Perhaps a little of your code would also help. | |
![]() | Re: Sometimes I'll post in the thread with >care to share your solution? although I am tempted to just delete because the thread adds nothing. |
![]() | Re: Perhaps one or both of you could add a blocking rule to your respective firewalls or a HOSTS entry to redirect to 127.0.0.1 |
| |
Re: Rule number 1 - don't let anyone do your thinking for you. ![]() | |
Re: Create a ProgressBar named prgFileCopy and set prgFileCopy.Minimum = 0 Calculate the number of files to be copied and assign that as prgFileCopy.Maximum = numFiles Start by setting prgFileCopy.Value = 0 and after each file copy has completed (in the loop) do prgFileCopy.Value += 1 You might want to dock … | |
Re: What do you mean by >check for the old password before changing it | |
Re: Speaking of tags, I have a question. It's fine to say we can look up what we want using the tag "jokes" or "food" but how does the tag system resolve synonyms? If I enter the tag "food" it will not (for lack of a better example) shbow me threads … | |
Re: Try deleting them and you'll find out. | |
All of the forums under **Programming** and **Digital Media** seem to have vanished. ![]() | |
Re: "Unacceptable" kind of sounds like you are demanding that she change it. Are you really sure that is the tone you are going for? Perhaps you might like to rephrase. | |
Re: What formula are you using? What you have provided is not an explanation of what you are doing. All you did was post some poorly formatted code with comments that are either meaningless/unhelpful or just plain incorrect. | |
I was just in the Hardware & Softwre Chat. Here are a few lines Mon 1:31 pm savedlema I see Reverend Jim here...you have answered so much of my difficult questions on VB.NET...Thank you so much. Mon 2:04 pm savedlema nobody is here..time expired? Mon 11:06 am DaveAmour Hi Mon … | |
Re: What format is your email in? What program did you use on the old laptop? For Outlook you can just copy the PST. For Thunderbird, the entire profile folder. | |
Re: And yet <M> still has credit for self-endorsing. (c'mon. You had to know I'd say that). But I'm not bitter ^_^ | |
Re: If you get the chance, a very detailed an interesting book by Jack Copeland is "Colossus: The Secrets Of Bletchley Park's Code-Breaking Computers" | |
Re: I find the new format uncomfortable. I would prefer to see the contributor's name at the top of the post and I think there is too much space devoted to the user details on each post. I'm not particularly enjoying browsing the forums anymore. If you insist on keeping the … | |
Re: Overall, nice, but as jwenting pointed out, margins are too wide. Also, I see that you have changed **NEW** to **UNREAD** and moved it way across to the other side of the screen. I find this to be less functional because I scan the thread title first then with my … | |
Re: You can change the setting for the default profile (which gets used whenever a new profile is created) by navigating to HKEY_USERS\Default User\Control Panel\International and changing the values for sShortDate sLongDate to whatever format you want. This, however, will not modify already existing profiles. You could just iterate through all … | |
Re: Why not write a one-shot program that reads the file line-by-line and writes a new file, skipping any blank lines? Replace your old file with the new file. Then you can go back to using your original code. You may want to consider partitioning the text file into smaller, more … | |
Re: Never underestimate human stupidity. A while back a security company showed how vulnerable a government building's compter system was. This was after the IT department claimed that they were bullet-proof. What high-tech technique did they use? They left USB memory sticks on the ground in the parking lot. Curious employees, … | |
[Source](http://www.npr.org/sections/thetwo-way/2015/07/13/422545636/bloom-county-2015-berkeley-breathed-revives-comic-strip) The universe is once again unfolding as it should. | |
Re: Replace Dim cmd As New OleDbCommand with Debug.WriteLine(sqlQuery) Dim cmd As New OleDbCommand and post the output here. | |
Re: Let's assume your ID field is called empID. You can determine the next available number by SELECT newID = MAX(empID)+1 FROM empdetails | |
Re: I found a bug in the PL/1 compiler (verified by my professor) that caused me to had in an incomplete project. I spent two days trying to figure out what I was doing wrong until I finally approached my professor. Anyone remember PL/1? | |
Re: I presume the error you got was regarding incorrect SQL syntax. You didn't post the error message. Without seeing the actual query, determining the problem will be, well, a problem. The actual query passed to the database engine depends on 1. the constant strings like "UPDATE tbl_System" etc 1. the … | |
Re: Use Private Sub ComboBox_TypeOfSys_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox_TypeOfSys.SelectedIndexChanged PictureBox_FullFeed.Image = Image.FromFile(ComboBox_TypeOfSys.Text) End Sub | |
Re: You could try to recover the product key using [this utility](http://www.nirsoft.net/utils/product_cd_key_viewer.html) | |
Re: Lacking code, I would hazard a guess that it is not doing a running calculation (1+2+3) but only displaying the result of the last operation (2+3). | |
I can't take it anymore. At first it was only occasionally. Now it seems that every time I turn on the TV someone else is doing it. Doesn't our school system teach English anymore? I am referring, specifically, to pronouns. At least three times today I have heard expressions like … | |
Re: We will not do you work for you. We *will* help with specific problems if you 1. provide specific information 1. show us that you have put in some effort to solve it yourself Keep in mind that while it may be urgent to you, it is not urgent to … | |
Skype used to have a setting that would allow me to block all unsolicited contact requests. Shortly after Microsoft acquired Skype this feature was removed. I used to get 2-3 requests per week and it was easy enough to delete-and-report-abuse although I suspect nobody ever actually looked at these reports. … | |
Re: I'm not sure I follow the logic but I'm going to offer a suggestion to see if that simplifies things. The user is expected to click on a textbox and "Click" is not an event associated with a textbox. It's more of a button thing. My suggestion is to create … | |
Re: If you scan the folder when the app first starts and build a list of the files you can have your app notified when any new files are created. Here is an example (VB 2010) you can run. Just create a new project and add a listbox control named `lbxFiles`. … | |
Re: In my experience your boss determines whether your workplace is heaven or hell, or somewhere in-between. In my 29 years at one corporation I had four different bosses (for the same job). I was part of a group of 5-7 real-time system software specialists. My first boss (male) tried to … |
The End.