App Keeps Crashing On 32bit PC's

Sep 5, 2011

My app wont start up on any 32bit PCs. It brings an error. Ive tried all the solutions mentioned like going into Compile and changing the Platform, and other things. I have come to the conclusion it Might just be something faulty with my coding. Here is the only place in my code that could be doing it.

[Code]...

View 1 Replies


ADVERTISEMENT

Can .net 2008 Bet Set To Only Run In 32bit

Nov 11, 2009

can vb.net 2008 bet set to only run in 32bit?

View 2 Replies

Why Will This Run In 32bit, But Not 64bit

Jan 18, 2010

I'm using the following code to iterate through and find windows containing specific strings in their title bars. I have two projects containing this identical information, yet for some reason - it works when targeted to x64, but FindWindowLike returns 0 always on x86. I need this to run in x86.I am developing this on Windows 7 x64, but it needs to run on my machine as well as XPx32. What I can't fathom is why it compiles/runs on x64 but not x32 (considering I'm targetting user*32*.dll)

View 2 Replies

EXE In 32bit And DLL Compiled For AnyCPU?

Apr 9, 2011

Our application is one EXE and multiple DLL's. Right now, we are compiling all of them for x86 so we are forcing 32bit because the running size of the application is a lot smaller (memory usage).If we compile the EXE as x86 and the DLL's as anyCPU, on a 64bit machine will the DLL's be 32bit or 64bit?

the reason for my question is if i can compile the DLL's for anyCPU and then have two EXE's, one for 32bit and one for 64bit, then i have only one duplicate program for the 32 or 64 bit change, and if a user wants to run full 64bit they only need to run the 64bit EXE and everything is fine. But if a user is on a 64bit machine but wants to run in 32bit mode, they would run the 32bit EXE.Let me know if this is true. i can't test this as i develop on a 32bit XP machine.

View 3 Replies

Run A Vb6 Application On 64bit OS Instead Of 32bit OS?

May 22, 2009

I had a vb6 applications which using following dll files 1. shell32.dll 2. user32.dll 3. comdlg32.dll 4. apigid32.dll. It is working fine on vista 32bit OS . Now i am trying to run my application on Vista 64bit OS.

Is it working fine on vista 64bit OS with out any changing in vb6 code?Is there any problem with this above mentioned dlls on Vista 64bit OS?

View 3 Replies

VS 2008 Playing .WAV (32bit)?

Mar 9, 2010

I have code to play wave files.

Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Private Const SND_ASYNC = &H1
sndPlaySound(WAV_PATH, SND_ASYNC)

[code]....

which is my favorite because of the SEAMLESS loop which I cannot accomplish with the first code.However there is a problem.Both will play .WAV files of any frequency be it 44.1 or 48 so long as its 16bit. My problem is that I have .wav files which are 24 bit, and 32 bit. It is odd because these files play and can be made in a variety of audio applications, but when playback is attempted using the supplied code, nothing but silence!While I know how to re-encode the audio to a new bit depth, I need to play back these specific files.

View 4 Replies

32bit Or 64bit Framework Install?

Mar 17, 2011

Something that is bugging me which My application is targeted for 32 bit machines but I'm not sure which .NET installation package to use with my deployment: 32, 64 or the package with both.I currently bundle the .NET 32 bit installation with my installer and that works fine. I don't have a 64 bit machine to test with, so my question is what version of the framework will my application need on a 64 bit machine?

View 4 Replies

Click Once - Email - Windows 7 32bit

Oct 20, 2010

We have a clickonce application that we have been running fine under Windows XP for several years now. Recently a number of machines have been upgraded to Windows 7. The program works perfectly normal under Windows 7 except in one regard and that is when utilising System.Mail. Currently our program will on request build an email and send it to our exchange server which relays the messages onto their intended recipients. The Windows 7 users are finding that their emails are not getting through and one of the messages received is a 5.7.1 unable to relay. Nothing has changed to the credentials, exchange or software itself. Only the operating platform that it is running under. I have a suspicion the error is being caused by some sort of security restriction that only Windows 7 introduces.

View 2 Replies

Developing For 32bit On 64bit Machine?

Aug 8, 2011

I am moving to a Windows 7 64-bit development machine. Talk about causing problems. I've Googled, but can't seem to find much to help my specific needs. I'm hitting maximum errors in my IDE error list, so I won't start listing them. I've tried targetting both x86 and x64, but I still get errors out the wazzu. Is there a good starting point for me to learn how to do this? or should I just start going through the errors and trying to correct them one by one?

View 2 Replies

VS 2005 - 32bit App On 64bit Server

Oct 6, 2010

Ok server is Windows Server 2008 R2. I've already installed other 32 bit applications. I had my own application compiled as ANY CPU, I just copied the folder containing my executable and DLL files to the server. Doing it this way is fine on Windows 2003 Server and other 32 bit operating systems. I registered the DLL files by using regsvr32. When I ran the file, it would come up with an invalid exception error. I compiled it as x86 and tried it again and it crashed immediately without any errors.

So I have VS 2005, application compiled as x86 - what do I do to get it running in Windows Server 2008 R2?Also as a side line, I didn't know that the server was 64bit to start with so I installed 32bit MySQL - should I remove and install 64bit?

View 6 Replies

VS 2008 Building A 32bit App Instead Of A 64bit App?

Jan 3, 2011

I'm running Win7 64bit, but I want the applications I make in VB .NET (.NET 3.5, 2008) to be 32bit instead of 64bit. Is there any way to achieve this?

View 12 Replies

Changing Color Depth From 32bit To 16bit?

Mar 19, 2012

how to change the users color depth, When the user clicks the button.

View 2 Replies

Determine Whether The OS The Program Is Currently Running On Is Either 32bit Or 64bit?

Jun 6, 2011

I just need to be able to determine whether the OS the program is currently running on is either 32bit or 64bit.

View 5 Replies

VS 2010 64Bit Compile For 32Bit OS.App Errors

Jan 17, 2012

[Code]...

I have compiled my app (Just standard windows controld, no third party) on my 64bit system to run on a 32Bit XP system. In have tried all the different settings (x86, x32, All) The error i get is: MyApp.exe has encountered a problem and needs to close. Sorry for the inconvenience. This is my first post here, I hope i havent managed to break any rules

View 10 Replies

C++ DLL In VB Crashing

Dec 9, 2011

I have a dll that someone made me in C++. I needed to use this dll in VB, in order to do that I had to make another dll in C++ that has functions I can call in VB.

The C++ dll I made has 4 functions. 2 callback functions that retrieve information from the original C++. And 2 functions that I can call from VB to send that information.

I know the original dll works fine as Ive tested it endlessly in a console app.

However when I use it with my dll and VB.. I get random crashes.

There is almost no code in my VB app as its just for testing. It just outputs the information so theres no problem there.

I believe the problem is in the C++ dll I made. I am pretty new with C++.I think maybe a variable gets accessed in 2spots at the same time (is this possible?) and causes it to crash?[code]...

View 2 Replies

.NET In Visual Studio 2008 On Vista 32bit Building A WSP?

Jun 9, 2009

I am trying to build a WSP file in VS2008 on my VB.NET project. How would I go about doing this? I can find a lot of plugins for C# but not VB.NET.

View 2 Replies

Bad Image Format Exception Between 32bit And 64bit Machines

Mar 15, 2012

We have a winforms appliction that has to talk to an AS400. To do this we imported the IBM.Data.DB2.iSeries classes in the Winforms application and have IBM System I Access for Windows on our machines. It must have the System I Access or it will not talk to the AS/400. Everything works fine on my 64bit development machine. It also works fine on the client's 64bit machine. However when we attempt to install it on a 32bit machine we get a Bad Image format exception. We tried making just an x86 installer instead of any cpu but that did not work (same bad image exception).

View 2 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

VB2005 32bit Program NOT Running On 64bit Systems

Oct 16, 2009

I developed a Visual Basic program in VS2005 that uses SQL2005 on a 32bit system, which runs perfectly on 32bit systems using Click Once deployment, but whenever I try to load or run same program on any 64bit system, it does not load or run. What do I need to do to make the program run on 64bit systems.

View 2 Replies

VS 2010 Strange 64bit Vs 32bit With Process.Start?

Oct 13, 2010

I am trying to execute DiskShadow on Server 2008 R2 via Process.Start

[code]...

Now, what's happening is that the Diskshadow script fails with a "com call "(*vssobject)->initializeforbackup" failed." If I then open a command prompt/powershell prompt as administrator and execute "Diskshadow -s diskshadow.txt" manually it works just fine.

If, however, I try c:windowssyswow64Diskshadow -s diskshadow.txt I get the exact same error as when I try to run it via Process.StartSo, there seems to be some 32bit weirdness going on here when I try to run Diskshadow via Process.Start (Even though I am forcing it to use the copy in C:windowssystem32

View 8 Replies

My Program Keeps On Crashing

Jan 28, 2009

im creating a project on vb and every time i get quite far into it, it seems to stop taking in commands. For example i have form 1 with loads of buttons and wen i add another one and start debugging the new button (or whatever) wont be their, this has now happend three times and im getting very annoyed.

View 8 Replies

Assembly Becoming 32bit Specific When Built In Release Rather Than Debug In VS2008?

Jul 27, 2010

I am having a strange issue when building assembly's for one of my modules.I was getting errors when running on 64bit which I traced back to being related to the assembly being 32bit specific. Our modules are(or should) all be built to be bit agnostic.Running CorFlags.exe on the assembly showed the following.

Version : v2.0.50727
CLR Header: 2.5
PE : PE32

[code].....

View 2 Replies

VS 2008 Running A 32bit Built Program On A 64bit System?

Feb 8, 2011

i've finally finished my A2 project by building a program for a real life solution. This program works on the school computers which are 32bit XP but when i try to run it on a Windows 7 64bit system, i can't get it to work after trying various things.

error:The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

View 7 Replies

VS 2010 Programed Code On 32bit Wont Work On 64bit?

Dec 30, 2011

i have my app code which programed on 32 bit now when i copy it to 64 bit and try to open the project i get this error Quote:Type library importer encountered a property getter 'sessionPlaylistCount' on type 'WMPLib.IWMPNowPlayingHelperDispatch' without a valid return type. The importer will attempt to import this property as a method instead.TlbImp

View 3 Replies

Application Crashing On Sbs 2008?

Nov 16, 2010

An application working fine on Microsoft Small Business Server 2003 (Windows 2003) 32 bit when installed on Microsoft Small Business Server 2008 (Windows 2008) 64 bit crashed with the following trace;SUB: MyApplication_UnhandledExceptionException Type: System.TypeInitializationExceptionMessage: The type initializer for 'IV.modMain' threw an excep

View 2 Replies

Bonjour .Net App Crashing Due To Svchost.exe?

Aug 5, 2011

I developed a .net application which uses bonjour to chat with other instances of the app on LAN. The application works fine on 5 pcs(4 with xp sp3 and 1 with windows 7) out of 6. On one computer (with windows 7 installed) the app crashes as soon as i try to register into bonjour service.

After digging deep into the problem i noticed that too many svchost.exe processes are running on the pc on which app crashes. After carefully terminating the svchost.exe's i came to know that by terminating one svchost.exe which consumes around 50Mb Ram, the app works absolutely fine.

The process path "C:\Windows\System32\svchost.exe"
Process Command Line "C:\Windows\System32\svchost.exe -k LocalSystemNetworkRestricted"

When i terminate the process, app starts working fine.

PS : Even after terminating the process restarts itself and app works fine.

View 2 Replies

C# - Threading In Asp.net Crashing Server?

Mar 17, 2011

I'm trying to get threading to work in ASP.NET but for some reason it keeps crashing my local server, and simply does not work at all when uploaded online. Here's the code:

[Code]...

View 3 Replies

Combo Box Crashing Form?

Jun 1, 2009

but it's strange. I have a few combo boxes on a form that are fed via select query. They each are populated by their own table. Each of the tables feeding them have a codeassociated with a name, function etc... the code is what is stored in the form's table. I have another select query that converts the code to the name or whatever so that the user does not see the code, but the name associated with it when the form loads.What is happening is: The form loads and if i don't touch any of these combo boxes every thing is fine if i update them, I can't tab off the combo box or move the cursor anywhere, or even close the form. I have one of these boxes with the same code and it works fine.. I don't understand what is going on... I have an after update function that is the same on all of them and it is indeed updating correctly....

Public Shared Function LoadCallSource() As String
Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Documents
and Settingsdiw07My DocumentsDaily Backupsphone memo backend.mdb"

[code].....

View 12 Replies

My.settings Is Crashing Game

Jan 30, 2012

this just makes no sense at all right now...the last time that I was debugging my game, this worked fine, now it crashes my game every time I try to load... ok, I have the users chosen font saved to the my.settings file of the game, and now, every single time that I go to launch the game, it crashes upon trying to load this chunk of the my.settings file...

[Code]....

View 2 Replies

No Errors But Program Crashing?

May 11, 2012

for our culminating activity we must make a program that uses a bunch of things etc.

i decided to go the extra mile and make sudoku.

The problem lies in generating the puzzle, the program always crashes, but there is never an error. im sure there are easy ways to make the generator, but from what we've learned this is the only way i know how to do it.


Private Sub FirstBlock()
Randomize()
intNumber(0, 0) = Int(9 * Rnd() + 1)

[Code]....

i made a function for each 3x3 square, and what happens is the block its currently on, checks for interferences horizontally, vertically, and within each 3x3 square, because computers process in order, i set it so that it only checks for previous block interferences, since this is the first 3x3 quadrant, there are no previous horizontal/verticals to check.

The code works fine, the problem is when i run it, it says its running but no form appears, i learned to use a progressbar to try and separate each 3x3 block to generate individually, to try and split the processes up 1 second at a time. the problem is, it does run, but it only generates a certain amount before it crashes, and every time its different, sometimes it generates half the puzzle, sometimes 1/3rd, sometimes only the first quadrant.

View 13 Replies







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