Problems with Visual Basic in Vista
If you are coding in Visual Basic in Windows Vista then you are in for big trouble. Apart from those thousands of bizzarre error messages that you get in Vista you might face lot of other problems. For example the other day I got this "Could not contact the Microsoft Distributed Transaction Coordinator". After googling (new term for searching the net :)) for some time I came to know that the "Distributed Transaction Coordinator" service should be running. So had to start that service (Run prompt ->type services.msc ->find the service with same name). Although this has got nothing to do with Windows Vista as such but now the problem that it gave was "permission denied error". This is where I ran the VB.exe executable as administrator (Find VB.exe in program files right click on it and select "Run as administrator") and opened the project. Now the project opened without any problems. Actually every time you run Visual Basic its better to run as administrator.
Update: If any references/components are missing, restart your vb as admin.
0 Comments:
Post a Comment
<< Home