Author | Message | Time |
---|---|---|
Clan CDH | 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? | November 20, 2006, 4:28 AM |
Clan CDH | come on, someone must know! | November 22, 2006, 3:41 AM |
FrostWraith | Me.Hide Me.Show | November 22, 2006, 3:58 AM |
l2k-Shadow | [quote author=FrostWraith link=topic=16055.msg161564#msg161564 date=1164167884] Me.Hide Me.Show [/quote] I think he was looking for this: [code] 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 [/code] | November 22, 2006, 5:31 AM |
Clan CDH | [quote author=FrostWraith link=topic=16055.msg161564#msg161564 date=1164167884] Me.Hide Me.Show [/quote] God you are so newb. [QUOTE] I think he was looking for this: [code] 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 [/code] [/quote] Thanks again shadow, it worked perfectly. | November 25, 2006, 2:56 AM |
FrostWraith | [QUOTE] God you are so newb. [/quote] Your the one using VB | November 25, 2006, 5:48 AM |
rabbit | [quote author=FrostWraith link=topic=16055.msg161764#msg161764 date=1164433727] [QUOTE] God you are so newb. [/quote] Your the one using VB [/quote]You're the one giving VB advice that doesn't start and end with "Don't use VB". | November 25, 2006, 11:50 AM |
Clan CDH | [quote author=FrostWraith link=topic=16055.msg161764#msg161764 date=1164433727] [QUOTE] God you are so newb. [/quote] Your the one using VB [/quote] 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. | November 25, 2006, 6:49 PM |
Grok | [quote author=FrostWraith link=topic=16055.msg161764#msg161764 date=1164433727] [QUOTE] God you are so newb. [/quote] Your the one using VB [/quote] I use VB. This is the VB forum. If you're not here to help someone write better VB, don't post at all. | November 26, 2006, 11:05 PM |
FrostWraith | 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. | November 27, 2006, 3:37 AM |
Grok | OK. Suppose I might start pruning the off-topic replies in these posts someday. | November 27, 2006, 8:13 AM |