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
E

ejuanpp

@ejuanpp
About
Posts
57
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How do I make a thread safe call to a listview.
    E ejuanpp

    Have a look at: http://msdn2.microsoft.com/en-us/library/system.collections.ienumerator(VS.80).aspx In particular: An enumerator remains valid as long as the collection remains unchanged. If changes are made to the collection, such as adding, modifying, or deleting elements, the enumerator is irrecoverably invalidated and the next call to MoveNext or Reset throws an InvalidOperationException And: http://www.yoda.arachsys.com/csharp/threads/winforms.shtml Regards

    C# question regex help

  • How do I make a thread safe call to a listview.
    E ejuanpp

    Is it http://www.albahari.com/threading/ ?

    C# question regex help

  • How do I make a thread safe call to a listview.
    E ejuanpp

    I am not sure I understood everything but ... aren't you trying to iterate through listview items with a thread while eventually modifying the same collection with another one (the main one) ?

    C# question regex help

  • Object creation at internal condition in constructor
    E ejuanpp

    Why don't you use the factory pattern :)

    C# help tutorial question

  • How to use the operators DIV and MOD
    E ejuanpp

    6 div 4 = 6 / 4 6 mod 4 = 6 % 4

    C# help tutorial

  • Seeking: Panel Opacity & Border
    E ejuanpp

    Something like this?

        public partial class CustomPanel : Panel
        {
            Color color;
            public CustomPanel()
            {
                InitializeComponent();
                color = Color.FromArgb(100, Color.Blue);
            }
            protected override CreateParams CreateParams
            {
                get
                {
                    CreateParams cp = base.CreateParams;
                    cp.ExStyle |=  0x00000020; //WS_EX_TRANSPARENT
                    return cp;
                }
            }
    
            protected override void OnPaintBackground(PaintEventArgs e){}
            
            protected override void OnPaint(PaintEventArgs e)
            {
               
                using (Brush brush = new SolidBrush(color))
                {
                    e.Graphics.Clear(Color.Transparent);
                    e.Graphics.FillRectangle(brush, this.ClientRectangle);
                }
            }
        }
    
    C# csharp com graphics question

  • Seeking: Panel Opacity & Border
    E ejuanpp

    Hi, Have you thought of creating another Form hosting your Panel ? Regards

    C# csharp com graphics question

  • [Message Deleted]
    E ejuanpp

    Hi, Comments about what ?

    C#

  • Code Analysis, Thread optimization
    E ejuanpp

    Hi, what about Rational PurifyPlus ? Regards

    C# algorithms tools performance help question

  • Stream & file
    E ejuanpp

    FileInfo.MoveTo should do the trick

    C# question

  • CheckListBox ...selct singlr item
    E ejuanpp

    chkListBox.SelectedIndex = index; chkListBox.SetItemCheckState(index, CheckState. ...);

    C#

  • How can I have access to an arraylist
    E ejuanpp

    In (ServerInfo)(myServerArrayList[0]).strServerName ... It won't if the cast is applied after having attempted to retrieve the strServerName in (myServerArrayList[0]) which is recognized as an object type instance.

    C# question visual-studio sysadmin help tutorial

  • How can I have access to an arraylist
    E ejuanpp

    Since anything derived from object can be stored in your ArrayList, Intellisense does not "know" what kind of object is stored in the 0th position. You need to cast it before: ((ServerInfo)myServerArrayList[0]). ... or use something more appropriate than ArrayList. Try List<ServerInfo> :)

    C# question visual-studio sysadmin help tutorial

  • Mouse Rotation (CW or CCW)
    E ejuanpp

    Take three different sample points A, B, C visited by your mouse. Compute the vectors AB = v1 (v1x, v1y) , AC = v2 (v2x, v2y). Sign of v2x* v1y - v1x * v2y will tell you the result: positive = clockwise. 0 = aligned visited points negative ... Regards

    C# question

  • MIDI to Guitar Tablature
    E ejuanpp

    Christian Graus wrote:

    No, you're wrong. MIDI has no concept of the same note living in more than one place, so it doesn't contain any info about how to play the note on guitar.

    Why am I wrong, just because I say that coverting MIDI to TAB would not be entirely a rendering detail ? I was just pointing out that there are different rendering possibilities and that it is not as simple as that.

    Christian Graus wrote:

    No system that I have seen does a good job of choosing 'default' fingerings, you always end up having to edit them.

    I was talking about that algorithm. Regards

    C# tutorial question

  • MIDI to Guitar Tablature
    E ejuanpp

    It is not totally a rendering detail since each note can be rendered in several places :)

    C# tutorial question

  • iterating arraylists
    E ejuanpp

    A solution may be copying the arraylist and iteration over the copied version :)

    C# help tutorial question

  • URGENT : Display HTML Document into an Application Form
    E ejuanpp

    Use the WebBrowser control :)

    C# question html tutorial

  • vb6 algorithm
    E ejuanpp

    It is sad to read this kind of statements here. Helping each other is the main purpose of these forums. Not comparing IT staffs :(

    Algorithms algorithms help question

  • Detect and Read Pen drive
    E ejuanpp

    Can you be a bit more specific?

    C# csharp help
  • Login

  • Don't have an account? Register

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