Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Using Visual Basic with Windows 2000

Status
Not open for further replies.

Bachenot

Programmer
Mar 6, 2000
28
US
I recently replaced Windows 98 with Windows 2000 on my computer.<br><br>When I try to run a VB program with an Active X component,<br>I get the following Visual Basic error message:<br><br>System Error &H80004015(-2147467243). The class is configured to run as a security id different from the caller.<br><br>It appears that I need to configure Windows 2000 security in a different way.<br><br>Has anyone a solution to this problem?
 
Was the component registered correctly ?? <p> <br><a href=mailto: > </a><br><a href= > </a><br>
 
I looked more closely and found that all Visual Basic programs with ActiveX DLL's give me this error. For example, the Visual Basic project associated with the article entitled --Get Accurate Results with Code-Based Timers-- in the April 2000 issue of VBPJ gives me this result because this project has an ActiveX DLL.<br><br>I believe that the solution is to find a way for myself --as the sole user-- to be able to use these ActiveX DLL's using Windows 2000.
 
I don't have Windows 2000, but this looks like a problem I've seen in NT4.0.&nbsp;&nbsp;Try this:<br>run dcomcnfg.exe<br>find the ActiveX DLL in the list (use the name, not the GUID)<br>click&nbsp;&nbsp;the properties button, and change the settings for launching to the interactive user.<br><br> <p>nick bulka<br><a href=mailto:nick@bulka.com>nick@bulka.com</a><br><a href= > </a><br>
 
It wouldnt hurt to dual-boot between win98 and win2k, unless you have a really small harddrive.<br>(just a tiny tip for the OS aspect of it) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top