458 Posted Topics
Re: Check out XmlSerializer to see if it meets your needs. See [this post](https://www.daniweb.com/software-development/csharp/threads/491994/linq-to-xml) for how to use it. | |
Re: If you're creating a new "child" form each time, it isn't necessary to use a property, data can be passed using a constructor. Public Class Form2 Private _studentId As Integer Public Sub New(ByVal studentId As Integer) _studentId = studentId End Sub End Class Use a property if you are creating … | |
Re: "table" is a reserved word. I don't recommend using reserved words as column names, even if permitted by surrounding it with "[]". Check all of your column names to see if they are reserved words for the database that you are using. | |
Re: What is contained in "reader.Start()"? | |
Re: You didn't attach the XML document. | |
Re: Start by breaking the problem down. 1. Define a structure named "Ticket"--How do you define a structure in C++? 2. How do you define data items for/in a structure? Define the following: -name of the carnival -total amount of tickets -price per ticket -total tickets sold -total sales 3. What … | |
Re: You can use the following utility from Sysinternals: [CoreInfo](https://technet.microsoft.com/en-us/sysinternals/cc835722) *Dump information on system CPU and memory topology* **Resource:** [How To Check If Your Processor Supports PAE, NX And SSE2 For Windows 8 Installation](http://www.technize.net/how-to-check-if-your-processor-supports-pae-nx-and-sse2-for-windows-8-installation/) | |
Re: The documentation I saw says that longblob is stored as byte strings. Executescalar returns a single value.Look at this one http://www.dhirajranka.com/2011/05/image-to-database-and-from-database-to-picturebox-control-c/ | |
Re: You might get more response if you post in the VB .NET forum. Use [parameterized queries](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) | |
Re: It is probably a bad hard drive as @rubberman stated. However, not all diagnostic tools will necessarily find the issue--even the HP ones. I've had the best luck using Acronis True image. Try to make an image and if the hdd has bad sectors it will error out. I believe … | |
Re: Looking at the [documentation for parted](http://www.gnu.org/software/parted/manual/html_chapter/parted_2.html), I don't see that "-l" is an option. The following article may be of use: [What's the best way to get info about currently unmounted drives?](http://serverfault.com/questions/190685/whats-the-best-way-to-get-info-about-currently-unmounted-drives) Instead of using "parted -l" in the above, type `parted print` or `fdisk -l` (or sfdisk -l). [Linux … | |
Re: Is this a laptop or desktop? What is the brand and model number? Are you getting a blue error screen? The following may be of use: [How to resolve automatic restarts problem when Windows 7 experiences an error (Easy Fix Article - Written by MVP)](https://support.microsoft.com/kb/2621246/en-us) *"...It is recommended that you … | |
Re: "People don't care how much you know until they know how much you care." -- Zig Ziglar | |
Re: Where did you get the information regarding number of handles from? | |
Re: What happens when you do the following? System.out.println(9/5); You get 1. 32 x 1 = 32. What you need to do is: System.out.println(9.0/5.0); You get 1.8. When debugging computations that aren't working out, you can put the values into variables, print them out, do your computation and then print out … | |
Re: Have you looked at: [File.ReadAllText](http://msdn.microsoft.com/en-us/library/system.io.file.readalltext(v=vs.110).aspx) and [File.WriteAllText](http://msdn.microsoft.com/en-us/library/system.io.file.writealltext(v=vs.110).aspx) | |
Re: Create a List as ddanbe stated. Then create a sort method that sorts the list based on the field that you want to use to sort it. The code below sorts by ConferenceDate, then ParticipantType, then by Participant. **Conference.vb** Public Class Conference Public Participant As String Public ParticipantType As String … | |
Re: Go to [Intel website](http://www.intel.com) and search for "slb9u". [SLB9U specs](http://ark.intel.com/products/spec/SLB9U) Looking at "Sockets supported", one sees "LGA775". Look for motherboards that have "LGA775" processor socket. Other things that you may need to change include: -Memory (see what memory motherboard supports) -Power Supply (check power requirements of motherboard) -Case (depends on … | |
Re: The information you've supplied is too general. If you want help, I suggest you be more specific. I don't believe that DSN's are used very widely anymore. It is preferrable to use DSNless connections. Additionally, you don't say what operating system you are using or the architecture (32-bit or 64-bit). … | |
Re: @Reverend Jim: What if a last name contains a space? http://public.wsu.edu/~brians/errors/multipart.html | |
Re: The following would be a close translation: Dim fn As String = "C:\MyTextFile.txt" Dim sr As New StreamReader(fn) Dim LineFromFile As String = Nothing Dim textRowNo As Integer = 0 Dim arrival As String = Nothing Dim status As String = Nothing '... While Not sr.EndOfStream textRowNo += 1 LineFromFile … | |
Re: Use the recovery disks that came with the computer and then repeat the upgrade. | |
Re: How are you measuring these speeds? | |
Re: http://msdn.microsoft.com/en-us/library/ms184412(v=vs.110).aspx Look at naming guidelines | |
Re: You really should put your folder in %ProgramData% (or in one of the other Windows folders designated for user data). | |
Re: The problem is that *"An item with the same key has already been added."* Every key is not unique in the data that you provided, because you use two dictionaries. I recommend against using "key" and "value" as your variable names, especially when you choose to use the following in … | |
Re: I think that you are going about this the wrong way. Why are you set in using Notepad to view your file? Have you considered using Wordpad (or Word) to view it? They will display the file correctly if the lines are terminated with CR (or VbCr). **Note:** You can … | |
Re: It would be easier to understand what you are trying to do if you post screen shots from the program. As an alternative, you could create tables in Word/Wordpad that represent the two datagridviews and post those-describing what you desire to accomplish. | |
Re: [Click Here](http://www.daniweb.com/software-development/csharp/threads/472827/bring-value-from-popup-window-to-parent-window-c-listview#post2065454) to see a post I made using a datagridview. My second post from the end uses a datagridview. It will help get you started. It also shows how to pass data from one form to another (when used with the other classes I posted there). | |
Re: What operating system? Is this an in-house program or a publically available program? If publically available, what is it called? If in-house, please post a screen shot. The following may be of use: [SendInput function](http://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx) [keybd_event function](http://msdn.microsoft.com/en-us/library/windows/desktop/ms646304(v=vs.85).aspx) **Note:** This function has been superseded. It is recommended to use SendInput instead. … | |
Re: You might have better luck if you explain what the data is for. Do you want to break the string into 2-character hex strings and convert those to binary? If so, From the original post: 242465313037382c303134353637... Splitting the string into 2-character pieces would be: 24 24 65 31 30 37 … | |
Re: [SQL Server connection strings](http://www.connectionstrings.com/sql-server/) In addition, searching for one or more of the following should be helpful: SqlConnection, SqlCommand, DataTable, DataSet. | |
Re: Your power adapter is probably not working. Try using a different power adapter. | |
Re: Post the file "orange.csv". What is the range of numbers that is acceptable? | |
Re: No need to repeat statements that are exactly the same. Just move them outside the if statements. Also, you don't need to use "&&", just order them from high numbers to low numbers (ex: 3999, 2999, 1999, 999, -1). Why remove the "\" only to add it back in. Additionally, … | |
Re: Get rid of the second "=" sign. Also your declarations don't match. You have 3 commas, then only 2 commas (and dimensions) in the intialization. The following should work: int [,] a = new int [3,4] { {2,3,4,5}, {34,56,25,67}, {22,44,55,77} }; | |
Re: Copying files in the foreground could make your application unresponsive. When running in the background, be aware that updating progress too frequently will have a performance impact on your operation. If only showing a progress bar, you may consider not updating every iteration, but rather every few iterations. For i … | |
Re: You could create an additional table, called "NewUsers". Create a trigger that populates this table when a record is added (Alternatively, rather than using a trigger, your application could create an entry in "NewUsers" table when it adds a new user to the employee table.) You probably want to create … | |
Re: The answer may depend on where you are trying to get the data from. Web browser? Java applet? Word? etc... | |
Re: See the following for more connection string options. http://www.connectionstrings.com/excel/ I think Jet 4.0 driver only exists in 32-bit. https://www.connectionstrings.com/using-jet-in-64-bit-environments/ | |
Re: Here are a few things that you can try: First of all it is necessary to check the data type definitions for both VB6 and VB .NET: [VB6 Data Types](http://msdn.microsoft.com/en-us/library/aa263420(v=vs.60).aspx) [VB .NET Data Types](http://msdn.microsoft.com/en-us/library/47zceaw7.aspx) One thing to note is that in VB6 a Long is 4 bytes. In VB .NET … | |
Re: What brand/model of computer? Did you check the manufacturer's website for technical specs? | |
Re: Here are a few ideas: **Ensure that "Don't allow connections to this computer" is not selected (on workstation)** **Open "System Properties"** * Win-logo-key + R (or in Charms, select "Select Apps", type "run") * type: "control.exe sysdm.cpl" Then: * Select "Remote" tab * Change/verify settings for "Remote Desktop" If you … | |
Re: Store info in a text file or XML file. If you don't want the user to change the info, encrypt it. Add option to re-generate default file (system admin info) in case it gets corrupted. | |
Re: You haven't posted enough of your code. "File in use" errors are a result of a file being open, and trying to modify it when it has a lock on it. Therefore, you need to post the code that opens and uses the file. | |
Re: If you are going check the last character of a string, you could convert to binary and then just check for "0" or "1". public static String isOddOrEven(int num) { String binaryStr = Integer.toBinaryString(num); if (binaryStr.charAt(binaryStr.length() - 1) == '0') { return "even"; } else { return "odd"; } } … | |
Re: It is difficult to say why your program doesn't run, without knowing anything about your program. It is best to contact the developer. If you are the developer, provide more info about your program. | |
Re: [Here](http://bobobobo.wordpress.com/2008/01/28/how-to-use-variable-argument-lists-va_list/) is a post that may be useful. |
The End.