Advertisement

02.21.2008 at 10:10PM PST, ID: 23183669
[x]
Attachment Details

How to view a form during run time using a variable as form name

Asked by Gururagguru in Visual Basic Programming, VB Objects

Tags: Microsoft, VB6, vb6 - back end SQL

Hi,
VB6 - SQL
I am populating a treeview in vb6 form - from a <usermenu> table in SQL which has the menus authorized for use by a user.
This works well.
In the same table I have the form name for each menu. On selection (of the node in the tree menu), I
can see the form name. But i am not able to open the form.

eg. the form name populated as a variable is say MyformName (populated from the sql usermenu table)

How do I  .load or .view the form using this variable.

Regards

GStart Free Trial
[+][-]02.22.2008 at 01:14AM PST, ID: 20955646

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.22.2008 at 01:16AM PST, ID: 20955657

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, VB Objects
Tags: Microsoft, VB6, vb6 - back end SQL
Sign Up Now!
Solution Provided By: advfinance
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628