Hello,
I had created a com dll that converts text to image (bmp) file,i hav a function 'DrawText' to convert it.In the C/AL Symbol Menu functions argument is shown as [VARIANT DrawText :=]DrawText(BSTR My Text)
when i tried to assign SourceExpr of picture box as the same function, it doesnt works...(not the problm with dll thats sure)
I also tried to assign Output of function to a variant type,But variant datatype cant hold a blob datatype naa...then
how can i assign variant datatype to a Picture Box?? plz help :?
aav!o
0
Comments
There is a nice example of Streaming on the downloads section, but if you can't manage to get it to work let me know and I'll post some code. (Although the example in the downloads section is written in C# if I remember correctly; my example would be in VB.NET :?)
sorry i didnt find any example with streaming....can u plz provide exact path.. :?:
and also, iam calling this image convertion function from a report,... there i need to print it on...so in reports, blob global variables are not available. otherwise , i need to import these images to a table,but thr will be many images corresponding to a particular record, so if i could get a solution,that after converting to image and assigning it to a picture box that will be better.... do you hav a solution... [-o<
"Access Navision Stream From DotNet" http://www.mibuso.com/dlinfo.asp?FileID=776
What language have you programmed the COM dll in?
I will have to test a little when I have some free time (lately which has been never); But I am sure you can pass a temporary table to a report. As far as sending a temp. table full of image BLOBs that will show up on the report, not sure. :?
Here is my take on the COM <-> Navision stream handling (In VB.NET).
Based on Alexey Pavlov's code provided by the above link.