What are the features in Visual Studio that might cause issues when running a project on Windows Xp.
I am writing a project. Well almost done, works perfectly fine on Windows 7. With Windows Xp, it just doesn't run most of my codes. I'm kinda lost, I don't know what is causing the issue.
I am using Visual Studio 2010.
okay, right now this part of the code is throwing errors on xp even after installing .net 4.
Public Shared Function GetProcessorId() As String
Dim strProcessorId As String = ""
Dim query As New SelectQuery("Win32_processor")
Dim search As New ManagementObjectSearcher(query)
Dim info As ManagementObject
For Each info In search.Get()
strProcessorId = info("processorId").ToString()
Next
Return strProcessorId
End Function
There has been a new development.
I found out that only one form is creating the problem for me.
That form includes two dll files. After adding them to the reference ( it was already added ), i checked if the dll files are present in the release folder, they are, I still got the same error. I know I'm wrong somewhere here. Would appreciate a lot if you guys can help me out.
The Error Message on loading the form:
" Retrieving the COM class factory for component with CLSID {CF4CC405-E2C5-4DDD-B3CE-5E7582D8C9FA} failed due to following error: 80040154 class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). "