PDA

View Full Version : Using versio 10 in .NET


Unregistered
November 4, 2002, 16:42:24
Trying to use the Tx TextControl v10 ActiveX in VB.NET.
As I haven't seen the .NET version yet, I'm trying the ActiveX.
Will use it if it gets through all my tests!

One problem though.

When using the SaveToMemory (or SaveToMemberyBuffer) I get aout of memory. The wrapper class created defines the buffer as an .NET objects. I I guess thats the problem.

Examples I've tried:
myString=oWin.AxTXTextControl1.SaveToMemoryBuffer("", 4)
myString=oWin.AxTXTextControl1.SaveToMemoryBuffer( myString, 4)
myString=oWin.AxTXTextControl1.SaveToMemory(4)

As this is my only problem left, it would be a pity to stop now...


/Marcus


This message was originally posted by Marcus H in the old TX Text Control Support Forum.

Unregistered
November 5, 2002, 19:49:34
I'd try something like:

Dim data() as Byte
Dim thisTX as AxTx4OleLib.AxTXTextControl
thisTX = oWin.AxTXTextControl1

data = thisTX.SaveToMemory(RTF_FILE, False)


This message was originally posted by Vann Joe in the old TX Text Control Support Forum.

Unregistered
November 10, 2002, 23:57:55
I've tried it. Doesn't work.

Think the problem is that it's an "variant"-parameter which .NET can't convert correctly.

So I think I'll need your .NET version! If I'm not gonna write my own proxy-class, which is quite complicated!

You don't have a version that uses hard typing of the method-parameters, that would solve the problem too!

I read that the .NET-version was to be release 1st of November? Have'nt seen any?

Any updates of when it will be released?

/Marcus


This message was originally posted by Marcus in the old TX Text Control Support Forum.