458 Posted Topics

Member Avatar for mdev

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.

Member Avatar for cgeier
0
374
Member Avatar for ihthishaam

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 …

Member Avatar for djjeavons
0
726
Member Avatar for kenilshahindia

"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.

Member Avatar for cgeier
0
437
Member Avatar for littlerockit
Member Avatar for win_1
Member Avatar for ifra.raja.1

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 …

Member Avatar for Shining_1
0
145
Member Avatar for BegginerLance
Member Avatar for BegginerLance
0
154
Member Avatar for muhammad_74

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/)

Member Avatar for cgeier
0
2K
Member Avatar for vgxp

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/

Member Avatar for Mr.M
0
2K
Member Avatar for jez9

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)

Member Avatar for jez9
0
385
Member Avatar for bikunj

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 …

Member Avatar for johnruelle
0
438
Member Avatar for fiddler80

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 …

Member Avatar for fiddler80
0
336
Member Avatar for novellaz

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 …

Member Avatar for cgeier
0
118
Member Avatar for Jack_11

"People don't care how much you know until they know how much you care." -- Zig Ziglar

Member Avatar for <M/>
0
672
Member Avatar for Username87
Member Avatar for cgeier
0
260
Member Avatar for Ryan_14

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 …

Member Avatar for JamesCherrill
0
203
Member Avatar for Jack_11

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)

Member Avatar for cgeier
0
144
Member Avatar for muzingayemduduzi.ncube
Member Avatar for nikiki

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 …

Member Avatar for Jack_11
0
211
Member Avatar for Tawhid_1

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 …

Member Avatar for normanw40
0
213
Member Avatar for sergio_pb

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). …

Member Avatar for cgeier
0
153
Member Avatar for Pompy

@Reverend Jim: What if a last name contains a space? http://public.wsu.edu/~brians/errors/multipart.html

Member Avatar for Reverend Jim
0
155
Member Avatar for Papa_Don

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 …

Member Avatar for Reverend Jim
0
9K
Member Avatar for Palebushman
Member Avatar for Palebushman
0
704
Member Avatar for Garidius
Member Avatar for Papa_Don
Member Avatar for Nutster
0
1K
Member Avatar for Papa_Don

You really should put your folder in %ProgramData% (or in one of the other Windows folders designated for user data).

Member Avatar for cgeier
0
432
Member Avatar for JOLO528

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 …

Member Avatar for cgeier
0
232
Member Avatar for Papa_Don

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 …

Member Avatar for Papa_Don
0
671
Member Avatar for Taufique111

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.

Member Avatar for Taufique111
0
311
Member Avatar for Taufique111

[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).

Member Avatar for Taufique111
0
116
Member Avatar for rfresh

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. …

Member Avatar for rfresh
0
159
Member Avatar for ezekel

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 …

Member Avatar for cgeier
0
840
Member Avatar for Alxprog

[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.

Member Avatar for deceptikon
0
312
Member Avatar for alasuad
Member Avatar for cgeier
0
146
Member Avatar for GoneGirl
Member Avatar for GoneGirl
0
622
Member Avatar for Khan2014

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, …

Member Avatar for Khan2014
0
157
Member Avatar for aluhnev

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} };

Member Avatar for aluhnev
0
162
Member Avatar for paul1145

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 …

Member Avatar for xrjf
0
332
Member Avatar for ahmedsa

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 …

Member Avatar for cgeier
0
184
Member Avatar for Papa_Don

The answer may depend on where you are trying to get the data from. Web browser? Java applet? Word? etc...

Member Avatar for cgeier
0
3K
Member Avatar for xuexue

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/

Member Avatar for J.C. SolvoTerra
0
396
Member Avatar for amvx86

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 …

Member Avatar for amvx86
0
352
Member Avatar for mouaadable

What brand/model of computer? Did you check the manufacturer's website for technical specs?

Member Avatar for RobertHDD
0
3K
Member Avatar for Dani

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 …

Member Avatar for jonmaekle
0
2K
Member Avatar for EclipticalD

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.

Member Avatar for Santanu.Das
0
147
Member Avatar for VUEKID

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.

Member Avatar for Santanu.Das
0
551
Member Avatar for vivekH

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"; } } …

Member Avatar for vivekH
0
277
Member Avatar for singhneeraj421

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.

Member Avatar for cuzintone
0
269
Member Avatar for mridul.ahuja

[Here](http://bobobobo.wordpress.com/2008/01/28/how-to-use-variable-argument-lists-va_list/) is a post that may be useful.

Member Avatar for cgeier
0
129

The End.