CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: chkmos

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,062

    Re: Code Enhancement

    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.
  2. Replies
    4
    Views
    1,062

    Re: Code Enhancement

    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 &...
  3. Replies
    4
    Views
    899

    Re: Loop not catching all values

    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?...
  4. Replies
    1
    Views
    6,003

    Re: Get values from listarray VB NET 2008

    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...
  5. Replies
    5
    Views
    2,120

    Re: playing sounds...

    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...
  6. Replies
    4
    Views
    904

    Re: help with picture box

    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...
  7. Replies
    1
    Views
    2,771

    Re: gridview paging format Problem

    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...
  8. Replies
    1
    Views
    3,252

    Re: Sorting Template Columns in a Datagrid

    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...
  9. Replies
    1
    Views
    3,437

    Re: How to gray out DataGridViewButtonCell?

    Umm... there is no Enabled propetry in the DataGridViewButtonCell
    Why don't you try Invisible it instead?
  10. Replies
    3
    Views
    1,003

    Re: Conversion error

    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...
  11. Replies
    5
    Views
    2,120

    Re: playing sounds...

    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...
  12. Replies
    4
    Views
    904

    Re: help with picture box

    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...
Results 1 to 12 of 12





Click Here to Expand Forum to Full Width

Featured