Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 107,708 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,111 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



how do you write random name fo files

 
Reply to this topicStart new topic

how do you write random name fo files

public static void
post 12 Jul, 2008 - 05:05 AM
Post #1


New D.I.C Head

*
Joined: 19 May, 2008
Posts: 4


My Contributions


I have a program for taking screenshot , i want each screenshot to be saved atoumaticly in order Ex:Imag1.jpg ... Image2.jpg and so on


thx for any help smile.gif
User is offlineProfile CardPM

Go to the top of the page


PsychoCoder
post 12 Jul, 2008 - 06:42 AM
Post #2


DIC.Rules == true;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,143



Thanked 50 times

Dream Kudos: 7700

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI

My Contributions


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM

Go to the top of the page

jayman9
post 12 Jul, 2008 - 03:49 PM
Post #3


Student of Life

Group Icon
Joined: 26 Dec, 2005
Posts: 6,300



Thanked 21 times

Dream Kudos: 500

Expert In: C#, VB.NET, Java

My Contributions


What have you tried so far in your attempt to complete this project?

Will there be existing files that your application will have to get the last number used before adding a new file?

Or will it re-start at 1 each time and continue up from there?
User is offlineProfile CardPM

Go to the top of the page

jacobjordan
post 12 Jul, 2008 - 08:54 PM
Post #4


class Me : Perfection

Group Icon
Joined: 11 Jun, 2008
Posts: 619



Thanked 14 times

Dream Kudos: 1350
My Contributions


What exactly are you having trouble with? You need to give us a bit more than that.

This post has been edited by jacobjordan: 12 Jul, 2008 - 08:54 PM
User is offlineProfile CardPM

Go to the top of the page

lanec42
post 12 Jul, 2008 - 10:54 PM
Post #5


D.I.C Head

Group Icon
Joined: 26 Mar, 2008
Posts: 130


My Contributions


QUOTE
Will there be existing files that your application will have to get the last number used before adding a new file?

Yeah, I'd do that, just have the program look in a designated folder, and the save the image with the incremented filename.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/30/08 02:56AM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month