Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
This is really a VB question..need help
Message
De
04/09/1999 19:32:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
This is really a VB question..need help
Divers
Thread ID:
00261564
Message ID:
00261564
Vues:
51
Hello,
I posted this message on the VB thread but seem to get a better response from the Foxpro side.

Can someone help me here? I've looked at all the documentation I could find for the last 5 hours and can't find the answer to what I believe is a simple solution. I'm getting an "Invalid use of property" message.
I have a variable called FirstForm that contains the name of a form that I've obtained from a database. I want to load this form as the default form in my app. My code is:

Dim firstform as form
firstform = rs!dbdefaultscreen
Set frmmy = new firstform
frmmy.show

I have the following code in my Declarations Section of the .BAS:

public Type Newform
firstform as form
end type

The contents of Firstform are correct, however, VB is not interpreting the Value.

IN Foxpro I would use something like &firstform to evaluate the contents of the variable.
Is there anything like this in VB? Help Please!
Thanks in advance!
If at first you don't succeed......SET STEP ON!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform