4,901 Posted Topics
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. | |
Re: What are you doing that triggers the error? Are you trying to access networked drives? | |
Re: You said you were using `BackgroundWork` but it looks to me that you are spawning a separate process. If you actually do it with a `BackGroundWorker` then you can tell when it is finished by the `RunWorkerCompleted` event. | |
Re: Well, the OP tagged the article with PYTHON so I kinda wonder why you posted php code. | |
Re: I'll refer you to [9 Tips for Longer Laptop Battery Life](http://www.pcmag.com/article2/0,2817,2458636,00.asp) | |
Re: My (former) boss never understood the concept of "technical debt". | |
Re: It would appear the code doesn't sort at all. Can you please explain what you mean by >But then it gets a bit messy as it can sort out numerous array based on the original. | |
Re: >Enter 10 student grades and print the total number of passing and failing grades entered Since you can't be bothered to even ask politely then I'll just answer impolitely with "do your own bloody homework." | |
Re: The common complaint from users. "It's just what I asked for but not what I wanted." | |
Re: Sure. Just write each paragraph as a separate line in the save file. Your loop would be For Each tbx As TextBox In Me.Controls.OfType(Of TextBox)() `output tbx.Text Next with the reverse on form load. You'd need to do some checking such as checkng if the temp save file exists before … | |
Re: If you don't even make an attempt to do it yourself then you won't learn anything. If you are unwilling to learn then why should we go to the effort of trying to teach you? |
The End.