We have purchased a third party com object that requires the sending of a
userkey to initialize it. I am having problems with it and I am trying to
pinpoint why I am having problems. One of my problems is that the user key
that was given to us is 256 characters. I read in VFP help that strings can
only be 255 characters. I was wondering if this could be my problem. Can I
send 256 characters as a parameter to a method of a COM object?

--
Altman
VFP7 SP1

"No matter how foolproof you make a system, 'fools' can be remarkably
ingenious."

Re: COM object string by Rick

Rick
Fri Sep 12 13:44:12 CDT 2003

Altman,
Strings can contain up to 16,777,184 characters! A string constant (or =
literal) can only be 255 characters long (i.e. characters between the =
quotes).

Rick

"Altman" <NotGiven@SickOfSpam.com> wrote in message =
news:umJJvvUeDHA.2080@TK2MSFTNGP12.phx.gbl...
> We have purchased a third party com object that requires the sending =
of a
> userkey to initialize it. I am having problems with it and I am =
trying to
> pinpoint why I am having problems. One of my problems is that the =
user key
> that was given to us is 256 characters. I read in VFP help that =
strings can
> only be 255 characters. I was wondering if this could be my problem. =
Can I
> send 256 characters as a parameter to a method of a COM object?
>=20
> --=20
> Altman
> VFP7 SP1
>=20
> "No matter how foolproof you make a system, 'fools' can be remarkably
> ingenious."
>=20
>

Re: COM object string by Altman

Altman
Fri Sep 12 13:49:03 CDT 2003

ok I misunderstood the documentation then,

Thanks


"Rick Bean" <rgbean@NOSPAMmelange-inc.com> wrote in message
news:OOqmc3VeDHA.3896@tk2msftngp13.phx.gbl...
Altman,
Strings can contain up to 16,777,184 characters! A string constant (or
literal) can only be 255 characters long (i.e. characters between the
quotes).

Rick

"Altman" <NotGiven@SickOfSpam.com> wrote in message
news:umJJvvUeDHA.2080@TK2MSFTNGP12.phx.gbl...
> We have purchased a third party com object that requires the sending of a
> userkey to initialize it. I am having problems with it and I am trying to
> pinpoint why I am having problems. One of my problems is that the user
key
> that was given to us is 256 characters. I read in VFP help that strings
can
> only be 255 characters. I was wondering if this could be my problem. Can
I
> send 256 characters as a parameter to a method of a COM object?
>
> --
> Altman
> VFP7 SP1
>
> "No matter how foolproof you make a system, 'fools' can be remarkably
> ingenious."
>
>