par ComponentOne - Type de produit : Composant / ActiveX OCX
ComponentOne VSVIEW is now officially part of ComponentOne Studio Enterprise and ComponentOne Studio for ActiveX.
If you require 5 or more individual licenses for ComponentOne VSVIEW , please Contact Us for pricing and availability.
I am working with VSPrinter 7.0. and I am having problems with winmm.dll, which is used for multimedia API on Windows VIsta. I am not sure why this is happening if I tried to load VSPrinter OCX in my VB application. Does it work on Vista? does it load this dll?
Any help please.
A.
Répondre
Hope this is simple - I load a file output from a package in "VSPrinter" format. I can read this document into a VB application and print the file using:
Dim qwtest As New VSPrinter7Lib.VSPrinter
qwtest.LoadDoc("c:\home\afile.vsp")
'qwtest.PrintDoc()
I want to load the file, change it to "RTF" format and save the file so I will get a file saved on disk "c:\home\afile.rtf".
I know I need to change the export format - please can you let me know the reformat and save syntax.
???????????????
qwtest.ExportFormat = VSPrinter7Lib.ExportFormatSettings.vpxRTF
qwtest.ExportFile
qwtest.SaveDoc("c:\home\qwout.rtf")
???????????????
Répondre
I have a document where I include a picture file and try as I might I can't get the code right to ensure that the text wraps around the picture - every so often the picture is shown on top of the text. I've tried measuring the picture box dimensions and moving the text cursor but obviously I'm doing something wrong :-( [using VB6]
Répondre
Hi,
My application is in VB3 and has used VSView for generating,viewing,printing reports.We are planning to upgrade the application to VB6.
My question is if we use latest version of VsView do we need to only upgrade the VSView to the latest version and keep the code same or do we have to scrap everything and start afresh.
Please reply asap.
Thank You.
Répondre
I have VSView3
I'm adding some RTF code to my cells, works great, HOWEVER, the grid disappears under the RTF formatted cell...
how can I make this work ??
Thank you much,
Jakob
Répondre
RE: VSPrinter.Table jgj [Korea, Republic Of] 29-Apr-2010 09:08:30
vsprint7에서 RTF file로 export하면 Tableborder=none를 했는데도 grid가 나타남,,,, 어떻게 하면 될까요.
Répondre
I downloaded the evaluation version and tried to export a sample resulting report to PDF file. It lost Turkish fonts. Can I embed these fonts to PDF file, if I can How?
Répondre
RE: VSVIEW support [USA] 18-Dec-2006 15:51:49
Hello,
Unfortunately, VSView does not support Unicode fonts. Some of our ActiveX controls do, such as VSFlexGrid and Chart, and all of our .NET and ASP.NET controls do.
Suelinda Webster
Customer Engagement, ComponentOne LLC
Répondre
I want to have a cell in a table created in VSprinter to be of a different color.
I have set the autortf property to true.
VSView help says that you can embed rtf code, so to set the cell text to red I tried adding a "{\red actual text}
Does not work.
Can I find some advice help ?
Répondre
RE: VSVIEW support [USA] 18-Dec-2006 14:54:35
Hello,
Does an RGB attribute work any better, like {{\colortbl\red255\green0\blue0;}My text} ? If this does not work for you, please contact ComponentOne support at support@componentone.com, and they can assist you.
Suelinda Webster
Customer Engagement, ComponentOne LLC
Répondre
i need help how to draw an arc using vsprinter.
Répondre
RE: VSVIEW support [USA] 18-Dec-2006 14:43:46
Hello,
To draw an arc in vsPrinter, you use the DrawCircle Method. If you use the optional parameters Start and End, the method will create either an arc or wedge (depending on the setting of vsPrinter.BrushStyle). If the BrushStyle property is set to bsTransparent, then the DrawCircle Method with the optional parameters will create an arc. Here is the format for the DrawCircle Method:
[form!]VSPrinter.DrawCircle CenterX As Variant, CenterY As Variant, Radius As Variant, [Start As Variant ], [End As Variant ]
So this code would create an arc:
Me.VSPrinter1.BrushStyle = BrushStyleSettings.bsTransparent
Me.VSPrinter1.DrawCircle someCenterX, someCenterY, someRadious, myStart, myEnd
NOTE: The default unit used by the DrawCircle method is twips. See the "Using Unit-Aware Properties" section of VSView help if you would like to use different units.
Suelinda Webster
Customer Engagement, ComponentOne LLC
Répondre
Hi,
I have generated a report dynamically from VB6. The resultant report uses 4 sub reports and displays in the preview mode with 9 pages. When I export to PDF, only the firts page is show with my page headers and footers, the content is not shown nor the pages after page 1. Please can you assist with this problem
Regards
Glenn Wilkinson
Répondre
I'm experiencing an intermittent problem while using the VsPrinter object from a program running in a virtual session under TSE.
The problem is that, after a few reports has been printed on one of the available printers, it is no longer possible to print any further report.
I verified that when this occurs, the collection of printers accessible through the property "Printers" of the VsPrinter object shows the correct number of printers but if I try to enumerate this printers only the first one is repeatedly shown.
At the beginning of the session, when printing work smoothly, this behaviour is not present, and the collection can be regularly enumerated.
Does anyone have any idea of the possible cause ??
Répondre
Hello there,
I am using vsprinter component for previewing and printing the report. Now I want to export it to CSV format. Can you tell me how can I achieve this. Is there any roundabout way to convert either RTF/HTML to CSV.
Thanks.
Répondre
I'am testing VS View 7.0.0.77 and I have the following problems (First day Testing):
* Problem with landscape view (the fonts are stretced)
* You cannot use Access Domain Aggregate functions (DMin, DMax, DLookuP etc)
if you want to display info from tables that don't exist in the recordsource (usefull
for complex reports)
(Perhaps this could be achieved with embedded vbscript)
* Cannot embed an activex control? (Charts or barcode fonts created by activex
controls cannot be embedded)
* Greek fonts are imported from an Access Database report but not saved in the XML file
* Flickering problems working with many fields and many rows
* You cannot easily edit a recordsource property when writing an sql string (a zoom box
must be used)
This product is a very good effort to beat Crystal Reports (CR is included in the standard
edition of VB.NET and not VSView) and tries to simulate Access Reports
functions which has for me the best reporting tool with incredible functions from early 90's.
I believe you must include a way to print Barcode since other products like combit list and label include.
Looking forward for a feedback.
Regards
Manolis Perrakis
Répondre
When I have a table Customers, with a field Cus_CT_ID (wich is Customer Type), and a table Customer Types (with CT_ID as primary key), how do I set the subreport to only show the correct Customer Type? I have a report Customers, with a subreport Customer Types.
According to the helpfiles, it can be set using the Text property of the Subreport field. When I set this field to Cus_CT_ID = CT_ID or CT_ID = Cus_CT_ID in the report editor, the subreport keeps displaying all Customer Types instead of 1 customer type.
I have tried looking through the samples, but I cannot find why this won't work...
Répondre
Next suggestions:
A custom page size should be included. Usefull when printing to custom paper labels.
The Outliner and Table of Contents examples contained in the view7demo don't work.
(Subscript out of range)
Regards
Manolis Perrakis
Répondre
ok, i got the pictures in my tables...
Now , i have another problem
When i create a table big enough than it would take 2 or 3 pages to print, the header row(row 0) appears during the preview on each pages (it's what i want....) but when i export it to rtf, then it only appears on the first page.
What can i do to have it on each pages ?
i set the autortf but it does'nt help...
Thanks for your time
Pierre-jean
Répondre
RE: VSVIEW ComponentOne Technical Support 21-Jul-2004 00:00:00
I would need to see a small sample project from you that duplicates the problem so that I can test it here.
Thank you,
Jason Harkness
ComponentOne Technical Support
(ComponentSource comment: Please, feel free to forward the sample to: support@componentsource.com and we will pass it on to ComponentOne)
Répondre
Ok!!! Let's rock !!!!!
New problem
if i have a recorset with let's say 150 fields and 30 records...
I want to print them out in such a way than the records are visible
You can put for example six colums(fields) on the first page, 5 colums (fields)on the second page,etc depending on the size of the colums...
How can i do to separate the colums ??
Thanks for your time
ps: and if you have more records, what' s happens....
Pierre-jean
Répondre
RE: VSVIEW ComponentOne Technical Support 21-Jul-2004 00:00:00
In order to break up a table like that, to incorporate all the fields like you want, you will to have to create a different table for each page, breaking the information up accordingly.
Thank you,
Jason Harkness
ComponentOne Technical Support
Répondre
How can I disable the print dialog? I have to print multiple times and every time I am getting the printer dialog.
Thanks
Répondre
Hi!!!!!!!
I'm trying to export as a rtf my report but it incudes a jpeg picture of ~390kb
going through the clipboard to embedded it doesn't work (out of memory)
Do there is any other way ???
the bitmap corresponding to the jpeg is 11700kb..... quite big...
Thx for helping...
Répondre
RE: VSVIEW ComponentOne Technical Support 21-Jul-2004 00:00:00
Normally, VSView 7 will not export images, as well as other features, to RTF or HTML. There is a way around this, but it involves using the ExportRaw property and using RTF or HTML code and tags (for whichever you are exporting to). I have a sample showing how this works that will be sent you.
Thank you,
Jason Harkness
ComponentOne Technical Support
RépondreRE: VSVIEW rafale_pj [Finland] 22-Jul-2004 00:00:00
Ok thanks for the file
Now, i get the picture on my document but Ineed to put it in a table and that the size of the picture correspond to the size of the table.
it goes like that:
.TableCell(tcText, 1, 1) = "{\field{\*\fldinst { INCLUDEPICTURE " & Filename & " \\* MERGEFORMAT \\d }}}"
the picture comes to the table in the rtf document but i like it to exactly fit the table size
Do you have any ideas ?????
Thanks for your time...
Pierre-jean
RépondreRE: VSVIEW ComponentOne Technical Support 23-Jul-2004 00:00:00
In order to incorporate an image into a table and then export it, with the image, to RTF, you will have to create the whole table using RTF tags and then using the ExportRaw property.
Thank you,
Jason Harkness
ComponentOne Technical Support
Répondre

Éditeur
Catégorie principale
Produits similaires
Catégories similaires
ComponentSource offre un service international unique, reconnu par plus de 1 000 000 développeurs de logiciels partout dans le monde.