Will An Program Built On Windows 7 Using Vs 2008 Or 2005 Have The Compatibility With Windows Xp Or Vista
Nov 15, 2009will an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista
View 5 Replieswill an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista
View 5 RepliesI 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?
View 1 Repliesi have created some shareware applications. I implemented the following mechanism for piracy protection. Before Windows Vista and Windows 7 i did write a dll file to the System32 folder with an encrypted license key. Also in the Registry under HKEY_LOCAL_MACHINE i inserted a registry key.
The problem is that with Windows Vista and Windows 7 due to the User Account Control (UAC) this is denied.
I want to ask : what other mechanism can be implemented ? Where should i store the encrypted key file and the registry key.
I want that the application can be installed for all users of a computer only once.
If i stored the key in the user's application data directory then another user could easily just install it under another user account. Also i do not want to put the key file in the application directory because that would be too obvious.
note that i create the registry key with my application and not with the installer.
I have a program that will process the files and produce the result in output file.When i publish and install the software in xp windows it run but in windows vista it read the file everything when i look for output file. The file is not created in vista. But other program which similar with previous one can run in windows vista expect one program. This is how i write the coding to create the file.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim OpenFileDialog1 As New OpenFileDialog
With OpenFileDialog1
[code]....
I dont know why it can not create a file in vista?
I have a program that modifies the boot.ini on windows XP.However the problem is windows Vista went to the BCDEDIT utility the boot.ini was eliminated. The BCDEDIT tool is a command line tool.IS there a way to program vb.net to use bcdedit and pass several different commands to it so that I can make the same changes in Vista I want to change to these values from there defaults
Timeout =1
and
noexecute = AlwaysOff
How can I do this ?
i want to give windows vista look to my windows forms. I am using vb.net 2005.
View 2 Repliesright now, im using Windows Vista.. in Windows XP, deleting a file is working with this code System.IO.File.Delete("C: estdelete.jpg") But in Windows Vista, i encounter this message: Access to the path 'C: estdelete.jpg' is denied. why its happening? what is the solution for this?
View 14 Repliesi have a problem a in vb.net in Windows Vista Basic environment, while using the chr(0) it gives an empty string, while in windows XP chr(0) gives the following character am wonderign why in windows vista it can't result to the same thing actually it amounts to NOTHING as the result.
View 5 RepliesI want to use the Windows built-in OSK in a touch application I am creating. I found this link to a class that allows one to manage the size & location of the OSK. However, when I run it in my project all I get is a big blue bar at the bottom of the screen, with no keys being displayed. Here is the code from that link:
Imports System.Runtime.InteropServices
Public Class ClKeyboard
#Region "Constants"
[code]....
I had every one of these words in arabic transcribed on a dictionary I made with visual basic. There was never a problem until I started using window vista. I had xp. You can see that the words arabic script is incorrect. Somehow the first and last position of the two symbols are reversed...How did this happen. My Arabic Dictionary was completed 3 years ago. I have never had a problem before with this program. Now I will have to do the entire program over agian. From scratch....
ﺮﻔﺻ[Sifr] zero
ﺮﻔﺻﺃ[aSfar] yellow
ﺪﺣﺍﻭ[waaHid] one
ﺪﺣﺍﻭ[waaHid] one
[code]....
We have developed a 'deployment tool' (say program A) which need to modify system registry, etc info which requires admin rights. This program will be triggered by another program (say program B).
Question, when B call A, how can B initiate A with admin rights? is there any command like A.exe /runas admin or any other way to achieve this. Please note that both programs are developed using VB6.
Could anyone provide me with sample code for using a WAV file as the input to the Windows speech recognition software on my machine (Windows Vista)?
View 3 RepliesHow can I change the background of my form to look like that of Windows Mobility Center in Windows Vista?
View 2 Repliesnothing
View 2 RepliesVS 2008 Built in key calls (Shift - Ctrl - Alt) are broken on Windows 7 Bit
View 4 RepliesI'm printing pdf files via the below code in a service. In Windows 7 this works really well, In Windows Vista, nothing happens at all? What am I doing wrong?
[Code]...
I have created windows 32 bit application built with .Net framework 2.0. and VS2005. will it run in windows 7 64bit os? because my client report problem about this.
View 10 RepliesAm 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?
View 2 RepliesI 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.
Has anyone noticed anything like this? any ideas?
I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.
Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.
When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below:
Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below:
I develop applications in Visual Basic.NET (Visual Studio 2005) for a long time on Windows Vista without problem.Now, I'm changing my laptop, and the new has installed the Windows 7. So, I reinstalled VS 2005, taking care to install the Vista compatibility. Thus, the version of my current VS 2005 is 8.0.50727.867 (vsvista.050727-8600) SP2. And that is my problem.When I ran the application in debug mode (F5) on Windows Vista, a windows appeared whenever there was an error, like below: Now, on Windows 7, the application just shows a exception message in the Immediate Windows, don't showing any error window, continuing the application execution, as below [code]
View 2 RepliesI have a program that works in Windows XP Pro, Visual Basic 2005 and Excel 2007 that does not work in Windows Vista, Visual Basic 2005 and Excel 2007.The program takes Excel data from an already opened Workbook on the desktop and moves it to the Visual Basic program.The error occurs when I try to open the Excel Application in Visual Basic:[code]Is there a different code to define an Application in Vista?The "Open" Application will not work on a Excel App already on the desktop.
View 1 Replieshow to get working aero in Visual Basic 2008.I am making this media player and got everything I need for that. But what I really wanted is aero since Windows Vista got a nice interface and a few lucky people got it.But the tutorials I got worked great on Windows 7! However, I couldn't get aero because of a transparency key. (I swear I use a color picker to see if background color and transparency key are the same color.)I can't get it to work any piece of code I give.But the good part is that aero WILL work on any 7 or Vista without any form change, but the text is white with blue specks and that is not what I want.
EDIT:i found how to do it now! you need to use the property UseCompatibleTextRendring and put it to True. Now the problem is how do i do the same for the rest? (microsoft was to lazy to edit the controls)
I'm using all the VB6 source code from a XP machine on a new Windows 7 machine. The code works fine and builds the .exe. The .exe runs fine on the Windows 7 computer, but will no longer work on an XP machine. In my facility most of my users are still on XP machines. An additional note, if I move the .frms back to the XP machine, they compile fine and the .EXE works fine on the XP machines.Now I using virtual machine It's working ok but its not the best Solution. is there any direct way to make the .exe of Windows 7 works will on XP machines.
View 3 RepliesSo I'm a bit new to the whole Vista/7 audio setup. My understanding is that a new "mixer" is created for each application. Is there some new .Net function which interfaces with these mixers? I'm actually trying to create an application which can adjust the MAIN system volume level as well as the mute function.
I was looking at the Endpointvolume API however I cant get it to work for me :(. Does anyone have a vb.net demo of how to harness this API?
Durring game play of a game I am designing, I recieve a lovely crashing event in which my computer tells me that "vshost" has stopped working. Also, i get a message after debuging that tells me the problem is due to a compatability error between my version of windows and the version of C++ that is running.
I was not aware C++ was running. Can anyone offer any explanation for this? I will gladly share the code and the game with anyone interested. So far both computers that I have attempted to play the game on ultimately ends in a crashing vshost or windowsapplication1 but the second computer was able to run the game smoothly for much longer.
If anyone wants to try the game on your own system I will e-mail it to you, (small file) 4.7 mb
I'm curious to know if it will crash on every computer.
Cannot upgrade from Windows Vista to Windows 7
View 1 RepliesWhat does Windows do to an app when it is run in Compatibility Mode?Is there a way I can detect the compatibility mode settings in .NET?
View 1 RepliesFirst forms project. My textbook [wrox VB 2880 Programmer's Reference, Rod Stephens] gives snippet that starts with [which intnellisense completes, except for variable names, including trailing 'paint' which seems to be the problem]
Public Class Form1
Private Sub form1_paint(ByVal sender As Object, ByVal e As System.Windows.Forms.TableLayoutCellPaintEventArgs) Handles MyBase.Paint
End Sub
End Class
which generates error :
Error 1 Method 'Private Sub form1_paint(sender As Object, e As System.Windows.Forms.TableLayoutCellPaintEventArgs)' cannot handle event
'Public Event Paint(sender As Object,
e As System.Windows.Forms.PaintEventArgs)' because they do not have a compatible signature
.
Changing 'Private' to 'Public' does not fix the error.
Using VB6 to create a file and then open the file just created fails when run on a Vista client with Windows 2008 Server. The same code will work when run directly on the Windows 2008 Server or when using an XP client. If a Sleep 10000 is placed after the close, the program will work. What is the problem here? The code is as follows:
Option Explicit
Private Declare Function GetTempFileName Lib "kernel32" Alias "GetTempFileNameA" _
(ByVal lpszPath As String, ByVal lpPrefixString As String, ByVal wUnique As Long, _
[code].....