User Profile
Collapse
-
Also, I'm using VS2005. -
Maybe you're looking for FileCopy(<srcfi le>, <destfile>).. . ?Leave a comment:
-
All you have to do is first make two timers. One for the progress increase and one for the decrease. In the increase timer, put ProgressBar1.va lue = Progressbar1.va lue + 1. In the decrease timer put Progressbar1.va lue = Progressbar1.va lue - 1. Then you need two buttons. In the button for increase, on mouse_down, put IncreaseTimer.e nabled = true and for mouse_up put IncreaseTimer.e nabled = false. In the button for decrease, on mouse_down, put DecreaseTimer.e nabled...Leave a comment:
-
I think you're looking for Hotkeys. Here's a couple of sites. The first is for VB6 and the second is for .NET:
http://www.freevbcode.com/ShowCode.asp?ID=987
http://www.codeproject.com/vb/net/mclhotkeynet.asp
I hope this helps....Leave a comment:
-
You need to be more specific with your help questions. State whether you're using VB6 or .NET, not just what you want to do. It's real easy to do it in .NET:
...Code:'set the folder browser Dim folderBrowser As New FolderBrowserDialog 'open the dialog and if the user presses OK... If folderBrowser.ShowDialog And Windows.Forms.DialogResult.OK ThenLeave a comment:
-
I'm always glad to help if I can. I just hope he's using .NET and not VB6. =/ I didn't know that the variable type would determine how fast an execution is processed. I always thought it was the CPU speed that determined process speed. The newSize variable will only overflow if the total filesizes in the new folder are greater than or equal to 2GB right? Or is it 4GB in .NET? So that means the next file in the list would have to be really large,...Leave a comment:
-
I was thinking more of something like this, it may take a while with 40000+ files but it works just fine...
...Code:Private Sub sortFolder(ByVal selFolder As String, ByVal newFolName As String) On Error Resume Next 'set the selected folder Dim selPath As String = selFolder 'set the size variable to calculate the total size of the new folderLeave a comment:
-
Send text from one instance to another?
I have this project I'm working on and it has a tabbed interface. You know, multiple documents in one program. I have it check for multiple instances when opened because I only want one instance at a time due to the tabs, but currently it closes the new instance. I don't know how to send the command line args of the new instance to the old instance. I want to open the document in the existing instance, in a new tab just as the open dialog does. I...
No activity results to display
Show More
Leave a comment: