Deployment :: Using 32 Bit COM Object On 64bit Machine?

Dec 2, 2009

I wonder if/how to use a 32 bit DLL on a 64 bit machine. The situation is like follows:Autocad Inventor(64 bit program) can launch plugin DLL's. The plugin DLL in this case is programmed with VB.NET 2008 Express edition. As far as I know, I can only choose "Any CPU" when building the DLL with the Express edition. This DLL makes uses of a COM object called Isah IERPlink, a piece of software that is used with a 32 bit package. So in my bin directory this DLL will be added "interop.IERPlink.dll". I guess this DLL is specified for 32 bit CPU's, but I'm not sure.

View 2 Replies


ADVERTISEMENT

API, Kernel32 On 64bit Machine?

Nov 7, 2010

coming from VB6 I've been using the windows API for many years. Now I'd lke to do the same on .NetMy question is, what would happen if I build for 'AnyCPU' and the application calls Kernel32 while running on a 64bit machine ?

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

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

TableAdapter Methods Exit Out Of Sub When Run On 64bit Machine And Database Copy?

Feb 26, 2011

I'm using Visual Studio 2010 Express running on Windows 7 64-bit. I get the same error as detailled in this link [URL] .I need to work with some data to develop the system. I think I can only do this by changing the Copy to Output Directory file property to "Copy if newer" to prevent the debugger from losing it.However this causes TableAdapter.Fill to exit from the sub immediately after executing leaving behind the other code in the form "Add_Load" routine.

View 1 Replies

2010 Deployment To 32 Bit Machine

Jul 20, 2011

If I develop a VB2010 Windows Forms application on a 64 bit machine, can I deploy it to a 32 bit machine?The 32 bit machine has .NET Framework 4 Extended on it.Or can I tell the 64 bit compiler to go 32 bit? I have VS Pro on the 64 bit machine.I don't want to leave any development package on the 32 bit machine, which will be transferred to a client.jeyoung

View 5 Replies

Deployment Fails On XP Machine?

Apr 7, 2012

I have just finished my application using VB in Visual Studio 2005 and it works fine on my Win 7 development machine. But when I install and run it on an XP machine it fails with an unhandled exception:System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E8D851FA-9967-4ADF-9644-0183B9B1EA68} failed due to the following error: 80040154.

I've googled the error message and the solutions seem to be 1) compile as x86 (was doing that anyway), and 2) register the dll on the machine But firstly I'm not sure which dll I need to register, and secondly I don't want to be going around registering dlls - the whole point of the installation programs is that it should just install and configure everything automatically..

View 10 Replies

SocketException On Deployment But Not On Development Machine?

Oct 22, 2009

I have written an async UDP client to talk to a server at my company. When I run on my developer machine all is well. When I deploy to another machine I get a socket exception on EndReceive the first time I send data over the socket. My dev box is Win7 and I have deployed to both an XP SP3 machine and a Server 2003 R2 machine. Below is the receive code:

[code]...

View 1 Replies

VS 2005 - Deployment Error On XP Machine

Mar 29, 2010

I am getting the following error on a users machine who is running XP method not found 'system.string system.windows.forms.openfiledialog.get_safefilename
Do I need netframework 3.5 ?

View 12 Replies

Deployment :: Performing A Serial Port Function Halts / Locks Up On The Vista Machine

Sep 16, 2009

I have created an application using VB 2008 Express on an XP machine. I created a deployment package and installed it on other XP machines with no problems. I tried it on a Vista machine and all seemed well until performing a serial port function. It simply halts/locks up. I have to close it in task mangler. I thought I would circumvent the problem by building and publishing it on the Vista machine. While running the program from VB express the program functions perfectly on that Vista machine, but when I publish and install it on same it still crashes at the serial portion of the program.

View 2 Replies

Deployment :: Outlook Security ... Register Com Object ... Clickonce

Feb 11, 2009

I have now spent a long time trying to figure out how to fix this problem, hoping someone here could give me some hints What I'm trying to do: I need a way to save mail items to a folder on the computer What I have done so far: I created a component, where you could drag a mail item from Outlook on to. This component then saves this mail item to a folder on the computer

[Code]...

View 2 Replies

Cannot Access The Database From Server Machine To Client Machine Using .net 3.5?

Dec 9, 2010

I develop an application using vb.net.application will run on client server architecture.when we try to execute the program in client side then it will give me an error which is related to sqlclientexception.how can i handle this situation.i used vb.net 3.5 as front end and sql server 2000 as back end.i have done total coding with system.data.sqlclient namespace.

View 6 Replies

Deployment :: Deployment Of SQLEXPR32.EXE Using Template.ini File

Feb 24, 2009

I am deploying sql express as a prerequisite. I have created a custom prerquisite using bootstrap manifest generator. The problem I have is replacing the template.ini file which exists in the sqlexpr32.exe cab file. Winrar and winzip allow me to open the sqlexpr32.exe but will not allow me to edit, add or replace the template.ini.I also cannot find the path where the sqlexpr32.exe extracts to as I want to use that path for the settings file eg "template.ini".[code]

View 1 Replies

Deployment :: Setup And Deployment Project With Ms Sql Server?

Nov 3, 2009

i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?

View 1 Replies

.Net Software Behaves Differently From Machine To Machine?

Dec 21, 2010

I've inherited a lot of custom made software for an office, and, while managing it, I've found it performs differently from machine to machine.I mean, some controls get painted in weird ways in some machines but well in another, or just work differently, like in some machines clicking something selects it, and in the next machine clicking the same thing makes it editable.I suspect, o course, of the myriad of DLL the software loads

View 2 Replies

Deployment :: Deployment And MS Power Pack?

Jun 25, 2009

I have a windows app that uses the shape control which is part of the MS power pack and requires Microsoft.VisualBasic.PowerPacks.Vs.dll. I am using Publish to build my app and I have tried to change the dll to Include in the properties page but nothing seems to work.

I need a way to have the file included and I am unable to find a external copy and I understand that I cannot just copy the dll from my PC into the installation folder

View 1 Replies

Blocking A Particular Machine From Accessing A Machine On LAN?

Jan 21, 2008

I want to block a perticular machine from accessing my machine..Both the machines are in LAN..I dont want a perticular machine to access my computer How can i achieve this...I want to do this using VB.NetAny idea....

View 9 Replies

Deployment :: Setup & Deployment - Copy/import 2 Folders And There Sub-files/folders Into S&d Project?

May 7, 2012

Have built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?

When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?

View 5 Replies

Deployment :: Windows 7 (64 Bit) Deployment?

Feb 24, 2010

I have compiled my app to x86 so that it will run in a 64 bit processor, the issue I am facing right now is that when I install the app in under application folder I am not able to edit the config file which is in the same folder of the exe. how to give admin previlages to the application ?

PS: the app runs fine when installed in a different folder other than applicaitonfolder

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

.Net ReadProcessMemory Windows 7 RC 64bit?

Sep 20, 2009

i wrote a programm that reads the memory of a program.it worked at xp and vista but not at windows 7 i builded it with microsoft visual basic 2008 express edition.the code looks like this:

Public Declare Function GetWindowThreadProcessId Lib "User32" (ByVal hwnd As Integer, ByRef lpdwProcessId As Integer) As Integer Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer Public Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer

[Code]...

View 4 Replies

64bit Index For An Array?

May 18, 2010

Can I use Long for array indexing? If no what could be done to manipulate large byte arrays (>32bit)?

View 5 Replies

Building For Windows7 64bit

Jan 7, 2011

I have an application that I built in VB.Net 2008 on Windows XP for Any CPU that I would like to run on Windows 7 64bit. Is this possible from Windows XP or do I need to compile and develope on Windows 7 64bit for it to work?

View 10 Replies

Can Make 64bit Applications

Jan 23, 2010

VB.NET 2008 can make 64bit applications?

View 5 Replies

Check When System Is 32 Or 64bit?

Feb 6, 2010

There are a few threads on these forums about this question, but I need a definite answer.

View 10 Replies

Create A 64bit Application?

Aug 20, 2009

I am using Visual Basic 2008 Express Edition and I want to create a 64bit application, but don't know how.

View 9 Replies

Get RTF To Print In Win7-64bit?

Oct 14, 2010

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:

View 1 Replies

IDE :: Debug Not Working In 64bit?

Oct 12, 2011

I've downloaded the 64bit debug symbols and told the IDE where they were located. But for some reason, VS won't build a 64bit debug EXE.

This is my first time doing 64bit so I never had to worry about it before. Is there something I need to do in the IDE that I don't know about? I went to Project Properties and set things to 64bit debug. But when I compile the program, it makes a 32bit program.

View 2 Replies

IDE :: Running .Net Application On 64Bit OS?

Nov 2, 2010

will .net framework3.0 application run on 64 bit operating system

View 5 Replies

Moving On To Windows 7 - 64bit?

Dec 9, 2010

I'm getting a new laptop with pretty free hands as to what to get.Most I like come with Windows 7 64bit and I'm a bit cautious about that as I have Vista 64bit on a stationary at home. Not completely happy with that.

I have learned that the Jet database - that I use a lot - does not run on Vista 64bit, but how's the story with Windows 7 64bit. As I will be doing a lot of programming on the new laptop (and I need to get moving again soon - busy!!) I would like to know of potential problems up front.

I'm using Visual Studio 2008 programming VB.Net

View 3 Replies







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