|
Hello,
I have a full application suite of software (multiple dlls) that is launched from a single exe acting as a main menu. The applications within this suite can be launched from the main menu or from IE that tells the exe to launch a specific application. I want to change the way that IE is currently launching the apps (current method is embed a dll in an html page) to using create object. So have a com wrapped dll that will tell the exe to launch a specific app using mutex. This dll not only tells the exe to launch an app, it also will start the exe if it's not running already. My problem is when it has to start the exe, I'm not sure when the exe is fully loaded to start excepting launch requests(they go unheard or cause errors). I have tried to use flags that in my mutex i'm checking but with the complexity of mutex it's giving me false positives that the exe is ready. I'm tried loops but that results in a not responding of IE or the exe itself - the not responding goes away but I can't have that coming up each time it starts.
The main purpose for using mutex is to control multiple instances of the exe starting. If it's started via IE, it becomes a tray icon with the mainmenu being hidden only accepting launch requests from the browser. If the user then double-clicks on the desktop short cut, the 2nd instances tells the 1st instance to launch the main menu then it will accepting launch requests from both the mainmenu and the browser. So i'm trying to use the 2nd instance to tell the 1st instance to launch an application when the com wrapped dlls does a loadassemblyfrom but the 1st instance isn't fully loaded yet whenn the 2nd instance tries to tell it to launch an app.
Does anyone have any ideas on how to "poll" the exe to make sure its ready before I tell it to launch an app so that I don't run into these not responding messages? I've used setTimeout javascript code to poll but that either doesn't work or also causes the not responding.
thanks for your time
Nathan'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous
'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous
|
|
|
|
|
Hi all,
My boss asked me to research some kind of FTP component that can be dropped into our .NET project. I know .NET has native FTP functionality and he'd know that too so I can only assume he wants something "beefier". It needs to be able to download files from FTP based on a masked filename and possibly a masked path too (i.e., check all paths that match the mask). Of course, the more robust and the more it can do the better. Looking for something that doesn't have royalties attached either. Any suggestions? Thanks!Denise "Hypermommy" Duggan
|
|
|
|
|
|
|
Thanks y'all... I'll be checking them out. Appreciate the quick responses! Denise "Hypermommy" Duggan
|
|
|
|
|
Hello list, this is my very first question about .NET as I've started studying it only recently.
I've installed VS C# 2008 Express Edition and I wonder where to find .NET Configuration Tools (caspol.exe). It's generally mentioned to be reachable through Administration Tools, but it isn't there.
Someone says that the tool is shipped with .NET 2.0 SDK. Should I install it? How would this hurt my actual installations (VS 2008, .NET 3.5, etc.)?
thanks very much,
giovanni
|
|
|
|
|
Hello every one
I am having a hard time here
i am trying to find some info on how to make a fule gauge type control
can anyone point me in the right direction I am pretty good with corel draw so i can make a nice pictuer and a nice needle
and i am a little new at vb.net 2008
But i am having a hard time to find some info
Thanks in advance
modified on Friday, February 12, 2010 10:43 AM
|
|
|
|
|
Take a look here[^] for some potential samples. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Hi Richard
Thanks i tryed that
That is nuts thare is every thing and you can do anyting but i fix it a little to complex for me hehe
Thanks
bob
|
|
|
|
|
Want to Update .Net Framework 3.5 to .Net Framework 3.5 SP1................please
send me link .............I just want to
update .Net Framework 3.5 to .Net Framework 3.5 SP1..........Not Complete installation of .Net Framework 3.5 SP1
Thankz in AdvanceDre@m is not th@t wh@t u see in sleep.Dre@m is the thing which does not allow u to sleep
|
|
|
|
|
Use Windows update, or go to the Microsoft .NET web site. txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
There's not a separate SP1 if that's what you mean. You'll have to download the whole lot. It will get downloaded in Windows Update btw. Kevin
|
|
|
|
|
Hi,
I am getting an error while opning the project in visual studio 2005.The project is created in Visual Studio 2008.
I don't have Visual Studio 2008 right now.Please let me know that is there any Service Pack or any other way to do it.
Following is the error:
"This project cannot be opened form source control because it was created by a version of Microsoft Visual Studio that is incomplete with this one.
If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."
Thanks,
Abbas
|
|
|
|
|
Visual source safe issue, may be your server(network) machine is in OFF which contains the projectmodified on Friday, February 12, 2010 4:56 AM
|
|
|
|
|
Found this here[^].
How can I disable the integration between VSS and Visual Studio?
Under the registry key: HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Source Control (for Visual Studio 6.0) or HKEY_CURRENT_USER\Software\Microsoft\DevStudio\5.0\Source Control (for Visual Studio 5.0) , change or created the entry:
Name: Disabled
Type: REG_DWORD
Data: 0x1Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi,
I am developing a project in which i need to find the size of image and convert it into inches/cms/mts.
Can anybody help me to convert the pixels size to other units in VB.net
Thanks in advance
|
|
|
|
|
dileep2009 wrote: in which i need to find the size of image and convert it into inches/cms/mts
You'd need to determine the DPI[^] of the medium that this image is going to. Then you'd count the pixels; you could determine the size in inches with those two values - and convert it to centimeters or meters if required I are Troll
|
|
|
|
|
Hi
I have 10 Objects of different types, each object interacts with every other object, but depending on which object is interacting with which, it performs different functions.
For example
if i have objA, ObjB and ObjC then they could interact as follows
ObjA + ObjB performs function x
ObjA + ObjC performs function y
ObjB + ObjC performs function z
and so forth.
My question though is: From a true object orientated way, what is the best way to deal with this problem? Is there a particular design pattern i could have a look at? Doing this the wrong way would include several nested Select Case statements, but would cause a major maintenance hassle especially if the number of objects increased
I'm using VB.net
Thank you
|
|
|
|
|
thesoulfyguy wrote: Is there a particular design pattern i could have a look at?
Looks like a good fit for the Decorator[^] pattern.I are Troll
|
|
|
|
|
|
|
Hi
I have to create a windows service. While browsing the internet I found a few articles which are taking about classes which should not be used in the windows service. So far I found the following.
System.Timers.Timer
System.Windows.Threading.DispatcherTimer
System.ComponentModel.BackgroundWorker
Is that correct? Are there any aditional classes which should not be used in a windows service?
Thanks in advance.
Uroš
|
|
|
|
|
It depends more on what and how your service is going to be used. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
What do you mean how? The service communicates with an .net application using WCF and than releys data to ethernet device using tcp sockets.
Uroš
|
|
|
|
|
You seem to be missing the point. Perhaps more research on what a Windows service is, and isn't, will clarify it for you. I know the language. I've read a book. - _Madmatt
|
|
|
|