Issues when adding reference to V7 assemblies via VB.NET  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Issues when adding reference to V7 assemblies via VB.NET

Postby dimuthu » Thu Mar 05, 2015 1:21 pm

Hi Mike,

I added reference to some of the Jiwa V7 ( my version 7.0.105 ) assemblies from "C:\Program Files (x86)\Jiwa Financials\Jiwa 7" to my VB.NET ( visual studio 2008 ) project. Set the "Copy Local" as True. But it shows that system cannot find specified path.Please see attached. Have I done something wrong ?

Regards
Dimuthu
Attachments
vb_ref.jpg
dimuthu
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Fri Feb 06, 2015 3:03 pm

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby Mike.Sheen » Thu Mar 05, 2015 1:27 pm

Hi Dimuthu,

Check your project to make sure it is using x86 as the Target CPU and the Target Framework is .NET 4.51

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby dimuthu » Thu Mar 05, 2015 2:20 pm

Thanks Mike. I need to install framework 4.5.1

Regards
Dimuthu
dimuthu
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Fri Feb 06, 2015 3:03 pm

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby Scott.Pearce » Thu Mar 05, 2015 2:39 pm

Hang on, shouldn't the .NET Framework 4.5.1 be installed by Jiwa 7 for you? ergo, you already have the .NET Framework 4.5.1 installed.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby dimuthu » Thu Mar 05, 2015 2:58 pm

Hi Scott,

But it doesn't show in the target framework.

Regards
Dimuthu
Attachments
framwork.jpg
framwork.jpg (81.76 KiB) Viewed 8692 times
dimuthu
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Fri Feb 06, 2015 3:03 pm

Re: Issues when adding reference to V7 assemblies via VB.NET  Topic is solved

Postby Scott.Pearce » Thu Mar 05, 2015 3:00 pm

VS 2008 does not support .NET 4.5.1. You should upgrade to VS 2013.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby dimuthu » Thu Mar 12, 2015 12:06 pm

Hi Scott,

I installed VS 2013. Referenced Sales Order assembly and other . Did the coding. But at the compile time it throws me the attached error. I have set the Target CPU as x86.
Gave full control to the Jiwa7 folder and tried again but it throws the same compile error. Could you please tell me what cause this compile error.

Regards
Dimuthu
Attachments
reference.jpg
Reference list
compile error.jpg
compile error
dimuthu
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Fri Feb 06, 2015 3:03 pm

Re: Issues when adding reference to V7 assemblies via VB.NET

Postby dimuthu » Thu Mar 12, 2015 1:28 pm

Hi Scott,

Please ignore this. I fixed the issue.

Regards
Dimuthu
dimuthu
Occasional Contributor
Occasional Contributor
 
Posts: 34
Joined: Fri Feb 06, 2015 3:03 pm


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 0 guests