Visual Basic Error - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 01-09-2008, 08:49 PM   #1 (permalink)
Mr Beans Sidekick
 
Join Date: Apr 2006
Location: Canada
Posts: 563
Send a message via MSN to Max Power
Default Visual Basic Error

Ok i just installed VB Express 08 and when I try and create a new project I get this error??

Requested registry access is not allowed
__________________

__________________
Max Power is offline  
Old 01-09-2008, 09:16 PM   #2 (permalink)
Call me Mak or K
Mod Emeritus
 
KSoD's Avatar
 
Join Date: Sep 2004
Location: C:\
Posts: 35,647
Default Re: Visual Basic Error

Are you running Vista?
__________________

__________________
I do not accept support questions via EMail, PM, IM or my G+ page!

Phone: LG Optimus G Pro
Running: Stock JB from LG with Nova Launcher

KSoD is offline  
Old 01-09-2008, 10:40 PM   #3 (permalink)
Mr Beans Sidekick
 
Join Date: Apr 2006
Location: Canada
Posts: 563
Send a message via MSN to Max Power
Default Re: Visual Basic Error

Yes, vista x64.. i take it thats a problem
__________________
Max Power is offline  
Old 01-10-2008, 02:17 AM   #4 (permalink)
Call me Mak or K
Mod Emeritus
 
KSoD's Avatar
 
Join Date: Sep 2004
Location: C:\
Posts: 35,647
Default Re: Visual Basic Error

Try right clicking on the executable or shortcut of the application and use the Run as Administrator. See if that works.
__________________
I do not accept support questions via EMail, PM, IM or my G+ page!

Phone: LG Optimus G Pro
Running: Stock JB from LG with Nova Launcher

KSoD is offline  
Old 01-20-2008, 12:12 PM   #5 (permalink)
Mr Beans Sidekick
 
Join Date: Apr 2006
Location: Canada
Posts: 563
Send a message via MSN to Max Power
Default Re: Visual Basic Error

nay that didn't work , same error
__________________
Max Power is offline  
Old 01-20-2008, 12:20 PM   #6 (permalink)
Call me Mak or K
Mod Emeritus
 
KSoD's Avatar
 
Join Date: Sep 2004
Location: C:\
Posts: 35,647
Default Re: Visual Basic Error

Is this the Beta or did VB08 get released finally? If it is the Beta it might be a known bug. If not then your best bet is to try the M$ sites.

You may experience performance issues in the IDE after you use Visual Studio 2008 to build a Visual Basic project

That is like the closest thing i have found.
__________________
I do not accept support questions via EMail, PM, IM or my G+ page!

Phone: LG Optimus G Pro
Running: Stock JB from LG with Nova Launcher

KSoD is offline  
Old 01-20-2008, 12:44 PM   #7 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default Re: Visual Basic Error

Had the same problem, it's a problem with the permissions in the registry. Basically, Administrator doesn't have access to the key required by VS. Solution:

!! CLOSE VISUAL STUDIO FIRST !!

Step 1: Download subinacl.msi from the link
http://go.microsoft.com/fwlink/?LinkId=23418 and install it.

Step 2: Browse to C:/Program Files/Windows Resource Kits/Tools/ and create a file called vs2008fix.txt

Step 3: Open the file you created, and inside copy-paste:



Code Block
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f



Step 4: Save the file and change the file extension to ".cmd". Then Start > Run. Type "cmd" (without the quotes) and type:

cd C:/Program Files/Windows Resource Kits/Tools

Step 5: Press Enter. Then type:

vs2008fix.cmd

Step 6: Wait until it completes, then start Visual Studio again. You should be able to create project/files of any type.
__________________
Osiris is offline  
Old 01-20-2008, 10:42 PM   #8 (permalink)
Mr Beans Sidekick
 
Join Date: Apr 2006
Location: Canada
Posts: 563
Send a message via MSN to Max Power
Default Re: Visual Basic Error

I have

Program files
Program file (x86)

I only have Windows Resource Kit folder in (x86) and so I made that file and made it .cmd in there and went to the right area in the cmd but I get this msg

vs2008fix.cmd is not recognized as an internal or external command, operable program or batch file.
__________________
Max Power is offline  
Old 01-23-2008, 04:07 PM   #9 (permalink)
Mr Beans Sidekick
 
Join Date: Apr 2006
Location: Canada
Posts: 563
Send a message via MSN to Max Power
Default Re: Visual Basic Error

any ideas on that ^
__________________
Max Power is offline  
Old 01-23-2008, 05:34 PM   #10 (permalink)
Call me Mak or K
Mod Emeritus
 
KSoD's Avatar
 
Join Date: Sep 2004
Location: C:\
Posts: 35,647
Default Re: Visual Basic Error

Have you right clicked on it and used the Run as Admin utility?

If nothing else you will have to go to the VB Site.

Visual Basic Troubleshooting and Support

They will be of more service than many people here who probably don tuse VB.
__________________

__________________
I do not accept support questions via EMail, PM, IM or my G+ page!

Phone: LG Optimus G Pro
Running: Stock JB from LG with Nova Launcher

KSoD is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Visual Studio express. TuNiX Programming 2 10-03-2007 08:47 AM
Total noob wants to learn VB snypercore Programming 8 08-15-2007 11:40 AM
Create a new line on visual basic text box Mike9182 Programming 4 08-12-2007 06:35 PM
Visual Basic & FineReader 8.0. Help ! Johnny888 Programming 1 05-29-2007 07:55 PM
quick and easiest way to learn visual basic.net? maxima2k2 Programming 2 05-22-2007 08:46 AM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:41 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.