i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer) Dim StartTick As Integer StartTick = Environment.TickCount()
how can I use SQLConfigDataSource to add DSN to the 32 bits ODBC on Windows 7 64 bits? I know it use C:WindowsSysWow64odbcad32.exe and on registry, HKLMSoftwareWow6432Node but the API do not allow me to configure it?how can I do ?
I have detected a problem running my application under Vista 64 bits OS.
My application is developed using VB.NT 2008 and compiled as x86
I have a main form. In this form there is an option to open other form. TThis second form must return a few values to the main form. When the user click on this 2nd form, to return values, this form hangs up (2nd form hangs up)
But for what I could have known, it continues executing the rest of code that exists after to open form. I want to say that the form dialog (2nd form) is not closed (hangs up) but it the code continues being executed, because I have seen that inserts the data in the database.
The application not returns any error and any exception.
frmWaiting (form displayed when call thread) This forms contains progressbar main form Dim ThreadVentas As System.Threading.Thread
I am a visual basic developer, I have windows 7 64 bits and Visual Studio 64 bits installed.CAN I DESIGN APPLICATIONS WITH THESE SETTINGS THAT CAN BE COMPATIBLE with 32 bits operating system(example in windows Xp 32 bits)?
As Vista, comctl32.ocx is not accepted by Windows 7, I tried your workaround typing "regsvr32 -u comctl32.ocx" in a dos window, but another error is generated, specifying that the file was not found. But I verified, comctl32.ocx is really present under this name in system32 folder.
I'm trying to figure out how to calculate the lower 7 bits and 7-13 bits of two hex numbers.
Here is some example c code, just need this in vb.net:
serialBytes[2] = 0x64 & 0x7F; // Second byte holds the lower 7 bits of target. serialBytes[3] = (0x64 >> 7) & 0x7F; // Third data byte holds the bits 7-13 of target
The 0x7F is a constant so the only number that changes based off input is the 0x64.
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.
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 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