Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Components in VB.NET 32 bits app

Posted on 2013-11-27
2
Medium Priority
?
277 Views
Last Modified: 2013-12-02
I'm using a W7 64bits and developing a 32bit app with VS2010 in VB.NET (framework v2.0.50727)

When I intend to use certains component as PDF.OCX, etc, at compiling time I get the following error:

Error      1      is not a valid Win32 application. (Exception from HRESULT: 0x800700C1) Line 130, position 5, etc.etc.etc.

  <data name="AxPDFOCX1.OcxState" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
        ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAfQAAAAIB
        AAAAAQAAAAAAAAAAAAAAAGgAAACTsgAAaAAAAAMACAAL8ldHIAAAAF8AZQB4AHQAZQBuAHQAeABPAwAA
        AwAIAAryV0cgAAAAXwBlAHgAdABlAG4AdAB5AE8DAAADAAgAv3pE0sD///9mAGkAbABlAHQAeQBwAGUA
        AAAAAAs=
</value>
  </data>

Any idea to solve this?

Thks
0
Comment
Question by:leorocha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
ChloesDad earned 500 total points
ID: 39682193
You should change the configuration from Any CPU to x86 in configuration manager. Also ensure that you are referencing 32bit dlls (which I suspect you are as it didn't work as Any CPU)
0
 

Author Closing Comment

by:leorocha
ID: 39689506
Finally i've found the appropiate component (32 bits)
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question