You can turn the warnings off and with this command:
objWord.DisplayAlerts = wdAlertsNone
After the mail merge you can turn the warnings on with the following command:
objWord.DisplayAlerts = wdAlertsAll
Hope this helps
Our application is used on different PC's. On 1 PC however the user receives the error "MyApp.exe .exe has generated errors and will now exit ..." and the application crashes.
When I check the event log this is the errormessage:
The application, , generated an application error The error...
Since the table is a linked access table to an SQL database, the recordset that you have created by using select is a read only recordset.
You better insert a new record by using
Insert into tbl (col1, col2, col3) values ("a", "b", "c")
You will have to contact your local mobile phone company. They can give you the necessary information and software and they will also tell you how much it will cost to send an SMS.
Hello everybody,
I am writing a program where the user can choose the paperbin to print a Word document.
The problem is that sometimes the printer uses the right paperbin and sometimes the printer uses another paperbin.
The printer is a Xerox 440st
Here is the code that does the printing...
I have a program that at startup must fill a treeview. However one branch of the treeview is getting very huge. In fact so huge that I get an "Out of stack" error.
Is there some way in VB that I can change the stack size?
TIA
Dim strText As String
Dim intLastPos As Integer, intPos As Integer
strText = "cats,dogs,house,mouse"
'The InStr function returns an integer stating the start of the string
'you where looking for in another string
'First argument: the place in the string where to start looking
'Second...
This should work in Access 97
Dim strText As String
Dim intLastPos As Integer, intPos As Integer
intPos = InStr(1, strText, Chr(44), vbTextCompare)
Do While intPos <> 0
strText = Left(strText, intPos - 1) & "* or *" & Mid(strText, intPos + 1, Len(strText) - intPos)...
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.