Welcome to Dream.In.Code
Become a VB Expert!

Join 149,552 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,590 people online right now. Registration is fast and FREE... Join Now!




VB6

 
Reply to this topicStart new topic

VB6, How to make a existing file in vb6?

lzaero
28 Nov, 2007 - 03:42 AM
Post #1

New D.I.C Head
*

Joined: 13 Sep, 2007
Posts: 28


My Contributions
how to make a existing file in vb6
User is offlineProfile CardPM
+Quote Post

nealgabriel45
RE: VB6
28 Nov, 2007 - 03:48 AM
Post #2

New D.I.C Head
Group Icon

Joined: 22 Oct, 2007
Posts: 46


Dream Kudos: 50
My Contributions
QUOTE(lzaero @ 28 Nov, 2007 - 04:42 AM) *

how to make a existing file in vb6

Hey Dear, When u ask a question make sure that it is clear to everyone.. I think u r talking about open an existing file ?
User is offlineProfile CardPM
+Quote Post

AbhishekKr
RE: VB6
28 Nov, 2007 - 03:57 AM
Post #3

New D.I.C Head
*

Joined: 28 Nov, 2007
Posts: 6


My Contributions
CODE
if u wanna overwrite an existing file, don't worry u don't need to do nothing special for that just open that file in Output Mode to WRITE


CODE
if u wanna check a file exists or not, then use

Len(Dir(Path & FileName))

this returning Zero tells file doesn't exist else it does

User is offlineProfile CardPM
+Quote Post

Louisda16th
RE: VB6
28 Nov, 2007 - 04:36 AM
Post #4

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Please do not double post.
Oops! I just read the title. Sorry sad.gif

This post has been edited by Louisda16th: 28 Nov, 2007 - 05:04 AM
User is offlineProfile CardPM
+Quote Post

lzaero
RE: VB6
28 Nov, 2007 - 05:24 PM
Post #5

New D.I.C Head
*

Joined: 13 Sep, 2007
Posts: 28


My Contributions
QUOTE(nealgabriel45 @ 28 Nov, 2007 - 04:48 AM) *

QUOTE(lzaero @ 28 Nov, 2007 - 04:42 AM) *

how to make a existing file in vb6

Hey Dear, When u ask a question make sure that it is clear to everyone.. I think u r talking about open an existing file ?


yes thats what i mean...how to make an open existing file....

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 09:49PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month