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
J

JJF007

@JJF007
About
Posts
9
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Wıindows does not shut down! Heelp!
    J JJF007

    Your Problem is that you override the close function. So if Win tries to shutdown your app still wants to go to trayicon and prevents Win from Shutdown. Use this code to fetch the Win Shutdown Command: protected override void WndProc(ref Message m) { base.WndProc (ref m); if (m.Msg == 0x11) { boolAlowClose = true; this.Close(); } } So i think you have a bool where you set true if you want realy to leave the application (where you check the bool on app close event and set e.cancel) Hope this helps! Greets Matthias

    C# database help

  • axWebBrowser, Tab Control and Memory
    J JJF007

    Hi! I want to create a application which have a tab control in where it should host a axwebbrowser for each tab. So far no problem, but everytime i add a new instance of the axwebbrowser it creates about 10mb more memory usage. And thats not nice ;) ... i know that you can copy instance with axwebbrowser2 = axwebbrowser1 but then you have to set the location configs again to them and i mean it's not the nicest and cleaniest way to do this! And the axwebbrowser1 is gone, so if i go back to the first tab i have to copy it back axwebbrowser1 = axwebbrowser2 and add the location config again to the first webbrowser. I searched for this on Google and here at CP but i can't find any solution. Maybe someone can help me out of this :) Thanks Matthias

    C# help performance

  • Minimize to system tray
    J JJF007

    What i am doing is to generate a TrayIcon and use this code: // Public Bool for Closing the app bool boolAlowClose = false; // Press the closing Button at the app protected void frmMain_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if (!boolAlowClose) { this.m_notifyicon.Visible = true; this.Hide(); e.Cancel = true; } else { e.Cancel = false; } } // ContextMenu from Trayicon to view the app again private void cmnu_View_Form_Click(object sender, System.EventArgs e) { this.m_notifyicon.Visible = false; this.Show(); } // This is the Menu "Close" hat close the application private void cmnu_Menu_Close_Click(object sender, System.EventArgs e) { boolAlowClose = true; this.Close(); } Hope this will help! Matthias

    C# csharp question

  • I'm C# newbie, how do I add a website to my application using Microsft Web Browser control? Please tell me step by step
    J JJF007

    Hi .. just add the Web Browser Control to you application, then use object flags = 0; object targetFrame = String.Empty; object postData = String.Empty; object headers = String.Empty; this.axWebBrowser1.Navigate("http://www.ebay.com/", ref flags, ref targetFrame, ref postData, ref headers); But if you want more informations there are some WebBrowser Source Codes here on Codeproject! That you are a beginner is no problem, but learning is to understanding :cool::) If you want to program such things you have to learn c# ;) Greets Matthias

    C# csharp visual-studio tutorial question com

  • Listview and Icon / Image
    J JJF007

    How can i insert a icon / image into a listview in detail mode in another column than the first one? f.e. i want i icon / image in row 2 instead of text ... Thank you for your help Matthias

    C# question help

  • Interaction between a Form and a Class
    J JJF007

    I have a form where i call a class with and start a subroutine Class1 Class1 = Class1(); Class1.StartSub(); In my Mainform from where i call the class there is for example a label called "label1". Now i want to change the label1 from within the Class Subroutine ... I tried following: in the MainForm (Form1) set the label from private to public and then in the Class: Form1 Form1 = new Form1(); Form1.label1.text = "test"; It compiles without any error but it doesn't change the label. Thanks for you help!

    C# help tutorial

  • Array of Hashes
    J JJF007

    Thanks Arjan - works fine!

    C# csharp perl database data-structures cryptography

  • Array of Hashes
    J JJF007

    I want to write a subroutine which fetches data from a database, save column to a hashtable (columname=columnvalue) and then put each dataset hashtable into an array ... then i want to return this array to the main program and run through each element and dereference the element back to a hashtable ... in perl i know how to do this - but have no clue how this had to be writen in c# ... (perl: %hash = %$array[element]) i trie something to put a hashtable into an array of string[] but i don't know how to get the hash back from the element of the string[] ... Thanks for your help! Matthias

    C# csharp perl database data-structures cryptography

  • using excel in C#
    J JJF007

    If you create a setup routine with .net it will see that there is a reference to excel and add a own excel.exe into the needed files for the installation!

    C# csharp com question
  • Login

  • Don't have an account? Register

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