Click here to Skip to main content
15,908,264 members
Home / Discussions / C#
   

C#

 
QuestionPicture/Texture project Pin
Gabriel Hodgens8-May-09 12:07
Gabriel Hodgens8-May-09 12:07 
Ok, well first off, I just wanna let everyone know I have very little experience in C# so please be patient with me. (I'm working in Microsoft Visual C# 2008 btw) I have a fairly simple project I'm working on and I need a lot of help. I really hate asking people for help, but this is driving me crazy. Now to the project. Let's say I have a directory "C:/textures/" and inside are lots of pairs of files, a texture file, and a jpg of the texture. I'm trying to make a program that has a picture box with up and down arrow buttons that will cycle through all the pictures in that directory, and when a third button is pressed, it will copy the current picture's corresponding texture file to a very specific directory on an SD card and rename it based on the name (and overwrite any files of the same new name there). Here's an example of the files:
dogtexture.tex
dogtexture.jpg
cattexture.tex
cattexture.jpg
copy dogtexture.tex to SD/textures/dog/dog01.tex
or
copy cattexture.tex to SD/textures/cat/cat01.tex

Any help would be greatly appreciated Smile | :)
AnswerRe: Picture/Texture project Pin
fly9048-May-09 12:22
fly9048-May-09 12:22 
GeneralRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 12:31
Gabriel Hodgens8-May-09 12:31 
GeneralRe: Picture/Texture project Pin
fly9048-May-09 12:40
fly9048-May-09 12:40 
GeneralRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 12:44
Gabriel Hodgens8-May-09 12:44 
AnswerRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 13:53
Gabriel Hodgens8-May-09 13:53 
GeneralRe: Picture/Texture project Pin
MumbleB8-May-09 21:36
MumbleB8-May-09 21:36 
GeneralRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 22:17
Gabriel Hodgens8-May-09 22:17 
GeneralRe: Picture/Texture project Pin
fly9048-May-09 22:31
fly9048-May-09 22:31 
GeneralRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 22:50
Gabriel Hodgens8-May-09 22:50 
GeneralRe: Picture/Texture project Pin
fly9048-May-09 23:08
fly9048-May-09 23:08 
GeneralRe: Picture/Texture project Pin
Gabriel Hodgens8-May-09 23:14
Gabriel Hodgens8-May-09 23:14 
GeneralRe: Picture/Texture project Pin
MumbleB8-May-09 22:40
MumbleB8-May-09 22:40 
Questionprint button to print a control Pin
student19888-May-09 10:42
student19888-May-09 10:42 
AnswerRe: print button to print a control Pin
fly9048-May-09 10:47
fly9048-May-09 10:47 
GeneralRe: print button to print a control Pin
student19888-May-09 11:03
student19888-May-09 11:03 
GeneralRe: print button to print a control Pin
fly9048-May-09 11:11
fly9048-May-09 11:11 
Questionautomatic byte conversion? Pin
terradtc8-May-09 10:39
terradtc8-May-09 10:39 
AnswerRe: automatic byte conversion? Pin
Luc Pattyn8-May-09 12:06
sitebuilderLuc Pattyn8-May-09 12:06 
GeneralRe: automatic byte conversion? Pin
terradtc8-May-09 12:31
terradtc8-May-09 12:31 
GeneralRe: automatic byte conversion? Pin
Luc Pattyn8-May-09 12:44
sitebuilderLuc Pattyn8-May-09 12:44 
GeneralRe: automatic byte conversion? Pin
terradtc8-May-09 13:05
terradtc8-May-09 13:05 
GeneralRe: automatic byte conversion? Pin
Luc Pattyn8-May-09 13:25
sitebuilderLuc Pattyn8-May-09 13:25 
Questionreading pixel's value in an image Pin
wasifmuneer8-May-09 8:53
wasifmuneer8-May-09 8:53 
AnswerRe: reading pixel's value in an image Pin
molesworth8-May-09 9:05
molesworth8-May-09 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.