Question 1:
Hi! I have an application that loads tons of picture into a listview. While it'S loading, the images loaded in the listview tend to appears and disappears. I would like to know if there is anyway I can "Freeze" the window while the images load, then refresh it... so the user wouldn't see that "bug". It would also allow the user to do anything until it's loaded, to avoid memory crashes... Thank You!
_________________________________________________________________
Question 2:
My Application has to be French and English. So I thought I was going to load the table corresponding to the language selected and store the language string into String variable, like:
And I assign the Vakue to the component at runtime...VB Code:
Public MENU_ABOUT As String = CStr(datarow(0)) ' which is "About..." Public MENU_ALWAYS_ON_TOP As String = CStr(datarow(1)) ' which is "Always on Top" ...
But I get Warning (it's not error because I still can run the application). I atached a screenshot. Why do I have all this saying "The variable is either undeclared or was never assigned" when THEY ACTUALLY ARE DECLARED AND ASSIGNED in module called LANG.VB Code:
' 'mnuFile ' Me.mnuFile.Enabled = CType(resources.GetObject("mnuFile.Enabled"), Boolean) Me.mnuFile.Index = 0 Me.mnuFile.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.mnuNewCollection, Me.mnuProperties, Me.mnuPrint, Me.mnuPrintSetup, Me.MenuItem13, Me.mnuImportFiles, Me.MenuItem14, Me.mnuMainExit}) Me.mnuFile.Shortcut = CType(resources.GetObject("mnuFile.Shortcut"), System.Windows.Forms.Shortcut) Me.mnuFile.ShowShortcut = CType(resources.GetObject("mnuFile.ShowShortcut"), Boolean) Me.mnuFile.Text = [B]MENU_FILE[/B] Me.mnuFile.Visible = CType(resources.GetObject("mnuFile.Visible"), Boolean)
Thank You!





Reply With Quote