Click here to Skip to main content
15,886,091 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow could I integrate a progress bar if datawriter wirtes the image at once? Pin
JUNEYT27-Feb-09 11:52
JUNEYT27-Feb-09 11:52 
AnswerRe: How could I integrate a progress bar if datawriter wirtes the image at once? Pin
Dave Kreskowiak27-Feb-09 17:46
mveDave Kreskowiak27-Feb-09 17:46 
Questionusing downloads Pin
megacharged27-Feb-09 10:57
megacharged27-Feb-09 10:57 
AnswerRe: using downloads Pin
Curtis Schlak.27-Feb-09 12:46
Curtis Schlak.27-Feb-09 12:46 
QuestionHelp spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc27-Feb-09 10:14
PoweredByOtgc27-Feb-09 10:14 
AnswerRe: Help spawing more then 25 threads per processor in a thread pool Pin
Dave Kreskowiak27-Feb-09 10:49
mveDave Kreskowiak27-Feb-09 10:49 
GeneralRe: Help spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc28-Feb-09 4:57
PoweredByOtgc28-Feb-09 4:57 
QuestionCopy File From One Location To Another + Urgent + Sourabh Das Pin
Dot Net Jantu27-Feb-09 5:39
Dot Net Jantu27-Feb-09 5:39 
Hi All,
After A long time.. Hope u all are good..

I am having btnUpload and btnTransfer. On btnUpload I open a openFileDialogue select any type of file and at transfer i want to transfer it to another location suppose D:\TransferTest\.
But its giving this error Could not find a part of the path 'D:\TransferTest\'.

The code is as below :
Dim filename As String
    Dim ofd As OpenFileDialog

    Private Sub btnUpload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpload.Click
        ofd = New OpenFileDialog()
        ofd.Filter = "All Files|*.*"
        ofd.ShowDialog()
        If ofd.ShowDialog() = Windows.Forms.DialogResult.OK Then
            filename = ofd.FileName()
            txtFile.Text = filename
        End If
    End Sub

    Private Sub btnTransfer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnTransfer.Click
        File.Copy(filename, "D:\TransferTest\")
    End Sub


Help with a code tip... its a urgent..
Regards,
Sourabh

Thanks and Regards,

AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
kriskomar27-Feb-09 5:51
kriskomar27-Feb-09 5:51 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 6:04
sitebuilderLuc Pattyn27-Feb-09 6:04 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
PoweredByOtgc27-Feb-09 10:27
PoweredByOtgc27-Feb-09 10:27 
GeneralRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 11:35
sitebuilderLuc Pattyn27-Feb-09 11:35 
QuestionUpgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 5:08
tbkfile27-Feb-09 5:08 
AnswerRe: Upgrading VB6 to VB.net printing problem Pin
Sebastian Br.27-Feb-09 7:43
Sebastian Br.27-Feb-09 7:43 
GeneralRe: Upgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 18:36
tbkfile27-Feb-09 18:36 
QuestionDataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 4:56
kriskomar27-Feb-09 4:56 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
johnsontroye27-Feb-09 9:38
johnsontroye27-Feb-09 9:38 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 9:59
kriskomar27-Feb-09 9:59 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc28-Feb-09 5:07
PoweredByOtgc28-Feb-09 5:07 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 6:00
kriskomar1-Mar-09 6:00 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc1-Mar-09 6:32
PoweredByOtgc1-Mar-09 6:32 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 14:58
kriskomar1-Mar-09 14:58 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc2-Mar-09 13:56
PoweredByOtgc2-Mar-09 13:56 
AnswerPartial fix for control not allowing null value to pass to dataset and database Pin
kriskomar3-Mar-09 6:45
kriskomar3-Mar-09 6:45 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar4-Mar-09 7:05
kriskomar4-Mar-09 7:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.