Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Cndn
  • Order by date
  1. Cndn

    How can I add new properties to contols in my projects?

    Can anyone tell me how I can add new properties to controls in my projects? I have read up a bit on how you add properties to your custom active X controls but i don't understand a lot of the stuff, for example what's with all this Get and Let? I would really like to know if there is a way...
  2. Cndn

    Is is possible to have a shape go over an image?

    I need a shape to go over top of an image in a program I am working on. The shape always seems to go under the image, hiding it. I know that the fact that it is a shape object going over an image object is the problem because when i tried it with a shape object going over another shape object it...
  3. Cndn

    How to make loaded objects appear above other objects?

    Using the load statement I am loading new objects into arrays: Ex. Load Shape1(1) However, when in the same place as other objects they go underneath instead of overtop. How can I make them go overtop???
  4. Cndn

    Using Labels in addition

    I've asked this question before, but I still haven't found an answer. In one of my programs, I'm trying to use labels not only to display information to the user, but also to hold the information for use in the program. So my code might look like this: label3.caption = label1.caption +...
  5. Cndn

    A stupid question

    Text3.text = text2.text + text1.text If text2 is equal to 2, and text1 is equal to 1, then text3 will equal 21. Isn't it possible to have the code simply add text2's text (2) and text1's text (1) to equal 3? How do you make it so that vb adds the values instead of sticking them together?
  6. Cndn

    Variables

    For some reason, the following code doesn't work, how come? Form_load() Dim Number as integer Number = 2 End Sub Command1_click Number = Number + 2 msgbox Number End Sub This code also will not work Form_load() Dim Number as integer Dim Number2 as integer Number2 = 2 Dim Number3 as integer...
  7. Cndn

    Deleting Control Array Items

    I've got a little arcade WWII fighter planes game of mine in the works right now. For all the enemy planes, bombing targets, explosions, etc. I'm using shape control arrays and creating new items in the arrays when they are needed in the game. The problem is that I don't know how to delete...
  8. Cndn

    Control Arrays

    Is there a way to write code the effects an entire array?
  9. Cndn

    How do I round off my random numbers?

    How do I round off my random numbers into whole numbers?
  10. Cndn

    Mouse Pointer

    Does anyone know if there is a way to move the mouse pointer around the screen? Ex. shape1.left = "mouse pointer".left, shape1.top = "mouse pointer".top? Thanks
  11. Cndn

    Drawing Lines

    Does anyone know if there is a way to change the color, width, etc. of the lines you draw when you use the Line code? You know: Line -(X, Y) thanks. PS, A red or white line would be preferable
  12. Cndn

    Changing name property

    Does anyone know if there is a way to change the name property of an object?
  13. Cndn

    A bit of a tough programming challenge

    So, who knows a good way to create around 70 string variables without having to type code until your eyes bleed? I'd love to know if there's a simple way. (loops maybe???)
  14. Cndn

    Control Arrays - fairly simple question

    Does anyone know if there is a way to designate an entire control array instead of one particular object in the array? Ex. How would you make the backcolor of every object in an array blue? Ex2. How would you make the backcolor of a single button in an array of buttons turn red when clicked...
  15. Cndn

    How do I respond to 2 different keyboard commands at once?

    Does anyone know how to respond to 2 different keyboard commands at the same time?
  16. Cndn

    How come my 'move' won't work???

    I know that this is a very basic question, but for some reason my code for moving things isn't working how it's supposed to! Will you just quickly give me some examples so I can understand what I'm doing wrong. Example #1: How would I move an object up 150 units? Example #2: How would I move...
  17. Cndn

    Menus

    Does anyone know how to take away the little 'X' exit button in the menu so that the user can't use it to quit?
  18. Cndn

    Contol Array stuff - (I'm just a beginner)

    I know this is kind of a stretch, but can someone explain to me what Control Arrays are, they're purpose, and how to make them ( you know, the required code). Thanks (:
  19. Cndn

    A very simple Visual Basic Question about Playing sound

    I am completly frusterated with the Visual Basic audio code. Those guys at Microsoft made way more complicated than it had to be. I have tried everything to have sound in my project, and the best I could do was have a Midi file that needs to be played manually by the uder (you know, clicking the...
  20. Cndn

    A very simple Visual Basic Question about Command Buttons

    I wanted to be able to give my command buttons color, but when I set the backcolor nothing happens! Is there a way to set the backcolor and/or Textcolor??? Thanks for your help.

Part and Inventory Search

Back
Top