4,911 Posted Topics
In order to further (artificially) inflate the number of Windows 10 installations, Microsoft is now showing the following pop-up on some users' computers:  And even more heavy-handed, some users are getting the following:  Smart users will realize that they can always click **X** and just close … | |
Re: You can replace TextBox1.Text = price1 If (CheckBox1.Checked) Then TextBox1.Text = price1 + open Else TextBox1.Text = price1 + wine End If with TextBox1.Text = price1 + IIf(CheckBox1.Checked, open, wine) I suggest you get into the habit of using descriptive names for your controls or your code will quickly become … | |
Re: I have repeated problems with Dell Hardware Support in trying to convince them that a problem is hardware (warranty) rather than software (not covered). I have found that the easies way is to boot into Linux and demonstrate that the problem still exists. Download a Linux (I find kubuntu the … | |
Re: To see how this works, start with a new project. Drop a button control onto the blank form and double click on the button. This will create an empty `Click` event handler that looks like Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click End Sub Edit the Sub … | |
| |
Re: Based on what you've said the command would be something like SELECT * FROM settlement WHERE settlement = 0 | |
Re: It is important to NOT power up until everything is dry. I had the same thing happen to my in December of 2014. Open the machine up and let it dry out completely. I thought my machine was toast so I bought a new one. Even after a week it … | |
I just got off the phone. It was an interesting call. It was a technician from Microsoft calling to tell me that my computer had been sending a lot of fault data to Microsoft and that he was going to remote in to fix the problem. First he had me … | |
| |
Re: A good start would be paying attention in class and reading the book. And it wouldn't hurt to read the [Daniweb posting rules](https://www.daniweb.com/community/rules). | |
Re: You should also normalize your tables to remove duplicate info. | |
Re: No one here is going to give you code. You won't learn anything unless you do the work yourself. Show us what you have so far and we cn offer suggestions. | |
Re: What kind of messaging system are we talking about? If it's Skype, Microsoft removed that functionality when they bought the software. | |
Re: It means that when you tried to do conn.Open() the database connection was already open. Because you declared `conn` globally it will retain its connection state between ececutions of your `sub`. In any case, your `sub` appears to serve no purpose other than setting the connection string. You declare and … | |
Re: Have you actually made the site or are you just considering it? Personally, I would refuse. However, if you are trying to build a portfolio at the start of a career I can see why you might be considering it. | |
Re: A TextBox displays only one item which is a string. You set the value by TextBox1.Text = "some string value" Or you can add to the existing text by TextBox1.AppendText("more text") A ListBox, however, displays a collection of items and you have to add items to that collection as in … | |
Re: Read the error message. It tells you exactly what you are doing wrong. That's the problem with 3rd party controls. In order to get help you have to attract the attention of someone else who also uses those controls. What special functionality do you get that you don't have with … | |
Re: You get different results for two reasons. For one thing, one example has the test at the top of the loop and the other has the test at the bottom (guaranteeing at least one loop execution). Also, translating `while (A and B)` to the (effective) opposite (in one case you … | |
Re: Or perhaps he is harkening back to the days of the dongle which was an external device resembling a flash drive but which contained custom circuitry with a unique ID. | |
Re: I'm using MS-SQL rather than MYSQL. Perhaps this code snippet will give you some idea. ' ' Name: ' ' DBImageStoreRetrieve ' ' Description: ' ' Demonstrate how to store, retrieve and display an image file to/from a database ' with both SQLDB and OLEDB. ' ' Usage: ' ' … | |
Re: What is your level of expertise? If you are at a beginner level then I suggest you start with something simpler. If you have the chops for this project and are just stuck then I suggest you post the code you are having trouble with so that we have something … | |
Re: What type of database are you connecting to? What does your table look like? What code have you written so far? | |
Re: The only thing I've ever used `dism` for is to reduce the space used by my current Windows OS and the command and options I use aren't displayed when you type `dism /?`. The command I use is DISM /online /Cleanup-Image /SpSuperseded This is what you would run after installing … | |
Re: To save you from the "gotcha" (thoughtfully provided by Microsoft), the `Next` method of the random number class can be called with parameters `MinValue` and `MaxValue` as in rnd.Next(0,20) The gotcha is that that some brain dead programmer at Microsoft decided that the `MinValue` is inclusive and `MaxValue` is exclusive … | |
Re: You could try a `Finally` clause which is executed whether or not an error occurs. Try con.Open . . 'don't do the con.Close here Catch ex As Exception MsgBox(ex.Message) 'don't do the con.Close here either Finally If con.State = ConnectionState.Open Then con.Close() End If End Try | |
Re: `Main` ends at line 80. I think what is needed is a function header just before line 112. | |
In [this post](http://computers.toptenreviews.com/gaming/digital-storm/digital-storm-vanquish-3-review.html) the link shows as broken and when I click on it I get taken to the [Daniweb Broken Link page](https://www.daniweb.com/posts/bad_link/2199201?uri=http%3A%2F%2Fcomputers.toptenreviews.com%2Fgaming%2Fdigital-storm%2Fdigital-storm-vanquish-3-review.html). However, when I copy the link text and paste it into my browser address bar it takes me to the correct page. | |
Re: I used to work on an old AGC/SCADA mainframe (circa 1980) and everything was on large (18" square) boards with edge connectors. The connections would eventually oxidize and become intermittent. Also, some of the chip connections on the boards would suffer the same problem. The solution was to periodically take … | |
My number two son is looking to replace his old(ish) Alienware laptop with a new gaming desktop. He is leaning toward another Alienware (although desktop this time rather than notebook). Does anyone have any recommendations that aren't in the super-ultimate-deluxe-megabucks category? His reason for going to a desktop system is … | |
Re: One suggestion is to distribute the package in a password protected zip file. If the package is installed rather than portable then it shouldn't be easy to manually copy from machine to machine. | |
Re: I did this a while back as an exercise in vb.net. If that's your language then perhaps I can help you through it (but show some effort first). | |
Re: I use [CutePDF Writer](http://www.cutepdf.com/products/cutepdf/writer.asp). It's a free virtual printer. Print any file to CutePDF and the output is a PDF. | |
Re: That's not how a combo box works. You could provide a textbox and an ADD button to do that though. | |
Re: The preferred way to send info from one app to another is by `Pipes`. | |
| |
Re: It's never a good idea to use spaces in field names. If you do then you have to use delimiters around the field name. If possible you should rename the field and code something like sql = "select * from material where IDDOS ='" & TextBox10.Text & "' AND MATERIAL_ACEPTABLE … | |
Re: >i need to print the matching words What you need to do is 1. Show a little courtesy by asking for help instead of wording it like you are demanding that we do it for you. 2. Show that you have gone to the effort of trying to do this … | |
Re: Microsoft has an article on that [here](https://social.msdn.microsoft.com/Forums/en-US/df0248cb-612f-4e2f-9665-11c68c401458/this-is-how-to-call-win32-api-calls-in-vbscript-and-jscript-sample-windows-api-functions?forum=scripting). | |
Re: I don't use data tables but I think it should be `ds.Tables` not `ds.Table`. Also you have a typo in `da.Fill(ds, "EmMasater")`. | |
Re: I can't offer any suggestions as to implementation but you may want to have a look at [Deshaker](http://www.guthspot.se/video/deshaker.htm) which is a free plugin for [VirtualDub](http://www.virtualdub.org/) which is also free. | |
Re: When the query returns a single value then you can use ExecuteScalar and do not require a reader. | |
Re: You can do it with a simple query. For example UPDATE myTable SET numHours = numHours + 1 WHERE empid = 23 If you need more details on how to execute the query please provide more details such as type of database, table and field info, connection type. I don't … | |
Re: Best for what? Security? Speed of bug fixes? Rendering speed? This question can usually be answered for specific apps (image manipulation, sound editing, etc.) but is generally pointless for more broad software (OS, browser) unless the question is qualified as in "best for...". You might as well ask what is … | |
Re: “I always said that if I wasn’t studying psychopaths in prison, I’d do it at the stock exchange.” – Robert Hare, creator of the Hare Psychopathy Checklist | |
Re: First of all there is a problem with your variable naming. You use `avemark` to contain your total and `totalmarks` to contain your average. You should have totalmarks = mark1 + mark2 + mark3; avemark = totalmarks / 3.0; You are comparing `passmark` to `50` but you only ever assign … | |
Re: >Can anybody give me a solution to do this? Sounds like homework and nobody is going to do it for you. However, if you show us what you have so far we couuld offer help. What parts are you having problems with? Do you have your algorithm (pseudo-code) written out? | |
| |
Re: Since there is already a program with those features the answer is obviously yes. Whether or not you can write it depends on your level of expertise. |
The End.