Me.caption = "what ever the files are"
Can anyone tell me how to popup a dialog that will do the above in a dialog ?
Regards
Printable View
Me.caption = "what ever the files are"
Can anyone tell me how to popup a dialog that will do the above in a dialog ?
Regards
is that what you mean?Code:MsgBox "Your Text Here"
No not really, i'm contiuosly copying separate files so it would need updated each time
You have to design your own dialog then, either as a simple form with borderstyle changed to something limiting, or by designing an activeX that operates a form on your command.
Whats the fragment code to do this please..?
If it isn't gsc1ugs. Back to copying questions again.
Make a new form, called for example "frmDialog". Set the borderstyle = 4 (fixed toolwindow)
Basically this is just a poxy little dialog box now. I don't know how you are copying your files, but this should give you a general idea.
[Edited by Iain17 on 05-05-2000 at 03:19 PM]Code:frmDialog.Show
For Each FileBeingCopied
frmDialog.Caption = FileBeingCopied.Name
DoEvents
copy (FileBeingCopied)
Next
Unload frmDialog
Bit simpler please VB a new thang too me
It s the centre of the dialog i wnat to change not the caption..
Right well make Form like i said in my last post and place a label in the middle. Call it lblMessage for now.
Code:'show the dialog form
frmDialog.Show
'this is the loop where you are copying files.
For Each FileBeingCopied
'show the name of the file being copied on the
'frmDialog label.
frmDialog.lblMessage.Caption = FileBeingCopied.Name
DoEvents
'how ever you copy your file.
copy (FileBeingCopied)
Next
'unload the dialog Form
Unload frmDialog