CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2005
    Posts
    4

    Looking for a challenge?

    I'm currently working on this crazy project and I was wondering if anyone could help me out. I'm having trouble getting pictures to show up with alternate employee id's, here's the Gui for it. Please help me..
    Attached Images Attached Images

  2. #2
    Join Date
    Dec 2002
    Location
    London, UK
    Posts
    1,569

    Re: Looking for a challenge?

    what are you using on the back end? Are the pics embedded? are they in a DB? What causes the change? what is association between pic and id?

    I "love a challenge" as much as the next person, but you'll have to give me a few more details first.
    Mike

  3. #3
    Join Date
    Dec 2005
    Posts
    4

    Re: Looking for a challenge?

    1. Secure access. The secretary must enter a password to gain access to the application. All controls should be disabled until the appropriate password has been entered. The password should not be legible to someone standing behind the secretary.

    2. Enter ID: Once the secretary has entered the ID for the Employee, print the employees name and wage in the appropriate locations and place their picture in the Picture Box. When the secretary begins entering a new Employee ID, all appropriate fields should be cleared (TextChanged event).

    3. Enter Data Button: Retrieve the information entered by the secretary and post it in the appropriate list box. Each entry should be accompanied by the date and time that the information was entered (Now).

    4. Total Button: Read in the information from the listbox and calculate the total amount of money earned, the amount of tax with held and the net pay. For the purpose of this application, we will use 15% for the amount of tax withheld. Remember to use a constant.

    This is pretty much all of the information need to create the program, however I'm still not sure of how to bring in multiple images..

  4. #4
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: Looking for a challenge?

    You still did not answer, where the pictures are stored. In a database , on a server, embedded, in the application path ?

    Tell us and you will have the solution. Basically if they are not embedded then its the loadPicture(pathFilename) function. If you change Filename then calling LoadPicture Function Picture will change.

    Jonny Poet
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

  5. #5
    Join Date
    Dec 2005
    Posts
    4

    Re: Looking for a challenge?

    Hey Jonny, I think I might have posted this in the wrong spot. This is actually for Visual Basic.net. The files are on my HD, and everytime a different employee id is typed in, a corresponding picture in supposed to be shown in the picturebox.

  6. #6
    Join Date
    Mar 2005
    Location
    Missouri
    Posts
    111

    Re: Looking for a challenge?

    sigh... repost this in the VB.net forum then, please.

    http://www.codeguru.com/forum/forumdisplay.php?f=12

  7. #7
    Join Date
    Dec 2005
    Posts
    4

    Re: Looking for a challenge?

    Sorry man, I've been working on this for awhile now and figured out everything but the lstboxes.

    When I click the Enter Data button a second time, it still shows the headings again. Do you happen to know how to avoid this? Feel free to delete this post whenever.

    -PEAce

  8. #8
    Join Date
    Sep 2001
    Location
    Québec, Canada
    Posts
    1,923

    Re: Looking for a challenge?

    [ Moved to Vb.Net ]

    JeffB
    CodeGuru VB FAQ Visual Basic Frequently Asked Questions
    VB Code color Tool to color your VB code on CodeGuru
    Before you post Importants informations to know before posting

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured