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
X

XeoN Kc

@XeoN Kc
About
Posts
21
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Some issues with Socket class behavior.
    X XeoN Kc

    Can you check the following: 1. Do you have a firewall enabled...maybe blocking port 30 on the client or on the server side. 2. Check the return of the Connect() function. 3. Is the client on the same machine as the server?....that will definitely make the sending of data seemless! (you said that bytesSent = bData.Length...therefore the data is being sent somehow...) Well a good thing to do (if you have the server code) is to display the received data to make sure if the data is being received. ____________________________________________________ Come Mutley, we have a race to win...!

    C# help question

  • Vista Service Pack 1 has arrived
    X XeoN Kc

    Yeah...but what the world is in this 1.2Gb....the whole OS? Because I might be starting to wonder if I should go back to the wonderful good-old win XP...especially now with SP3! :wtf:

    The Lounge php visual-studio com

  • C#
    X XeoN Kc

    No..not static just a simple public class X { public void Y() { } } the class in a project and the caller is in another project..both c# Both projects compile... ...during execution/debugging the "Method not found" exception is raised! Regards Kev

    C# csharp help question data-structures

  • Moving data from one form to another
    X XeoN Kc

    You can use Ravi's solution. However, that will make some data off your listbox, public. I suggest to have Form2 with a property of type string,which gets and sets the data. in your case the set is mostly important. From Form1...you only need to set the property. From form2 just set the given value to the textbox. I think its a little safer. Regards Kev. ;)

    C# question

  • C#
    X XeoN Kc

    Hi, I have a problem I never encountered...and sites across the net didn't help much. I have a class exposing a public method which clears a queue object. On a form using this object, when calling this method ..is causing an exception : Method not found. :wtf: :confused:What is exactly this exception!?:confused: My method is there and was created normally. What possible solutions are there? I'm using C# with .net 2.0 and I have .net 1.1 installed previous to 2.0. Regards Kev. ;)

    C# csharp help question data-structures

  • Controls on a window
    X XeoN Kc

    hi there. I was wondering if there is a way (other then looping tru all controls on a window) to get a control by its name. for example if my window contains txtName (textbox) I would like to get the control by 'txtName' Thanks :-> :mad:

    C# tutorial

  • C# ODBC
    X XeoN Kc

    Hi, I would like to create a small application to create/modify my app.config file, in which I store my database connection string. 1. I would like to know if it is possible to obtain a list of installed ODBC drivers on a PC. does anyone have clue? kind regards :~

    C# csharp database question

  • ODBC C#
    X XeoN Kc

    Hi, I would like to create a small application to create/modify my app.config file, in which I store my database connection string. 1. I would like to know if it is possible to obtain a list of installed ODBC drivers on a PC. 2. Similarly, when I choose an ODBC driver, I would like to obtain a list of database appartaining to chosen ODBC driver. Can anyone give me some clues/websites/articles, because all I found out is java and/or old C++. Thanks + Regards:->

    C# csharp c++ java database

  • C# imaging
    X XeoN Kc

    Hi there. I have a scenario where I want the user to click on a picturebox, move the mouse and release the click....so that he could select a portion of the image. Now...I want to draw a dotted frame so that the user would know where he has selected. Can anybody help out on this, even a link/article is helpful. Thanks.:) "I came back from death to make the wrong things right again." - Eric Draven (The Crow)

    C# csharp help announcement

  • Window resizing
    X XeoN Kc

    Hi, Thanks. Helped a lot. -------------------------------------------- Programming is a devine gift

    C# help

  • Window resizing
    X XeoN Kc

    Well, that's what I actually prompted me to write here. I discovered that hovering was affecting this so I handled mousehover, so that it would unset the flag. It improved, but still acting kind of funny. Well...for XDiff..the value is small. What I want to know is whether e.X, e.Y (mouse location) is the coordinate with respect to the top,left (first location of window) or with respect to :cool:0,0 of screen? -------------------------------------------------- Programming...the golden price!:cool:

    C# help

  • Window resizing
    X XeoN Kc

    Hi there. I'm created a borderless window, on which I put 8 panels containing my custom window border. I want the window to be resized when the user clicks+ drags from the right border. I created 3 event handlers for the right border panel...mousedown, mouseUp and mouseMove. On mouseDown, a flag is set and I get the location of the click. On MouseUp I unset the flag. On mouse move I do the following: //check if flag is set if (this.resizeRDown) { //calculate the difference int Xdiff; Xdiff = e.X - this.ResizeRXY.X; this.Width = this.Width + Xdiff; } But the resizing is acting very weird...making the window a single pixel wide. Can anyone give me a hint on this(or an article for that matter) that can help out. Thanks ------------------------------------------------------------------------------ Programming......THE DEVINE GIFT! :cool:

    C# help

  • .NET Toolbar
    X XeoN Kc

    hi guys, I'm using the standard toolbar (.NET) and I need to set the background colour. Unfortunately I could not find a way. Any pointers pls? programming....the devine gift from God

    C# csharp question

  • Postback
    X XeoN Kc

    I'm kinda new to asp.net My schenario is the following: I want to add an item to my listbox, and it is doing this. but on refresh..it is re-adding the item. I inserted an if checking whether ispostback is true...so that it wouldn't do that, but instead, it did nothing not even inserting on the first time. Can anybody help out pls? Thanks

    ASP.NET csharp asp-net help question

  • C# OOP Design
    X XeoN Kc

    I have to design a library of classes. They are to inherit from a common base class. However I want to be able to call members of the class without making a distinction of which class it particularly is. I was thinking of an interface for the last point I mentioned. Question : Would I'll be able to make my classes inherit this interface without directly inheriting the base class (i.e. the base class is inherited by interface)??:wtf:

    C# question csharp design

  • Custom Controls
    X XeoN Kc

    I'm trying to write a sliding panel custom control. As regards the component sliding etc it is all ok. However, during design mode the V.S. doesn't let me place controls inside the panel. It places them on top of the panel, not into it. Can any one help out on this. Best Regards:cool:

    C# design help

  • PRODUCT KET VS.2005 BETA 2
    X XeoN Kc

    Funnily enough...my beta version never asked for a product key!!!:laugh:

    C# csharp visual-studio beta-testing workspace

  • changing image format
    X XeoN Kc

    Hi there I've encountered a small problemo...... I'm trying to change brightness of an image...so far so good. However I managed to make it work on 24-bit format images. When the filter is fed with an image which is either 8bit indexed or 32-bit formats...it fails! ...is there any way to access 8-bit indexed images with C# pointers! I was observing this message board and found out the following code: // create new image with desired pixel format Bitmap bmp = new Bitmap(width, height, PixelFormat.Format32bppArgb); // draw source image on the new one using Graphics Graphics g = Graphics.FromImage(bmp); g.DrawImage(src, 0, 0, width, height); g.Dispose(); ...Many thanks to Andy Kirillov Does the above code...'store' my image as a 24 bit image? The code project....a perfect experience :cool: -- modified at 8:39 Saturday 22nd October, 2005

    C# graphics csharp question

  • GDI+ Problemo
    X XeoN Kc

    Yep that's actually what I'm trying to do! To convert to 32-bit from 8 bit index....how?? bcos I really do not know! Thanks guys To Dare Is To Do

    C# graphics winforms help question

  • GDI+ Problemo
    X XeoN Kc

    Hi guyz. I am trying to lock the bits of a gif image which is 32-bit. However, I am getting an invalid parameter on this code : BitmapData bmData = b.LockBits(new Rectangle(0, 0, b.Width, b.Height), ImageLockMode.ReadWrite, PixelFormat.Format32BppArgb); where b is the bitmap variable in which I load the image in! Can any body help out on this? because I really have no idea now...since in 24-bit withPixelFormat24BppRgb(bmp + jpg) worked correctly! :confused: To Dare Is To Do :cool:

    C# graphics winforms help 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