Click here to Skip to main content
16,018,264 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Masked Boxes Pin
lespaul3621-Jun-05 11:11
lespaul3621-Jun-05 11:11 
GeneralRe: Masked Boxes Pin
icowa21-Jun-05 15:20
icowa21-Jun-05 15:20 
Generalcontorl on word save message prompt Pin
paykani20-Jun-05 21:53
paykani20-Jun-05 21:53 
GeneralRe: contorl on word save message prompt Pin
jonathan1521-Jun-05 3:31
jonathan1521-Jun-05 3:31 
GeneralRe: contorl on word save message prompt Pin
jonathan1521-Jun-05 3:59
jonathan1521-Jun-05 3:59 
GeneralRe: contorl on word save message prompt Pin
Anonymous21-Jun-05 18:40
Anonymous21-Jun-05 18:40 
Generalcontrol on word save message prompt Pin
Anonymous20-Jun-05 21:44
Anonymous20-Jun-05 21:44 
GeneralWord application Instance closing in VB Pin
Anonymous20-Jun-05 20:12
Anonymous20-Jun-05 20:12 
Hi, forum

My application uses MS word 2000 in it, it is used to read the wordfiles and get its content, while reading if the word file is corrupt, the objects throws and error

i am using a error handler to do this, and each time the routine gets stuck in the error i get the

switch to retry message box where in a new instance of word is initiated
and here exactly lies the problem, if i click 20 time on switch 20 instances
of word application are created and i can see 20 winword.exe in the task manager this is some thing annoying to me.

please tell me how do i eliminate this chaos.
Frown | :(
If err.Number = -2147023170 Then
Set m_WordServer = Nothing
Set m_WordServer = New Word.Application
ElseIf err.Number = 462 Or err.Number = 429 Then
Set m_WordServer = Nothing
Set m_WordServer = New Word.Application
ElseIf err.Number = -2147417851 Then
Set m_WordServer = Nothing
Set m_WordServer = New Word.Application
ElseIf err.Number = -2147418111 Then
Set m_WordServer = Nothing
Set m_WordServer = New Word.Application
Else
Set m_WordServer = Nothing
Set m_WordServer = New Word.Application
End If
err.Clear


GeneralRe: Word application Instance closing in VB Pin
jonathan1521-Jun-05 4:10
jonathan1521-Jun-05 4:10 
Generalcalling back a previous form.. Pin
icowa20-Jun-05 17:42
icowa20-Jun-05 17:42 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 17:44
icowa20-Jun-05 17:44 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 17:54
protectorChristian Graus20-Jun-05 17:54 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 17:59
icowa20-Jun-05 17:59 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:04
protectorChristian Graus20-Jun-05 18:04 
GeneralRe: calling back a previous form.. Pin
Anonymous20-Jun-05 18:35
Anonymous20-Jun-05 18:35 
GeneralRe: calling back a previous form.. Pin
Anonymous20-Jun-05 18:37
Anonymous20-Jun-05 18:37 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:39
protectorChristian Graus20-Jun-05 18:39 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 18:48
icowa20-Jun-05 18:48 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 18:53
protectorChristian Graus20-Jun-05 18:53 
GeneralRe: calling back a previous form.. Pin
Dave Kreskowiak21-Jun-05 2:36
mveDave Kreskowiak21-Jun-05 2:36 
GeneralRe: calling back a previous form.. Pin
lespaul3620-Jun-05 18:53
lespaul3620-Jun-05 18:53 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 19:00
protectorChristian Graus20-Jun-05 19:00 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:14
icowa20-Jun-05 19:14 
GeneralRe: calling back a previous form.. Pin
icowa20-Jun-05 19:18
icowa20-Jun-05 19:18 
GeneralRe: calling back a previous form.. Pin
Christian Graus20-Jun-05 19:18
protectorChristian Graus20-Jun-05 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.