Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / November 2003



Tip: Looking for answers? Try searching our database.

Multiuse Server Event Notification

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ben - 25 Nov 2003 19:20 GMT
Hi,

I want to create one Multiuse Server App
(myExcelExport.exe) that exports asnych using the timer
(delayed trigger) and then raises events when it completes.

Each client 'Instantiates' its own myExcelExport.exe at
startup (I guess only one can really create it ...) object
and calls on the services of this exe for exports once
every blue moon.

Depending on the type of export, the server will raise
different events and each client is really only waiting to
hear from particular events (ie: which type of export do I
care about) ... Thus, each client does not try to react to
each possible event the server may trigger ...

My problem:  Not all the clients hear the event
notifications ... am I missing something ...

The clients are active x exes also, and the Top level
application creates the client active x exes which in turn
each point to the one multiuse myExcelExport.exe (does it
matter which one creates it first?)

Thanks in advance,
ben

ps:  I hope this makes sense
Joe - 25 Nov 2003 20:13 GMT
> I want to create one Multiuse Server App
> (myExcelExport.exe) that exports asnych using the timer
[quoted text clipped - 4 lines]
> and calls on the services of this exe for exports once
> every blue moon.

Does Task Manager ever report more than one myExcelExport.exe
process running at a time?  Is myExcelExport's Threading Model
set to anything besides a Thread Pool of 1 thread?  Do any of
its classes have an Instancing property of GlobalSingleUse or
SingleUse?  Any of these will kill you.

> Depending on the type of export, the server will raise
> different events and each client is really only waiting to
[quoted text clipped - 9 lines]
> each point to the one multiuse myExcelExport.exe (does it
> matter which one creates it first?)

Do any of the clients run under different user credentials?
This may cause COM to spawn a separate myExcelExport process.
If myExcelExport is also being accessed by remote clients via
DCOM, DCOM could also spawn separate myExcelExport processes.

--
Joe Foster <mailto:jlfoster%40znet.com>  "Regged" again? <http://www.xenu.net/>
WARNING: I cannot be held responsible for the above        They're   coming  to
because  my cats have  apparently  learned to type.        take me away, ha ha!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.