|
Hi
I made a setup of my project and installed it. Now using another application I want to fetch the version of the application installed. As we can see the version no of installed program in Program and features in control panel.
Thanks in advance.
|
|
|
|
|
There might be another (easier way) but perhaps you could check the value of Display Version [or Version in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{YOUR-PRODUCT-CODE} ?
|
|
|
|
|
You can use Win32_Product[^]
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
Hi there,
some of our customers use our applications in a Citrix environment. With digital dictation and speech recognition, we want them to use the "high audio quality" settings.
Is there a way our program (C#, .NET 2.0) can find out the audio settings applied for the present session, thus enabling us to display a warning if quality is too low?
Furthermore, if the settings of the server and the client are different, the lower quality is applied - can a program find out the settings of server and client separately?
Thanks a lot for your helpful suggestions!
Bernhard
|
|
|
|
|
This sounds like a Citrix specific question, I suggest you contact the suppliers for product support.
|
|
|
|
|
In case that a third party product is really "uncommon", I would agree to your point. But the question is: when is a third party product such specific? If there is a question about interaction with the Windows OS, hardly anybody here would answer: "ask the supplier" (i.e. Microsoft).
In my opinion, also programmatical interaction with Terminal Server environments and virtualisation are quite common topics - both are often found in productive environments - , and should be addressable here in the C# forum.
|
|
|
|
|
I'm with Trollslayer on this - you stand a much better chance of a useful answer from Citrix than you do in a general purpose forum such as this.
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
bhiller wrote: when is a third party product such specific? If there is a question about interaction with the Windows OS, hardly anybody here would answer: "ask the supplier" (i.e. Microsoft).
The two conditions are not the same. In the Microsoft case, they are supplying the framework and OS that you develop on. If you asked a question about Dynamix CRM here, you'd get redirected to the MS site in the same way that you would for any other manufacturer.
This is for your benefit. You are more likely to get specialist knowledge about Citrix from the manufacturers than you are from people here on the forums. Somebody may come along here and have knowledge, but more likely nobody will. In which case you are left without an answer having wasted your time posting the question here in the first place.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
Hi!!!
I wanted to know if i cud run file1.cs(without a Main) through a window service. Can i call its object it the service n make it run.
I'm trying but i'm unable to do it.
i added file watcher as a component and its working. but what about my other modules. cant i make them run
|
|
|
|
|
You can't "run" a .cs file. It is simply a formatted text file. The code needs to be compiled into either a dll (class library) or an executable. These can then be accessed by the service.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
see.. i made 3 different files, mailer.cs, kill_proc.cs and index.cs these files work independently. how can i integrate them with the service i have made. these are a important part of my project.
plz guide me thru this process..
|
|
|
|
|
Just add them to your service project and build it; what is the difficulty?
It's time for a new signature.
|
|
|
|
|
Tell me what i did wrong...
I clicked add class
then created a class, typed the complete code, with out the main which is working alone using main
and then i added the code new mailer();(instance of mailer module) in OnStart()
now tell me where shud i add it..
|
|
|
|
|
ayandelhi wrote: now tell me where shud i add it.
Add it at the point that you need it, i.e. at the point that you need to send a mail message.
It's time for a new signature.
|
|
|
|
|
|
ayandelhi wrote: now tell me where m i doin mistake..
Requesting help to create software with obvious malicious intent.
I are Troll
|
|
|
|
|
Please use <pre></pre> tags to surround your code so it is readable. Hint: use the "code block" button at the top of the edit window.
It's time for a new signature.
|
|
|
|
|
Don't get sucked into helping somebody write malware.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
An earlier post by this user asked:
"i m working on keyloggers... so need to write a console program for it...
thats y...
i'm using System.Windows.Forms.Keys... but cant use it...
as mentioned..."
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
I am using VS2005 (C#) and I gather the tree view has a limit of 64K nodes per level.
Is there a later version where the limit is higher?
I am working on an application which could have a very large nummer of root nodes and I would like to avoid embarassment at the wrong moment.
BTW, it is populated on demand, i.e. as a node is epxanded.
Thanks.
|
|
|
|
|
Isn't that rather a lot? How long is your user going to spend paging through that lot, looking for the node they want? Surely there must be a better way...
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
|
|
|
|
|
It's for analysing DVB (broadcast video) files, possibly 10GB so I was just checking on an easy way of bulletproofing. Video is the main part of it but I'm being careful.
Yes, occasionally we have to look for a certain sequence but we don't always know what it is until we find it.
|
|
|
|
|
I have found the performance of the treeview is terrible when trying to load large data sets. As in minutes to populate the TV. I was not aware of the 64k limit as I don't think that volume is viable.
Never underestimate the power of human stupidity
RAH
|
|
|
|