Click here to Skip to main content
15,900,973 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Update database from Datagrid Pin
Alex Feature19-Nov-07 21:27
Alex Feature19-Nov-07 21:27 
GeneralRe: Update database from Datagrid Pin
matjame19-Nov-07 21:30
matjame19-Nov-07 21:30 
GeneralRe: Update database from Datagrid Pin
Vimalsoft(Pty) Ltd21-Nov-07 19:14
professionalVimalsoft(Pty) Ltd21-Nov-07 19:14 
Questionsaving into xml Pin
for120619-Nov-07 19:50
for120619-Nov-07 19:50 
AnswerRe: saving into xml Pin
Dave Kreskowiak21-Nov-07 4:58
mveDave Kreskowiak21-Nov-07 4:58 
QuestionInputbox () in Vb.net Pin
VB 8.019-Nov-07 19:30
VB 8.019-Nov-07 19:30 
AnswerRe: Inputbox () in Vb.net Pin
Johan Hakkesteegt20-Nov-07 2:21
Johan Hakkesteegt20-Nov-07 2:21 
GeneralRe: Inputbox () in Vb.net Pin
for120620-Nov-07 18:23
for120620-Nov-07 18:23 
<br />
        Dim iActiveCol As Integer = e.ColumnIndex<br />
        Dim iActiveRow As Integer = e.RowIndex<br />
        If iActiveRow = -1 Then<br />
            If TypeOf sender Is DataGridView Then<br />
                Dim sColumnName As String<br />
                sColumnName = InputBox("Enter Column Name", "ColumnName", CType(ctr, DataGridView).Columns(iActiveCol).HeaderText)<br />
                If sColumnName <> "" Then<br />
                    CType(ctr, DataGridView).Columns(iActiveCol).HeaderText = sColumnName<br />
                    CType(ctr, DataGridView).ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize<br />
                Else<br />
                    ' CType(ctr, DataGridView).Columns(iActiveCol).HeaderText = sColumnName '' Here it is erasing the text if i make it clear the text in inputbox  and cancel  . <br />
How to handle this one .<br />
                     <big>  Exit Sub</big><br />
                End If<br />
            End If <br />
        End If


Just observere the vb 6.0 adding a new tab There it is perfect how can i ge t that ??

For1206

GeneralRe: Inputbox () in Vb.net Pin
Johan Hakkesteegt20-Nov-07 20:05
Johan Hakkesteegt20-Nov-07 20:05 
QuestionSystem.InvalidOperationException: Update unable to find TableMapping['Table'] or DataTable 'Table'. Pin
Piyush Vardhan Singh19-Nov-07 19:00
Piyush Vardhan Singh19-Nov-07 19:00 
AnswerRe: System.InvalidOperationException: Update unable to find TableMapping['Table'] or DataTable 'Table'. Pin
Dave Kreskowiak20-Nov-07 6:30
mveDave Kreskowiak20-Nov-07 6:30 
Question[Message Deleted] Pin
~V~19-Nov-07 18:25
~V~19-Nov-07 18:25 
AnswerRe: Need Your Guidance Pin
Vasudevan Deepak Kumar19-Nov-07 18:33
Vasudevan Deepak Kumar19-Nov-07 18:33 
AnswerRe: Need Your Guidance Pin
deathbat20-Nov-07 12:48
deathbat20-Nov-07 12:48 
AnswerRe: Need Your Guidance Pin
Christian Graus19-Nov-07 18:34
protectorChristian Graus19-Nov-07 18:34 
AnswerRe: Need Your Guidance Pin
DaveX8619-Nov-07 18:35
DaveX8619-Nov-07 18:35 
AnswerRe: Need Your Guidance Pin
~V~19-Nov-07 18:48
~V~19-Nov-07 18:48 
AnswerRe: Need Your Guidance Pin
Alex Feature19-Nov-07 21:56
Alex Feature19-Nov-07 21:56 
GeneralRe: Need Your Guidance Pin
~V~19-Nov-07 23:54
~V~19-Nov-07 23:54 
GeneralRe: Need Your Guidance Pin
Alex Feature20-Nov-07 1:15
Alex Feature20-Nov-07 1:15 
GeneralRe: Need Your Guidance Pin
~V~20-Nov-07 1:26
~V~20-Nov-07 1:26 
GeneralRe: Need Your Guidance Pin
Alex Feature20-Nov-07 1:53
Alex Feature20-Nov-07 1:53 
AnswerRe: Need Your Guidance Pin
GuyThiebaut20-Nov-07 1:06
professionalGuyThiebaut20-Nov-07 1:06 
GeneralRe: Need Your Guidance Pin
~V~20-Nov-07 1:22
~V~20-Nov-07 1:22 
GeneralRe: Need Your Guidance Pin
GuyThiebaut20-Nov-07 2:22
professionalGuyThiebaut20-Nov-07 2:22 

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.