Click here to Skip to main content
16,016,770 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam5-Jan-05 21:18
netSam5-Jan-05 21:18 
GeneralRe: File.Copy File Not Found Exception. Pin
Robert Rohde6-Jan-05 20:31
Robert Rohde6-Jan-05 20:31 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam8-Jan-05 18:57
netSam8-Jan-05 18:57 
GeneralConstant Variables and Collection Pin
akaSDN4-Jan-05 19:20
akaSDN4-Jan-05 19:20 
GeneralRe: Constant Variables and Collection Pin
T Manjaly5-Jan-05 10:02
T Manjaly5-Jan-05 10:02 
GeneralRe: Constant Variables and Collection Pin
Levi Rosol7-Jan-05 22:39
Levi Rosol7-Jan-05 22:39 
GeneralRestricting or setting the max length for Dbgrid Pin
Anonymous4-Jan-05 15:57
Anonymous4-Jan-05 15:57 
GeneralSeveral instances of a control... Pin
TAlvord4-Jan-05 12:19
TAlvord4-Jan-05 12:19 
I am creating several instances of a form. The problem is that I would like to update a few things before the form is shown. It seems that any reference to the new form causes the Form_Initialize and Form_Load functions to get called. Any ideas? PostIt is the form in question...

[code]
Private piPostIt() As New PostIt

While rcsMemo.EOF <> True
iIndex = iIndex + 1
ReDim Preserve piPostIt(iIndex)

Set piPostIt(iIndex) = New PostIt
If rcsMemo.Fields("Graphic Note").Value = True Then
piPostIt(iIndex).chkGraphic.Value = 1
Else
piPostIt(iIndex).chkGraphic.Value = 0
End If
If piPostIt(iIndex).chkGraphic.Value = 1 Then
piPostIt(iIndex).pbPostIt.Picture = LoadPicture(rcsMemo.Fields("Memo BMP").Value)
Else
piPostIt(iIndex).tbPostIt = rcsMemo.Fields("Memo Text").Value
End If
piPostIt(iIndex).Top = rcsMemo.Fields("StartupTop").Value
piPostIt(iIndex).Left = rcsMemo.Fields("StartupLeft").Value
piPostIt(iIndex).Height = rcsMemo.Fields("StartupHeight").Value
piPostIt(iIndex).Width = rcsMemo.Fields("StartupWidth").Value
piPostIt(iNumPostIts).Show
rcsMemo.MoveNext
Wend
dbPostIt.Close
[/code]

Thanks,
Tim
GeneralRe: Several instances of a control... Pin
Tom John5-Jan-05 22:11
Tom John5-Jan-05 22:11 
GeneralRe: Several instances of a control... Pin
TAlvord6-Jan-05 6:24
TAlvord6-Jan-05 6:24 
QuestionValidating user input text entered into an Edit Control? Pin
quickfix764-Jan-05 12:08
quickfix764-Jan-05 12:08 
General? - Confused about datasets Pin
normschaef4-Jan-05 7:55
normschaef4-Jan-05 7:55 
GeneralRichTextBox Selection Block Pin
Dave Londeck4-Jan-05 5:00
Dave Londeck4-Jan-05 5:00 
GeneralnetworkStream.BeginRead() / Threading doubt Pin
carlos_rocha4-Jan-05 4:00
carlos_rocha4-Jan-05 4:00 
GeneralRe: networkStream.BeginRead() / Threading doubt Pin
carlos_rocha5-Jan-05 1:11
carlos_rocha5-Jan-05 1:11 
GeneralCallback function Pin
Tomaz Rotovnik4-Jan-05 3:26
Tomaz Rotovnik4-Jan-05 3:26 
GeneralRe: Callback function Pin
OICU8125-Jan-05 18:19
OICU8125-Jan-05 18:19 
GeneralRe: Callback function Pin
Tomaz Rotovnik5-Jan-05 20:03
Tomaz Rotovnik5-Jan-05 20:03 
GeneralRe: Callback function Pin
OICU8125-Jan-05 20:47
OICU8125-Jan-05 20:47 
Generaltextboxes to datagrid Pin
Makniteasy3-Jan-05 23:25
Makniteasy3-Jan-05 23:25 
GeneralRe: textboxes to datagrid Pin
Ritesh12344-Jan-05 3:53
Ritesh12344-Jan-05 3:53 
GeneralRe: textboxes to datagrid Pin
Makniteasy4-Jan-05 8:51
Makniteasy4-Jan-05 8:51 
Generaloledb error Pin
GaryKoh3-Jan-05 21:17
GaryKoh3-Jan-05 21:17 
GeneralRe: oledb error Pin
Dave Kreskowiak4-Jan-05 5:56
mveDave Kreskowiak4-Jan-05 5:56 
GeneralAdding image to listview Pin
kobezt083-Jan-05 20:47
kobezt083-Jan-05 20: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.