I used VB6 to create an EXE file that uses MSComm1.The program runs OK in my XP computer and also in my Win7 computer (that has VBE installed).It would not run on my Vista laptop. I installed the VB runtime files (even though Microsoft says they are not compatible with Vista/Win7) but with no success.However, when I installed VBE on the laptop, it now runs the EXE quite happily.Does installing VBE also install a different set of runtime files?Is it posible to distribute my program to my friends who have Vista or Win 7, without them having to first install VBE?
how to get my vb6 exe to run in any win7 or Vista?The error I'm getting is: Component comdlg32.ocx or one of it's components is not correctly registered or missing. I've tried using the P&D Wizard to specifiy loading it into the SysWOW64 folder but I'm not sure if I'm doing this correctly. I use the P&D Wizard then load everything into Inno for delivery but my customers who now have Win7 or Vista can't use my product.
I have a program for playing MP3 files using Media Player. The program developed originally under Vista using VBExpress 2010 works fine.
But when I run it under Win7 parts of the program don't work. In both cases the audio is played OK but under Win7 the 'playstatechange' events don't seem to happen!?!
I have put a breakpoint in event and under Vista the events happen...under Win7 the breakpoint is never reached. In both cases I am using VB Express 2010 and running under the debugger. I have seen this problem reported before in the forums but no answer was apparent.
Ok I have a application that works great on XP, but in windows 7 it will not let me write to my login file, says access is denied since I am not running as admin. Log file is located in "C:Program FilesCompany NameProductMyLog.LOG"
I have an app developed in VB that works fine on Vista machines but fails on Win7. The offending line of code merely references a variable stored in a module. Evidentally, something is quite different on Win7. How to I find and fix this behavior?
The code is very straightforward. The error occurs in the Application Startup event.
Public Sub MyApplication_Startup(ByVal sender As Object, ByVal e As ApplicationServices.StartupEventArgs) _ Handles Me.Startup
I am facing an interesting problem: I compile an exe file on my computer with XP pack3. And then I gave it to several people. One people told me my application works well on her vista machine but cannot run on her XP machine. Another person told me my application does not work on her Win7.
I want to install my app or (just access db)to AppData folder to enable write for it. so, how can I do that in setup project. Is there just parameter or should I wirte custom action.
We have code in our former VB6 application, that ported fine to VB.NET, that plays a simple AVI file of the typical "flying folders" and "spinning maginfying glass" AVI. Under Windows XP, our application ran fine and everything was good.
Then we had customers start using Vista and Win7 and this stuff crashes. We were using the MS Common Controls (SP4) and then (SP6) - utilizing the Animation player. Now - these dont work and we get nasty errors.
I searched Microsoft and the web to answer the "what now?" question and though there are numerous suggestions, none of them work. We cant use Media Player because we dont want any menu - just the graphic. We dont know why, with the cool tools given in .NET, there is no animation player (seems a huge oversight...) But we need to get "unstuck" on this one, and we need that fast...
So, How does on play a simple AVI file using VB.NET code? What DLL or OCX does Microsoft recommend and is there a place we can find some sample code for it?
Can a form be Created that has Aero Glass when in Vista/Win7 and when running in XP or 98 use a regular border? If so can I have a link to the infromation or a code sample?
I already build an Antivirus but the problem is When the windows start show the UAC message for Users, so that let them aware from it.So how can I turn it off on bith windows Vista and win 7? or make my software as a secure software for Windows?
I know the propertys transparency key and opacity. It isnt what I am looking for. I need to have my form to have the same Glass Effect the as win7 does while runing under win7 plataform. Like, if i have glass effect in the top I should have it in the background.
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 am been working on an a small app that has a Forms.Webbrowser control that navigates to a Adobe Flash program. I have developed the app on Vista 32bit platform and have had no problems. I have sent the app to a couple of people to test out and one is using Vista 64bit and is running into a problem. I know the webbrowser control just uses the underlying base framework of IE. The problem on the 64 bit machine is when the site is navigated to it says that it needs to have Flash installed. When the user goes to Adobe's site it says they need to use a 32bit browser.
As stated on Adobe site here:[URL] the Flash player need to be in a 32 bit browser. What options do I have to be able fix this problem? Is there another control that I can use that would be the same in a 32bit platform and 64bit platform? Besides navigating to the Flash program, the browser also goes to standard web pages.
I have a winform, VBExpress 2008 with a single button and this code behind it to illustrate the problem:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.ShowDialog() MsgBox(OpenFileDialog1.FileName) End Sub
i have a application based on Visual Basic platform.. where Enter key action as Tab key ,, which ease the enter key to move from field to field, rather than the tab key.. its works perfectly in Winxp ... but i'm having problem in Windows7 ultimate..
Depending on what component is handling the print for you, some of them are not 64 bit ready (i.e. 32 bit only). To use them you must compile your application as 32 bit only. It will then run on the WOW platform that Win7 supplies.
You change this option on the PropertiesCompile screen. Press Advanced Compile Options and review Target CPU:
I mean not like windows xp which the number and signs are not in the same textbox, but like windows 7 which you can see the whole calculation before pressing equal, and i don't think that compute.datatable can do this because it's limited with the basic signs(+,-,/,*) and it doesn't include the other signs(like : sin,^,root,log), so how to make a calculator like windows 7 one?
this code is for win7 is there a way to work it on xp pro sp3
Imports CoreAudioApi Public Class Main Private _device As MMDevice
Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim devEnum As New MMDeviceEnumerator_device = devEnum.GetDefaultAudioEndpoint(EDataFlow.eRender, ERole.eMultimedia)Timer1.Enabled = True End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick pkMaster.Value = CInt(_device.AudioMeterInformation.MasterPeakValue * 100) End Sub
I have used it successfully on 32 bit Win XP VB2008 Express application, but I am having trouble in 64bit Win7 environment.
Specifically the .Connect method is throwing an exception {"The client failed to connect. Make sure the server application is running and that it supports the specified service name and topic name pair."} NDde.DdeException
I am making a windows service that will communicate with a local application through named pipes, and with a server through WCF webservice. So the application hosts the WCF service for the local application, and is a client for the webservices. When trying to run this as a service, the whole thing crashes. I have localized the problem to the "Session 0 Isolation" issue?
�If two-way interaction is required, use Windows Communication Foundation (WCF), .NET remoting, named pipes, or any other interprocess communication (IPC) mechanism (excluding window messages) to communicate across sessions. WCF and Remoting have a better security enforcement that will prompt the user (assuming UAC not shut-off) to elevate if needed. But I am not sure what they meen. As far as I know, i cannot create a windows service as WCF.
I have a vb.net program that is using a voice modem. Well, there is a someweird issues with the modem. (I am trying to work with them but they are kinda slow). Anyway, they only way I can resolve the issues with the modem is resarting the machine. I want to automate this. If I have problems with the modem, I want to reboot the machine and back into windows 7. How can I go about doing this? I am really concern about the login back into windows7. I want to keep the login screen up, but I want to bypass it if my program was the one to restart the machine.
I have looked through more old threads than I can count and I just cannot get any of the suggestions to work. I did a little poking around MSDN as well. I am trying to use the registry to enable AutoLogon on a Win7 machine through code. I can read the current value with no problem but I am running into security problems when I attempt to change AutoLogon to "1". This is what I have done so far.
I have an applcation that sets itself to 0 opacity on Form1_load which then changes to 1 when the user left clicks on the NotifyIcon.I would also like the form to center itself directy above the notifyicon like the Win7 speakers, power, ect popups.
we have a VB6 program and we now make them w7/office2010 ready.
In one part of the program we open the SelectNamesDialog (Adressbook) from Outlook (is separatly from the user startet) to choise one recipent from the list.
Under WinXp the Adressbook automaticly appears in the foreground. In w7 nothing happens. I try AppActivate and by the first call