- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 122
- Posts with Upvotes
- 107
- Upvoting Members
- 73
- Downvotes Received
- 9
- Posts with Downvotes
- 9
- Downvoting Members
- 6
458 Posted Topics
Re: I recommend using some useful names so it is easier to follow your code. Use something like "height", "startWeight", "endWeight" instead of "t1", "t2", "t3". I suggest that you use the following form of the for loop: double startWeight = 60; double endWeight = 125; double weight = startWeight; for … | |
Re: Store all of the menu names that will require access permissions in a table. **Create table: Menu** Column: name (PK) or Column: id (PK) Column: name **Create table: Group** Column: name (PK) Column: menuPermissions (PK); FK references Menu.name **Create table: UserPermission** Column: id (PK); FK references User.id Column: groupName (PK); … | |
Re: If this only happens when using under battery power, it could be a bug in the video driver, the video chip, or a bug in the OS. You may consider opening a case with HP, although there may be a fee involved. You can download the latest Intel video driver … | |
Re: Check [this site](https://www.ghielectronics.com/technologies/gadgeteer) out. | |
Re: Just change the delimiter. [code] Scanner in = new Scanner(System.in); in.useDelimiter("\n"); [/code] | |
Re: Reading URL: [Click Here](http://docs.oracle.com/javase/tutorial/networking/urls/readingURL.html) Reading and writing to URL: [Click Here](http://docs.oracle.com/javase/tutorial/networking/urls/readingWriting.html) Programmatically click a web page button [Click Here](http://stackoverflow.com/questions/16589417/programmatically-click-a-webpage-button) Selenium video tutorials: [Click Here](http://qtpselenium.com/selenium-tutorial/selenium-training-java-part-1/) | |
Re: There doesn't seem to be a mechanism for changing the question (such as a button). As is, it always loads the first question from the table in the database `dt.Rows(0)...`. To change the question, change '0' to another row number. A basic way to do this is to use two … | |
Re: After line 126, add the following (for troubleshooting purposes): string msg = string.Empty; msg += "x: " + x.ToString() + System.Environment.NewLine; msg += "y: " + y.ToString() + System.Environment.NewLine; msg += "SHOT: " + SHOT.ToString() + System.Environment.NewLine; msg += "GOALIE: " + GOALIE.ToString() + System.Environment.NewLine; msg += "picPlay Length is … | |
Re: Try adding the following: `this.webBrowser1.ScriptErrorsSuppressed = true;` | |
Re: Have you considered using an int array of size 10 and initializing each element to 0? Index 0 would keep track of the number of times the number 0 occurs. Index 1 would keep track of the number of times the number 1 occurs...etc. Break what you are trying to … | |
Re: First of all, I'd re-install the OEM drivers from the manufacturer's website. Then you could try the following: [How to Fix Slow USB 3.0 Problems in Windows 8.1](http://wind8apps.com/windows-8-1-usb-3-0/) Article references [MS Windows USB Core Team Blog](http://blogs.msdn.com/b/usbcoreblog/archive/2013/11/01/help-after-installing-windows-8-1-my-usb-drive-disappears-or-file-transfers-stop-unexpectedly-r-a-post-title.aspx) which shows some images for the steps described in the article. To get latest … | |
Re: In "Main.cpp", line 63 should be `cout << "Number inserted:" << num << endl;` In "Main.cpp", there are multiple problems with "ProcessMenu". * No "do" for the while statement * `case1` should be `case 1` (you need a space between the word "case" and the number 1) * In "ShowMenu" … | |
Re: It's been a while since I've written anything in Perl, but one way of doing it would be to use two arrays--storing all of the "rsId" values in one array and all of the "buildId" values in the other array. Then print all of the "rsId" values separated by a … | |
Re: There is an interface for creating databases. If using the Express version: * Click "View" (in menu) * Select "Object Explorer" * Click the "+" sign next to your database instance (or double-click your database instance name) * Click the "+" sign next to "Databases" to expand Databases (or double-click … | |
Re: What do you mean by "internal port for the mini usb detatched from the board"? What is the model number of the broken drive? | |
The Community Center Chat window keeps appearing (opening) after I close it which is rather annoying. | |
Re: What code did you use to create the XML file? | |
Re: [Do I need to dispose/close XDocument.Load(string)?](http://stackoverflow.com/questions/3680288/do-i-need-to-dispose-close-xdocument-loadstring) *"No, you don't - it doesn't even implement IDisposable. The XDocument and XElement classes use XmlReader under the covers and handle the disposing of the underlying reader for you."* [Using Statement (Visual Basic)](https://msdn.microsoft.com/en-us/library/htd05whh.aspx) *"...Managed resources are disposed of by the .NET Framework garbage collector … | |
Re: There is a tutorial on how to use BackgroundWorker here: [How to use BackGroundWorker to Create Threads](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) It is for VB .NET, but can easily be converted. | |
Re: You prompt the user for the number of courses taken (numcourses), but don't use that information. Instead you hardcoded a value of "3". Look at every place you've placed a "3" and ask yourself if perhaps that value should be replaced by "numcourses". Also, what is the purpose of a … | |
Re: Have you tried adding `txtStatus.Refresh();` after `txtStatus.Text += ...`? | |
Re: Please post your code for "Form1.cs". It looks like it should contain an instance of "VEntradas" and something that sets the value of "entradas" for the instance. example code in Form1.cs: VEntradas myVEntradas = new VEntradas(); myVEntradas.entradas = "Armazem"; myVentradas.ShowDialog(); Also, if you aren't going to set an initial value … | |
I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is my first tutorial and is a bit long because I wanted to make it … | |
Re: An instance constructor is used to create an instance of a class. In C# it isn't necessary to create a default constructor that is empty. What do I mean by "a default constructor that is empty"? Let's look at some of the code from above: class MyCalculations { public MyCalculations() … | |
Re: If you are using IE11, add code for IE 11. Case 11 If IgnoreIDocDirective Then value = 11001 Else value = 11000 End If | |
Re: Have you considered using a database? Are you trying to store all of the objects into a single file? How many records (entries) do you anticipate having for each object? | |
Re: Do something like this is only appropriate in a business setting on computers the business owns and only when this has been specified as a requirement. Whereas, only allowing a single instance of an application to run is appropriate on any computer. | |
Re: Are there any beep codes? Since you've replaced parts it may or may not be the same issue, but rather giving similar symptoms. Double check that you properly connected the wires from the case to the mb--check the diagram in the mb documentation. Ensure the processor is properly seated. Ensure … | |
Re: See the tutorial [How to pass data between two forms in VB .NET](https://www.daniweb.com/software-development/vbnet/tutorials/475628/how-to-pass-data-between-two-forms-in-vb-net) | |
Re: Maybe next week's lesson from your professor is how to fix it? You might try researching the following: -WinPE -bcdedit -bootrec | |
Re: Here are 3 methods that each accomplish this: **getFolderNameGD** ([System.IO.Directory.GetDirectories](https://msdn.microsoft.com/en-us/library/ms143314(v=vs.100).aspx)) - version 1: Public Function getFolderNameGD(ByVal fullyQualifiedFolderName As String, ByVal searchPattern As String) 'return directory that matches searchPattern For Each fqDirName As String In System.IO.Directory.GetDirectories(fullyQualifiedFolderName, searchPattern, System.IO.SearchOption.TopDirectoryOnly) Return fqDirName Next Return String.Empty End Function **getFolderNameGDI** ([System.IO.DirectoryInfo](https://msdn.microsoft.com/en-us/library/ms143325(v=vs.110).aspx)) - version 2: Public … | |
Re: It is probably the "." you have between "EqualsIgnoreCase" and "(" | |
Re: Have you checked the volume shadow copy settings? -Click Start -Select Control Panel (view by: small icons) -Click System -Click System Protection (left menu) -Click System Protection tab -Click Configure button -Under "Disk Space Usage", look at Current Usage | |
Re: Duplicate post: [embedded http server : An existing connection was forcibly closed by the re](https://www.daniweb.com/software-development/csharp/threads/493603/embedded-http-server-an-existing-connection-was-forcibly-closed-by-the-re) | |
Re: http://stackoverflow.com/questions/12270816/datetime-format-issue-in-vb-net-with-ms-access-database-when-using-sql-statement You should use: CurrentDate=Format(TrDate, "yyyy/MM/dd hh:mm:ss tt") Access needs an unambiguous date. | |
Re: This assumes that you already created a form and added a ListView named "ListView1" to it. First you'll want to add a System.Windows.Forms.Timer to your form. **Open Solution Explorer:** In VS menu strip, do the following: -Click "View" -Select "Solution Explorer" In solution explorer, double-click your form (ex: Form1.vb) **Add … | |
Re: How is "Chart1" defined? What is it's data type? | |
Re: The following has been tested with a text file. public enum OutputGrouping : int { Group1AsciiCodeNewLineSeparated, //12 - 1 ASCII code per line Group1AsciiCodeSpaceSeparated, //12 - 1 ASCII code, then a space Group2AsciiCodesNewLineSeparated, //1234 - group of 2 ASCII codes per line Group4AsciiCodesNewLineSeparated, //12345678 - group of 4 ASCII codes … | |
Re: When you say "handwritten", do you mean "hard coded"? If it contains a " - " after the number, read all directory names using one of the methods in System.IO.DirectoryInfo. To extract the property number, use stringVariableName.Substring(0, stringVariableName.IndexOf ("-") - 2). | |
Re: Found the following, which may be of use: [Toshiba black screen won't start](http://en.kioskea.net/forum/affich-535794-toshiba-black-screen-won-t-start) *..."This is WORKED FOR ME!--->I turned off my computer than unplugged cable and took out battery, held down power button for 1-2mins and than put everything back in (battery and charger) and tried to start it...the screen … | |
Re: At a minimum, it should probably include passenger name, passenger weight, and luggage weight. Additionally, you might include address, phone number, and customer id. I don't know how many people would be honest about their weight though or be willing to step on a scale in public. Also, are you … | |
Re: It sounds like the Windows message that occurs during long running tasks. This occurs because you are executing the long running task on the main thread. The long running operation can occur for multiple reasons. One reason is because it takes that long to complete. Another reason could be resource … | |
Re: What is the part number for your Nanya memory? Here's a [Kingston KVR1333D3N9K2/8G](http://ec.kingston.com/ecom/configurator_new/partsinfo_disc.asp?root=us&LinkBack=lmhaomhlms&ktcpartno=KVR1333D3N9K2/8G) listing for your computer. It appears to be discontinued, but replaced by [Kingston KVR13N9S8K2/8](http://shop.kingston.com/partsinfo.aspx?ktcpartno=KVR13N9S8K2/8) Also, this [Corsair CMV8GX3M2A1333C9](http://www.corsair.com/en-us/corsair-memory-8gb-dual-channel-ddr3-memory-kit-cmv8gx3m2a1333c9) memory may work. | |
Re: For passing back information (data) through the use of events, see the following tutorial: [How to pass data between two forms in C#](https://www.daniweb.com/software-development/csharp/tutorials/476685/how-to-pass-data-between-two-forms-in-c) | |
Re: After looking over your post ["Stopped Working" during routine](https://www.daniweb.com/software-development/vbnet/threads/492271/stopped-working-during-routine) I did some testing on the file that you posted there "20150228.txt". It appears that the symbol that you happened to see in Notepad, is actually a form feed (ASCII code 12 or 0C). If using "ReadAllLines", one of the things … | |
Re: How are you currently reading/"importing" the XML files? Perhaps you can post one or two of the XML files as well. | |
Re: Also search for "data structures" or "data structures and algorithms". Here's a url that showed up: https://www.cs.auckland.ac.nz/~jmor159/PLDS210/searching.html | |
Re: Have you rebooted both the computer (that's connected to the printer and the one printing to the printer) and the printer? Btw, it isn't a good idea to pull paper from the printer when it's turned on. | |
Re: If you need to append to a text file, there are many examples on the web of how to do it. Search the following using your favorite search engine: *vb.net append to text file* | |
![]() | Re: I haven't used Linq, but if you know how to use Linq with a List, then you should be able to use the following--it uses XmlSerializer. I see a discrepancy in what you posted above. There would be no need to do *where GroupName="Name"* if the file only contained one … ![]() |
The End.