Click here to Skip to main content
15,914,795 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Why is that property AutoCompleteCustomSource of a TextBox wont work when you set its property as multiline?? Pin
Dave Kreskowiak7-Sep-07 2:10
mveDave Kreskowiak7-Sep-07 2:10 
QuestionMicrosoft.Office.Core troubles Pin
frankiebaby26-Sep-07 16:57
frankiebaby26-Sep-07 16:57 
AnswerRe: Microsoft.Office.Core troubles Pin
Dave Kreskowiak7-Sep-07 2:12
mveDave Kreskowiak7-Sep-07 2:12 
GeneralRe: Microsoft.Office.Core troubles Pin
frankiebaby210-Sep-07 12:19
frankiebaby210-Sep-07 12:19 
QuestionRead binary file header and data array in VB 2005 Pin
Dave_66-Sep-07 13:30
Dave_66-Sep-07 13:30 
AnswerRe: Read binary file header and data array in VB 2005 Pin
Dave Kreskowiak7-Sep-07 5:16
mveDave Kreskowiak7-Sep-07 5:16 
QuestionSelecting a row in a datagrid and displaying the correspondin fields in textboxes, listboxes? Pin
Mr Oizo6-Sep-07 10:16
Mr Oizo6-Sep-07 10:16 
AnswerRe: Selecting a row in a datagrid and displaying the correspondin fields in textboxes, listboxes? Pin
Smokeywade6-Sep-07 11:22
Smokeywade6-Sep-07 11:22 
if your using a datagrid you could do something like:

private datagrid1_click(Byval.......)handles datagrid1.click<br />
'When user clicks row in grid display column info in textbox<br />
<br />
textbox1.text = datgrid1.item(datagrid1.currentrowindex, column#) & ""<br />
<br />
end sub<br />
<br />
Private textbox1_textchanged(Byval......)handles textbox1.changed<br />
'Probably will need this to handle null values in for all columns that dont like null values...use if needed<br />
<br />
if datagrid1.item(datagrid1.currentrowindex, column# is system.dbnull.value then<br />
textbox1.text = ""<br />
else<br />
'call your store procedure - or whatever your using - nested if statement will be good to use if have multiple columns that dont like nulls<br />
end if


If you dont like typing you can user datagrid1.item(columnrow#, column#)



Thank You

QuestionHide Child Form ControlBox,Form Pic,Min,Max Pin
P.T.R.K6-Sep-07 8:33
P.T.R.K6-Sep-07 8:33 
AnswerRe: Hide Child Form ControlBox,Form Pic,Min,Max Pin
Lucky Sheikh6-Sep-07 20:05
Lucky Sheikh6-Sep-07 20:05 
QuestionWinform Nested Datagrids - Question Pin
Smokeywade6-Sep-07 8:23
Smokeywade6-Sep-07 8:23 
AnswerRe: Winform Nested Datagrids - Question Pin
Lucky Sheikh6-Sep-07 20:08
Lucky Sheikh6-Sep-07 20:08 
GeneralRe: Winform Nested Datagrids - Question [modified] Pin
Smokeywade7-Sep-07 2:18
Smokeywade7-Sep-07 2:18 
QuestionIssue with Image, PictureBox, AutoRedraw. Paint Brush Application In Vb 2005 Pin
nishkarsh_k6-Sep-07 7:49
nishkarsh_k6-Sep-07 7:49 
AnswerRe: Issue with Image, PictureBox, AutoRedraw. Paint Brush Application In Vb 2005 Pin
Luc Pattyn6-Sep-07 8:06
sitebuilderLuc Pattyn6-Sep-07 8:06 
GeneralRe: Issue with Image, PictureBox, AutoRedraw. Paint Brush Application In Vb 2005 Pin
nishkarsh_k8-Sep-07 9:38
nishkarsh_k8-Sep-07 9:38 
GeneralRe: Issue with Image, PictureBox, AutoRedraw. Paint Brush Application In Vb 2005 Pin
Luc Pattyn8-Sep-07 11:01
sitebuilderLuc Pattyn8-Sep-07 11:01 
QuestionHow to create a window handle. Pin
RJGCarey6-Sep-07 7:36
RJGCarey6-Sep-07 7:36 
AnswerRe: How to create a window handle. Pin
Dave Kreskowiak6-Sep-07 7:43
mveDave Kreskowiak6-Sep-07 7:43 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 8:04
RJGCarey6-Sep-07 8:04 
GeneralRe: How to create a window handle. Pin
Luc Pattyn6-Sep-07 8:10
sitebuilderLuc Pattyn6-Sep-07 8:10 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 9:44
RJGCarey6-Sep-07 9:44 
GeneralRe: How to create a window handle. Pin
Luc Pattyn6-Sep-07 9:53
sitebuilderLuc Pattyn6-Sep-07 9:53 
GeneralRe: How to create a window handle. Pin
RJGCarey6-Sep-07 11:46
RJGCarey6-Sep-07 11:46 
QuestionHow to call a procidure requiring arguments with new thread Pin
Amer Rehman6-Sep-07 6:50
Amer Rehman6-Sep-07 6:50 

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.