• Welcome to Valhalla Legends Archive.
 

Attributes

Started by Clan CDH, November 19, 2006, 10:28 PM

Previous topic - Next topic

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?

Clan CDH

come on, someone must know!

FrostWraith


l2k-Shadow

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: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Clan CDH

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.

FrostWraith

Quote
God you are so newb.

Your the one using VB

rabbit

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".
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Clan CDH

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.

Grok

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.

FrostWraith

#9
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.

Grok

OK.  Suppose I might start pruning the off-topic replies in these posts someday.