Jump to content
Xtreme .Net Talk

jimbo2k

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by jimbo2k

  1. They are both 72 px by 28 px EDIT: turns out the 2nd picture was a few pixels off the first pictures size, after correcting this and making them the exact same size, it works nicely. Cant thank you enough marble, for the dedication!
  2. Nope, I only have 2 images in the collection so far, until I get this sorted out and both are 96dpi. Any thoughts on what the above poster said about an array list ?
  3. Aw, I was so close to figuring it out on my own :) Thanks again
  4. MarbleEater, im back :-\ Ive realized I dont want a generic click, but instead, a generic "mouse down" event. Ive tried : Private Sub AddGenericClickHandler(ByVal Parent As Control, ByVal Handler As EventHandler) For Each thing As Control In Parent.Controls AddHandler thing.MouseDown, Handler Next AddHandler Parent.MouseDown, Handler but needless to say, it doesnt like that. Ive also tried replacing the "Handler As EventHandler" in the arguements list, to "...AS MouseEventHandler" but it gives me a "does not have the same signature" error. Any insight? Thanks
  5. Can you give me a sample declaration of the array and how to add bitmaps/jpg's. I'm not very familiar with arrays yet :o Thanks!
  6. When I load an image into a picturebox through code, the images quality is diminished. I have the same image loaded into a different picturebox from design time, yet its good quality. How do I preserve the quality when loading from an image list, during run-time? Thanks!
  7. falcon, that would require me to list every label and picturebox, which would probly tally up to 100 :)
  8. Well, if you (or anyone that reads this) ever want an introductory to the basics (being able to send a string of data across the network to an endpoint) then I'd be happy to teach.
  9. Wow, Brilliant. Just curious, Im guessing this is an initialization statement which must be put in the New() sub? On a side note, would you happen to be familiar with sockets ? Thanks a alot
  10. I have a panel, and inside theres many labels and pictureboxes. Basically, I want to be able to catch the users click event whether its on a label, or the panel, or anything else and do something. I am aware of how to catch a click event on a particular label/picturebox, but there has to be a better way to do this. Thanks.
  11. Ahh, that explains it. I thought I've seen .Net formatting already, but maybe that was in the sister forum. :D
  12. Then why dont the keywords and comments appear in their proper color?
  13. Thanks, Ill have a look into what you suggested. As for formatting in .NEt i meant for the forum, instead of VB tags what are the VB.net tags? :p Thanks again!
  14. Any Help would be greatly appreciated I need a way to find a number after either one space, or two. Ex: Number1: 555 <---one space Ex2: Number1: 666 <---two spaces I know how I could do each one independantly, but I'd need it all in one code. This code will find the number 555 in the first scenerio (one space) but wont work for the second scenerio (with two spaces): Position1 = InStr(FirstString, "Number1: ") 'finds start position by finding "Number1: " EndPosition = InStr(Position1 + 9, FirstString, " ") 'finds end position by finding the space after the number: (use +9 because the word "Number1: " is 9 characters) Label1.Text = Mid(FirstString, Position1 + 9, EndPosition - Position1 - 9) 'inbetween start and end is the number PS: how do I format using .net?
  15. I posted this in the sister forum as well, but no response there, so Ill post it here. Need a solution: Under a button click, I have Me.Opaque = .5 to set the transparency of the form to 50%. It works fine, but theirs excessive memory usage - mainly when moving the form. Even when I hit the button again (which checks to see if the transparency is on, if it is, then it returns it back to 100%) the memory usage is still huge. Ive also used transparency key and that did the same thing. Anyone know a solution to this? Thanks in advance...
×
×
  • Create New...