![]() TeamViewerPath = regKeyW7.GetValue("InstallationDirectory", AccessibleDescription) TeamViewerPath = regKeyWXP.GetValue("InstallationDirectory", AccessibleDescription) RegKeyWXP = ("SOFTWARE\TeamViewer\Version7", True) RegKeyW7 = ("SOFTWARE\Wow6432Node\TeamViewer\Version7", True) How could i make this work for Windows XP 32 Bit and Windows 7 32 Bit.ĮDIT : Wrote the following code and it works, it is probably not the best or cleanest way but it does the trick. It works perfect, it will get the correct path where teamviewer is installed, but this is only working for 64 bit Windows 7. TeamViewerPath = regKey.GetValue("InstallationDirectory", AccessibleDescription) RegKey = ("SOFTWARE\Wow6432Node\TeamViewer\Version7", True) I thought i could use the registry to get the path, so i wrote this code. There is only one issue, how can i get the path where teamviewer is installed. People can select there name and click connect, the teamviewer app will start with the correct parameters and a teamviewer session is started. In my application people can connect to a remote computer with the use of teamviewer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |