Click here to Skip to main content
15,914,419 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Where can I find the source code of.. Pin
Steven J Jowett22-Jul-09 1:56
Steven J Jowett22-Jul-09 1:56 
AnswerRe: Where can I find the source code of.. Pin
Dave Kreskowiak22-Jul-09 4:20
mveDave Kreskowiak22-Jul-09 4:20 
AnswerRe: Where can I find the source code of.. Pin
Paul Conrad25-Jul-09 19:25
professionalPaul Conrad25-Jul-09 19:25 
QuestionUse of Listview Pin
nazimghori21-Jul-09 18:50
nazimghori21-Jul-09 18:50 
AnswerRe: Use of Listview Pin
tosch21-Jul-09 23:04
tosch21-Jul-09 23:04 
QuestionC# and vb.net in same .dll? Pin
cstrader23221-Jul-09 15:02
cstrader23221-Jul-09 15:02 
AnswerRe: C# and vb.net in same .dll? Pin
Christian Graus21-Jul-09 15:48
protectorChristian Graus21-Jul-09 15:48 
GeneralRe: C# and vb.net in same .dll? Pin
Adam R Harris21-Jul-09 19:03
Adam R Harris21-Jul-09 19:03 
GeneralRe: C# and vb.net in same .dll? Pin
cstrader23222-Jul-09 1:01
cstrader23222-Jul-09 1:01 
QuestionCustom Actions VS2005 Windows Installer Pin
Cory Kimble21-Jul-09 9:35
Cory Kimble21-Jul-09 9:35 
AnswerRe: Custom Actions VS2005 Windows Installer Pin
Jack Vanderhorst27-Jul-09 15:08
Jack Vanderhorst27-Jul-09 15:08 
QuestionVBA Function Calls Pin
Gordon2721-Jul-09 8:00
Gordon2721-Jul-09 8:00 
AnswerRe: VBA Function Calls Pin
David Mujica21-Jul-09 8:16
David Mujica21-Jul-09 8:16 
QuestionFK constraint error when filling parent adaptor with parameterized stored procedure Pin
tcd6721-Jul-09 6:47
tcd6721-Jul-09 6:47 
AnswerRe: FK constraint error when filling parent adaptor with parameterized stored procedure Pin
Mycroft Holmes21-Jul-09 17:02
professionalMycroft Holmes21-Jul-09 17:02 
AnswerRe: FK constraint error when filling parent adaptor with parameterized stored procedure Pin
tcd6722-Jul-09 9:53
tcd6722-Jul-09 9:53 
QuestionSubroutine Pin
abcurl21-Jul-09 6:23
abcurl21-Jul-09 6:23 
AnswerRe: Subroutine Pin
Dave Kreskowiak21-Jul-09 8:27
mveDave Kreskowiak21-Jul-09 8:27 
AnswerRe: Subroutine Pin
Christian Graus21-Jul-09 10:22
protectorChristian Graus21-Jul-09 10:22 
AnswerRe: Subroutine Pin
EliottA22-Jul-09 6:07
EliottA22-Jul-09 6:07 
GeneralRe: Subroutine Pin
DoctorMick22-Jul-09 6:22
DoctorMick22-Jul-09 6:22 
QuestionVBA Loop Problem Pin
Dalek Dave21-Jul-09 5:23
professionalDalek Dave21-Jul-09 5:23 
AnswerRe: VBA Loop Problem Pin
DoctorMick21-Jul-09 5:45
DoctorMick21-Jul-09 5:45 
Do you need a loop at all?

In the accept button click can you not increment a counter and set the array value of that position to the textbox then clear the form. Once you have hit accept more than the required number of times you can close the form or whatever you need to do, i.e.

Private intJobBreakCounter As Integer
Public Sub btnAccept_Click()
  intJobBreakCounter = intJobBreakCounter + 1
  arrJobBreak(intJobBreakCounter) = TextBoxJobBreakHeader.Value
  TextBoxJobBreakHeader.Value = ""

  If intJobBreakCounter >= intJobBreaks
    'Do whatever you need to do
  End If

  'If you haven't reached the max counter yet the form will still be displayed and the user can enter a new value.
End Sub

GeneralRe: VBA Loop Problem Pin
Dalek Dave21-Jul-09 6:01
professionalDalek Dave21-Jul-09 6:01 
AnswerRe: VBA Loop Problem Pin
Luc Pattyn21-Jul-09 5:47
sitebuilderLuc Pattyn21-Jul-09 5:47 

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.