Microsoft KB Archive/230396

{|
 * width="100%"|

BUG: Design Option in Pop-up Menu Data View Window Not Available

 * }

Q230396

-

The information in this article applies to:


 * Microsoft Windows NT Server versions 4.0, 4.0 SP5, 4.0 SP4
 * Microsoft Windows NT Workstation versions 4.0, 4.0 SP5, 4.0 SP4
 * Microsoft Visual Basic Professional Edition for Windows, version 6.0
 * Microsoft Visual Basic Enterprise Edition for Windows, version 6.0

-

SYMPTOMS
If you use a Windows NT 4.0 computer and are not a member of the administrators group, you will not get the Design option in the pop-up menu for a table when you right-click on on the table in the Data View Window of Microsoft Visual Basic 6.0.

NOTE: This bug does not occur on Windows 2000 machines.

CAUSE
The Visual Basic IDE is incorrectly determining that the Design option should not be shown unless you belong to the administrators group.

RESOLUTION
The following are some possible workarounds:


 * Make all users that require this functionality, a member of the administrators group for that Windows NT computer.
 * Use Visual Interdev 6.0 which has the same Data View functionality and does allow the Design option to appear without requiring it to be a member of the administrators group.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Steps to Reproduce Behavior

 * 1) Log onto Windows NT 4.0 computer with an administrator level account and start Visual Basic 6.0.
 * 2) From the View menu, select the Data View Window.
 * 3) Right-click on the Data Links Folder node and select Add a Data Link.
 * 4) Create a Data Link using the Wizard Dialog box. If you can, create the link using the "sa" account.
 * 5) Once the Data Link has been added, expand the new Data Link's tree to expose its tables and right-click on a table.
 * 6) You will notice the Design option in the pop-up menu.
 * 7) Close Visual Basic and log off, then log on as another user who is not an administrator of the computer.
 * 8) Attempt steps 4 and 5. You will no longer see the Design option.
 * 9) Add this user to the administrators group and retry steps 4 and 5. The Design option will now be available.

Additional query words:

Keywords : kbide kbOSWinNT400 kbVBp600bug kbIDEProject kbGrpDSVB

Issue type : kbbug

Technology : kbWinNTsearch kbWinNTWsearch kbWinNTW400 kbWinNTW400search kbWinNT400xsearch kbWinNTW400sp5 kbWinNTW400sp4 kbWinNTSsearch kbWinNTS400sp5 kbWinNTS400sp4 kbWinNTS400xsearch kbWinNTS400 kbVBSearch kbAudDeveloper kbZNotKeyword6 kbZNotKeyword2 kbVB600Search kbVB600