dcsimg
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.01 seconds.

  1. Re: change label text dynamically

    Solved, I do believe my form was corrupted.
  2. [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...
  3. Replies
    14
    Views
    1,438

    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...
  4. Replies
    14
    Views
    1,438

    Re: [RESOLVED] help with array

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

    Re: [RESOLVED] help with array

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

    Re: how to pass an array?

    thanks Chris. that worked
  7. Replies
    2
    Views
    676

    [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...
  8. Replies
    14
    Views
    1,438

    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...
  9. Replies
    14
    Views
    1,438

    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
  10. Replies
    14
    Views
    1,438

    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...
  11. Replies
    14
    Views
    1,438

    [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...
  12. Replies
    3
    Views
    758

    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...
  13. Replies
    3
    Views
    758

    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.
  14. Replies
    3
    Views
    758

    [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....
  15. Replies
    3
    Views
    873

    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...
  16. Replies
    3
    Views
    873

    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...
  17. Replies
    0
    Views
    481

    [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...
  18. Replies
    5
    Views
    662

    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...
  19. Replies
    5
    Views
    662

    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...
  20. Replies
    5
    Views
    662

    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...
  21. Replies
    35
    Views
    2,500

    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>
  22. Replies
    35
    Views
    2,500

    Re: why is it skipping lines?

    Thank you guys
  23. Replies
    35
    Views
    2,500

    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...
  24. Replies
    35
    Views
    2,500

    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...
  25. Replies
    35
    Views
    2,500

    Re: why is it skipping lines?

    I would agree with you on the fundamental misunderstandings of functions. We are using
    C++ Programming From problem analysis to program design by D.S Malik. Functions are chapters 6 and 7. I am on...
Results 1 to 25 of 42
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)