| Posted: 14 July 2010 at 8:55am | IP Logged
|
|
|
******* SOLVED ***********
I was trying to run it using a 64-bit operating system and the vb.net application didn't like it, to solve it did the following:
Go to your vb.net project directory and locate the file : <PROJECT NAME>.vbproj and open with notepad.
Locate the following lines:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineDebug>true</DefineDebug> <DefineTrace>true</DefineTrace> <OutputPath>bin\Debug\</OutputPath> <DocumentationFile>WRX Crane Comms.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,4202 0,42021,42022</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DocumentationFile>WRX Crane Comms.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,4202 0,42021,42022</NoWarn> </PropertyGroup>
Add the following line before </PropertyGroup> on both instances: <PlatformTarget>x86</PlatformTarget> and it should then look like below:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <DefineDebug>true</DefineDebug> <DefineTrace>true</DefineTrace> <OutputPath>bin\Debug\</OutputPath> <DocumentationFile>WRX Crane Comms.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,4202 0,42021,42022</NoWarn> <PlatformTarget>x86</PlatformTarget> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DocumentationFile>WRX Crane Comms.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,4202 0,42021,42022</NoWarn> <PlatformTarget>x86</PlatformTarget> </PropertyGroup>
Save and re-run the application...it should now work.
|