What Pillars Should Be Used To Determine Machine OS Compatibility
Jul 4, 2011
What minimum pillars of a machine (in terms of specifications) can be used to determine its compatibility with an OS? My software currently calculates processor speed, RAM, Hardrive space and graphics card version to determine a PC's compatibility with a specified OS. What other specs would you recommend?
I've started to use a Vista machine for development. In case it is significant: I'm using MSBee so that I can code in the Visual Studio 2005 IDE while still building against the 1.1 framework.On the Vista machine, when I tried to build a particular vb project, I got this error:
error BC30464: Namespace or type'Compatibility' in the project-level Imports 'Microsoft.VisualBasic.Compatibility' cannot be found.
The same project built fine on my old XP machine. I checked in this folder on my Vista machine:
C:windowsmicrosoft.netFrameworkv1.1.4322
...and sure enough, "Microsoft.VisualBasic.Compatibility.dll" was missing. So was "Microsoft.VisualBasic.Compatibility.Data.dll". Copying them from my XP machine to my Vista machine allowed me to build the project successfully.I'm just a bit puzzled as to why this happened. Why was "Microsoft.VisualBasic.Compatibility.dll" missing? I'm also not very comfortable with my chosen solution - copying the DLL manually. It works, but surely there must be a better way.
We're trying to write code to obtained all the logged on users to a remote machine.
We have the following, which only seems to identify users if they are logged in locally. However, if they're logged in through some other means (such as remote desktop), it doesn't seem to pick those users up.
How can we obtain all the users logged into a machine while excluding those users who only have a process running but aren't logged in (eg, a service is installed by them and might be currently running under their name)?
Dim WMIObject As String = "winmgmts://" & strComputerName.Text & "/root/cimv2" Dim oComputerQuery As Object 'Contains a sorted list of every user logged into the system
I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.
I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads
I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....
I havnt found any info on this, probably because I expect there is no real way to do it... but does anyone know if there is a way to run an ActiveX control in 'copatibility mode' or some sort ov virtualization WITHIN a .net app?
We have a legacy control that does not work in Vista (and up) If we set the whole app to WinXP SP2 compatibility mode, the control seems to work well enough.
I would like to be able to rig it so we don't need to manually set that on every system.
My next step is to start looking if we can just set the compatibility through install, or the app itself.
Am I still able to develop programs in Visual Basic 6 that will run easily under Windows 7? If no then must I convert to VB.NET? Are there other strategies?
Imports System.Data.OleDb Public Class Form2 Dim Conn As OleDbConnection [code]...
this is my codes in vb?I am thinking what is the error in this code?because everytime I execute this There is an error appearing in this part OleA.Fill (DSSearch, 0) it says that "No value given for one or more required parameters." so, what should i need to do?
I have a small application I wrote in VB with visual studio express. This app uses a timer tick to wait for a certin time, the opens several comm ports, reads data, creates an output string, an sends the string via email. I tested this app for several days on a windows 7 32 bit machine, with no problems. I compiled (published) the program, and am attempting to run it on a windows 7 64 bit machine. However, on the 64 bit machine, it freezes up and can only be stopped with Task Manager.
at the time the app hangs the only things going on are 1. a timer checking to see if it's time to read the comm ports. and 2. a background thread checkig to see if the internet is available to email the string.
I tried ;loading visual studio on the 64 bit machine, and compiling the app there, with the same result. However it seems to run (tested for 1 hour) in debug on the 64 bit machine.
I have an Excel file endowed with a macro written under Office-2007.This file can be opened by Excel-2003, but the macro can't run because 2007-objects can't be recognized.My question is: does it exist a library or some trick to allow the macro running under Office-2003?
I have . VB.NET DLL that I have made COM visible and it works fine.However, I've now added another class which I also want to expose to COM but I am now getting an erro when I build it:
Quote:
Error1The assembly {...} could not be converted to a type library. Type library exporter encountered an error while processing 'TOPSMileageLookup.JobMileage, TOPSMileageLookup'. Error: Type 'JobMileage' and type 'Job' both have the same UUID.
JobMileage is the name of the original class I had that is COM visible and it worked fine when it was on it's own. Job is the name of the new class.Now, the obvious suspician is that I have copied over my COM GUID's but I can assure you that they are most certainly different. But what else could it be?
I have several executable files that make up a full .NET application. One of the .net applications downloads a new version of the software, exits the main application, makes file changes directly inside of the c:program filesmy application area directly. I install this application using Installaware and it is code signed and verified with godaddy, so it gets around the antivirus programs. This has been running for a long time, and I never put too much thought into what security levels are allowed to directly access the files in this area, because it always seemed to worked perfectly in Win7, Vista and XP.
Now I have created a virtual machine, one inside Windows, and then one inside Parallels on a Mac. In these two virtual machines, the executable file that installs a new version of the software only works properly if I choose the two options on the compatibility tab in Windows, "Run this program as an administrator" and "Run this program in compatibility mode for Windows 7". Now I have found this article: [URL]. This even let me set up my registry settings in the set up of my program so that one specific exe will just run properly. I am concerned about just patching something this way.
With Visual Studio running in the virtual machines, the code executes perfectly. When I run the executable that I JUST COMPILED from Visual Studio, that executable will only run properly with the choices stated above, or more specifically, this registry setting: "c:\program files\onespot\onespotinstall.exe"="WIN7RTM RUNASADMIN"
The exact same PC that has been mirrored onto these virtual machines works fine. It has been impossible to troubleshoot where the problem lies. The line of code that gets executed to EXIT the main program finds the process, and does a gentle shut down. That works fine. Even testing inside that application works fine. But I never can get a return from the Process.Start line. Narrowing down to a line of code is not working.
I have built a web setup project using VS 2008, wherein I need to check whether IIS 6.0 Metabase compatibility is installed. I tried it by accessing registry keys specifed in here in custom actions. But when I run the installer, I the key comes out to be blank irrespective of whether metabase compatibility is installed.
To further check the problem, I created a Console app to access the same keys. When I run it on win7, the app fails. Then, I ran it in WinXP SP3 compatibility mode and it ran perfectly.
I am open to other bullet-proof means of detecting whether IIS 6.0 Metabase compatibility is installed
I'm working together with someone on a project, but I'm writing code in VB.Net, and hes coding in VC++. I'm trying to get some kind of compatability going on, so I'm putting my support classes into a VB dll. I've tested it a little, and it seems that all of the functions work, but the operator overloading that I did in VB doesnt seem to carry over to C++.
Anyone using Crystal reports 2011 with VB.Net 2008 Pro? my work is willing to buy this but I just want to make sure it will work, the dynamic as opposed to static query values is what interests me about it.
I've made a program which runs smoothly on XP and also on Windows 7.But after installing it on a windows 7 machine, windows 7 immediatly shows another dialog box of the program compatibility assistent stating:(translating from Dutch, so forgive any mis-translations )
'This program may not have been installed correctly.If this program is not correctly installed, you can try to reinstall the program with compatible configuration of this version of windows.'You than have the option to reinstall the program with the advised compatible settings (?) or choose 'this program is correctly installed'.
If you choose 'reinstall with adviced compatible settings', windows 7 installs the program with 'windows XP, SP2' settings.My program uses only an access database and an internet connetion. Nothing fancy, exotic, registry items or something else.
For writing permission on the database (also win.7), I install the program in 'all users/app data', and not in 'Program Files'. I can't find anything usefull on google,
I have made an application with VS2010, meaning it requires .NET framework 4 to run properly.If the program is ran on a machine with .NET framework 3.5, it returns an error stating I should install 4.
I'm using VB.NET but any other known language should be fine as long as it uses basic features. My task is to create astrological compatibility chart, when two users have certain astrological sign as inputs and there is a text about those signs compatibility. for those who are unaware of astrological signs but still want to help, there are 12 signs. Each sign has different compatibility with other sign or itself. So basically i get into 12^2-12 conditions. ie. Aries with Cancer "do not match at all" so I can save one record of that issue as backwards it is the same (thus -12 at the end). Question is simple is there any other way to create this except of using 12^2-12 case issues...
I'm automating some outlook functionality in a .NET app. It works great. I am compiling it and using v 12.0.0.0 of the Outlook Interop assembly. My code should work on any version of Outlook so it seems silly to have to bind it to a specific version. Is it possible to use reflection to do this instead of compiling a reference? Are the interop assemblies on PC's by default that have Office installed anyway or do I need to include them with my application?
Using either VB.NET, C#, or VBScript, how can I check if the IIS 6 Management Compatibility feature and its subfeatures have been installed on a machine running IIS 7.x?
I have an application that browses through Excel-files, changes color in some cells if they are in a wrong format etc.When my application is saving the changed file I get this alert about compatibility issues that can occur, and this alertbox has to be agreed or cancelled to move on to the next file.
How can I disable this compatibility check programmatically? Or is there any way to ensure there are only Excel 2003 compatible colors in the document before saving?
I have a VB.NET executable program that I've been running nightly as a Windows Scheduled Task on a Windows Server 2003 machine. I have the source code, and it was compiled using VS 2005. Now I want to run it on a Windows Server 2008 R2 machine. If I try to "open" it from Windows Explorer, I get "The version of this file is not compatible with the version of Windows you are running." It is in Program Files(x86), so doesn't the OS know to run it as a 32-bit application? Do I have to load this in VS2008 and recompile it there as a 64-bit app? But all my old VB6 and VBScript scheduled tasks are running fine, why is the OS only complaining about this program?
I am working on an ASP.NET project where I use VB.NET within Visual Studio 2010. Some of the other developers on the project are using Visual Studio 2008. We all check our code into single SVN repository. I would like to start using Auto-Implemented Properties within VB.NET ...
Property FirstName as String instead of ... Private FirstName as String
[code].....
My concern is that this could mess up things for those using VS2008. What would happen if someone using VS2008 needed to modify my class that made use of Auto-Implemented Properties? I am assuming that since everything compiles down to IL code then there would be no issue in binary compatibility. Though a problem would arise when editing source.