1 Replies - 798 Views - Last Post: 17 January 2012 - 09:41 AM Rate Topic: -----

#1 dragoon034   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 22-January 10

Displaying image name in label.text

Posted 17 January 2012 - 09:34 AM

Hi. I am currently trying to write a code to read the file name of the image. What I'm basically doing now is I have stored some images in a folder and I can call them out. I'm trying to gather the name of the image and display it in labels. I've found some examples but I don't really understand much of it. Does anyone know any solutions??
I'll keep trying to achieve this goal but any help is greatly appreciated.
:helpsmilie:
:bigsmile:

Is This A Good Question/Topic? 0
  • +

Replies To: Displaying image name in label.text

#2 tlhIn`toq   User is offline

  • Xamarin Cert. Dev.
  • member icon

Reputation: 6537
  • View blog
  • Posts: 14,450
  • Joined: 02-June 10

Re: Displaying image name in label.text

Posted 17 January 2012 - 09:41 AM

label.Text property. Set it to whatever you like.

Let me say this though... It sounds like this is all VERY new to you. This type of thing is covered very early on in any self-teaching book. Which makes me think you really aren't ready to be designing an application yet.

Newbie/Rookie said:

I have a little programming experience but I need to write ...


You need to start there. I can't say "I have little experience in speaking Russian, but I have been assigned to write a mystery novel in Russian. Can you help me?"

We can help you by saying "First learn basic programming and the language of C#. Then take on assignments." Could someone here write this program for you? Sure. Could someone here map out all the processes you need to follow and do the Software Design part of this in the slim hope you could code it from there? Sure. But we don't volunteer to do the job that you're either getting paid for, or getting a grade for. You may want to read this.

For now, just work on the lessons. Do a self-teaching book from cover to cover. Then consider writing a program.

Don't try to create a useful working program to fit a need of yours (or a for-pay contract) as your introduction to coding project. When you are learning to code you don't know enough to code a program, let alone know how to engineer the architecture of a program. It would be like saying "I don't know how to read sheet music, or play an instrument. I think I'll write a 3 act opera as my first learning experience."

I don't say this to be mean. We've seen lots of new coders take this approach and we know it doesn't work. Trying to design your own programs before you understand the basics of the code language you've chosen just leads to problems, frustrations, and 'swiss-cheese' education (lots of holes).


Resources, references and suggestions for new programmers. - Updated Jan 2012
Spoiler

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1