EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP > EQ2Map Troubleshooting

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #22  
Unread 11-29-2007, 03:03 AM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

You might have to do something like this:

Code:
Dim RegPermission As New RegistryPermission(RegistryPermissionAccess.AllAccess, "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\EverQuest2.exe")
RegPermission.Assert()
Dim RegEQ2dir As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\EverQuest2.exe", False)
Dim PossibleEQ2dir As String = RegEQ2dir.GetValue("Path").ToString
RegPermission.RevertAssert()
But I'm not sure the syntax is perfect cause I'm used to the C languages


:edit: I would think that isn't needed if UAC is disabled and app is run as administrator but you never know..
__________________
Talyns

Last edited by Talyns : 11-29-2007 at 03:20 AM.
Reply With Quote
 



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:14 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI