CFRONTDOTNET sample app problems..what I am doing wrong??

BWillis
BWillis Member Posts: 9
I just installed the SDK with Navi40 SP3 and opened the CFRONTDOTNET sample app. However, all I get is a "Cross-thread operation not valid" error. Anyone else had this problem. Any advice.

Thank you!!

Comments

  • gedas
    gedas Member Posts: 87
    Hi,

    Please get more details: what you are running, when receive error, what is setup?
    Usually samples are working. Typical reasons if it doesn't work: installation, language, setup, license problems.
    Please check it.
    GB
  • BWillis
    BWillis Member Posts: 9
    Thanks in advance for ANY help!

    I'm currently running:

    OS is: Windows XP Professional SP2
    Navision Server and client versions are: Navision 4.0 SP3
    Visual Studio 2005 Version 8.0.50727.42

    I installed the CFrontSampleApplication; put the dlls in the Debug folder per the Readme file, and then ran the app. I select File, Connect and enter my database info and click the Connect button and then, without fail, I receive the following error:
    System.InvalidOperationException: Cross-thread operation not valid: Control 'lisbox Tables' accessed from a thread other than the thread it was created on

    Thanks again!
  • gedas
    gedas Member Posts: 87
    Hi
    Try debug - it seems not CFront problem, but VS or sample application code compability problem.
    GB