Click here to Skip to main content
15,889,462 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Save a multiline text on sql server Pin
Eddy Vluggen30-Jul-15 2:46
professionalEddy Vluggen30-Jul-15 2:46 
GeneralRe: Save a multiline text on sql server Pin
satc30-Jul-15 2:55
satc30-Jul-15 2:55 
GeneralRe: Save a multiline text on sql server Pin
Wendelius29-Jul-15 2:00
mentorWendelius29-Jul-15 2:00 
AnswerRe: Save a multiline text on sql server Pin
Mycroft Holmes29-Jul-15 14:40
professionalMycroft Holmes29-Jul-15 14:40 
Questionprogress bar, percent complete Pin
jkirkerx28-Jul-15 10:16
professionaljkirkerx28-Jul-15 10:16 
AnswerRe: progress bar, percent complete Pin
Eddy Vluggen28-Jul-15 11:42
professionalEddy Vluggen28-Jul-15 11:42 
AnswerRe: progress bar, percent complete Pin
Ross Pickard28-Jul-15 12:04
Ross Pickard28-Jul-15 12:04 
AnswerRe: progress bar, percent complete Pin
jkirkerx30-Jul-15 13:27
professionaljkirkerx30-Jul-15 13:27 
I was pretty brain dead this day, I should of said that I wanted to keep the max value at 100%, and constantly calculate for any number of records at 100%.

So today with the progress bar breaking, I took the time to fix it, and went to a basic calculator website to figure out the formula, in which there really was no formula, just basic math that was so simple.

And yes this is the loop function that I wrote about in my post in the database form about merging SQL for FoxPro statements that I posted 5 mins ago.
In the end, I need to dump this code for something faster, but it works for now until I can figure out something better.

So thanks Eddy for the suggestion, and the other op as well.
If (invIndex.Count > 0) Then
  dialogPos = 0.0
  dialogWait.pb_progress.Maximum = 100
  dialogWait.UpdateProgress(0, "Located " & invIndex.Count & " invoices(s)")

  Dim rC As Integer = 0
  For Each i As invoiceIndex In invIndex

    Dim m_percentage As Decimal = ((rC / invIndex.Count()) * 100)
    Dim m_dialogPos As Integer = Math.Round(m_percentage)
    dialogWait.UpdateProgress(m_dialogPos, "Calculating profit for Invoice " & i.InvoiceNumber & "  (" & rC & " of " & invIndex.Count & ")  ")

    load_SR_Invoice_Profit(connection, i.InvoiceNumber, profits)

    rC += 1

Next

QuestionListOf, check for existing value first Pin
jkirkerx28-Jul-15 9:31
professionaljkirkerx28-Jul-15 9:31 
Answer[solved] Pin
jkirkerx28-Jul-15 10:47
professionaljkirkerx28-Jul-15 10:47 
QuestionIs there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 0:49
satc27-Jul-15 0:49 
AnswerRe: Is there any library to compare 2 sql server databases ? Pin
Wendelius27-Jul-15 0:58
mentorWendelius27-Jul-15 0:58 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 1:09
satc27-Jul-15 1:09 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Wendelius27-Jul-15 1:47
mentorWendelius27-Jul-15 1:47 
AnswerRe: Is there any library to compare 2 sql server databases ? Pin
Chris Quinn27-Jul-15 2:12
Chris Quinn27-Jul-15 2:12 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 2:43
satc27-Jul-15 2:43 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Chris Quinn27-Jul-15 3:59
Chris Quinn27-Jul-15 3:59 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 4:07
satc27-Jul-15 4:07 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
Sascha Lefèvre27-Jul-15 4:31
professionalSascha Lefèvre27-Jul-15 4:31 
GeneralRe: Is there any library to compare 2 sql server databases ? Pin
satc27-Jul-15 19:48
satc27-Jul-15 19:48 
QuestionCrazy ODBCDataReader Pin
Marcus Genovese24-Jul-15 4:12
Marcus Genovese24-Jul-15 4:12 
AnswerRe: Crazy ODBCDataReader Pin
Richard Deeming24-Jul-15 4:49
mveRichard Deeming24-Jul-15 4:49 
GeneralRe: Crazy ODBCDataReader Pin
Marcus Genovese24-Jul-15 5:25
Marcus Genovese24-Jul-15 5:25 
QuestionHow to write Worksheet Change Event in Visual Studio 2010??? Pin
Member 1184098123-Jul-15 21:27
Member 1184098123-Jul-15 21:27 
QuestionOracleDataReader GetChars method only buffering half the characters Pin
Aaron Rosenthal22-Jul-15 12:48
Aaron Rosenthal22-Jul-15 12:48 

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.