PDA

View Full Version : VB autoload file question


Octopulse
01-24-2004, 08:07 AM
MSDN help says...

"Note: Before you can use an MSFlexGrid in your application, you must add the MSFlxGrd.ocx file to your project. To automatically include the file in your project, put it in the Autoload file."

so just what is this autoload file?, Ive looked in my vb books, in MSDN help its only mentioned twice as above, I did a web search which only brought me back to the MSDN help, and I know it was never mentioned back in school.

autoload file, what is it?, and where is it?

JesusCyborg
01-24-2004, 09:00 AM
what version of vb do you use?

Octopulse
01-24-2004, 11:44 AM
I have VB6.0, Ive since heard that this is a procedure with versions prior to VB5/VB6, ??, I now think my problem stemmed elsewhere, I should have mentioned my error message earlier but i thought it was an issue with the autoload file

Im getting a run-time error 91.. object variable or with block variable not set

on this line of code....

Set MSFlexGrid1.DataSource = rstAxisCodes

rstAxisCodes works fine with my datagrid control, now i wanna try the msflexgrid control with the same recordset

Ive already checked the msflexgrid control in the Components menu, and I have the msflxgrd.ocx file in my windows\system32 folder

do I need to do anything else different with the msflexgrid as opposed to the datagrid control, anything other than what ive already mentioned?

this is something simple im sure, just outside my newbie thinking

Thanks,
Brad