C# Windows Form

Moderator: Moderator

C# Windows Form

Postby ramihot2006 » Wed Feb 12, 2014 3:37 pm

Please can you show me of a simple app(source code) that just connects(at a push of a button) and then displays in a textBox let's say for example EUR/USD and EUR/JPY ?
I am asking for your help because I have seen some VB,C++,Java examples but none C# and I have read the documentation and gone thru the forum back and forth and with no luck of understanding it...

Please just a button and a textBox for each pair.
Many thanks!
ramihot2006
 
Posts: 2
Joined: Wed Feb 12, 2014 3:32 pm

Re: C# Windows Form

Postby Gennadiy » Thu Feb 13, 2014 3:05 am

Hello ramihot2006,

Here you could find a really good sample. It demonstrates how to use the ForexConnect API .NET table manager in WinForms applications.
There you could download the sourcecode too.

Hope this will be helpful for you.
Gennadiy
 

Re: C# Windows Form

Postby ramihot2006 » Mon Feb 17, 2014 10:30 am

Please Gennadiy, can you buil the simple example because I looked on what you've said an I ran in a lot of trouble, lots of errors, compatibility issues and I ran out of time. So please help me am and all others that searches for this and put in an attachment a ".zip" or somethig

:cry:
ramihot2006
 
Posts: 2
Joined: Wed Feb 12, 2014 3:32 pm

Re: C# Windows Form

Postby Gennadiy » Mon Feb 17, 2014 11:42 pm

Hello ramihot2006,

I have built the sample from my previous message. Unzip it and run sampleWinForms.exe

Could you please provide me a list of errors which appears during you build the project?

ForexConnect_WinForms_Win32_dotnet40.zip
(1008.79 KiB) Downloaded 1049 times
Gennadiy
 

Re: C# Windows Form

Postby futurenets » Wed Feb 11, 2015 2:16 am

samplewinform uses net 2 but your download uses net 4?

trying to get source that uses net 4

viewtopic.php?f=37&t=61803
User avatar
futurenets
FXCodeBase: Initiate
 
Posts: 102
Joined: Mon Aug 02, 2010 2:00 am

Re: C# Windows Form

Postby futurenets » Wed Feb 11, 2015 5:15 am

ok done it ...

1. install FXConnect
2. install sampleWinForms project
3. replace project fxcore2.dll referencewith \net\dotnet40 version (installed in step 1)
4. copy dll's in \bin\ (installed in step 1) to project exe folder
5. Change project properties to net target 4.5
5. Rebuild
User avatar
futurenets
FXCodeBase: Initiate
 
Posts: 102
Joined: Mon Aug 02, 2010 2:00 am


Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 3 guests