Tamar,
in found a little bug in your code:
oObjColl = ThisForm.oOutlook.oExplorer.Selection must be
oObjColl = ThisForm..oExplorer.Selection
after that modification I got the attachement object and it´s SaveAsFile method.
Many thanks you for help und greetings from Germany.
Thomas
Hi Foxis,
I am familiar with drag & drop of files from explorer, but i need help with drag & drop of outlook attachments (pdf)
Does anyone have an example code for this?
Thomas
Hi Mike,
thank you for spending time to test my problem.
I allow my customers to create a copy of the eport and design it indivdidual, so I can´t use escape sequences.
One way is to hack the frx in background after editing the Report or the user must copy and paste given controls.
Both are not...
Yes to all and it works fine for more than 10 years.
There wasn´t any reason to change and I notice this only now.
The internal Epson Printer Fonts are faster than all other.
Thomas
Hi,
how can I select internal Printer (EPSON TM-Txx) Fonts (FontA11) in Report Designer?
It works fine in Windows XP while the Printer is selected as Default, but not in Windows 7.
In MS-Word all the Fonts are visible and selectable.
Thomas
Hi,
try to user my function who use an API-call.
FUNCTION GetUNCPath
LPARAMETERS tcPath
LOCAL lcBuffer, lnBufsize, lnError, lcReturn
lcReturn = ""
lnBufsize = 260
tcPath = LEFT( tcPath, 1 ) + ":"
lcBuffer = REPLICATE( CHR(0), lnBufsize )
DECLARE INTEGER WNetGetConnection IN WIN32API STRING...
Hi,
this is interesting but I don´t quit my Word-instance myself, the user do this after printing, previewing or something else. It looks like Word must do something before the flag ..NormalTemplate.. works correctly. BTW I try to do something ,set the flag and look what happened.
thomas
The problem is not copy and paste but rather the format. It´s an endless string, VFP can´t execute. Did you tried this yourself?
I modified my code:
loWord = CREATEOBJECT( "Word.Application" )
loWord.DisplayAlerts = 0
loWord.NormalTemplate.Saved=.T.
loWord.Visible = .T.
loDoc =...
Alias fieldnames ist good to know, thanks.
Can you send me your code via mail, because I don´t know how to handle the forums-formatting.
-> info@softart-online.de
Can you try my code, please. I want to know if this could be a problem on my pc.
Thomas
Cetin,
I tried to use a txt file and it works same like an excelsheet. BTW, how can I use VFP-Data directly?
I saw this code loWord.NormalTemplate.Saved = .T.
in other forums and tried it before wrote this thread.
The result was same like without.
Also loDoc = loWord.Documents.Add( m.lcWord )...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.