Click here to Skip to main content
15,887,214 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Pause application Pin
Eddy Vluggen17-Mar-09 1:06
professionalEddy Vluggen17-Mar-09 1:06 
GeneralRe: Pause application Pin
Colin Angus Mackay17-Mar-09 3:15
Colin Angus Mackay17-Mar-09 3:15 
GeneralRe: Pause application Pin
Eddy Vluggen17-Mar-09 4:05
professionalEddy Vluggen17-Mar-09 4:05 
GeneralRe: Pause application Pin
Dave Kreskowiak18-Mar-09 5:43
mveDave Kreskowiak18-Mar-09 5:43 
GeneralRe: Pause application Pin
Eddy Vluggen18-Mar-09 6:06
professionalEddy Vluggen18-Mar-09 6:06 
AnswerRe: Pause application Pin
Jay Royall17-Mar-09 3:23
Jay Royall17-Mar-09 3:23 
QuestionVB.net datagridview with a HyperLinkColumn that doesnt work Pin
AndyWhite00717-Mar-09 0:13
AndyWhite00717-Mar-09 0:13 
AnswerRe: VB.net datagridview with a HyperLinkColumn that doesnt work Pin
Dave Kreskowiak19-Mar-09 8:14
mveDave Kreskowiak19-Mar-09 8:14 
OK, this is some really ugly code. I'd recommend using a collection of some kind to hold your data rather than trying to put the data directly into the DGV yourself.

First, you're LinkColumn definition is completely screwed up. It should look something like:
Dim newWebColumn = New DataGridViewLinkColumn
With newWebColumn
    ' This is the column name in the datatable or
    ' the property name in the collection that this
    ' column will get it's data from.
    .DataPropertyName = "ProductURL"
    .AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells
    .HeaderText = "Web Address"
    .ActiveLinkColor = Color.White
    .LinkBehavior = LinkBehavior.SystemDefault
    .LinkColor = Color.Blue
    .Trackvisitedstate = True
    .VisitedLinkColor = Color.YellowGreen
    .Resizable = DataGridViewTriState.True
    .ValueType = GetType(String)
End With
columns.Add(newWebColumn)



A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




Questionhow to create a data report Pin
akosidandan16-Mar-09 23:57
akosidandan16-Mar-09 23:57 
AnswerRe: how to create a data report Pin
Eddy Vluggen17-Mar-09 0:03
professionalEddy Vluggen17-Mar-09 0:03 
AnswerRe: how to create a data report Pin
Steven J Jowett17-Mar-09 0:04
Steven J Jowett17-Mar-09 0:04 
QuestionRe: how to create a data report Pin
akosidandan17-Mar-09 1:43
akosidandan17-Mar-09 1:43 
AnswerRe: how to create a data report Pin
Steven J Jowett17-Mar-09 2:01
Steven J Jowett17-Mar-09 2:01 
QuestionRe: how to create a data report Pin
akosidandan17-Mar-09 2:15
akosidandan17-Mar-09 2:15 
AnswerRe: how to create a data report Pin
Anubhava Dimri17-Mar-09 19:10
Anubhava Dimri17-Mar-09 19:10 
Questioncannot get the value Pin
zaimah16-Mar-09 22:51
zaimah16-Mar-09 22:51 
AnswerRe: cannot get the value Pin
Christian Graus16-Mar-09 22:57
protectorChristian Graus16-Mar-09 22:57 
QuestionRe: cannot get the value Pin
zaimah17-Mar-09 17:35
zaimah17-Mar-09 17:35 
AnswerRe: cannot get the value Pin
Rupesh Kumar Swami16-Mar-09 23:19
Rupesh Kumar Swami16-Mar-09 23:19 
QuestionCustom properties Pin
udikantz16-Mar-09 22:08
udikantz16-Mar-09 22:08 
AnswerRe: Custom properties Pin
Dave Kreskowiak18-Mar-09 7:02
mveDave Kreskowiak18-Mar-09 7:02 
Questionfor each Pin
moonshaddow16-Mar-09 18:55
moonshaddow16-Mar-09 18:55 
AnswerRe: for each Pin
Christian Graus16-Mar-09 19:00
protectorChristian Graus16-Mar-09 19:00 
GeneralRe: for each Pin
moonshaddow16-Mar-09 19:04
moonshaddow16-Mar-09 19:04 
GeneralRe: for each Pin
Christian Graus16-Mar-09 19:12
protectorChristian Graus16-Mar-09 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.