Thank you! You really helped me a lot! Kind regards, Peter Nirschl peter.nirschl@gmx.net
Peter Nirschl
Posts
-
Encrypting and Decrypting a file -
Windows Form and Message BoxHello, Maybe you could call the Form's Invalidate method before showing the messasge box. Peter
-
Encrypting and Decrypting a fileHello everyone, I have a problem with Encrypting and Decrypting files. I read an article about it at the Microsoft-Homepage but this example works only with text files and I want to encrypt and decrypt every file type. http://support.microsoft.com/default.aspx?scid=kb;EN-US;307010[^]. Maybe the problem is Encoding. Please help me!
-
Run Windows Installer in backgroundThank you for the tip! I understand the MSIEXEC. Blake Miller wrote: CreatePRocess() :confused::confused::confused: But that's the thing I don't understand. I'm just a newbie, so could you give me a few lines of code, please?!?! :-O
-
Run Windows Installer in backgroundHello everyone! I'm not quite sure, if this is the correct message board for this thread, but i'm working with C++ so I posted this thread here. I've created an Win32 Application, which checks if the .net Framework is installed on the system. If not, the program will automatically start to install the .net Framework in the background. Is there any way to run a Windows Installer Package in the background (command line, etc.)?? For example I have myinstaller.msi or dotnetfx.exe! How can I solve my problem??? Thank you for helping me!
-
Check if software is installedFirst I want to thank you all for your great help. All I wanted to do is to check if the Visual C++ Toolkit 2003 is installed on a system. I give my programs only to users who uses the Uninstall packages. So there won't be problems with deleting program directories or something. But there is only interesting thing: When I open my Control Panel and double click "Software" (in German) or "Add Or Remove Programs" (something like that in English). However, I got a list with all currently installed programs. How is this?
-
Check if software is installedHello! I want to check if a program is installed. For instance I want to see if the Visual C++ Toolkit 2003 is installed on my computer. How can I do this in C#? Thank you for helping me! :)
-
[Message Deleted]Thanks for the nice tip! :)
-
[Message Deleted]Exactly that's my problem! I tried to draw the image's shadow like this, but it looks not very great.
ControlPaint.DrawImageDisabled (e.Graphics,img,e.Bounds.X + 4,e.Bounds.Y + 4,Color.Transparent);
Is there any way to draw a shadow looking LIKE in Ofice XP? -
[Message Deleted][Message Deleted]
-
FileStream help! :(Let's say we have a textBox called
textBox1
. And let's say we hava a picture box calledpictureBox1
. We use pictureBox1 to view the image. The user types in the CORRECT path. The user clicks on a button. And now the button's OnClick event:Image img = Image.FromFile (this.textBox1.Text); this.pictureBox1.Image = img;
Then add an error handling with TRY and CATCH. I've already tested this code. It MUST work. -
FileStream help! :(MoOnBoY wrote: Image.FromStream( f ); I think there is a better way! Just use:
Image img = Image.FromFile("C:\\...");
Oh, and a little correction: This doesnt working, its only works if the image is in the same folder of the program. This doesn't work. Its only working if the image is in the same folder as the program. ;););) Just kidding ;);););) Good luck! -
System.ReflectionHello everybody! Does anybody know how to get information about an assembly using the System.Reflection namespace? I want to list all namespaces,classes,methods,...... :(( Please help me :(( petermax2
-
resizable panelOf course you can add controls to your panel. Example:
this.control1.Parent = this.panel1;
(Control1's parent is set to panel1) To resize your panel just set the Size property. Example:this.panel1.Size = new Size([width],[heigth]);
or set the panel's Height and Width property. Good luck! ;) -
Code-Completionleppie wrote: Now that I have scared you enough I'm not scared about this. I know that I can't write a code editor on one day. You said Sharp Develop! I've got an idea! Is it possible to use components like CodeEditor,Windows Forms Designer from the Sharp Develop components? Thank you for the information you gave me!
-
Code-CompletionHow did you start? Can you give me some ideas? :confused::~ :~ :sigh: Oh, and what means this: leppie wrote: top secret ??? Regards
-
Problem using Dll in .netYou are rigth! Sorry... :~ :~
-
Code-CompletionHeath Stewart wrote: Not the best choice of editors. What else can I use? Regards
-
Open OutlookThis is very simple! Step 1: Create an instance of an System.Diagnostics.Process Object. Example:
private System.Diagnostics.Process process1;
Step 2: Set the properties of process1. The following property is important: StartInfo.FileName Example:this.process1.StartInfo.FileName = "[path]";
Step 3: Start the process. To start the process you call the method Start(). Example:this.process1.Start();
If you need the complete code sample let me know. Good luck! -
Problem using Dll in .netYou can convert the components of SHDOCVW.DLL to ActiveX components. NOTE: This requires Visual Studio .Net! Copy the file: C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\AxImp.exe in any directory. Then make a shortcut (or a link [I don't know the English word for it :confused::~ ]) to this file. Type this text in "target" field:
"[location]\AxImp.exe" [path]
[path] is the dll file to convert. After doing that in the directory will be following files: AxSHDocVw.dll and SHDocVw.dll ! Reference the file AxSHDocVw to your project. An instance of a Browser Object looks like this:
private AxSHDocVw.AxWebBrowser axWebBrowser1;
You can use this Object like any other Windows Components. If there are any questions left, let me know! Good luck!