Visual Basic 6.0 translation

Sunday, May 26, 2013

Visual Basic Online Course - Controls move slowley on Win7-32, 64

Visual Basic 6 for Windows 7

VB6 on Win7
VB6 on Win7
Problem :
When Working with Visual Basic 6.0 on Win7-32 or Win7-64, the controls [TextBox, Labels, CommandButton ..... etc] placed on the vb 6.0 Form [VB6 IDE]  move slowly.
Solution :
Go to Visual Basic 6.0 main path (Microsoft Visual Studio on Main Partition), commonly is : C:\Program Files\Microsoft Visual Studio\VB98\
Locate VB6.exe and Right-Click on it. Make sure you have the full privileges (Computer Administrator), choose Properties
Visual Basic 6.0 on Windows 7 Problems
VB6 Controls move slowly on Win7
Navigate to Compatibility section, and mark / activate the option (Run this program in compatibility mode for:) and then from the drop-down menu choose Windows XP (Service Pack3), also below in the settings section mark / activate the option Disable desktop composition.
Visual Basic 6.0 Controls move slow on Win7
Click OK and test your Visual Basic 6.0 IDE, place some controls on a VB6 Form, try to move those controls, you notice that the controls are no longer move slowly. Also, make sure you are Win7 computer admin before applying these options.
Thank you for reading

Please watch the video if there is anything you did not understand .

Win7-32bit and Win7-64bit problem with Visual Basic 6.0. The controls move slow motion on the IDE Form.
Possible pop up message by Windows 7 :
Visual Basic 6.0 on Windows 7
 The color schema has been changed to Windows 7 Basic
A running program isn't compatible with certain visual elements of Windows. Click here for more information.
Nothing to worry about here, the popped up message with close and Visual Basic 6.0 will work fine, and then when you exit Visual Basic 6.0 on Window7, the color schema will return to the default as before without any problems.

Problem :
Run-time error '70':
Permission denied
Causes : An attempt was made to write to a write-protected disk or to access a locked file. This error has the following causes and solutions: Solution for WinXP :
(C) You tried to open a write-protected file for sequential Output or Append. (S) Open the file for Input or change the write-protection attribute of the file.
(C) You tried to open a file on a disk that is write-protected for sequential Output or Append. (S) Remove the write-protection device from the disk or open the file for Input.
(C) You tried to write to a file that another process locked. (S) Wait to open the file until the other process releases it. 
(C) You attempted to access the registry, but your user permissions don't include this type of registry access. (S) On a 32-bit Microsoft Windows systems, a user must have the correct permissions for access to the system registry. Change your permissions or have them changed by the system administrator, as for Win7, see solution below ...
Solution for Win7 :
Set Windows7 UAC [User Account Control] to [No Notifications] or just configureVB6.exe security for the Win7 current user to Full Control.

Visual Basic Online Course

vb6 (63) Application Development (45) Visual Basic Online Course (45) Online Visual Basic Course (44) Visual Basic Help (44) Visual Basic Programming (42) IT Jobs (39) VB6 developer (38) Visual Basic Course (38) Visual Basic 6.0 (26) Microsoft Visual Basic 6.0 (25) VB6.0 (24) Visual Basic Programmers (24) vb 6.0 (24) visual basic programming tutorial (19) Third lesson (16) Source code download for Visual Basic 6.0 (14) Source code for Visual Basic 6.0 (10) visual basic tutorial (9) Visual Basic 6 (5) Visual Basic Courses (5) Lesson 3 (4) VB 0.6 - TreeView control (4) VB 0.6 With TreeView Control (4) VB6 Course (3) Create ActiveX (2) How to automate MS-Access from Visual Basic 6.0 (2) Add controls at runtime (1) Back up your Database (1) Change ActiveX icon (1) Change screen resolution (1) Create FTP (1) Crystal Reports 4.6 (1) Crystl32.ocx could not be loaded (1) DataGrid Columns re-size (1) Date Calculation (1) DateAdd Function (1) DateDiff function (1) FTP (1) Marquee Title Bar (1) Marquee VB 6.0 TitleBar (1) Method 'Action' of object 'CrystalCtrl' Failed (1) Microsoft Access with Visual Basic 6.0 (1) OpenSchema method (1) Save File Using CommonDilog (1) Track Database path (1) VB 0.6 - Registry (1) VB 0.6 With Registry Editor (1) VB 6.0 Access (1) VB 6.0 OOP (1) VB6 Access2003 ADO Like % (1) VB6 Add Date (1) VB6 Add Time (1) VB6 Date calculation (1) VB6 Subtract Date (1) Visual Basic Remote (1) Win7 (1) Windows7 (1) ms access networking details (1) remote Visual Basic DB (1) rounded and transparent forms (1) vb 0.6 style (1) vb 6.0 Remote Database (1)