4,911 Posted Topics

Member Avatar for Reverend Jim

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 …

Member Avatar for diafol
0
351
Member Avatar for Reverend Jim

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 …

Member Avatar for Dani
1
166
Member Avatar for lewashby

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.

Member Avatar for Reverend Jim
0
381
Member Avatar for Reverend Jim

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

Member Avatar for jwenting
0
772
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
355
Member Avatar for OTOSystem

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Mitha_1

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

Member Avatar for Reverend Jim
0
237
Member Avatar for ddanbe

I think that once you've posted the code publicly you're pretty much SOL as to retaining control, legally or otherwise.

Member Avatar for ddanbe
0
280
Member Avatar for Christopher_12

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 …

Member Avatar for Miurei
0
360
Member Avatar for Johnny Joe

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 …

Member Avatar for Miurei
0
647
Member Avatar for Aashath
Member Avatar for shashank_n

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 …

Member Avatar for Paul_36
0
4K
Member Avatar for songsinh1241

The question is meaningless unless you give a specific word with that sequence of letters.

Member Avatar for diafol
0
136
Member Avatar for jkon

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?

Member Avatar for rproffitt
5
353
Member Avatar for marky101

Can you please be more specific? What is a "reportviewer textbox"? Perhaps a little of your code would also help.

Member Avatar for Karunya_1
1
5K
Member Avatar for jeffrey_4
Member Avatar for diafol

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.

Member Avatar for nullptr
1
236
Member Avatar for afsdfasdf654654

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

Member Avatar for Dani
-6
372
Member Avatar for Porady

Maybe it's what a bro might ask another bro? As in >S'up playa?

Member Avatar for Reverend Jim
0
100
Member Avatar for RikTelner
Member Avatar for Ferron

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 …

Member Avatar for Ferron
0
314
Member Avatar for A1990
Member Avatar for Santanu.Das
0
176
Member Avatar for IntegratedTweak

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 …

Member Avatar for Dani
0
876
Member Avatar for IntegratedTweak
Member Avatar for Reverend Jim

All of the forums under **Programming** and **Digital Media** seem to have vanished.

Member Avatar for diafol
2
572
Member Avatar for Dani

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

Member Avatar for Reverend Jim
6
685
Member Avatar for Melon Lord

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.

Member Avatar for zelrick
0
325
Member Avatar for Reverend Jim

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 …

Member Avatar for IntegratedTweak
1
364
Member Avatar for gualuska

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.

Member Avatar for Max_13
0
421
Member Avatar for ddanbe

And yet <M> still has credit for self-endorsing. (c'mon. You had to know I'd say that). But I'm not bitter ^_^

Member Avatar for Reverend Jim
0
319
Member Avatar for happygeek

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"

Member Avatar for Lifei_1
8
738
Member Avatar for Dani

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 …

Member Avatar for happygeek
0
436
Member Avatar for Dani

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 …

Member Avatar for Dani
4
640
Member Avatar for JOSheaIV

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 …

Member Avatar for JOSheaIV
0
984
Member Avatar for Mr.M

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 …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Jenny76

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

Member Avatar for Nick_10
0
285
Member Avatar for Reverend Jim

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

Member Avatar for GrimJack
0
158
Member Avatar for wilsonchama

Replace Dim cmd As New OleDbCommand with Debug.WriteLine(sqlQuery) Dim cmd As New OleDbCommand and post the output here.

Member Avatar for jwenting
0
621
Member Avatar for Sn

Let's assume your ID field is called empID. You can determine the next available number by SELECT newID = MAX(empID)+1 FROM empdetails

Member Avatar for Reverend Jim
0
8K
Member Avatar for jkon

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?

Member Avatar for Slavi
0
548
Member Avatar for sing1006

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 …

Member Avatar for sing1006
0
263
Member Avatar for ajit.nayak

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

Member Avatar for Reverend Jim
0
366
Member Avatar for Violet_82

You could try to recover the product key using [this utility](http://www.nirsoft.net/utils/product_cd_key_viewer.html)

Member Avatar for happygeek
0
1K
Member Avatar for Arun_14

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

Member Avatar for Santanu.Das
0
182
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
7
5K
Member Avatar for Okere

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 …

Member Avatar for Joe-Guru
0
170
Member Avatar for Reverend Jim

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

Member Avatar for Reverend Jim
0
752
Member Avatar for Dark_1

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 …

Member Avatar for Reverend Jim
0
214
Member Avatar for jakub.peciak

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

Member Avatar for Reverend Jim
0
212
Member Avatar for Nathaniel10

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 …

Member Avatar for jkon
0
248

The End.