I would like to make it so that while the program is in use that the file will be hidden(an attribute change), and that when it is not in use to have it unhide it self. How would I go about doing this change?
come on, someone must know!
Me.Hide
Me.Show
Quote from: FrostWraith on November 21, 2006, 09:58 PM
Me.Hide
Me.Show
I think he was looking for this:
Public Sub HideFile(ByVal FilePath As String)
Call SetAttr(FilePath, vbHidden)
End Sub
Public Sub UnhideFile(ByVal FilePath As String)
Call SetAttr(FilePath, vbNormal)
End Sub
Quote from: FrostWraith on November 21, 2006, 09:58 PM
Me.Hide
Me.Show
God you are so newb.
Quote
I think he was looking for this:
Public Sub HideFile(ByVal FilePath As String)
Call SetAttr(FilePath, vbHidden)
End Sub
Public Sub UnhideFile(ByVal FilePath As String)
Call SetAttr(FilePath, vbNormal)
End Sub
Thanks again shadow, it worked perfectly.
Quote
God you are so newb.
Your the one using VB
Quote from: FrostWraith on November 24, 2006, 11:48 PM
Quote
God you are so newb.
Your the one using VB
You're the one giving VB advice that doesn't start and end with "Don't use VB".
Quote from: FrostWraith on November 24, 2006, 11:48 PM
Quote
God you are so newb.
Your the one using VB
Hehe, that was newbish advice, and VB6 wasn't my first language, I was using it because it's "Basic" and quick to code in.
Quote from: FrostWraith on November 24, 2006, 11:48 PM
Quote
God you are so newb.
Your the one using VB
I use VB. This is the VB forum. If you're not here to help someone write better VB, don't post at all.
Honestly, I write mostly in VB. He just tried to bash me for providing information that he didn't need. I didn't start the flaming. I guess I did make a fairly hypocritical comment.
OK. Suppose I might start pruning the off-topic replies in these posts someday.