Click here to Skip to main content
15,923,120 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCopy file from and to from VISTA give problem Pin
sunil goyalG1-May-09 19:38
sunil goyalG1-May-09 19:38 
AnswerRe: Copy file from and to from VISTA give problem Pin
Henry Minute2-May-09 3:12
Henry Minute2-May-09 3:12 
AnswerRe: Copy file from and to from VISTA give problem Pin
Dave Kreskowiak2-May-09 4:39
mveDave Kreskowiak2-May-09 4:39 
QuestionTAPI Pin
Member 28498671-May-09 17:26
Member 28498671-May-09 17:26 
AnswerRe: TAPI Pin
Dave Kreskowiak2-May-09 4:32
mveDave Kreskowiak2-May-09 4:32 
AnswerRe: TAPI Pin
Bharat Jain3-May-09 21:48
Bharat Jain3-May-09 21:48 
GeneralRe: TAPI Pin
Member 284986713-May-09 23:21
Member 284986713-May-09 23:21 
Questionproblem in creating downloader Pin
jdcodes1-May-09 11:01
jdcodes1-May-09 11:01 
hii all, i m a newbi in programing world, n i searchd for my problem, finaly i came to this plce, please help me out, i hope i m posting this in proper section.


regarding my problem,
i m creating an application, in which i need to download csv files from one website,
i provide 2 diff dates, n my function will dwnload data ranging those 2 dates..
i want to add a progress bar, while its downloading a data

below d code is given
Public Class frm_CLF_Update

    Private Sub frm_CLF_Update_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ProgressBar1.Visible = False
        Label3.Visible = False
        DateTimePicker1.Value = Now.AddDays(-7)
        ProgressBar1.Minimum = 0
        ProgressBar1.Maximum = 100
        ProgressBar1.Step = 25

    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        If DateTimePicker2.Value < Now Then
            ProgressBar1.Visible = True
            Label3.Visible = True

            Label3.Text = "Downloading data from the NSE-INDIA server. Please wait for few minutes(Depending upon internet Connection"
            cl.Get_Data(DateTimePicker1.Value, DateTimePicker2.Value, 0)
            ProgressBar1.PerformStep()

            Label3.Text = " Downloading completed... Data cleaning process in progress."
            cl.CleanUp()            ProgressBar1.PerformStep()

            Label3.Text = "Data Cleaned, Database Updated"
        Else
            MsgBox("Date Cannot be greter then todays date ", MsgBoxStyle.Exclamation)
            DateTimePicker2.Value = Now
            DateTimePicker2.Select()
        End If
    End Sub
End Class


is this the right way to add a progress bar??
cl.Get_Data(DateTimePicker1.Value, DateTimePicker2.Value, 0)

and
cl.CleanUp()

are two class member which download the data and clean it up...
please please sir, help me out in this, sorry for my english..
AnswerRe: problem in creating downloader Pin
Mycroft Holmes1-May-09 14:59
professionalMycroft Holmes1-May-09 14:59 
GeneralRe: problem in creating downloader Pin
jdcodes1-May-09 20:30
jdcodes1-May-09 20:30 
GeneralRe: problem in creating downloader Pin
Dave Kreskowiak2-May-09 4:28
mveDave Kreskowiak2-May-09 4:28 
GeneralRe: problem in creating downloader Pin
jdcodes4-May-09 10:16
jdcodes4-May-09 10:16 
GeneralRe: problem in creating downloader Pin
Dave Kreskowiak4-May-09 17:13
mveDave Kreskowiak4-May-09 17:13 
QuestionProblem passing/filling/editing data Pin
smjunior091-May-09 7:59
smjunior091-May-09 7:59 
AnswerRe: Problem passing/filling/editing data Pin
Kschuler1-May-09 10:46
Kschuler1-May-09 10:46 
AnswerRe: Problem passing/filling/editing data Pin
Mycroft Holmes1-May-09 15:10
professionalMycroft Holmes1-May-09 15:10 
GeneralRe: Problem passing/filling/editing data Pin
smjunior091-May-09 16:53
smjunior091-May-09 16:53 
GeneralRe: Problem passing/filling/editing data Pin
smjunior091-May-09 16:56
smjunior091-May-09 16:56 
QuestionGetting content of word embedded in Web Browser control Pin
42ka11-May-09 3:35
42ka11-May-09 3:35 
AnswerRe: Getting content of word embedded in Web Browser control Pin
Dave Kreskowiak1-May-09 3:55
mveDave Kreskowiak1-May-09 3:55 
Questionopening balance in access database using crystal report Pin
adnanbilwani1-May-09 2:30
adnanbilwani1-May-09 2:30 
AnswerRe: opening balance in access database using crystal report Pin
Dave Kreskowiak1-May-09 3:54
mveDave Kreskowiak1-May-09 3:54 
QuestionFor Each Textbox Pin
Samir Ibrahim1-May-09 2:21
Samir Ibrahim1-May-09 2:21 
AnswerRe: For Each Textbox Pin
Henry Minute1-May-09 2:29
Henry Minute1-May-09 2:29 
GeneralRe: For Each Textbox Pin
Samir Ibrahim1-May-09 3:07
Samir Ibrahim1-May-09 3:07 

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.