WriteProperty method ?

Results 1 to 3 of 3

Thread: WriteProperty method ?

  1. #1
    Join Date
    Dec 1969

    Default WriteProperty method ?

    In WriteProperties event of UserDocument ( in case of ActiveX document) I am trying to use WriteProperty method as follows:<BR><BR>PropBag.WriteProperty("Name", txtName.Text, "")<BR><BR>But it gives syntax error "Expected =".If i use it as:<BR><BR>N = PropBag.WriteProperty("Name", txtName.Text, "")<BR><BR>then at the time of running it , it gives an error "Expected function or variable".<BR><BR>Suggetions please....

  2. #2
    Join Date
    Dec 1969

    Default is this ASP?

    doesn&#039;t look like it to me.<BR><BR>course, you&#039;re very short on actual details.<BR><BR>j

  3. #3
    Join Date
    Dec 1969

    Default RE: WriteProperty method ?

    The problem lies with you not using the *Call* command when you are calling the sub with parentheses, i.e use this :<BR><BR>Call PropBag.WriteProperty("Name", txtName.Text, "")<BR><BR>or this :<BR><BR>PropBag.WriteProperty "Name", txtName.Text, ""<BR><BR>MikeD<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts