Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Aug 6, 1997

Load a VB4 Form in VB3

You cannot load a VB4 form in VB3 directly. You must modify the form definition. When you open a VB4 form, the file will resemble the example:

 
VERSION 4.00
Begin VB.Form Form1 
        Caption =       "Form1"
        ClientHeight    =       5940
        '
        '
End
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Option Explicit




Change the VERSION 4.0 statement to VERSION 2.0. Remove all the postfix "VB." from the form which you can see in the Begin VB.Form Form1 statement. Remove all the Attribute declarations. Save the form and load it in VB3.

Saji Varghese
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date