Go Back   Steve's Digicams Forums > Digital Cameras (Point and Shoot) > Panasonic / Leica

Reply
 
Thread Tools Search this Thread
Old Feb 10, 2005, 12:03 AM   #1
Senior Member
 
bobc's Avatar
 
Join Date: Sep 2004
Posts: 1,433
Default

Sorry I have not been posting lately. I have been quite busy at work with a new project.

I have been working on adding a new set of objects to our rating system.

I added a form that gets created be the main form.

The form creates a client side business object.

The client side business object creates a thread which calls a method to run in the thread.

The method creates a server side business object.

The server side business object creates an instance of excel and opens a template that has automation built into it. It then runs the automation as well as killing that excel process in the task manager with out effecting any other instances of excel that may be running on the server at that time.

Once the thread is created on the client side business object... The form closes and gives control of the program back to the user while waiting for the server to do the work.

The problem I had was... Once the form closed... It broke the object link from the main form to the business object. In other words... The main form did not know that those objects existed, so there was no way to return an exception back to the main form if an error occured on the server.

I finally figured out a solution today. I have been on a few programming forums looking for some help as well as talking to other programmers. No one seems to have done this before. So I basically had to figure it out myself aside from theory and a few small clues I picked up along the way.

I LOVE PROGRAMMING...

So anyway... Here is a picture of a freekin duck.



Attached Images
 
bobc is offline   Reply With Quote
Sponsored Links
Old Feb 10, 2005, 12:13 AM   #2
Mag
Senior Member
 
Mag's Avatar
 
Join Date: Nov 2004
Posts: 734
Default

Nice shot bobc, nice and sharp i like the composition too.

Best regards,

Mag
Mag is offline   Reply With Quote
Old Feb 10, 2005, 1:21 AM   #3
Senior Member
 
nooner's Avatar
 
Join Date: Oct 2004
Posts: 1,452
Default

Well bobc...............I was with you thru the third sentence, but after that I got lost. Anyway good to see your smiling bicep again.
nooner is offline   Reply With Quote
Old Feb 10, 2005, 1:45 AM   #4
Member
 
DeanB's Avatar
 
Join Date: Dec 2004
Posts: 96
Default

bobc wrote:
Quote:
" . . . It broke the object link from the main form to the business object . . . "
That's about where you lost me! :O

However, that's one freekin' well done duck! :G
DeanB is offline   Reply With Quote
Old Feb 10, 2005, 7:17 AM   #5
Senior Member
 
NickTrop's Avatar
 
Join Date: Sep 2004
Posts: 2,249
Default

OOP and threads. (Yawn...) Glad someone likes doin' that stuff. Creating classes is heavy duty stuff though. Sounds like Java?

...nice duck.
NickTrop is offline   Reply With Quote
Old Feb 10, 2005, 12:29 PM   #6
Senior Member
 
digcamfan's Avatar
 
Join Date: Jul 2002
Posts: 3,422
Default

Bobc...great duck photo!

"Web Foot Ripples"

How's that for a caption?:idea:
digcamfan is offline   Reply With Quote
Old Feb 10, 2005, 12:55 PM   #7
Senior Member
 
msantos's Avatar
 
Join Date: Dec 2004
Posts: 561
Default

bobc escribió:
Quote:
The problem I had was... Once the form closed... It broke the object link from the main form to the business object. In other words... The main form did not know that those objects existed, so there was no way to return an exception back to the main form if an error occured on the server.

I´m wondering.... if "those objects" really exist, could you post a nice shoot of them??

:|

if not, then the"main form" is rigth and those objects does not exist!!! probably there is the problem!!! :G


msantos is offline   Reply With Quote
Old Feb 10, 2005, 10:43 PM   #8
Senior Member
 
NickTrop's Avatar
 
Join Date: Sep 2004
Posts: 2,249
Default

The Total Gym MUST be destroyed!
NickTrop is offline   Reply With Quote
Old Feb 10, 2005, 10:44 PM   #9
Senior Member
 
NickTrop's Avatar
 
Join Date: Sep 2004
Posts: 2,249
Default

Ditzy Brinkley MUST be destroyed!
NickTrop is offline   Reply With Quote
Old Feb 10, 2005, 11:15 PM   #10
Senior Member
 
nooner's Avatar
 
Join Date: Oct 2004
Posts: 1,452
Default

Careful Nick..........bobc just might beat the tar outta ya. Look at those biceps................:!::!:
nooner is offline   Reply With Quote
 
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 8:47 PM.