Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Peter Nirschl

@Peter Nirschl
About
Posts
21
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Encrypting and Decrypting a file
    P Peter Nirschl

    Thank you! You really helped me a lot! Kind regards, Peter Nirschl peter.nirschl@gmx.net

    C# help com tutorial question

  • Windows Form and Message Box
    P Peter Nirschl

    Hello, Maybe you could call the Form's Invalidate method before showing the messasge box. Peter

    C# question

  • Encrypting and Decrypting a file
    P Peter Nirschl

    Hello 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!

    C# help com tutorial question

  • Run Windows Installer in background
    P Peter Nirschl

    Thank 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

    C / C++ / MFC question csharp c++ dotnet help

  • Run Windows Installer in background
    P Peter Nirschl

    Hello 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!

    C / C++ / MFC question csharp c++ dotnet help

  • Check if software is installed
    P Peter Nirschl

    First 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?

    C# c++ question csharp

  • Check if software is installed
    P Peter Nirschl

    Hello! 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! :)

    C# c++ question csharp

  • [Message Deleted]
    P Peter Nirschl

    Thanks for the nice tip! :)

    C#

  • [Message Deleted]
    P Peter Nirschl

    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?

    C#

  • [Message Deleted]
    P Peter Nirschl

    [Message Deleted]

    C#

  • FileStream help! :(
    P Peter Nirschl

    Let's say we have a textBox called textBox1. And let's say we hava a picture box called pictureBox1. 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.

    C# help

  • FileStream help! :(
    P Peter Nirschl

    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!

    C# help

  • System.Reflection
    P Peter Nirschl

    Hello 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

    C# help tutorial question

  • resizable panel
    P Peter Nirschl

    Of 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! ;)

    C#

  • Code-Completion
    P Peter Nirschl

    leppie 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!

    C# question csharp java visual-studio help

  • Code-Completion
    P Peter Nirschl

    How did you start? Can you give me some ideas? :confused::~ :~ :sigh: Oh, and what means this: leppie wrote: top secret ??? Regards

    C# question csharp java visual-studio help

  • Problem using Dll in .net
    P Peter Nirschl

    You are rigth! Sorry... :~ :~

    C# help csharp com workspace

  • Code-Completion
    P Peter Nirschl

    Heath Stewart wrote: Not the best choice of editors. What else can I use? Regards

    C# question csharp java visual-studio help

  • Open Outlook
    P Peter Nirschl

    This 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!

    C# csharp tutorial question

  • Problem using Dll in .net
    P Peter Nirschl

    You 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!

    C# help csharp com workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups