As far as creating a form (from VFP), in VB you DIM a new object as an existing form:
for example:
* Save a base form in your project named NewForm (think of it as a base class form in VFP)
In Code:
Sub Main()
Dim Form1 as NewForm
Set Form1 = New NewForm
Form1.Show
End Sub
You can also add controls to forms at runtime, similar to VFP. The end result is the same, the paths
are entirely different..
>Hello,
> I am doing a project in VB 6.0. In that I want to create
>a temp cursor for storing some data. Is there any method in
>VB for creating temp table(not a physical table)i.e. I want
>to create a table in memory like cursor as we create in
>VFP using Create Cursor method.
> Another I want to create a form using Create Form method.
>But, I don't want to create any instance of the existing form
>Istead of that I want to create a new form using the above
>method.
> Is it possible ? ? ? Any ideas then pls. tell me.
>
>Thanx in advance
>Amol.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement