Re: Can Somebody please explain
From: vrdumbos (girishkr_at_gmail.com)
Date: 06/25/04
- Next message: Loren: "Is IntelliSense Deranged?"
- Previous message: Steve McLellan: "Re: Can Somebody please explain"
- In reply to: Steve McLellan: "Re: Can Somebody please explain"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Jun 2004 10:32:12 -0700
Thanks Steve,
That article was of great help. Indeed I had to implement threading and run the DTS in a seperate thread adn everything works fine now.
Girish
"Steve McLellan" wrote:
> Hi,
>
> Check out
> http://www.yoda.arachsys.com/csharp/multithreading.html
>
> Near the bottom it's got some bits about Windows Forms and threading. If
> you're receiving callbacks then you'll run into problems displaying stuff -
> as a test, try getting the value of myForm.InvokeRequired - if that returns
> true inside one of your callbacks, then you do indeed have a threading
> issue.
>
> Steve
>
> "Girish Kunchum" <girishkr@gmail.com> wrote in message
> news:150558D6-FED0-4069-9B2F-8EE06B7C8ED7@microsoft.com...
> > I am calling a DTS Package in the Button Click event in a windows based
> application writtern in VB.net. I have implemented withevents to get the
> events back from the DTS. I am not able to display any of the messages on
> any controls in the form. Only Console.writeline works
> >
> > My question is, I would like to know if the whole process is using 2
> different threads. I am trying to understand why the screen blanks out if I
> open some other window and come back and also as to why I am not able to
> display the message I get back from the DTS. I am new to the concept of
> multithreading and have no knowledge of how Invoke and BeginInvoke stuff
> works. Please help me here.
> >
> > I am not sure if I need to post the entire code now. Will do so if I get
> some response for this thread.
> >
> > Please Help
>
>
>
- Next message: Loren: "Is IntelliSense Deranged?"
- Previous message: Steve McLellan: "Re: Can Somebody please explain"
- In reply to: Steve McLellan: "Re: Can Somebody please explain"
- Messages sorted by: [ date ] [ thread ]