4,901 Posted Topics
Re: >Finder is slightly useful, but there is better way to do it. What would a better way be? I was taught that when I go to my boss with a problem I should have a solution in mind. >Hiding it in a NOT so obvious tiny little icon is not … | |
Re: Once you get Windows 7 back up and running you may want to have a look at [GWX Control Panel](http://blog.ultimateoutsider.com/2015/08/using-gwx-stopper-to-permanently-remove.html) to help prevent any further attempts from Microsoft to UPDATE-YOU-FOR-YOUR-OWN-GOOD. @ECODATA - That's why they invented [Virtual Box](https://www.virtualbox.org/), [Virtual PC](http://www.microsoft.com/en-CA/download/details.aspx?id=3702) and [VMWare](http://www.vmware.com/ca/en/products). | |
Re: If you can cable in to the router then you can get the password from the admin interface. Or you can ask whomever maintains the router for the password. | |
Re: As I said in your previous post with the same question, you have to provide more details if you want a meaningful answer. What is it that you are having problems with? Is it trying to connect to the database? If so, what type of database are you connecting to? … | |
Re: Welcome to DaniWeb. Feel free to post questions. Before you do, please review [the rules](https://www.daniweb.com/community/rules). The rules are not useless boilerplate drivel. They're meant to be read and followed. | |
Re: You write a query and pass it to the database engine to execute. When you get the results back you display them. If you want more detail then you have to provide more detail. You should read through [the rules](https://www.daniweb.com/community/rules) while you are at it. Based on your question it … | |
Re: I just open two instances of Visual Studio and copy/paste controls & code between projects. | |
Re: I noticed a couple of things. First of all, you should have posted this in the thread you already statrted for this problem. Other than that: GrowthRate = 1 * (DailyPercent / 100) should be GrowthRate = 1 + (DailyPercent / 100) But even that won't work because you have … | |
Re: My preference is that if I am reading/writing enormous files I use StreamReader/Writer but if I am working with smaller files (anything under 1000 lines or so) I read/write the entire file all at once and skip the Streaming. | |
Re: At some point the people/person asking for the conversion will almost certainly come to you with a statement that begins with "As long as you are rewriting it you might as well...". This is known as scope creep. They will assume that as long as you are rewriting it will … | |
Re: You are over complicating the problem. You need three things as input 1. the number of organisms in the original population 2. the number of days to calculate growth 3. the percentage growth per day The user will likely enter the growth rate as a number from 1 to 100. … | |
Re: In MS SQL you could do a Bulk Insert. In MySql it is LOAD DATA INFILE 'C:\MyTextFile' INTO TABLE myDatabase.MyTable FIELDS TERMINATED BY ',' Should be much faster then inserting record by record. You just have to have a text file in a regular (record) format. Specify a field terminator … | |
Re: Are you using postfix or infix notation? If you are using infix then I don't see how your `plus` code will work because you can't do the calculation until you know the second operand nd you won't know that until you press a second operator (or `=`). For example, most … | |
Re: What changes have you made between when it was running fine and now? Have you checked the CPU load/memory with task manager? Have you checked for a virus/malware? Is it slow in general or just when browsing? Is yourcomputer 10 years old with little memory and are you trying to … | |
Re: For a starting languge I would recommend one of vb.net, C# or Python. I lean more towrd the first two because of a lack of a visual development environment for Python. | |
Re: You might have a look at [Perry's ID3 Tag Library](http://glassocean.net/perrys-id3-tag-library/). It's free and open source. | |
Re: That's impossible to answer meaningfully without knowing the nature of the project. | |
Re: Here's one suggestion. This example uses a form with `KeyPreview = True`. You need this in order to process the keystrokes. Public Class Form1 Private CurrBtn As Button = Nothing Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load For Each btn As Button In Me.Controls.OfType(Of Button)() AddHandler btn.Click, … | |
![]() | Re: That's hardly enough information to even begin thinking about a possible solution. |
Re: Save all of your user data to an external device first. Using the recovery partition will wipe everything. | |
Re: How about putting the controls you want to show/hide as a set into a groupbox. Then you can just make the groupbox visible or not to show/hide all of the controls in it. | |
Re: Look at [this code snippet](https://www.daniweb.com/programming/software-development/code/464769/export-listview-to-excel-spreadsheet). | |
Re: I would assume that if you don't have a blu-ray player then there is no way to convert it to any other format just like if you have a floppy disk (remember those?) but no drive to put it in you won't be able to read it. That aside, please … | |
Re: I was using current versions of FireFox & Chrome. Unless "older web browser" was referring to me ^_^ In any case I haven't had a problem since we went to the new interface. Have I mentioned how much I like it (now that I've given it a fair shake)? | |
Re: Put a breakpoint at cmd.CommandText = "SELECT FM_No FROM tbl_FailureMode WHERE MC_No= " & DMC_No.Item(i) & "" and check the value of `DMC_No.Item(i)` in either the watch or immediate windows. Note that you don't need the `""` at the end. You can just use cmd.CommandText = "SELECT FM_No FROM tbl_FailureMode … | |
Re: I think you are missing the point. If you just want to store a series (list) of strings (or numbers or whatever) you can declare a list and specify what you want it to be a list of. For example, if you want to store a list of strings you … | |
Re: As I understand it, I can add a tag when I create a thread but the creation of a tag is not mandatory. When someone posts a new vb.net question and does not create a vb.net tag then how am I to know about it when I have to select … | |
Re: For SqlCommand you can't use `?` for parameters. Replace it with `@badge` as in query = "SELECT [Surname], [OtherNames], [NRC], [DOB] " & " FROM tblEmployees " & " WHERE EmpNo =@badge" | |
Re: I will occasionally mark a thread as "answered" if it has been idle for a while and if one or more of the responses clearly satisfies the original question. | |
Re: It's actually less trouble to just show you the code than it is to chastize you for not showing any effort to solve it yourself ^_^. Dim myFiles As New List(Of String) For Each file As String In My.Computer.FileSystem.GetFiles("D:\temp") myFiles.Add(file) Next Dim rnd As New Random MsgBox(myFiles(rnd.Next(0, myFiles.Count))) What do … | |
Re: Or possibly just auto-complete? | |
Re: Starting with Build 10565, Windows 10 will display ads in the start menu. Microsoft is calling them "suggested apps" rather than ads, but ads is what they are. It is currently enabled only for those running the Windows Insider edition. Good? You decide. | |
Re: I have no comments on the design but I thought you might be interested in [My Movie API](http://mymovieapi.com/). I use it from vb.net to retrieve movie info. You might find it useful if you are currently populating the database manually. | |
Re: When you click `>_Inline Code` it inserts that text and leaves it selected so that anything you type will replace it. If you already have text selected when you click it, that text gets changed to inline code. Same as clicking `bold` or `italic`. | |
Re: I'd try this out locally but there are several undefined "things" like `Sounds`, `Difficulty`, etc. Also, there is not enough information to recreate the form, not to mention the lack of any information as to how this is all supposed to work. | |
Re: Once it's been solved you can just click on **Answered? Mark As Solved** at the top right of the screen. | |
Re: The simplest definition of a forum is "a place for discussion." If DaniWeb doesn't qualify for that then I don't know what would. | |
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 … |
The End.