I want to know how to know if user is running the program for first time?
I have a .txt file which will be loaded on start, but it is the first time and there is no such file.
If anybody contributes, I will be happy
Thanks in advance
Jump to Post
If you add a reference(Project menu) to Microsoft Scripting Runtime, you'll have access to the FilesystemObject which has a FileExists method. Using that should give you what you want.
btw joshl_1995 that's .net code
All 6 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.