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
i 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.
right 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?
i 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.
I'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?
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]
I 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.
i compile my form with the below code when i run it on vista work fine without any problem but when i try to run in on XP cant run... that happened with any XP machine.[code]when i run my exe to other Vista machines work fine... but on xp NO.
I have recently developed an aplication in XP that it works on XP nice but in vista or seven don't work at all. It gives a message when I try to enter the application like " The program cannot run.."
I'm retrieving Windows XP license key with this function but it does not work for Vista and Seven. How can I get the license key at both of these Windows versions?
Public Function sGetXPKey() As String Dim result As String = String.Empty Dim RegKey As RegistryKey = _
I have an application that works fine on Windows XP. However I have taken the same application and made some modifications to it to run on vista the app loads fine etc.
the problem stems from trying to change a service in the registry under HKEY_LOCAL_MACHINESystemCurrentControlSetServicesDiagnostic Service Host
Start = 4 instead of 3 (which is what it is currently set to)
when the program tries to change it I get a dialog box with the information below. How can I makes the changes to the registry without getting these kinds of errors. I tried to get the Framework configuration tool but it talks about XP and Windows 2000 for VB.Net 2005 so I am not sure what to do... I should mention I have only been programming for a month...
Error details:
"Application attempted to perform an operation not allowed by the security policy. To grant this application the reuired permission contact your system administrator or use the Microsoft .NET Framework configuration tool. [code]...
I created an app that connects to an SqlCe database. it runs fine on my computer (xp) but when i try to run it on other computers, it crashes (on xp machine, the error is : OS error: the OS storage system is not responding, on windows 7 the error is: Access to the database file is not allowed).
On windows 7, if i right click the exe and run as administrator, it runs fine. But, i can't expect my users to do this every time they want to run my app.
I am migrating to win vista from xp, I have an half completed program in XP , so i wanted to know whether i would be able to continue its development in vista or not. and an another question, whether my program which will be developed on vista can run on xp and vice versa?
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 my program in windows xp when I deploy it using click-once, I can install it in windows 98/200/xp.However, when I am running in vista and use the click-once deployment, I can't install in windows xp.
I made a bluring tool of some sort and you basicly drag an area of yuor picture and it blurs that certain selected elipsis.. the problem is THis only works on Winsows 7 Im trying to understand the diffrence but I can't. The PC uses the same graphic card same hardware just a diffrent OS but it wont do that Code. Anyways here is how I blur
Private m_ActiveControl As Point Private m_CurrentPoint As Point Private ileft As Integer
I get the following error when I run my vb2010 progrm on windows 7 machine:Class not registered (Exception from HRESULT: 0x80040154. It ran fine on vista. there is no option on the compile to target x86. It is related to an active x flex grid