Click here to Skip to main content
15,920,005 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralInvoking a VBA macro from a VB app Pin
LeprosyLM30-Mar-04 2:37
LeprosyLM30-Mar-04 2:37 
Generalediting state Pin
ibok2329-Mar-04 15:58
ibok2329-Mar-04 15:58 
GeneralRe: editing state Pin
Dave Kreskowiak29-Mar-04 17:14
mveDave Kreskowiak29-Mar-04 17:14 
GeneralRe: editing state Pin
ibok2330-Mar-04 3:12
ibok2330-Mar-04 3:12 
GeneralRe: editing state Pin
Dave Kreskowiak30-Mar-04 3:54
mveDave Kreskowiak30-Mar-04 3:54 
GeneralRe: editing state Pin
ibok2330-Mar-04 4:10
ibok2330-Mar-04 4:10 
GeneralRe: editing state Pin
Dave Kreskowiak30-Mar-04 9:20
mveDave Kreskowiak30-Mar-04 9:20 
Generalunique, independent instance of Word Pin
MRafferty29-Mar-04 14:59
MRafferty29-Mar-04 14:59 
I'm creating an instance of MSWord in my app (VB 6, Win98, Office 2000) & use CreateObject rather than GetObject so my app's instance won't interfere with any other instance of Word the user might be running independently of my app & vice versa. (My app creates Word and sets it to .Visible = False; I want it to run in background.) The users also tend to launch & exit Word frequently, for whatever reason.

Is there any way to create an instance of Word that, once created by my app, will not let allow another instance of Word get 'attached' to it? (i.e., , not allow another app to use GetObject on my app.) For ex., Word is not running on user's machine; my app is launched & at some point my app creates an instance of Word; while that is running, the user decides to independently open a Word doc; this makes all docs used by that instance visible (including my app's), & worse, if user then exits my app, this single instance of Word remains in an almost unusable state. Ideally, I'd like to create an instance of Word & leave it running for the life of my app, rather than creating, and later destroying, it each time it's needed.

Just a little new to this! Thanks in advance. Mike R
Generalfollowed this example but mine doesnt work Pin
KamWaf29-Mar-04 13:55
KamWaf29-Mar-04 13:55 
GeneralRe: followed this example but mine doesnt work Pin
eramgarden29-Mar-04 16:53
eramgarden29-Mar-04 16:53 
GeneralPocket PC Pin
Tvalsia29-Mar-04 10:45
Tvalsia29-Mar-04 10:45 
GeneralRe: Pocket PC Pin
Sarvesvara (BVKS) Dasa29-Mar-04 17:51
Sarvesvara (BVKS) Dasa29-Mar-04 17:51 
GeneralRe: Pocket PC Pin
jimpar30-Mar-04 8:47
jimpar30-Mar-04 8:47 
QuestionInsert error??? Pin
hounetdev29-Mar-04 9:13
hounetdev29-Mar-04 9:13 
AnswerRe: Insert error??? Pin
KamWaf29-Mar-04 14:36
KamWaf29-Mar-04 14:36 
AnswerRe: Insert error??? Pin
Member 36080530-Mar-04 11:50
Member 36080530-Mar-04 11:50 
GeneralBinding objects - Error Pin
ibok2329-Mar-04 8:55
ibok2329-Mar-04 8:55 
GeneralRe: Binding objects - Error Pin
ibok2329-Mar-04 14:08
ibok2329-Mar-04 14:08 
Generalselecting a data in flexgrid Pin
GaryKoh29-Mar-04 5:43
GaryKoh29-Mar-04 5:43 
GeneralRe: selecting a data in flexgrid Pin
superwinsock29-Mar-04 23:49
superwinsock29-Mar-04 23:49 
GeneralRe: selecting a data in flexgrid Pin
GaryKoh30-Mar-04 0:44
GaryKoh30-Mar-04 0:44 
GeneralRe: selecting a data in flexgrid Pin
superwinsock30-Mar-04 1:15
superwinsock30-Mar-04 1:15 
GeneralRe: selecting a data in flexgrid Pin
GaryKoh30-Mar-04 2:11
GaryKoh30-Mar-04 2:11 
GeneralRe: selecting a data in flexgrid Pin
superwinsock30-Mar-04 3:12
superwinsock30-Mar-04 3:12 
GeneralRe: selecting a data in flexgrid Pin
GaryKoh31-Mar-04 16:17
GaryKoh31-Mar-04 16:17 

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.