Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

??? about the oleobject variables

4 posts in Objects Last posting was on 2002-09-17 20:41:46.0Z
Daryl Avery Posted on 2002-09-17 18:37:23.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com>
Subject: ??? about the oleobject variables
Date: Tue, 17 Sep 2002 13:37:23 -0500
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: x57254.softwarespectrum.com 204.117.57.254
Message-ID: <364_A8KBlsnXCHA.305@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:925
Article PK: 713490

Is it possible to see the properties and values in debugger for an ole
object once has been instantiated?
For example, I am connecting to an SMTP session using an oleobject variable:

oleobject loo_fields, loo_msg, loo_config

loo_config = create oleobject

li_rc = ioo_config.ConnectToNewObject ("CDO.Configuration")
if li_rc <> 0 then
// Handle some error
return -1
end if

iw_frame.SetMicroHelp ("Obtaining sender information...")
// Get user name and email address needed to connect to SMTP
//if this.of_GetSenderInfo (ls_name, ls_email_addr) = -1 then
// return -1
//end if

loo_fields = loo_config.Fields

li_rc = loo_fields.ConnectToNewObject ("ADODB.Fields")
loo_fields.SendUsingMethod = 2 // SendUsingPort
loo_fields.SMTPServer = "somehost@someplace.com"
loo_fields.SMTPServerPort = 67
loo_fields.SMTPAccountName = "MyAcct"
loo_fields.SMTPAuthenticate = 1 // Basic
loo_fields.SendUserName = "My Name"
loo_fields.SendEmailAddress=SENDER_EMAIL_ADDR_NAMER
loo_fields.Update ()

*~*~*~*~*~*~*~*~*~*~*
If it is possible I would like to see the properties in loo_fields and their
values.
--
Thanks,

Daryl L. Avery
Development Technologies Consultant
Software Spectrum, Inc.
Phone: 972.864.5114
Fax: 972.864.7811
Email: Daryl.Avery@SoftwareSpectrum.com
Web Site: SoftwareSpectrum.com


Roy Kiesler [TeamSybase] Posted on 2002-09-17 20:04:36.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: ??? about the oleobject variables
Date: Tue, 17 Sep 2002 16:04:36 -0400
Lines: 62
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_BFPDwdoXCHA.305@forums.sybase.com>
References: <364_A8KBlsnXCHA.305@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:924
Article PK: 713482

You can try to add a watch entry using "string( OLE property name )".

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

"Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com> wrote in message
news:A8KBlsnXCHA.305@forums.sybase.com...
> Is it possible to see the properties and values in debugger for an ole
> object once has been instantiated?
> For example, I am connecting to an SMTP session using an oleobject
variable:
>
> oleobject loo_fields, loo_msg, loo_config
>
> loo_config = create oleobject
>
> li_rc = ioo_config.ConnectToNewObject ("CDO.Configuration")
> if li_rc <> 0 then
> // Handle some error
> return -1
> end if
>
> iw_frame.SetMicroHelp ("Obtaining sender information...")
> // Get user name and email address needed to connect to SMTP
> //if this.of_GetSenderInfo (ls_name, ls_email_addr) = -1 then
> // return -1
> //end if
>
> loo_fields = loo_config.Fields
>
> li_rc = loo_fields.ConnectToNewObject ("ADODB.Fields")
> loo_fields.SendUsingMethod = 2 // SendUsingPort
> loo_fields.SMTPServer = "somehost@someplace.com"
> loo_fields.SMTPServerPort = 67
> loo_fields.SMTPAccountName = "MyAcct"
> loo_fields.SMTPAuthenticate = 1 // Basic
> loo_fields.SendUserName = "My Name"
> loo_fields.SendEmailAddress=SENDER_EMAIL_ADDR_NAMER
> loo_fields.Update ()
>
> *~*~*~*~*~*~*~*~*~*~*
> If it is possible I would like to see the properties in loo_fields and
their
> values.
> --
> Thanks,
>
> Daryl L. Avery
> Development Technologies Consultant
> Software Spectrum, Inc.
> Phone: 972.864.5114
> Fax: 972.864.7811
> Email: Daryl.Avery@SoftwareSpectrum.com
> Web Site: SoftwareSpectrum.com
>
>
>
>


Daryl Avery Posted on 2002-09-17 20:35:54.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com>
Subject: Re: ??? about the oleobject variables
Date: Tue, 17 Sep 2002 15:35:54 -0500
Lines: 69
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: x57254.softwarespectrum.com 204.117.57.254
Message-ID: <364_yr9UzuoXCHA.161@forums.sybase.com>
References: <364_A8KBlsnXCHA.305@forums.sybase.com> <364_BFPDwdoXCHA.305@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:923
Article PK: 713489

That didn't work.

-Daryl

"Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com> wrote in
message news:BFPDwdoXCHA.305@forums.sybase.com...
> You can try to add a watch entry using "string( OLE property name )".
>
> --
> <hopethishelps/>
> Roy Kiesler [TeamSybase]
> Sybase Developer Network -- http://sdn.sybase.com
>
> "Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com> wrote in message
> news:A8KBlsnXCHA.305@forums.sybase.com...
> > Is it possible to see the properties and values in debugger for an ole
> > object once has been instantiated?
> > For example, I am connecting to an SMTP session using an oleobject
> variable:
> >
> > oleobject loo_fields, loo_msg, loo_config
> >
> > loo_config = create oleobject
> >
> > li_rc = ioo_config.ConnectToNewObject ("CDO.Configuration")
> > if li_rc <> 0 then
> > // Handle some error
> > return -1
> > end if
> >
> > iw_frame.SetMicroHelp ("Obtaining sender information...")
> > // Get user name and email address needed to connect to SMTP
> > //if this.of_GetSenderInfo (ls_name, ls_email_addr) = -1 then
> > // return -1
> > //end if
> >
> > loo_fields = loo_config.Fields
> >
> > li_rc = loo_fields.ConnectToNewObject ("ADODB.Fields")
> > loo_fields.SendUsingMethod = 2 // SendUsingPort
> > loo_fields.SMTPServer = "somehost@someplace.com"
> > loo_fields.SMTPServerPort = 67
> > loo_fields.SMTPAccountName = "MyAcct"
> > loo_fields.SMTPAuthenticate = 1 // Basic
> > loo_fields.SendUserName = "My Name"
> > loo_fields.SendEmailAddress=SENDER_EMAIL_ADDR_NAMER
> > loo_fields.Update ()
> >
> > *~*~*~*~*~*~*~*~*~*~*
> > If it is possible I would like to see the properties in loo_fields and
> their
> > values.
> > --
> > Thanks,
> >
> > Daryl L. Avery
> > Development Technologies Consultant
> > Software Spectrum, Inc.
> > Phone: 972.864.5114
> > Fax: 972.864.7811
> > Email: Daryl.Avery@SoftwareSpectrum.com
> > Web Site: SoftwareSpectrum.com
> >
> >
> >
> >
>
>


Roy Kiesler [TeamSybase] Posted on 2002-09-17 20:41:46.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: ??? about the oleobject variables
Date: Tue, 17 Sep 2002 16:41:46 -0400
Lines: 80
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <364_TaPHhyoXCHA.305@forums.sybase.com>
References: <364_A8KBlsnXCHA.305@forums.sybase.com> <364_BFPDwdoXCHA.305@forums.sybase.com> <364_yr9UzuoXCHA.161@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:922
Article PK: 713483

Sorry -- I'm fresh out of ideas...

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
Sybase Developer Network -- http://sdn.sybase.com

"Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com> wrote in message
news:yr9UzuoXCHA.161@forums.sybase.com...
> That didn't work.
>
> -Daryl
> "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com> wrote in
> message news:BFPDwdoXCHA.305@forums.sybase.com...
> > You can try to add a watch entry using "string( OLE property name )".
> >
> > --
> > <hopethishelps/>
> > Roy Kiesler [TeamSybase]
> > Sybase Developer Network -- http://sdn.sybase.com
> >
> > "Daryl Avery" <Daryl.Avery@SoftwareSpectrum.com> wrote in message
> > news:A8KBlsnXCHA.305@forums.sybase.com...
> > > Is it possible to see the properties and values in debugger for an ole
> > > object once has been instantiated?
> > > For example, I am connecting to an SMTP session using an oleobject
> > variable:
> > >
> > > oleobject loo_fields, loo_msg, loo_config
> > >
> > > loo_config = create oleobject
> > >
> > > li_rc = ioo_config.ConnectToNewObject ("CDO.Configuration")
> > > if li_rc <> 0 then
> > > // Handle some error
> > > return -1
> > > end if
> > >
> > > iw_frame.SetMicroHelp ("Obtaining sender information...")
> > > // Get user name and email address needed to connect to SMTP
> > > //if this.of_GetSenderInfo (ls_name, ls_email_addr) = -1 then
> > > // return -1
> > > //end if
> > >
> > > loo_fields = loo_config.Fields
> > >
> > > li_rc = loo_fields.ConnectToNewObject ("ADODB.Fields")
> > > loo_fields.SendUsingMethod = 2 // SendUsingPort
> > > loo_fields.SMTPServer = "somehost@someplace.com"
> > > loo_fields.SMTPServerPort = 67
> > > loo_fields.SMTPAccountName = "MyAcct"
> > > loo_fields.SMTPAuthenticate = 1 // Basic
> > > loo_fields.SendUserName = "My Name"
> > > loo_fields.SendEmailAddress=SENDER_EMAIL_ADDR_NAMER
> > > loo_fields.Update ()
> > >
> > > *~*~*~*~*~*~*~*~*~*~*
> > > If it is possible I would like to see the properties in loo_fields and
> > their
> > > values.
> > > --
> > > Thanks,
> > >
> > > Daryl L. Avery
> > > Development Technologies Consultant
> > > Software Spectrum, Inc.
> > > Phone: 972.864.5114
> > > Fax: 972.864.7811
> > > Email: Daryl.Avery@SoftwareSpectrum.com
> > > Web Site: SoftwareSpectrum.com
> > >
> > >
> > >
> > >
> >
> >
>
>