Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

6 May, 2024: The networking issue during the past two days has been identified and may be fixed. Will keep monitoring.


devel / comp.lang.xharbour / ("Outlook.Application")

SubjectAuthor
* ("Outlook.Application")timepro timesheet
`* ("Outlook.Application")Ella Stern
 `- ("Outlook.Application")Reinaldo

1
("Outlook.Application")

<4ae91e9f-87d1-41cc-90ff-62c0c13b4590n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9965&group=comp.lang.xharbour#9965

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:4741:: with SMTP id k1mr3114872qtp.374.1626340722834;
Thu, 15 Jul 2021 02:18:42 -0700 (PDT)
X-Received: by 2002:a0c:ca0f:: with SMTP id c15mr3183950qvk.51.1626340722704;
Thu, 15 Jul 2021 02:18:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 15 Jul 2021 02:18:42 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2405:204:228d:df8c:9123:6593:1a02:4455;
posting-account=jZAeNwoAAABYWjMRM-FfqKkHfC3Iph0l
NNTP-Posting-Host: 2405:204:228d:df8c:9123:6593:1a02:4455
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4ae91e9f-87d1-41cc-90ff-62c0c13b4590n@googlegroups.com>
Subject: ("Outlook.Application")
From: timecost...@gmail.com (timepro timesheet)
Injection-Date: Thu, 15 Jul 2021 09:18:42 +0000
Content-Type: text/plain; charset="UTF-8"
 by: timepro timesheet - Thu, 15 Jul 2021 09:18 UTC

hello all:

at some endusers my app crashes at line#28.
but, at most users, that exact same app works fine.

tia

***********
func oemail(o1)
***********
1 o1=if(empty(pcount()),'O',o1)
2 if upper(substr(os(),9,2))='XP'.or.upper(substr(os(),9,2))='VI'
3 message('works under win7/8/10')
4 end
5 toto=if(empty(toto),alltrim(client->clientst),toto)
6 tsubject=if(!empty(tsubject),tsubject,'PFA')
7 attch=pdfname && e.g.: diskname()+':\tax\gst\A001clientbills21-22.pdf'
8 tbody=if(empty(tbody),trim(client->clientname),tbody)
9 tbody1=if(empty(tbody1),trim(client->clientadr1)+', '+trim(client->clientadr2),tbody1)
10 tbody2=if(empty(tbody2),trim(client->clientcity),tbody2)
11 tbody+="<br>"+tbody1+"<br>"+tbody2
12 email=.t.
13 TRY
14 oOutlook:=GetActiveObject("Outlook.Application")
15 oOutlook:=CreateObject("Outlook.Application")
16 CATCH
17 dcr(23,01,24,79,xw)
18 mymess(23,39,'outlook application not installed/activated in this system',xm,xy,fcn,6,6,900)
19 mymess(24,39,'app may crash',xm,xy,fcn,6,6,900);inkey(.5);inkey(15)
20 email=.f.
21 END
22 if email
23 oMsg:=oOutlook:CreateItem(0)
24 oMsg:GetInspector()
25 oMsg:TO := toTO
26 oMsg:Subject := tSubject
27 oMsg:HTMLBody := tbody
28 if !empty(attch);oMsg:Attachments:add(Attch);end && CRASHES HERE (attch is never empty)
29 oMsg:Display(.f.)
30 end
31 ...
32 ...
33 ...
34 ...

Re: ("Outlook.Application")

<21e87e95-7122-4d15-b5ec-c7b84341e21bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9966&group=comp.lang.xharbour#9966

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:101a:: with SMTP id z26mr3647640qkj.261.1626349588832; Thu, 15 Jul 2021 04:46:28 -0700 (PDT)
X-Received: by 2002:a05:620a:4e9:: with SMTP id b9mr3485202qkh.358.1626349588647; Thu, 15 Jul 2021 04:46:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 15 Jul 2021 04:46:28 -0700 (PDT)
In-Reply-To: <4ae91e9f-87d1-41cc-90ff-62c0c13b4590n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.78.22.169; posting-account=H3ofRwoAAADbRxQ3Wi989fFKCMQ4Av_J
NNTP-Posting-Host: 82.78.22.169
References: <4ae91e9f-87d1-41cc-90ff-62c0c13b4590n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <21e87e95-7122-4d15-b5ec-c7b84341e21bn@googlegroups.com>
Subject: Re: ("Outlook.Application")
From: ellail...@gmail.com (Ella Stern)
Injection-Date: Thu, 15 Jul 2021 11:46:28 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Ella Stern - Thu, 15 Jul 2021 11:46 UTC

https://docs.microsoft.com/en-US/outlook/troubleshoot/performance/outlook-not-responding-error-or-outlook-freezes

On Thursday, July 15, 2021 at 12:18:43 PM UTC+3, timec...@gmail.com wrote:
> hello all:
>
> at some endusers my app crashes at line#28.
> but, at most users, that exact same app works fine.
>

Re: ("Outlook.Application")

<d7e81195-4a4f-4744-8d9c-544c801f05c0n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9967&group=comp.lang.xharbour#9967

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ad4:456d:: with SMTP id o13mr4981253qvu.48.1626362481909;
Thu, 15 Jul 2021 08:21:21 -0700 (PDT)
X-Received: by 2002:ac8:58d3:: with SMTP id u19mr1315224qta.306.1626362481701;
Thu, 15 Jul 2021 08:21:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!fdn.fr!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 15 Jul 2021 08:21:21 -0700 (PDT)
In-Reply-To: <21e87e95-7122-4d15-b5ec-c7b84341e21bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=66.176.109.152; posting-account=gKC1rwoAAACsXQwL7JqnaNwb7B4IwyoZ
NNTP-Posting-Host: 66.176.109.152
References: <4ae91e9f-87d1-41cc-90ff-62c0c13b4590n@googlegroups.com> <21e87e95-7122-4d15-b5ec-c7b84341e21bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d7e81195-4a4f-4744-8d9c-544c801f05c0n@googlegroups.com>
Subject: Re: ("Outlook.Application")
From: reinaldo...@gmail.com (Reinaldo)
Injection-Date: Thu, 15 Jul 2021 15:21:21 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Reinaldo - Thu, 15 Jul 2021 15:21 UTC

How about testing if Attch is Nil?

Reinaldo.

On Thursday, July 15, 2021 at 7:46:29 AM UTC-4, Ella Stern wrote:
> https://docs.microsoft.com/en-US/outlook/troubleshoot/performance/outlook-not-responding-error-or-outlook-freezes
> On Thursday, July 15, 2021 at 12:18:43 PM UTC+3, timec...@gmail.com wrote:
> > hello all:
> >
> > at some endusers my app crashes at line#28.
> > but, at most users, that exact same app works fine.
> >

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor