Click here to Skip to main content
15,901,373 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: File Mainpulation Pin
Rizwan Bashir14-May-06 23:14
Rizwan Bashir14-May-06 23:14 
Questiontrying to set value on vb.net listbox Pin
gooseman11214-May-06 9:43
gooseman11214-May-06 9:43 
AnswerRe: trying to set value on vb.net listbox Pin
Rizwan Bashir14-May-06 23:13
Rizwan Bashir14-May-06 23:13 
GeneralRe: trying to set value on vb.net listbox Pin
gooseman11215-May-06 6:59
gooseman11215-May-06 6:59 
AnswerRe: trying to set value on vb.net listbox Pin
_mubashir14-May-06 23:16
_mubashir14-May-06 23:16 
QuestionProgramatically set focus to another tab Pin
penguin500014-May-06 4:17
penguin500014-May-06 4:17 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick14-May-06 7:41
Joshua Quick14-May-06 7:41 
GeneralRe: Programatically set focus to another tab Pin
penguin500014-May-06 9:52
penguin500014-May-06 9:52 
Thanks for this.
It seems to work fine if that particular form (with the department tab) is open already.
What I'm doing, from the menu item, is ....

Dim frmCompany As New Form CompanyDetails
frmCompany.ShowDialog()

How would I send your line of code at the same time as showing the dialog so that when the dialog opens, it opens on the Department tab?

-- modified at 16:32 Sunday 14th May, 2006

Hi - I just worked it out ....

Dim frmCompany As New Form CompanyDetails
frmCompany.TabControl1.SelectedIndex = 1
frmCompany.ShowDialog()

Smile | :)
GeneralRe: Programatically set focus to another tab Pin
_mubashir14-May-06 22:57
_mubashir14-May-06 22:57 
GeneralRe: Programatically set focus to another tab Pin
Joshua Quick15-May-06 6:30
Joshua Quick15-May-06 6:30 
GeneralRe: Programatically set focus to another tab Pin
penguin500016-May-06 8:24
penguin500016-May-06 8:24 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick16-May-06 12:18
Joshua Quick16-May-06 12:18 
QuestionRe: Programatically set focus to another tab Pin
penguin500018-May-06 10:05
penguin500018-May-06 10:05 
AnswerRe: Programatically set focus to another tab Pin
Joshua Quick18-May-06 16:08
Joshua Quick18-May-06 16:08 
GeneralRe: Programatically set focus to another tab Pin
penguin500018-May-06 20:11
penguin500018-May-06 20:11 
QuestionOpen Excel File Pin
shereem khaleel14-May-06 3:53
shereem khaleel14-May-06 3:53 
Questioncreate dsn runtime for sql server Pin
vipinpaliwal198014-May-06 1:20
vipinpaliwal198014-May-06 1:20 
AnswerRe: create dsn runtime for sql server Pin
Dave Kreskowiak14-May-06 5:15
mveDave Kreskowiak14-May-06 5:15 
GeneralRe: create dsn runtime for sql server Pin
vipinpaliwal198014-May-06 19:51
vipinpaliwal198014-May-06 19:51 
Questionusing javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 0:30
gooseman11214-May-06 0:30 
AnswerRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 3:09
CWIZO14-May-06 3:09 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 3:39
gooseman11214-May-06 3:39 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 3:41
CWIZO14-May-06 3:41 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
gooseman11214-May-06 3:59
gooseman11214-May-06 3:59 
GeneralRe: using javascript to set properties on a dynamic vb.net control Pin
CWIZO14-May-06 4:04
CWIZO14-May-06 4:04 

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.