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

Visual Basic

 
AnswerRe: Can OCX tell which DLL called it? Pin
Dave Kreskowiak18-Jan-05 3:39
mveDave Kreskowiak18-Jan-05 3:39 
GeneralDisplaying data in a datagrid Pin
Anonymous17-Jan-05 9:55
Anonymous17-Jan-05 9:55 
GeneralRe: Displaying data in a datagrid Pin
Dave Kreskowiak18-Jan-05 3:48
mveDave Kreskowiak18-Jan-05 3:48 
GeneralRe: Displaying data in a datagrid Pin
Anonymous21-Jan-05 10:47
Anonymous21-Jan-05 10:47 
QuestionHow to implement Overlay Icon? Pin
Zenly17-Jan-05 7:19
Zenly17-Jan-05 7:19 
GeneralExecute a file from application path Pin
hermitbluedog17-Jan-05 6:08
hermitbluedog17-Jan-05 6:08 
GeneralRe: Execute a file from application path Pin
Robert Rohde17-Jan-05 6:57
Robert Rohde17-Jan-05 6:57 
GeneralNeed some help Pin
marclenoir200517-Jan-05 3:42
marclenoir200517-Jan-05 3:42 
Hi guys,

I'm programming in VB6.

I'm using a SSTab and a datagrid to show some informations of a table of a sql database. The number of Tabs i can have depend of the number of records i have in the table. (example: 5 records found, so i'll set my SSTab.Tabs propertie to 5 at runtime. "Like SSTab.Tabs=5")

And the information is displayed in the datagrid. But, when i have more then 1 record, i must create the datagrid at runtime too, so that i create a datagrid control array at design time and use this code at runtime to create my datagrid :

Load MSGrid1(TabIndex)

TabIndex is a variable that contains the number of Tab of the SSTab.

My problem is : The MSGrid1 created at runtime still appear in the first tab of the SSTab.

My question is how can i create the grid at runtime and make appear in the tab i want it to appear at runtime using VB6 codes?

Sincerely yours
Marc
Generalright to left window Pin
Rizwan Bashir17-Jan-05 0:36
Rizwan Bashir17-Jan-05 0:36 
GeneralRe: right to left window Pin
Dennis C. Dietrich17-Jan-05 7:47
Dennis C. Dietrich17-Jan-05 7:47 
GeneralRe: right to left window Pin
Rizwan Bashir17-Jan-05 20:14
Rizwan Bashir17-Jan-05 20:14 
GeneralRe: Combobox in datagrid Pin
Ritesh123416-Jan-05 21:59
Ritesh123416-Jan-05 21:59 
Generallame_enc.dll Pin
victor_ba8516-Jan-05 19:41
victor_ba8516-Jan-05 19:41 
GeneralRe: lame_enc.dll Pin
Dennis C. Dietrich16-Jan-05 22:09
Dennis C. Dietrich16-Jan-05 22:09 
GeneralArray of controls Pin
Yulianto.16-Jan-05 16:18
Yulianto.16-Jan-05 16:18 
GeneralRe: Array of controls Pin
Rizwan Bashir16-Jan-05 22:17
Rizwan Bashir16-Jan-05 22:17 
GeneralRe: Array of controls Pin
Yulianto.16-Jan-05 23:27
Yulianto.16-Jan-05 23:27 
GeneralRe: Array of controls Pin
Dennis C. Dietrich17-Jan-05 7:06
Dennis C. Dietrich17-Jan-05 7:06 
GeneralRe: Array of controls Pin
Dennis C. Dietrich16-Jan-05 22:39
Dennis C. Dietrich16-Jan-05 22:39 
GeneralArray of controls Pin
Yulianto.16-Jan-05 16:06
Yulianto.16-Jan-05 16:06 
GeneralRe: Array of controls Pin
-Dr_X-20-Jan-05 14:03
-Dr_X-20-Jan-05 14:03 
GeneralProblem With Splash Screen Pin
kellydanielc16-Jan-05 13:56
kellydanielc16-Jan-05 13:56 
GeneralRe: Problem With Splash Screen Pin
Gavin Jeffrey17-Jan-05 0:43
Gavin Jeffrey17-Jan-05 0:43 
GeneralRe: Problem With Splash Screen Pin
kellydanielc17-Jan-05 0:54
kellydanielc17-Jan-05 0:54 
GeneralRe: Problem With Splash Screen Pin
Gavin Jeffrey17-Jan-05 1:10
Gavin Jeffrey17-Jan-05 1:10 

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.