Ok - what if we did a GetFiles call, returning all files in the directory, then doing the filter ourselves? Would that be too much overhead too? If so, you're faced with implementing a custom GetFiles, in which case, MSDN has already done this for you[^].
sorry for posting again, but problem hasn't been solved jet. I know this might be difficult, but perhaps somebody knows:
my starting routine looks like this:
private void StartProcess()
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = "C:\\Programme\\AutoGK\\AutoGK.exe";
When I run the code everything is executed fine except that the application to be started shows me an error: "Installation is corrupted. Please reinstall the application." BTW: The code works with any ohter application I have tested so far. But starting the app (AutoGK) manually (in windows explorer via double click, etc.) causes no errors and the application starts fine. The program I want to start is AutoGordianKnot, which probably was written in Qt. Any suggestions?
There is a chance that the AutoGK application is looking for some support file and cannot find it when started from a .NET app.
When started from explorer or from the command-line, it is able to find support files automatically. Explorer knows where to look for support files as an app is always configured with a startup directory.
Starting from a .NET app it may not know where it's home directory is (i.e., there maybe some Field that needs to be set to tell it where it's home directory is).
Does anyone know a way to list the components of a COM+ Application using C#? Specifically, I would like to be able to determine how many components in a specific COM+ package are active, how many are pooled, how many are in call, their call time, their ProgID and their CLSID.
I need to basically be able to programatically get at the information that is available in Component Services.
I have a program that I have written that saves encrypted files and text to an Access database. Everything is converted to a byte array and saved as an OLE object.
Number 1: Is there a maximum file size that can be saved to access using this method?
If not, is there a known issue with using Update statements to this kind of field? i can insert just fine, and even update works to a point, but after a while, i try updating a file and it doesnt work any more. Let me know if you need more details or code snippets.
______________________ Mr Griffin, eleventy billion is not a number...
I just need to know what the dos command is to send a file directly to a printer.
I can send a HTML file to the printer but this only prints out the tags and i want it to print out the whole look not just <?xml version"1.0" encoding "utf-8"?> and so on....
and the same with a pdf file, if i try to send it to the printer through cmd prompt it prints out the encoding not the actual look of the file...
How would i solve this. Cause i need to be able to send files directly to the printer. If any one has another idea please let me know. if there is a way to do it in C#, GREAT but if you know the way to do it through cmd prompt that would also help.
thank you in advance.
Oh ja... i use: "print Filename>LPT" to send the html file mentioned earlier directly to the printer. but as i mentioned it doesn't print i correctly.
I also need to know how to send a file to a certain printer on the network not allway the one connected to the users computer...
"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison
I need some help for my last year project which is a pan and tilt webcam controlled over internet using client/server application (csharp). Can someone tell me what do I need to interface 2 stepper
motors with the PC using a USB port? I searched on the internet and I found that I will require a microcontroller, right? Does C# has it's own USB library or do I need a DLL? I've already managed to control the motors through the parallel port, but since the parallel port is out of fashion I thought it might be more interesting using a USB connection. Any help is appreciated.