After Installing Windows7 Sp1 - Vb6 Compiled Exe Is Not Working In Windows Xp Machine

Jun 17, 2011

I have windows7 home premium 64bit edittion, I use VB6 and VS2008. I recently install Win7 SP1 in my machine but after installing the SP1 my old VB6 application is working fine in my pc but compiled exe files are not working in other windows XP machine, then I uninstall WIndows7 Sp1 from my PC and again compile the old vb6 application, now i notice that this exe is working file in all other pc. is there any way to use win7 sp1 with vb6 ??

View 1 Replies


ADVERTISEMENT

Installing An Application On A Windows 7 Machine?

Sep 1, 2011

We are using a Windows 7 virtual machine as a testing platform for our VB 6 application. Th application utilizes an Access database.The application locates the database by looking at a configuration (ini) file.When I install the application on the virtual machine, it places a database where InstallShield directs it to and writes that path to the ini file. All well and good.However,somehow a second copy of the database is created in a user local folder.

If the user uses the "run as administrator" option, the application uses the database that is in the location designated in the ini file and that works fine. But if the user does not select the "run as administrator" option, the application apparently somehow attempts to use the local database and is unable to locate it.

Is this behavior is peculiar to the virtual machine, or is it something we need to be concerned about on "real" Windows 7 systems?If it is peculiar to the virtual machine, is there some way to get the virtual machine to behave more normally?

View 6 Replies

Will App Compiled On 64 Bit Run On 32 Bit Machine

Nov 20, 2010

I'm buying a new computer this week and the one I want has Windows 7 Home Edition 64 bit. I program in VB.NET using VS2008. If I write a program and compile on this 64 bit windows, will it run in 32 bit? I did some reading and from what I understand is if it is not using any specific 64 bit drivers I should be good. I'm not doing anything fancy that I know of as far as drivers. I just wanted to see what everyone's past experience has been.

View 3 Replies

Compiled For 32 Bit Running On 64 Bit Machine Using SQLite

Feb 20, 2012

Here's the situation - I have a vb.net exe compiled for X86 machines using 2 dll's... Because one of the dll's was only provided in 32 bit, and I didn't want to have to deal with 32/64 versions, I forced 32 bit in compile options and everything was fine. Now I have a 64 bit workstation that is throwing an error about the sqlite.dll (error #1 below).

after reading around I am starting to understand a lot of people are having this issue. I tried replacing the dll on the client machine with the 64 bit version of sqlite and that didn't work (error #2). I read somewhere that the 64 bit version requires VC 2010 redistro, but that didn't work. I can't compile this app as a 64 bit because of the other dll is 32 bit.

[Code]...

View 1 Replies

.net - App Works In IDE But Throws An Error When Compiled And Run On Another Machine?

Nov 15, 2009

I have created an application using VB.NET in VS2008. When I run the app in the IDE on my development machine it works fine. It also works fine when I build it and run it as an exe on any machine that also has Visual Studio installed (at least 2005 and 2008 anyway) However, when I try to run the compiled executable on any machine without Visual Studio it throws up an error "[program name] has encountered a problem and will close..."

View 5 Replies

Installing New Fonts On Machine Using .NET?

Jul 12, 2011

I have a Windows Form and I need to Install some fonts from a remote Folder to the Client which ran the application.

View 4 Replies

.Net Tcplistner Not Working On Windows7?

Feb 7, 2011

If I run into a problem or if I find that I don't fully understand a section of code I go online and search for the information I need. Which is usually quite easy.Ive made a simple chat program using the TCPlistner and TCPclient that can be found on msdn.

[URL]

In the only problem similar to mine that I was able to find the person was given the advice to change 'AnyCPU' to 'x86' in projects/properties/compile/advanced compile options. I tired doing this but was unable to find any setting that I could change to 'x86'.

View 1 Replies

Running 32bit Compiled Program/DLL On 64bit Machine?

May 20, 2011

I have some programs written in VB2010 using functions from a DLL. I have compiled and run these programs on a 32bit XP computer and a 32bit Win7 computer and have had no problems accessing the DLL.I have published an installation of these programs and tried running the install on a 64bit Win7 machine and the installation is performed correctly. It installs the programs and copies the required DLL into the same folder. the problem is that whenever I run the software and try to access the DLL I get errors.

The error says something like:

An unhandled exception has occurred in your application. An attempt was made to load a program with an incorrect format. (Exception from HRESULT:0x8007000B)

If I click past it the software runs and all of the forms are loaded properly, but anytime in the software if I try to access the DLL I get the same error.I am declaring functions in the DLL like this:

Public Declare Function OpenDriver Lib "OP815M.DLL" (ByVal handle_Renamed As Integer) As Integer

I have also tried placing the DLL in the system32 directory and also the sysWOW64 directory and that did not help as well.I do recall that hardware drivers need to be properly signed and pass the Microsoft Logo testing. Must I get the DLLs I am using properly signed?

Edit: Also it might be fair to mention that I have used the DLL with another program written in C, which would run in the DOS command line in Windows and it correctly accesses the DLL on a 64bit machine, but just when run from the DOS command line in windows.

View 4 Replies

Vb2010 Application Not Working In Windows7?

Apr 10, 2011

i created an application with vb 2010 in my windows xp pack 3 now i want to use it in windows7, but its not working!

View 9 Replies

[2008] Installing Dotnet Framework On Another Machine?

Jan 15, 2009

I have written an app using VS2008 and i now want to run this application on another computer. I need to have the dot net framework installed right?

Is it possible to use the VS2008 DVD to install just the .Net Framework on the new computer?

If not how do I install the .Net Framework on this machine?

View 3 Replies

.NET Window Based Project Built On .NET 3.5 Framework Is Not Working In Windows7 64 Bit System?

Jan 28, 2011

I have VB.NET Window based project built on .NET 3.5 Framework that is working on the Windows7 32 bit System but when I try to run this same application in Windows7 64 bit System it gives an error message: "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"

View 4 Replies

Game Programming :: Check What Windows The Client Has On His Pc ... Xp / Windows7 / Vista?

Jun 9, 2010

how can i check what windows the client has on his pc...xp/windows7/vista

View 1 Replies

Get A Code Compiled In Windows XP To Work In Windows 7?

Oct 25, 2011

I have a VB.net project that i've published through a click once installation which was compiled in Windows XP the application contains a previous version of True DB grid which is not supported windows 7 so i'm trying to get my application to work in Windows 7 so that the true db grid and other such controls work without any issue. i tried compiling the code in x86 mode

View 2 Replies

Installing An Application On A Client Machine "Class Not Registered"

Aug 20, 2009

I am installing an application on a client machine. The application is throwing an exception that I am logging that states "Class Not Registered". This an app written in Visual Studio 2005 using VB.NET. The dll dependencies of my .exe are located in the same folder as the .exe. What class is this talking about and how can I resolve this issue?

View 2 Replies

Visual Studio 2010 Created Program Doesn't Work On Windows7 64 Bit While Works Fine On Windows Xp

May 15, 2012

I have one tool which we developed on visual studio 2010. there are basically two parts of my project, one is UI part which i wrote in VB and algorithm part which is in C++ on back end. When we compile C++ part it creates a .dll which is used by my front end VB program.

Now my problem is little weird since i am compiling and deploying this tool on windows xp machine but some of the users are using windows 7 64 bit machines and after running the program for about 5-10 minutes, it crashes on windows 7 with following error

Not enough storage is available to process this command and when i view details of that error, i get the following description.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.
************** Loaded Assemblies **************
mscorlib

[Code].....

i am completely clue less for this error since this program works fine on xp but doesn't work on windows 7.

View 12 Replies

Program Won't Run On Windows Xp. Compiled On Windows 7

Aug 11, 2011

I made a custom media player for my work that uses a windows media player control and randomizes 4 songs from a collection. There is reasoning behind the 4 songs but thats not too important. So the issue is that I had made this program for my work but when i put it on my work computer, it wouldnt even open, i double click it, it sits for a bit, then MP3Randomizer.exe has encountered a problem. Any idea why it works on my 64 bit windows 7 personal laptop but not my 32 bit windows xp work comp. I have created programs on my laptop and then dragged them to my work computer and they worked just fine. Is it the windows media player component? Never had this problem with any of my other programs. The program was compiles with .net framework 4 and my work comp has .net framework 4 on it, it is set to compile as x86. I cant figure it out. A

View 1 Replies

Running Pre-Compiled & Non-Pre-Compiled Webpages Under One Virtual Directory

Feb 21, 2011

I've a requirement to have PreCompiled webpages and Non-PreCompiled webpages under same application. For example below is my structure:

/Bin
/Test1 (PreCompiled)
/Test2 (NonPreCompiled)
/Test3 (PreCompiled)

I would like these to have their separate "Bin" folders too if possible at all (I tried using "Probing" but I guess that's not allowed for web apps and defaults to "Bin" folder). If not that then definitely some ability for these to work together under one app/virtual directory because I'm not allowed to create another at any cost :(

View 3 Replies

.net Windows Service Not Installing?

Aug 27, 2009

I have created a Windows Service in VB.net for building xML from a database. I need to install it in my machine. I have followed all the steps as shown in [URL] When I right click on setup project and click install it opens the installation wizard and after hitting the next buttons it promptly says that the Service is installed successfully.When I go to Services I don't see the service. I refreshed the list and rebooted my machine n times.

View 2 Replies

Installing Speech SDK 5.1 On Windows XP

Jun 9, 2011

I'm trying to make a form in VB.Net that takes speech input (not text-to-speech) on my Windows XP Pro computer.I've tried to install Microsoft Speech SDK 5.1 according to url..The problem is my Office 2007 does not have an Alternative User Input feature, as it says in the instuctions. So is there any way to get this on my computer? If not can you suggest any alternative other that buying a new computer for making my Visual Basic .Net form speech-enterable?

View 3 Replies

Installing Windows Service?

Jul 16, 2009

I am creating a windows service. I want to know that , is there any other way to install windows service than using installutil.exe ? I don't want to install my windows service on client's machine using command prompt. Better way if I can install it using setup.

View 2 Replies

Windows Service Not Installing

May 1, 2012

I have been working on creating a windows service. I am using XP SP3, VB.net, VS 2010 Express, compiling for .Net 4.0 client profile. I have am using very rudimentary code templates that I've cobbled together.I have a class the inherits 'ServiceBase' and overrides the constructor, 'OnStart', and 'OnStop'. I also have another class in another .vb file in the same project that inherits from 'System. Configuration. Install. Installer' and overrides the constructor to add a 'ServiceInstaller' and a 'ServiceProcessInstaller' with the appropriate properties set for the service. The 'ServiceInstaller.ServiceName' is set to the same name as the service class and the installer class has the 'RunInstallerAttribuite (True)'attribute. Everything compiles and if I try to run the exe I get a message telling me it's a service and needs to be installed as such. but when I use installutil(.net 4) to install the service, it appears as though it was successful, but the service does not show up in the services list and I can't find registry entries for it either. I've checked the exe with the object browser and it presents the installer class with the 'RunInstaller Attribute' as it should. I included some code to create a file in the installer constructor and no file is created so I'm assuming that the installer class is never instantiated by installutil.

View 4 Replies

Using A WAV File As The Input To The Windows Speech Recognition Software On Machine (Windows Vista)?

Nov 1, 2010

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 Replies

VB 2010 Application Works On Windows 7 Machine But Will Not Work On Other Windows 7 Machines?

Jan 22, 2011

I have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?

View 2 Replies

When Transfer System To A Machine Running Windows Xp Or Windows 2003 Server It Builds Successfully

Sep 25, 2011

I am building a Setup project for a Web system using Visual Studio 2008. I upgraded my development machine from Windows Xp to Windows 7. The problem started with Windows 7. Whenever I try to build I get the above error. I ve tried several solutions given online but I ve failed to get a solution. When I transfer the system to a machine running Windows Xp or Windows 2003 Server it builds successfuly.

View 4 Replies

Installing Windows Service Error

Dec 29, 2011

i running into an error when installing a windows service that i have created in vb .net. i followed the tutorial but i am getting an error. bellow is the log for the whole process until we get to the error. can someone please assist.

[Code]...

View 1 Replies

Installing Windows Services Gives An Error

Aug 3, 2010

I created a simple windows service on my local PC and added the following code to it [code]...

Next I added a Setup project to this solution and added a custom action (By double clicking application folder then clicking add output folder then selecting primary output from the dialog). The solution builds fine but I have 2 problems.

1) Everytime I install the service, it asks me for the username, password and confirm password; I was wondering if there was anyway to get rid of it atleast while running locally. I tried setting the account type to user, local service, local system etc but it keeps popping up.

2) Once I enter the credentials (random ones), I get an error "No mapping between account names and security ids was done".

View 1 Replies

VS 2008 Installing A Windows Service In .Net

Apr 2, 2010

I have had some success making a windows service but I can�t seem to fix a simple issue

I can get the service to run through my code once, but I can�t get it to loop, well I can but then the service will not start correctly and just times out while the code is running.

How can I get the service to start and then loop, at the moment it just says starting service and the code is looping but the service wont start! Windows times it out after a few mins.

Public Class WwService
Dim sDate As Date
Dim con As New OleDb.OleDbConnection

[Code].....

View 4 Replies

Account Type For Installing A Windows Service?

Oct 20, 2009

Account Type for installing a windows service

View 1 Replies

Error In Installing Windows Service Using Instllutil.exe

Sep 24, 2011

Error in installing Windows service using instllutil.exe in vb.net

View 10 Replies

Error While Using Installutil For Installing Windows Service App

Feb 12, 2007

I new to .net My project involves developing a windows service application using VB .NET. I have installed the service successfuly on the first attempt using the installutil provided by the frame work.When i uninstalled the application the it gave me the following result.

System.ComponentModel.Win32Exception: The specified service does not exist as an installed serviceAn exception occurred while uninstalling. This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.

The uninstall has completed.

When i tried to install the app again it gave me the following error

An exception occurred during the Install phase.System.ComponentModel.Win32Exception: The specified service already exists

I removed the application from the list of application event log entries in the registry(HKEYLOCAL_MACHINESYSTEMCurrentControlSetServicesEventLogApplication) ant tried installing the app agin it installed successfully. Why is uninstalling the service not removing the entry from the registry.

View 12 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved