I open a word template in VB and add values to the bookmarks then save
the document as as pdf. When I then go to close the document it pops up
a save as dialog box. It's already saved the document in pdf and that
is all I want done with it. How can I tell it to close the file without
prompting me for anything?
For Each row As DataRow In myDt.Rows
Dim objWord As Application
Dim objDoc As Document
objWord = CreateObject("W ord.Application ")
objDoc = objWord.Documen ts.Add("c:\Coll ections.dotx")
objDoc.Bookmark s.Item("CUSTNO" ).Range.Text = row.Item("custn o")
objDoc.Bookmark s.Item("DATE"). Range.Text = DateString()
objDoc.SaveAs(" c:\test\" & row.Item("custn o") & "Collection ",
WdSaveFormat.wd FormatPDF)
objDoc.Close()
Next 10 3285
CJ,
Not to send you away or anything, it is not impossible that there is
somebody watching this newsgroup who knows the answer on your question.
Because you have stated your subject in a way that it is not covering your
problem it is however already lower (It is about a very special isolated
problem of VB automation of Word).
In your case I would ask this question in an office programming newsgroup
because if it is done with VB, VBA, C#, Java, C++ does not change your
problem that there is in the office class something that automaticly creates
a popup.
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:up******** ************@TK 2MSFTNGP04.phx. gbl...
>I open a word template in VB and add values to the bookmarks then save the document as as pdf. When I then go to close the document it pops up a save as dialog box. It's already saved the document in pdf and that is all I want done with it. How can I tell it to close the file without prompting me for anything?
For Each row As DataRow In myDt.Rows
Dim objWord As Application
Dim objDoc As Document
objWord = CreateObject("W ord.Application ")
objDoc = objWord.Documen ts.Add("c:\Coll ections.dotx")
objDoc.Bookmark s.Item("CUSTNO" ).Range.Text = row.Item("custn o")
objDoc.Bookmark s.Item("DATE"). Range.Text = DateString()
objDoc.SaveAs(" c:\test\" & row.Item("custn o") & "Collection ",
WdSaveFormat.wd FormatPDF)
objDoc.Close()
Next
Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves
differently from saving the document as Word format, e.g. docx/doc. Let's
first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION ***
Change the code line
objDoc.Close()
to
objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close
method, to discard the change of the Word document.
*** CAUSE ***
In fact, this code line only *exports* the current Word document to a PDF
file:
objDoc.SaveAs(" c:\test\" & row.Item("custn o") & "Collection ",
WdSaveFormat.wd FormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs
dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation
issue is
microsoft.publi c.office.develo per.automation
For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards,
Jialiang Ge (ji****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
Thanks, that's what I needed. I understand what you mean by exporting
to pdf. Word then feels like it isn't saved and wants to save it upon
exiting. I could not figure out the options for close() but they make
sense now.
Also thanks to you and Cor for pointing out
Microsoft.publi c.office.develo per.automation and the list of groups.
Actually this makes me wonder if there is a better way to access these
groups? Right now I'm using Mozilla Thunderbird and subscribe to
microsoft.publi c.dotnet.langua ges.vb for example. I like that I can
mark post Ignore and I don't see them leaving only a list of those
threads I am interested in. I leave them in Thunderbird so I can refer
back to them later if I forget. I don't like that after about 3 months
the threads only display that the article has expired. My only
workaround is going to Google NewsGroups and searching for the group
then for the subject of thread. They still have it.
Jialiang Ge [MSFT] wrote:
Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves
differently from saving the document as Word format, e.g. docx/doc. Let's
first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION ***
Change the code line
objDoc.Close()
to
objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close
method, to discard the change of the Word document.
*** CAUSE ***
In fact, this code line only *exports* the current Word document to a PDF
file:
objDoc.SaveAs(" c:\test\" & row.Item("custn o") & "Collection ",
WdSaveFormat.wd FormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs
dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation
issue is
microsoft.publi c.office.develo per.automation
For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards,
Jialiang Ge (ji****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
cj,
Can you try this link news://msnews.microsoft.com/microsof...per.automation
And please tell us if it did work
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:ea******** ******@TK2MSFTN GP06.phx.gbl...
Thanks, that's what I needed. I understand what you mean by exporting to
pdf. Word then feels like it isn't saved and wants to save it upon
exiting. I could not figure out the options for close() but they make
sense now.
Also thanks to you and Cor for pointing out
Microsoft.publi c.office.develo per.automation and the list of groups.
Actually this makes me wonder if there is a better way to access these
groups? Right now I'm using Mozilla Thunderbird and subscribe to
microsoft.publi c.dotnet.langua ges.vb for example. I like that I can mark
post Ignore and I don't see them leaving only a list of those threads I am
interested in. I leave them in Thunderbird so I can refer back to them
later if I forget. I don't like that after about 3 months the threads
only display that the article has expired. My only workaround is going to
Google NewsGroups and searching for the group then for the subject of
thread. They still have it.
Jialiang Ge [MSFT] wrote:
>Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves differently from saving the document as Word format, e.g. docx/doc. Let's first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION *** Change the code line objDoc.Close() to objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close method, to discard the change of the Word document.
*** CAUSE *** In fact, this code line only *exports* the current Word document to a PDF file: objDoc.SaveAs( "c:\test\" & row.Item("custn o") & "Collection ", WdSaveFormat.w dFormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation issue is microsoft.publi c.office.develo per.automation For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards, Jialiang Ge (ji****@online. microsoft.com, remove 'online.') Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsof t.com.
============== =============== =============== ====== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ============== =============== =============== ====== This posting is provided "AS IS" with no warranties, and confers no rights.
cj,
Can you try this link news://msnews.microsoft.com/microsof...per.automation
And please tell us if it did work
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:ea******** ******@TK2MSFTN GP06.phx.gbl...
Thanks, that's what I needed. I understand what you mean by exporting to
pdf. Word then feels like it isn't saved and wants to save it upon
exiting. I could not figure out the options for close() but they make
sense now.
Also thanks to you and Cor for pointing out
Microsoft.publi c.office.develo per.automation and the list of groups.
Actually this makes me wonder if there is a better way to access these
groups? Right now I'm using Mozilla Thunderbird and subscribe to
microsoft.publi c.dotnet.langua ges.vb for example. I like that I can mark
post Ignore and I don't see them leaving only a list of those threads I am
interested in. I leave them in Thunderbird so I can refer back to them
later if I forget. I don't like that after about 3 months the threads
only display that the article has expired. My only workaround is going to
Google NewsGroups and searching for the group then for the subject of
thread. They still have it.
Jialiang Ge [MSFT] wrote:
>Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves differently from saving the document as Word format, e.g. docx/doc. Let's first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION *** Change the code line objDoc.Close() to objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close method, to discard the change of the Word document.
*** CAUSE *** In fact, this code line only *exports* the current Word document to a PDF file: objDoc.SaveAs( "c:\test\" & row.Item("custn o") & "Collection ", WdSaveFormat.w dFormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation issue is microsoft.publi c.office.develo per.automation For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards, Jialiang Ge (ji****@online. microsoft.com, remove 'online.') Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsof t.com.
============== =============== =============== ====== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ============== =============== =============== ====== This posting is provided "AS IS" with no warranties, and confers no rights.
Well, that will cause Thunderbird to ask if I want to subscribe. I was
just wondering if there was a better way other than Thunderbird. How do
other folks access these forums?
Cor Ligthert[MVP] wrote:
cj,
Can you try this link news://msnews.microsoft.com/microsof...per.automation
And please tell us if it did work
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:ea******** ******@TK2MSFTN GP06.phx.gbl...
>Thanks, that's what I needed. I understand what you mean by exporting to pdf. Word then feels like it isn't saved and wants to save it upon exiting. I could not figure out the options for close() but they make sense now.
Also thanks to you and Cor for pointing out Microsoft.publ ic.office.devel oper.automation and the list of groups. Actually this makes me wonder if there is a better way to access these groups? Right now I'm using Mozilla Thunderbird and subscribe to microsoft.publ ic.dotnet.langu ages.vb for example. I like that I can mark post Ignore and I don't see them leaving only a list of those threads I am interested in. I leave them in Thunderbird so I can refer back to them later if I forget. I don't like that after about 3 months the threads only display that the article has expired. My only workaround is going to Google NewsGroups and searching for the group then for the subject of thread. They still have it. Jialiang Ge [MSFT] wrote:
>>Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves differently from saving the document as Word format, e.g. docx/doc. Let's first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION *** Change the code line objDoc.Close() to objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close method, to discard the change of the Word document.
*** CAUSE *** In fact, this code line only *exports* the current Word document to a PDF file: objDoc.SaveAs ("c:\test\" & row.Item("custn o") & "Collection ", WdSaveFormat. wdFormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation issue is microsoft.publi c.office.develo per.automation For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards, Jialiang Ge (ji****@online. microsoft.com, remove 'online.') Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsof t.com.
============= =============== =============== ======= Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigati on to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ============= =============== =============== ======= This posting is provided "AS IS" with no warranties, and confers no rights.
Mostly Outlook Express (in Vista Windows mail)
As Thunderbird had not been your default newsreader that would have been
opened, therefore I asked you to reply.
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:%2******** *******@TK2MSFT NGP05.phx.gbl.. .
Well, that will cause Thunderbird to ask if I want to subscribe. I was
just wondering if there was a better way other than Thunderbird. How do
other folks access these forums?
Cor Ligthert[MVP] wrote:
>cj,
Can you try this link news://msnews.microsoft.com/microsof...per.automation
And please tell us if it did work
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht news:ea******* *******@TK2MSFT NGP06.phx.gbl.. .
>>Thanks, that's what I needed. I understand what you mean by exporting to pdf. Word then feels like it isn't saved and wants to save it upon exiting. I could not figure out the options for close() but they make sense now.
Also thanks to you and Cor for pointing out Microsoft.pub lic.office.deve loper.automatio n and the list of groups. Actually this makes me wonder if there is a better way to access these groups? Right now I'm using Mozilla Thunderbird and subscribe to microsoft.pub lic.dotnet.lang uages.vb for example. I like that I can mark post Ignore and I don't see them leaving only a list of those threads I am interested in. I leave them in Thunderbird so I can refer back to them later if I forget. I don't like that after about 3 months the threads only display that the article has expired. My only workaround is going to Google NewsGroups and searching for the group then for the subject of thread. They still have it. Jialiang Ge [MSFT] wrote: Hello CJ,
Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves differentl y from saving the document as Word format, e.g. docx/doc. Let's first look at the resolution of the issue, then I will explain "WHY".
*** RESOLUTION *** Change the code line objDoc.Close() to objDoc.Close(fa lse)
In other words, we pass false to the param "SaveChange " of the Close method, to discard the change of the Word document.
*** CAUSE *** In fact, this code line only *exports* the current Word document to a PDF file: objDoc.SaveA s("c:\test\" & row.Item("custn o") & "Collection ", WdSaveFormat .wdFormatPDF)
It does not save the current Word document. Therefore, we get a SaveAs dialog when we close the document with objDoc.Close()
Please try the solution and let me know whether it's helpful to you or not.
P.S. As Cor suggested, a more proper newsgroup for this Office automation issue is microsoft.publi c.office.develo per.automation For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx
Regards, Jialiang Ge (ji****@online. microsoft.com, remove 'online.') Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsof t.com.
============ =============== =============== ======== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigation to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactio ns or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. ============ =============== =============== ======== This posting is provided "AS IS" with no warranties, and confers no rights.
I'm not sure I understand. Thunderbird is my default reader. I don't
use Outlook Express. However, I am moving (being forced to move) from
Thunderbird to Outlook for email in the near future and wonder if I
should look for another news group reader.
Cor Ligthert[MVP] wrote:
Mostly Outlook Express (in Vista Windows mail)
As Thunderbird had not been your default newsreader that would have been
opened, therefore I asked you to reply.
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht
news:%2******** *******@TK2MSFT NGP05.phx.gbl.. .
>Well, that will cause Thunderbird to ask if I want to subscribe. I was just wondering if there was a better way other than Thunderbird. How do other folks access these forums?
Cor Ligthert[MVP] wrote:
>>cj,
Can you try this link news://msnews.microsoft.com/microsof...per.automation
And please tell us if it did work
Cor
"cj2" <cj*@nospam.nos pamschreef in bericht news:ea****** ********@TK2MSF TNGP06.phx.gbl. .. Thanks, that's what I needed. I understand what you mean by exporting to pdf. Word then feels like it isn't saved and wants to save it upon exiting. I could not figure out the options for close() but they make sense now.
Also thanks to you and Cor for pointing out Microsoft.pu blic.office.dev eloper.automati on and the list of groups. Actually this makes me wonder if there is a better way to access these groups? Right now I'm using Mozilla Thunderbird and subscribe to microsoft.publi c.dotnet.langua ges.vb for example. I like that I can mark post Ignore and I don't see them leaving only a list of those threads I am interested in. I leave them in Thunderbird so I can refer back to them later if I forget. I don't like that after about 3 months the threads only display that the article has expired. My only workaround is going to Google NewsGroups and searching for the group then for the subject of thread. They still have it. Jialiang Ge [MSFT] wrote: Hello CJ, > Saving a Word document as PDF (SaveAs WdSaveFormat.wd FormatPDF) behaves differently from saving the document as Word format, e.g. docx/doc. Let's first look at the resolution of the issue, then I will explain "WHY". > *** RESOLUTION *** Change the code line objDoc.Close() to objDoc.Close(fa lse) > In other words, we pass false to the param "SaveChange " of the Close method, to discard the change of the Word document. > *** CAUSE *** In fact, this code line only *exports* the current Word document to a PDF file: objDoc.Save As("c:\test\" & row.Item("custn o") & "Collection ", WdSaveForma t.wdFormatPDF) > It does not save the current Word document. Therefore, we get a SaveAs dialog when we close the document with objDoc.Close() > Please try the solution and let me know whether it's helpful to you or not. > P.S. As Cor suggested, a more proper newsgroup for this Office automatio n issue is microsoft.publi c.office.develo per.automation For the list of the managed newsgroups, please refer to the page http://msdn.microsoft.com/en-us/subs.../aa974230.aspx > Regards, Jialiang Ge (ji****@online. microsoft.com, remove 'online.') Microsoft Online Community Support > Delightin g our customers is our #1 priority. We welcome your comments and suggestions about how we can improve the support we provide to you. Please feel free to let my manager know what you think of the level of service provided. You can send feedback directly to my manager at: ms****@microsof t.com. > =========== =============== =============== ========= Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscripti...ult.aspx#notif > ications. > Note: The MSDN Managed Newsgroup support offering is for non-urgent issues where an initial response from the community or a Microsoft Support Engineer within 1 business day is acceptable. Please note that each follow up response may take approximately 2 business days as the support professional working with you may need further investigati on to reach the most efficient resolution. The offering is not appropriate for situations that require urgent, real-time or phone-based interactions or complex project analysis and dump analysis issues. Issues of this nature are best handled working with a dedicated Microsoft Support Engineer by contacting Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscripti...t/default.aspx. =========== =============== =============== ========= This posting is provided "AS IS" with no warranties, and confers no rights. >
cj2 wrote:
I'm not sure I understand. Thunderbird is my default reader. I don't
use Outlook Express. However, I am moving (being forced to move) from
Thunderbird to Outlook for email in the near future and wonder if I
should look for another news group reader.
? [Outlook] = [Outlook Express]
False
? [Outlook Express] = functionOf( [Outlook] )
False
They are completely different products but with similar names - Oooh;
where have we heard that one before? :-)
I happily use Outlook for my email and Thunderbird as my news client -
so long as you turn off the "default client" auto-detection, you
shouldn't have any major problems running both.
HTH,
Phill W. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Neil Ginsberg |
last post by:
I have a strange situation with my Access 2000 database. I have code in the
database which has worked fine for years, and now all of a sudden doesn't
work fine on one or two of my client's machines. The code opens MS Word
through Automation and then opens a particular Word doc. It's still working
fine on most machines; but on one or two of them, the user is getting an
Automation Error. The code used is as follows:
Dim objWord As...
|
by: Cheval |
last post by:
Has anyone had any problems with inter-office automation between MS Word and
MS Access in Office 2003?
I have recently installed office 2003 in a new folder and have left the
older office 2000 and office XP components installed. ie I have
word/access/excel 2k/xp/2003 installed. I tried to do a usual access 2k to
word 2k automation yet I get the error "Automation Error" "ClassFactory
cannot supply requested class" when on late binding try...
|
by: Neil |
last post by:
Is there a way to trap an error generated in another app that is controlled
via automation? I have an Access 2000 app that opens Word 2000 and proceeds
to open a series of documents and, in each document, parse the contents and
write it to an Access table (the Access app, after opening Word, runs a
macro within Word which parses and writes to the Access app via DAO).
Occasionally we get an error from Word (such as "document is locked for...
|
by: liya.tansky |
last post by:
Hello,
I'm developing an intranet (win XP, .NET 2, Visual Studio 2005,
Microsoft.Office.Interop.Word.dll in references) and needed to
implement find-replace in word doc before sending letter and it worked
fine on my station.
I've go it fine on my station, and it doesn't work at all on the web
server.
1. What should be the configuration of the server? There is .net SDK
2 and I've installed the oxppia.exe there. And changed the...
|
by: nebbiasun |
last post by:
I have a split database which calls a word document (mail merge from
query) which works perfectly in both access 2003 and 2007. I have
secured the frontend and backend (user level security) in 2003 also
without problems. I have tried to migrate the same files to an access
2007 without success. I receive error messages that I don't have
permission to access the frontend or OBDC login failures.
I've played with this quite a bit and can not...
| |
by: =?Utf-8?B?QmFkaXM=?= |
last post by:
I have tried a server-side automation and it's giving me problems that I
couldn't solve..
Now, I'm switching to client side automation and I was following this example:
http://www.aspnetpro.com/NewsletterArticle/2003/09/asp200309so_l/asp200309so_l.asp
but to get it working I had to "Go to the Security tab, select Local
intranet, and click on the Custom Level button. Find the setting titled
"Initialize and script ActiveX controls not marked...
|
by: Bob Darlington |
last post by:
I'm using the following code to check whether Word is running:
Function IsAppRunning(strAppname As String) As Boolean
Dim strClassName As String
Select Case LCase$(strAppname)
Case "Excel": strClassName = "XLMain"
Case "Outlook": strClassName = "MSOutlook"
Case "Word": strClassName = "OpusApp"
Case Else: strClassName = ""
End Select
|
by: ppardi |
last post by:
I'm developing an addin for Word 2007 and I need to determine whether a user
saves a Word 2007 document in an older format (97-2003) after a save as is
done. The scenario is that the user starts out with a Word 2007 document,
saves that document to disk, then saves the same document in an older format
If the user saves a doc in an older format, I want to turn off certain
features of my add-in. I'm able to trap the save event easily...
|
by: Terry |
last post by:
Hello:
using vb.net 2005 and word 2007.
I would like to open a word.docx document
Have a button on a vb.net form that when clicked inserts text on the word
document
Have a button on a vb.net form that when clicked removes the inserted text
on the word document that was inserted above.
I have seen examples that modify the underlying xml and other examples using
word interropt.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |