User Profile

Collapse

Profile Sidebar

Collapse
Beagley
Beagley
Last Activity: Aug 7 '08, 08:51 PM
Joined: Mar 3 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Beagley
    started a topic Overwriting Byte Arrays from DataGridView

    Overwriting Byte Arrays from DataGridView

    This error occurs when chaning the "Badge Number" field of my database, the program is taking the photo of the record that is being changed and copies it to the NEXT record in the DataGridView overwriting the photo for that particular person.

    If anyone has any kind of knowledge of working with DataGrids I would appreciate some help. Here are the pieces of code that are executed when I get the overwrite bug....
    ...
    See more | Go to post

  • Beagley
    started a topic .HitTestInfo Class

    .HitTestInfo Class

    I'm trying to give a context menu to my user when they right click on a particular row in my datagrid. I created two functions that pass back the indicies for the row and column. The following code is located in the Mouse_Clicked event point for the datagrid itself. When I right click the first time everything works perfetly, but the next time I right click the context menu comes up but nothing else gets updated. If I left click on the datagrid...
    See more | Go to post

  • Turned out to be a very simple fix...

    Code:
    Dim Group As DataGridViewSelectedRowCollection = Me.dgridContractors.SelectedRows
            For Each Badge As DataGridViewRow In Group
    ...
    See more | Go to post

    Leave a comment:


  • Need advice on looping through selected rows for printing

    I'm trying to give my user the ability to print multiple personell badges with one swoop. I can select multiple rows from my DataGridView object, but am having trouble looping through those rows to print my data. Here is the code that I currently have that does not work...


    Code:
    For Each group As DataGridViewSelectedRowCollection In Me.dgridContractors.SelectedRows
                For Each row As DataGridViewRow In group
    ...
    See more | Go to post

  • Beagley
    started a topic Question about the DateTimePicker object

    Question about the DateTimePicker object

    I'm writing some software that keeps track of issue dates and expiration dates. When a user adds a new record to my database I have code that defaults them to these values. Here is the code that does this......

    Code:
    Issue_DateDateTimePicker.Value() = Date.Now()
    
    If IsDate(DateAdd(DateInterval.Year, 1, Date.Now)) Then
                Expiration_DateDateTimePicker.Value = DateAdd(DateInterval.Year, 1, Date.Now)
    Else
    ...
    See more | Go to post
No activity results to display
Show More
Working...