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

Pyro Joe

@Pyro Joe
About
Posts
84
Topics
42
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ipod connection
    P Pyro Joe

    Hi, I was wondering if anyone here has any experience using the ipod class "iPodManagerClass"? if so, I'd be interested if you have any knowledge of how to, or where to find information on, getting artist names off the ipod, and copying songs from the ipod to the pc. I have searched google without many results. Thanks for the help, Stephen

    C# help tutorial question

  • control arrays
    P Pyro Joe

    hi, I went to msdn and found some help, which told me to create the following lines of code: // Declare a new ButtonArray object. ButtonArray MyControlArray; MyControlArray = new ButtonArray(this); // Call the AddNewButton method of MyControlArray. MyControlArray.AddNewButton(); Well seeing how the "ButtonArray" thing doesn't exist, I can't really do anything with this. How do I go about creating control collections in visual studio 2005 (programatically with ability to create an indefinite number of controls and remove them)? I will actually be applying this when creating my own control, I simply am having trouble programatically creating instances of a control that I don't know how many of it I will need. Hilf mir! Thanks

    C# question csharp visual-studio help

  • programatically creating control instances
    P Pyro Joe

    This article doesn't work. I think something between vs '03 and vs '05 has changed. It wants me to create a ButtonArray, which does not exist. Here is what they have in the example: // Declare a new ButtonArray object. ButtonArray MyControlArray; MyControlArray = new ButtonArray(this); // Call the AddNewButton method of MyControlArray. MyControlArray.AddNewButton(); Well seeing how the ButtonArray thing doesn't exist, I can't really do anything with this. How do I go about creating control collections in visual studio 2005?

    C# question help tutorial

  • programatically creating control instances
    P Pyro Joe

    Hi, yeah I need to know how to create an instance of a control programatically. I know one can do soemthing like "TextBox tb = new TextBox();" but this has to be done in the initialization section fo the class, and if it's written within a method, it's only available for within that method. But this isn't the main problem, the main thing is that I don't necessarily know how many of a certain control will be needed, so how do I create new control on demand with a name either generated, or taken from user input via a textbox or something? Thanks, Stephen

    C# question help tutorial

  • listbox iterating
    P Pyro Joe

    how do I iterate through each item in the listbox using the foreach command? I can't figure out the variable name or type for each listbox item. do you have any ideas? Thanks, Stephen

    C# question

  • persisting graphics
    P Pyro Joe

    hey, I have a form with multiple panels. when I switch a different panel to the front via the "bringtofront" method, and send the top one to the back via the "sendtoback" method, the background image for the panel I'm trying to bring to the front is not redrawn. I have tried invalidating and refreshing the form and it's client controls, have tried the same with the panel. I'm not having any luck. The images are imported resources, I don't think reassigning the image is the proper way, surely there's a way to persist the graphics back onto the background image of the panel. I'm thankful for your help, Stephen

    C# graphics help

  • ListBox selection removal
    P Pyro Joe

    thanks, that's it!

    C# question help

  • ListBox selection removal
    P Pyro Joe

    yeah, I have a listBox that the user can select multiple items in the list, how do I go about removing the selected items? I tried so many things, but I haven't had any success, I'm thankful for any help. Stephen

    C# question help

  • serial communcation question
    P Pyro Joe

    hi, I can't be much help, but just checking and sort of asking. isn't it dangerous and won't it short out a port to directly connect a serial port from computer to computer, pretty sure the signal has to be inverted or rerouted to the incoming ports, otherwise data will clash inside the wires right?

    C# tutorial question

  • repost, need help with data null symbol
    P Pyro Joe

    hi, I posted this somewhere before, but it is rather important that I get an answer. hope this doesn't violate any rules or anything on posting to repost it. anyways: yeah, I have a datagrid control on a form. How do I do a simple binarysearch on the table so I can select the row that results were found in. thanks. also, is there a way I can make rows invisible so they still exist, but aren't visible? thanks so much. Stephen also, in this datagrid, I'm displaying id3 information about mp3's using a library I found online. it works well, but when I display the information it outputs in the datagrid, I get many of these strange symbols that look like a square. I exporte dthe datagrid as an xml file and found the square to be represented by & # x 0 ; minus the spaces. I can also paste this sequence here without spaces and it will show the odd symbol: � -- modified at 22:24 Thursday 8th September, 2005

    C# question xml help

  • datagrid search
    P Pyro Joe

    yeah, I have a datagrid control on a form. How do I do a simple binarysearch on the table so I can select the row that results were found in. thanks. also, is there a way I can make rows invisible so they still exist, but aren't visible? thanks so much. Stephen also, in this datagrid, I'm displaying id3 information about mp3's using a library I found online. it works well, but when I display the information it outputs in the datagrid, I get many of these strange symbols that look like a square. I exporte dthe datagrid as an xml file and found the squarex to be represented by & # x 0 ; minus the spaces. I can also paste this sequence here without spaces and it will show the odd symbol: � . I read somewhere that this is represents null characters. However, tooltips on the datagrid show the proper contents of the cells, just the actual cells contents have those weird symbols. any ideas? thanks -- modified at 22:42 Wednesday 7th September, 2005

    C# question xml

  • having filefilter problem
    P Pyro Joe

    so what can I do? I'd prefer to not have to have multiple lines as when I eventually have to add found file strings to an array, it'll be somewhat confusin and if there's another way, needless. any ideas? thanks again.

    C# help question

  • having filefilter problem
    P Pyro Joe

    hi, when I use this bit of code to get the number of files with the extensions ".mp3, .wma, and .wav" as follows: int number_of_files = Directory.GetFiles(folderBrowserDialog1.SelectedPath, "*.mp3;*.wma;*.wav", SearchOption.AllDirectories).GetLength(0); it doesn't return any results. (the number_of_files integer is still 0). I tried this using only *.mp3 and got some results. Why doesn't this work? Am I not supposed to use the semi-colon symbol? IF so which one am I supposed to use? Thanks for your help.

    C# help question

  • apply control panel settings
    P Pyro Joe

    thanks a ton! it works perfectly.

    C# windows-admin help question

  • apply control panel settings
    P Pyro Joe

    hi, I simply want to change the registry value "swapmousebuttons", I can do this. however I want to apply this setting without rebooting or logging off, much like the windows control panel does. how is this done? thanks for your help. Stephen

    C# windows-admin help question

  • Displaying Picture in both Forms
    P Pyro Joe

    couldn't you just do this: pictureBox1.Image = Image.FromFile(@"c:\image.jpg"); pictureBox2.Image = pictureBox1.Image; yep, I just tried it and had success. (I used this code on the click of a button with two picture boxes set to default value names) if (openFileDialog1.ShowDialog() == DialogResult.OK) { pictureBox1.Image = Image.FromFile(openFileDialog1.FileName); pictureBox2.Image = pictureBox1.Image; }

    C# help

  • web file properties
    P Pyro Joe

    hi, I'm making a simple download application. How do I get information about the file before I download it such as its size and name (without all the http information and such)? Also, in many download managers there is the option to download the rest of the file later, how is this done, I'm not asking for the rediculous amount of code it would take, but could you point me in the right direction? Thanks, Stephen

    C# question json

  • busy threads
    P Pyro Joe

    problem solved. if anybody else ever has this problem, this is what I used: System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(15)); form2.Invalidate(); form2.Refresh(); System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(20));

    C# design help

  • busy threads
    P Pyro Joe

    I have a process that is executing so fast that the ui can't keep up. there is a function that is called as fast as the next file is copied from an old location to a new location. I am keeping a record of this in a textbox. however, this is happening so fast that the form surface is greyed out kinda and not showing the control's contents untill the process of copying files has completed. Worker threads shouldn't be used to manipulate ui controls, and I've tried using a timer, and I've tried delaying threading. I've had no luck. Even invalidating the control every time a new item should be painted doesn't work. I am very open to any help or suggestions. Thank you, Stephen

    C# design help

  • subdirectories
    P Pyro Joe

    actually, there are two more arguements I just found out about. One that you can tell it to search ALL the subdirectories. but I still thank you for your time in answering my question.

    C# question algorithms data-structures 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