Report Designer and VB 6
Report Designer and VB 6
Is there a way to use the Reportdesigner etc. in VB 6 Applications.
We have a lot of VB6 Applications and would like to build some new Reports in them.
Is there an Example available ?.
Thx
Stephan
We have a lot of VB6 Applications and would like to build some new Reports in them.
Is there an Example available ?.
Thx
Stephan
Report Designer and VB 6
I remember a thread a while back where someone was doing something from vb6 via activeX. I don't know if it's of any benefit but this is the post:
http://forum.stimulsoft.com/Default.aspx?g=posts&t=470
http://forum.stimulsoft.com/Default.aspx?g=posts&t=470
Report Designer and VB 6
You can see sample project with similar COM interface to Stimulsoft Reports.Net at www.stimulsoft.com/private/Stimulsoft.Report.Com.zip.
Thank you.
Thank you.
Report Designer and VB 6
Thx Vital,
but i cant get it work this example. It References an Object which is not included.
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Navision.Components.StiTextNV());
can i change this to
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Components.StiText());
Also how can i include this example in my VB6 application ?. The DLL which is created can not be referenced in a vb6 app.
Is there a working example available ? with vb6 code which is using the dll ?
thx
but i cant get it work this example. It References an Object which is not included.
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Navision.Components.StiTextNV());
can i change this to
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Components.StiText());
Also how can i include this example in my VB6 application ?. The DLL which is created can not be referenced in a vb6 app.
Is there a working example available ? with vb6 code which is using the dll ?
thx
Report Designer and VB 6
Yes, instead of using StiTextNV you can use StiText. It was done as example on using of your own components.Stephan1 wrote:Thx Vital,
but i cant get it work this example. It References an Object which is not included.
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Navision.Components.StiTextNV());
can i change this to
Stimulsoft.Report.StiConfig.Services.Add(new Stimulsoft.Report.Components.StiText());
Ok, we will prepare such an example.Also how can i include this example in my VB6 application ?. The DLL which is created can not be referenced in a vb6 app.
Is there a working example available ? with vb6 code which is using the dll ?
thx
Thank you.
Report Designer and VB 6
Thx Edward that would be very great.
Stephan
Stephan
Report Designer and VB 6
Please download attached project. Add to references Stimulsoft Reports.Net dlls and rebuild the solution.
In Visual Basic please use the following code:
Set clnd = CreateObject("Stimulsoft.Report.Com.ReportCom")
clnd.DesignReport
DesignReport - one from accessible commands, full list of them you can see in the file ReportCom.cs, in "#region Methods for work with Report".
So after running code you will see the designer.
Thank you.
In Visual Basic please use the following code:
Set clnd = CreateObject("Stimulsoft.Report.Com.ReportCom")
clnd.DesignReport
DesignReport - one from accessible commands, full list of them you can see in the file ReportCom.cs, in "#region Methods for work with Report".
So after running code you will see the designer.
Thank you.
- Attachments
-
- 21.Stimulsoft.Report.Com.zip
- (11.72 KiB) Downloaded 440 times
Report Designer and VB 6
Thx Edward,
this example works fine.
I also found some very helpfull at the Microsoft Site. The text is in german/english, but very interesting.
Here are the Links:
How to call a .NET assembly in VB6 German
How to call a .NET assembly in VB6 English
this example works fine.
I also found some very helpfull at the Microsoft Site. The text is in german/english, but very interesting.
Here are the Links:
How to call a .NET assembly in VB6 German
How to call a .NET assembly in VB6 English
Report Designer and VB 6
Ok, thank you for the information.
Let me know if you need any help.
Thank you.
Let me know if you need any help.
Thank you.