Windows Version Detection?
Jan 4, 2011I am developing my project in VB.net. I want to get information of W7/vistHow can i detect them. My code is working properly with Windows Xp but not with PlateForm ID 6 versions
View 1 RepliesI am developing my project in VB.net. I want to get information of W7/vistHow can i detect them. My code is working properly with Windows Xp but not with PlateForm ID 6 versions
View 1 RepliesIn order to send out emergency alerts in our organization, I created a windows service that checks a web service (WCF) to see if an emergency alert is pending. If there is a pending alert the windows service then runs a windows form application (exe) to display the alert message. Now my problem......These services are running on a windows 7 machine. When the exe for the alert message runs, it pops up a message stating.
View 4 RepliesHow they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?
And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?
BTW I am using VB if that makes any difference.
Is there any method using VB.NET API to detect Win Edition (e.g. Home/Professional/...)I tried the sample i found here How can I determine the Windows version from a VB 6 app?, but osv.OSVSize = Len(osv) gets me an error in VB2010Espress: Variable 'osv' is used before it has been assigned a value...
View 2 RepliesI'm in the market for getting a new laptop and not sure what version of Windows 7 I can get buy with for Software/Web Development. What's the census out there?
View 4 Replieshow to return the following operating system data to a control:1) Version of Operating System2) Version of Service Pack3) Version of .Net Framework
View 7 RepliesI am trying to develop an app that uses a .dll that was developed for 32 bit systems. I get no error in VB or the compile.
Under Debug section of Properties the Platform Drropdown only says "Active(Any CPU)" How do I add x86 to this dropdown?
I need to check to see what version of windows is running. How do I do this from VB .NET 2005? and how comprehensive can I get... can I also check for Vista and Windows 7?
View 9 RepliesHow can I find the OS using Visual Basic 2010? It does not seems to recognize any of the old commands like GetVersionEx etc.
I am looking to find out the Windows Version, Build, 32 or 64 bit, RAM, Processor and Manufacturer.
I changed my VB2008 Express development system from Windows XP to Windows 7.After installing Windows 7 I installed VS2010 with VB2010 Express.Tried that and had issues so I installed VS2008 with VB2008 Express.The application I was developing with VB2008 on my XP system will compile and run in the debug environment with VB2008 on Windows 7 but the Release build (double clicking the .exe in the Release directory) will not. An information box pops up stating the application stopped working. No application Form ever showed up on the screen. I can run a simple application I start from scratch on this new setup.The release .exe compiled on my old XP system fails in the same way.What could be the problem? The application of interest uses an SQL Server CE database. A reference forSystem.Data.SqlServerCe is included in the References. What could be different about running in the debug environment vs running the
View 5 RepliesHow do I check the correct OS version (xp, windows 7 etc)? I have seen an example like:-
Imports System.Environment.OSVersion
But this does not exist. All I have under environment is specialfolder.
I've decided to go with a Windows Installer (Setup Project) in VS Prof, rather than ClickOnce,I've added this project to my main project, and have right clicked and selected 'View -> Launch Conditions', it requires the .netframework 3.5.21022...
But I've created the installer project for .NET 2.0 framework, is this going to stop someone from installing the project without .NET framework 3/3.5?EDIT: I've found under the properties of that installer project, that .NET framework 3.5 and Windows Installer 3.1 was selected as a prerequisite, unchecked those, and checked .NET Framework 2.0, however the version under the launch condition .NET Framework is still 3.5, it should be 2.0
When you look in the "software" that you have installed you see the size of the software and the version. After I have installed my software I don't see the version in the list. Only the size of the installation. I was wondering how I can change that. Could it be that it is because I used InnoSetup and I need to set it in there or is Windows reading the version of the .exe itself?
View 6 RepliesAm very new to programing and have never done it before.I am working on very small things at the moment like showing the time and date very basic stuff. i have some books and video's so am going over but i just need abit of code for now -
How can i display what version of windows i am running? for example.i have a button if i click it the label on my form will display the version of windows.
What I need to do is write VB scripts that will work on any version of Windows, right back to 3.1. I may need to write several files for different Windows versions, I just don't know.
[Code]
This runs on Windows Server 2003 and XP. I've tested it on those systems. But will that run on Windows 7, Vista, 98, 95, NT, 3.1? If not, which language/version do I need to use to do the same job on each system, and could you point me to the language reference?
I want to have a partial class to manage my focus between radtextboxes when a user presses the enter key and I am looking for the telerik interpretation of this line of code tbs(i).KeyDown += New KeyEventHandler(AddressOf textBoxes_KeyDown)?
Partial Public Class MstFileTruck Inherits Form
Private tbs() As Telerik.WinControls.UI.RadTextBox
Public Sub New()
[code]....
I have created a com dll in vb 2005 and used in vb6. It's working fine.
I have a question why Windows Explorer does not show it�s version number? I have properly set both the Assembly version and File version.
Again I did create a test com dll - windows explorer does show it's version number properly.
Way to detect the windows version, form say 95 to win7, in vb.net? pardon my ignorance but im not a big coder and norm only do python.
View 5 RepliesWe have a VB .Net application that is targeted to the .Net Framework version 2, over the past couple of days users have been reporting that they are getting the following error message when running the program?
View 8 RepliesI wrote a program using VB 2005 Express edition using a computer with windows xp us edition. the program run fine on al machines here in San Diego but it gets a .net framework error on a computer in the Netherlands with a windows Xp Dutch edition.
View 14 RepliesIt was very practical to keep build number in VB6, as it auto-incremented that number every time that i "compiled" the program.
There is any equivalent feature in VB.Net? I am using VS 2005.
I am refactoring an old program to use VS2008 (instead of VS2005) and the 2003 Crystal Reports merge modules no longer work on the client machine. I am using the CR version bundled with VS2008. Neither the CR10 merge modules downloaded from the SAP site work, nor the CR x86 msi.
Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
The message "Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version = 2.0.50727.0'." started appearing after I attempted to publish my software. All previous versions of my software are affected as well. I have two projects in the solution. Both are written in vb. All versions used to work fine.
View 2 RepliesThis code no longer works in ver 2007:' Obtain max resources available for Excel
[Code]...
Is there any way to make my programs use a lower version of net.framework other than the newest version 4 that comes with VS2010?I use my programs within a closed network and there isn't an easy way for me to install any software since I'm not the administrator.
View 3 RepliesI'm trying to add functionality to my application that will disable buttons and checkboxes depending on what version the OS is when the app is launched. I made a test app to test this but unfortunately I can not get it to work. Here is my code:
'OS Check
Dim osValue As Object
osValue =
My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrent Version", "CurrentVersion", "5.2")
[Code]...
*Note - 5.2 is Windows 2003, 6.0 is Vista, 5.1 is Windows XP
I have created a license system for my application with MySql about half a year ago. What it would do is take the serial number and send it to my server if the key was correct it would return a 0 if its wrong the return value would be a 1.The problem was that when the serial number was entered correctly my program would create a "fake file" for example vb.dll in the system.And on run time my program would check for that vb.dll if the file exist it would skip my trial program and run the app as a full version. Half year later i think creating a "fake file" and checking for it on start up is extremely wrong and that's not very good security.How can i check the difference between a full version and unregistered version?
View 23 RepliesI have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??
View 3 RepliesI am getting the following error when i try to publish my application with the checkbox for ClickOnce Security On. Could not find file 'Microsoft.Windows.Common-Controls, Version=6.0.0.0, Culture=*, PublicKeyToken=6595b64144ccf1df, ProcessorArchitecture=*, _ Type=win32'. [projectname ]
[Code]...
I want my application to do something special :D.. jks
I just want it to compare assembly version to the file version something like this (btw i also want it if it is the same i want it to enable a button):
Private Sub StartSplash_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
If Assembly Version = File Version Then
[Code].....
so how do i detect Assembly & File version numbers?