September 19th, 2009 09:34 PM
I think he used some tools to create a datafile, may be in CSV or XLS format, and then have a program to read the data file, and inserting the data into the database.
September 18th, 2009 09:26 PM
Well, I understood. But, there is a problem concerning the data-file, do you use tab to seperate each value? Could you give me an example.
By they way, don't use + in concatenating string, use &...
September 18th, 2009 09:14 PM
You cannot directly write this code, because the Me.Controls returns all controls in the form (including buttons, checkboxes, listboxes), and the Button cannot simply cast as ListBox, right?...
August 29th, 2009 07:55 PM
I hope you don't mind if I rewrite the code for definition interpretation.
In the program, you should use the following approach in writing this program.
1. Load a file definition (which you have...
August 29th, 2009 07:07 PM
If you need to the file to be played from the folder that the program runs form, directly put the FILENAME then, e.g.
Dim player As New System.Media.SoundPlayer("song.wav")
In this case, the...
August 27th, 2009 08:30 PM
Have you copy this sub to the code editor
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Having...
August 27th, 2009 09:11 AM
I don't know if it is possible to modify the default pager settings in GridView, but you can manually create a pager for a GridView.
1. Override Render() function of the GridView
2. Generate the...
August 27th, 2009 08:47 AM
To make a link appeared at the column header that allows sorting on the result,
you have to put SortExpression in your TemplateColumn, like your provided code
<asp:TemplateColumn...
August 27th, 2009 07:49 AM
Umm... there is no Enabled propetry in the DataGridViewButtonCell
Why don't you try Invisible it instead?
August 27th, 2009 07:33 AM
Does your data grid view cell value return DBNull sometimes, so that you crash on the Replace function.
You can use
QryColSentDataGridView.Rows(irow).Cells(2).Value.ToString()
It's because...
August 27th, 2009 07:21 AM
What kind of sound do you want to play?
For wave *.wav, use System.Media.SoundPlayer
Dim player As New System.Media.SoundPlayer("C:\song.wav")
player.Play()
For mp3, midi, wma, etc.. you...
August 27th, 2009 07:00 AM
Hello, i have done a sample code for you.
Instructions
1. Pull a ComboBox (named ComboBox1) and a PictureBox (named PictureBox1) to the form
2. Copy the following code to the editor
3. Change...