Click here to Skip to main content
16,010,673 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCatch keydown in Word by VBA? Pin
Elf19-Sep-02 19:32
Elf19-Sep-02 19:32 
QuestionShut down one program from another? Pin
Matt Philmon19-Sep-02 18:02
Matt Philmon19-Sep-02 18:02 
Questionhow to launch form in a vb COM dll Pin
ns19-Sep-02 12:06
ns19-Sep-02 12:06 
AnswerRe: how to launch form in a vb COM dll Pin
Nick Parker19-Sep-02 16:45
protectorNick Parker19-Sep-02 16:45 
GeneralRe: how to launch form in a vb COM dll Pin
ns20-Sep-02 1:16
ns20-Sep-02 1:16 
GeneralRe: how to launch form in a vb COM dll Pin
Nick Parker20-Sep-02 7:41
protectorNick Parker20-Sep-02 7:41 
GeneralRe: how to launch form in a vb COM dll Pin
ns20-Sep-02 7:46
ns20-Sep-02 7:46 
GeneralRe: how to launch form in a vb COM dll Pin
ns20-Sep-02 2:36
ns20-Sep-02 2:36 
I just tried this in a function in my VB dll class:

Public Function CheckingStuff()
MsgBox "a"
Form1.Show
MsgBox "just showed form1"
For i = 0 To 100
i = i + 1
Next
Form1.Text1.Text = "didstuff"

End Function


and called it from VC with:

CoInitialize(NULL);
_Class1Ptr ptr;
ptr.CreateInstance(__uuidof(Class1));
ptr->CheckingStuff();


The first msgbox fires, but then no form shows and the second msgbox never fires..........
Help!

Thanks,
ns
GeneralRe: how to launch form in a vb COM dll Pin
ns20-Sep-02 5:44
ns20-Sep-02 5:44 
GeneralRe: how to launch form in a vb COM dll Pin
Nick Parker20-Sep-02 7:45
protectorNick Parker20-Sep-02 7:45 
GeneralNA Pin
reddy12398719-Sep-02 8:41
reddy12398719-Sep-02 8:41 
GeneralRe: Help me out please Pin
Nick Parker19-Sep-02 10:26
protectorNick Parker19-Sep-02 10:26 
GeneralActiveDirectory Pin
suresh_sathya19-Sep-02 1:18
suresh_sathya19-Sep-02 1:18 
GeneralList control in VB.Net (Web Forms) Pin
Jenifer18-Sep-02 23:40
Jenifer18-Sep-02 23:40 
QuestionVB 6.0 Is there a pre-built app or Wizard for making an install package? Pin
BHBAD200218-Sep-02 6:30
sussBHBAD200218-Sep-02 6:30 
AnswerRe: VB 6.0 Is there a pre-built app or Wizard for making an install package? Pin
Ray Cassick18-Sep-02 6:57
Ray Cassick18-Sep-02 6:57 
GeneralRe: VB 6.0 Is there a pre-built app or Wizard for making an install package? Pin
dsk19-Sep-02 1:04
dsk19-Sep-02 1:04 
QuestionIn VB 6.0 how do I Check for A running Application?? Pin
BHBAD200218-Sep-02 4:50
sussBHBAD200218-Sep-02 4:50 
AnswerRe: In VB 6.0 how do I Check for A running Application?? Pin
Ray Cassick18-Sep-02 5:26
Ray Cassick18-Sep-02 5:26 
GeneralIn Vbscript using Ole Automation how to I open a PPT presentation with the main PPT App window in a minimised mode Pin
SPGV17-Sep-02 19:36
SPGV17-Sep-02 19:36 
Generaldisable the warning dialog box in Word Pin
retZ117-Sep-02 8:54
sussretZ117-Sep-02 8:54 
GeneralRe: disable the warning dialog box in Word Pin
Nick Parker18-Sep-02 8:00
protectorNick Parker18-Sep-02 8:00 
QuestionDAO: In VB 6.0, how do i search a access database? Pin
BHBAD200217-Sep-02 8:22
sussBHBAD200217-Sep-02 8:22 
AnswerRe: DAO: In VB 6.0, how do i search a access database? Pin
Nick Parker18-Sep-02 8:10
protectorNick Parker18-Sep-02 8:10 
QuestionHow to debug a Service in VB.NET? Pin
Matt Philmon17-Sep-02 6:07
Matt Philmon17-Sep-02 6:07 

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.