Click here to Skip to main content
15,884,083 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Getting Focus on First row in listview control in vb.net Pin
dan!sh 7-Jul-09 21:30
professional dan!sh 7-Jul-09 21:30 
QuestionUnicode support in VBscript messagebox Pin
Archana New to Dotnet7-Jul-09 17:26
Archana New to Dotnet7-Jul-09 17:26 
AnswerRe: Unicode support in VBscript messagebox Pin
Dave Kreskowiak8-Jul-09 7:09
mveDave Kreskowiak8-Jul-09 7:09 
GeneralRe: Unicode support in VBscript messagebox Pin
Archana New to Dotnet8-Jul-09 17:29
Archana New to Dotnet8-Jul-09 17:29 
Questionusing vb.net to create or add ms sql Database User Pin
ChiSmile7-Jul-09 9:03
ChiSmile7-Jul-09 9:03 
AnswerRe: using vb.net to create or add ms sql Database User Pin
Henry Minute7-Jul-09 9:26
Henry Minute7-Jul-09 9:26 
GeneralRe: using vb.net to create or add ms sql Database User Pin
Steven J Jowett8-Jul-09 5:59
Steven J Jowett8-Jul-09 5:59 
QuestionNew to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:27
gjx_junxian19897-Jul-09 5:27 
Hi. Im new to visual basic 2008. I am now learning classes and how to make an instance of a class. Below are my codes. I have a problem in which the system says my "Calculator.DateCalc2008()" is not defined.

The following is my class code.

PublicClass DateCalc2008

Private _startDate As DateTime
Private _endDate As DateTime
Private _span AsInteger

PublicProperty StartDate() As DateTime
Get
StartDate = _startDate
EndGet
Set(ByVal value As DateTime)
_startDate = value
EndSet
EndProperty

PublicProperty EndDate() As DateTime
Get
EndDate = _endDate
EndGet
Set(ByVal value As DateTime)
_endDate = value
EndSet
EndProperty

PublicProperty Span() AsInteger
Get
Span = _span
EndGet
Set(ByVal value AsInteger)
_span = value
EndSet
EndProperty

PublicSub IncreaseDate()
EndDate = StartDate.AddDays(Span)
EndSub
EndClass

This is my object codes. Reference from above.

PublicClass Calculator

PrivateSub StartDatePicker_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StartDatePicker.ValueChanged

Dim myCalc AsNew Calculator.DateCalc2008() //THE PROBLEM!

myCalc.StartDate = StartDatePicker.Value
myCalc.Span = 7
myCalc.IncreaseDate()
EndDate.Text = myCalc.EndDate.ToString()
EndSub
EndClass
AnswerRe: New to VB. Help needed. Pin
DoctorMick7-Jul-09 5:36
DoctorMick7-Jul-09 5:36 
AnswerRe: New to VB. Help needed. Pin
nlarson117-Jul-09 5:37
nlarson117-Jul-09 5:37 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:42
gjx_junxian19897-Jul-09 5:42 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 5:44
protectorChristian Graus7-Jul-09 5:44 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 5:49
gjx_junxian19897-Jul-09 5:49 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 5:55
protectorChristian Graus7-Jul-09 5:55 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:03
gjx_junxian19897-Jul-09 6:03 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 6:27
protectorChristian Graus7-Jul-09 6:27 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:31
gjx_junxian19897-Jul-09 6:31 
GeneralRe: New to VB. Help needed. Pin
Christian Graus7-Jul-09 6:34
protectorChristian Graus7-Jul-09 6:34 
GeneralRe: New to VB. Help needed. Pin
gjx_junxian19897-Jul-09 6:36
gjx_junxian19897-Jul-09 6:36 
AnswerRe: New to VB. Help needed. Pin
chilinhhacker13-Jul-09 18:31
chilinhhacker13-Jul-09 18:31 
QuestionConvert String DataType To Form Object Pin
faravani7-Jul-09 3:12
faravani7-Jul-09 3:12 
AnswerRe: Convert String DataType To Form Object Pin
Christian Graus7-Jul-09 3:20
protectorChristian Graus7-Jul-09 3:20 
AnswerRe: Convert String DataType To Form Object Pin
Anoop Brijmohun7-Jul-09 22:32
Anoop Brijmohun7-Jul-09 22:32 
QuestionArray declaration and asigning value of array to combobox Pin
KIDYA7-Jul-09 1:27
KIDYA7-Jul-09 1:27 
AnswerRe: Array declaration and asigning value of array to combobox Pin
Christian Graus7-Jul-09 1:35
protectorChristian Graus7-Jul-09 1:35 

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.