VistaDB Connection

StarkStark Syria
edited June 2009 in FastReport .NET
Hi ,Have a good day ...

I want to connect Fast report to VistaDB .... ?

and I have two problems :

1 - I can't see the DataSource Of VistaDB , if I use the Smart tag of report1 in my VS IDE ....
but the Designer.exe .... work fine with it ( it's work as expected )


2 - I can't Understand this line of code :
FastReport.Utils.RegisteredObjects.AddConnection(typeof(VistaDBDataConnection));
What do you mean by VistaDBDataConnection is it VistaDB.Provider.VistaDBConnection ?

THINGS you need to know :
- I didn't install Fastreport on my mahcine from the msi file , I added fastreport.dll manually ... to VS toolbox
- I added the Fastreport.VistaDB.dll to my project references ....
- I deleted the fastreport.config , plus restart my VS .NET IDE about a 15 times ....


any help would be very appreciated

Kind regards ....

Comments

  • edited 2:44PM
    Hello,

    1) if you want to work with VistaDB in VS design-time, you need to add the connector to the designer plugins, as described in the readme.txt:
    wrote:
    1) register using the FastReport IDE
    - open the report designer;
    - go "View|Options..." menu;
    - on the "Plugins" tab, add the FastReport.VistaDB.dll;
    - restart FastReport. If you are working in the Visual Studio IDE, restart
    it as well;

    2) no it's FastReport.Data.VistaDBDataConnection
  • StarkStark Syria
    edited June 2009
    Thank you for your Quick replay ....

    I added the plug in and restart the VS IDE , and the Report , (at the first time)

    but still no luck , I can design my report and VistaDB connection from designer.exe ...

    but not from VS IDE ....



    But I can deal with this ....
    I desing my report at designer.exe and save it . .
    Then I added the saved report to my project as resource string manually ...
    then I call report1.loadfromstring (....)

    I just wanted to tell that .... thats all ....

    no need to bother your self , if it's work ok with you ...

    I am fine ...

    Thank you , so mcuh >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.