CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: CyberShot

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,368

    open form onClick

    I created a form and added some buttons. when I click the button labeled "RESIDENTS". I want to open that form. I started this by inserting another form which is currently labeled Form2 but I changed...
  2. Replies
    1
    Views
    2,841

    Re: change label text dynamically

    Solved, I do believe my form was corrupted.
  3. Replies
    1
    Views
    2,841

    [RESOLVED] change label text dynamically

    I am working in Visual Studio. Working on a form. Messing around to see if I can create something. I have added a label to the form and gave it a name of currentMonth. I want to get the current month...
  4. Replies
    14
    Views
    1,545

    Re: [RESOLVED] help with array

    so I am trying to get the image list working because it does seem like it would be wiser but I am having trouble. I have my one picture box in, I have two images in my imageList and I am trying to...
  5. Replies
    14
    Views
    1,545

    Re: [RESOLVED] help with array

    oh, I think I know what you mean. I will look into it
  6. Replies
    14
    Views
    1,545

    Re: [RESOLVED] help with array

    that is beyond my coding skills. That is why I am using multiple picture boxes
  7. Replies
    2
    Views
    748

    Re: how to pass an array?

    thanks Chris. that worked
  8. Replies
    2
    Views
    748

    [RESOLVED] how to pass an array?

    I have a pictureBox array



    PictureBox[] sunImages = new PictureBox[2] { nukeTown, nukeTown2 };


    right now, it is defined in my comboBox function. Everything is working fine. The problem is...
  9. Replies
    14
    Views
    1,545

    Re: help with array

    I used a loop to accomplish the task. This still means that every case needs to have the same loop. Just for fun, do you guys know a better way? I would rather be able to call the images by name...
  10. Replies
    14
    Views
    1,545

    Re: help with array

    well, I found that I can do



    sunImages[0].Hide();


    the only problem now is finding a more efficient way of hiding all 14 of them without having to type out all 14
  11. Replies
    14
    Views
    1,545

    Re: help with array

    what I have is a drop down list that has 14 values in it. when you select a value it puts text that is assigned to that index into a richTextBox on the right of the drop down list. So with each bit...
  12. Replies
    14
    Views
    1,545

    [RESOLVED] help with array

    I put a pictureBox into my form and named it the name of my image. I did this so that I could easily hide the image. The idea is that when you choose a name from a drop down list, it will show the...
  13. Replies
    3
    Views
    812

    Re: help with context menu

    I figured it out.

    I added a contextMenuStrip to the form, Added the Select All, Copy, Paste to the menu items, then clicked on the richTextBox1 and assigned the menu to the textBox. Then I...
  14. Replies
    3
    Views
    812

    Re: help with context menu

    searching with those terms have given me better results. I think the biggest problem I have is that I don't know how to implement the code. Most of it looks like it doesn't pertain to me.
  15. Replies
    3
    Views
    812

    [RESOLVED] help with context menu

    I am trying to add copy and paste functionality to my form. I have not entered any code yet but when I run my project and right click on the combo box, there is a menu with select all, copy paste....
  16. Replies
    3
    Views
    961

    Re: how to check for a click

    when I double clicked on the label, it gave me the method label1_click() and yes, anything I put in there does run when you click on it. But I didn't want to run my code from that method. I wanted to...
  17. Replies
    3
    Views
    961

    how to check for a click

    I am trying to figure out how to write an if statement for a label. If(label1_click) doesn't work. is there a way to write it for a label?

    I know that if I double click on the label i can run some...
  18. Replies
    0
    Views
    509

    [RESOLVED] help with comboBox

    I want to put a list of names into a comboBox and then have text put into a richTextBox based on the selection of the comboBox. I have figured out how to do it with labels, but I thought a combobox...
  19. Replies
    5
    Views
    765

    Re: help with arrays and loops

    C++ programming by D.S Malik



    If It were as simple as following closely to figure stuff out, there would be no need for this forum because everyone would be able to find the problem...
  20. Replies
    5
    Views
    765

    Re: help with arrays and loops

    I am following information from a book, a video and from all over the web. I don't know the answers to your questions because I am just learning about arrays. I have tried many things to get the...
  21. Replies
    5
    Views
    765

    help with arrays and loops

    I am trying to get information from a file and read it into an array. there are ten city names with high and low temps. I can read the first city, low temp but not the high temp and I cannot get my...
  22. Replies
    35
    Views
    4,068

    Re: why is it skipping lines?

    Okay Paul, I re worked the program. Is this what you meant by doing it correctly?




    // IntegrityCheck.cpp : main project file.

    #include "stdafx.h"
    #include <string>
    #include <iostream>
  23. Replies
    35
    Views
    4,068

    Re: why is it skipping lines?

    Thank you guys
  24. Replies
    35
    Views
    4,068

    Re: why is it skipping lines?

    well Paul I think you are right. I have read about do, while, for loops and all that. But one week isn't really enough time to fully comprehend them. Not for me anyway. Remember, I have only been at...
  25. Replies
    35
    Views
    4,068

    Re: why is it skipping lines?

    The only idea here is to use user defined functions. Just one or two like I have. The other idea I think is to use a checksum to check the integrity of a file. The program doesn't get graded on being...
Results 1 to 25 of 43
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured