Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB + OleDb.OleDbCommand + MS Access issue. Pin
dragon_20-Jan-10 18:08
dragon_20-Jan-10 18:08 
AnswerSOLVED: VB + OleDb.OleDbCommand + MS Access issue Pin
alexvw30-Jan-10 2:45
alexvw30-Jan-10 2:45 
QuestionHow to change a button background color if i know the name? Pin
spawneditions19-Jan-10 6:36
spawneditions19-Jan-10 6:36 
AnswerRe: How to change a button background color if i know the name? Pin
EliottA19-Jan-10 7:14
EliottA19-Jan-10 7:14 
GeneralRe: How to change a button background color if i know the name? Pin
spawneditions19-Jan-10 7:20
spawneditions19-Jan-10 7:20 
AnswerRe: How to change a button background color if i know the name? Pin
spawneditions19-Jan-10 8:28
spawneditions19-Jan-10 8:28 
GeneralRe: How to change a button background color if i know the name? Pin
dan!sh 19-Jan-10 18:45
professional dan!sh 19-Jan-10 18:45 
QuestionRediming An array object Containing Public Share Variant Pin
A.Najafi19-Jan-10 0:11
A.Najafi19-Jan-10 0:11 
Hi All,
I have a question about “Redim”. Consider a Class containing some Share public variant, for example double. The class is created in the main class as array with length ‘2’. If procedure repeats, it is needed that share public variant to be nothing or zero. For this, I Redim the array object created from class containing share public variant. The problem would be accrued when the object new again. In this condition the share parameter which had been deleted is valued again.
Public Class clsTest
Public Shared MyParametr As Double
Public Sub DoDesign()
MyParametr+=3
End Sub
End Class

Public Class MainForm
Public MyObject(1) As clsTest
Private Sub frmMain_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
MyObject(1) = New clsTest
MyObject(1).DoDesign()
Text1.Text= MyObject(1). MyParametr.Tostring()
End Sub
Public Sub DeletingDesignResult()
Ridim MyObject(0)’object=Nothing
Ridim MyObject(1)
End Sub
End Class

When MainForm Shows again and object is newed again, the value of MyParametr is ‘3’ and notzero.
AnswerRe: Rediming An array object Containing Public Share Variant Pin
DaveAuld19-Jan-10 5:17
professionalDaveAuld19-Jan-10 5:17 
QuestionEdit records in vb6 through access Pin
offroaderdan18-Jan-10 22:33
offroaderdan18-Jan-10 22:33 
Questionhow to update a VB .NET application? Pin
jeshra27918-Jan-10 21:48
jeshra27918-Jan-10 21:48 
AnswerRe: how to update a VB .NET application? Pin
Steven J Jowett19-Jan-10 1:14
Steven J Jowett19-Jan-10 1:14 
GeneralRe: how to update a VB .NET application? Pin
jeshra27921-Jan-10 0:30
jeshra27921-Jan-10 0:30 
QuestionI Need Help On Vb.net Smart Devices [modified] Pin
bernard tang18-Jan-10 21:27
bernard tang18-Jan-10 21:27 
AnswerRe: I Need Help On Vb.net Smart Devices Pin
jerryj19-Jan-10 3:31
jerryj19-Jan-10 3:31 
GeneralRe: I Need Help On Vb.net Smart Devices Pin
bernard tang19-Jan-10 16:54
bernard tang19-Jan-10 16:54 
AnswerRe: I Need Help On Vb.net Smart Devices Pin
Rick Shaub19-Jan-10 5:23
Rick Shaub19-Jan-10 5:23 
GeneralRe: I Need Help On Vb.net Smart Devices Pin
bernard tang19-Jan-10 16:59
bernard tang19-Jan-10 16:59 
QuestionQuery regarding the code in MatixCoder's "Autorun Applications" CodeProject article? Pin
Paul Hasler18-Jan-10 20:20
Paul Hasler18-Jan-10 20:20 
AnswerRe: Query regarding the code in MatixCoder's "Autorun Applications" CodeProject article? Pin
loyal ginger19-Jan-10 4:50
loyal ginger19-Jan-10 4:50 
AnswerRe: Query regarding the code in MatixCoder's "Autorun Applications" CodeProject article? Pin
Dave Kreskowiak19-Jan-10 6:35
mveDave Kreskowiak19-Jan-10 6:35 
GeneralRe: Query regarding the code in MatixCoder's "Autorun Applications" CodeProject article? Pin
Paul Hasler20-Jan-10 4:53
Paul Hasler20-Jan-10 4:53 
QuestionInvalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Pin
vidhish18-Jan-10 20:12
vidhish18-Jan-10 20:12 
AnswerRe: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Pin
Thomas Krojer18-Jan-10 23:30
Thomas Krojer18-Jan-10 23:30 
GeneralRe: Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX)) Pin
vidhish19-Jan-10 0:04
vidhish19-Jan-10 0:04 

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.