Click here to Skip to main content
15,894,362 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionData Report of vb 6 Not refresh help required Pin
amjad ali shah9-Feb-07 3:06
amjad ali shah9-Feb-07 3:06 
Questionclass library Pin
dalbhide bipin9-Feb-07 1:35
dalbhide bipin9-Feb-07 1:35 
AnswerRe: class library Pin
Bassam Saoud9-Feb-07 2:42
Bassam Saoud9-Feb-07 2:42 
QuestionHow to get combobox value in a textbox Pin
rrrriiizz9-Feb-07 0:31
rrrriiizz9-Feb-07 0:31 
AnswerRe: How to get combobox value in a textbox Pin
amjad ali shah9-Feb-07 1:05
amjad ali shah9-Feb-07 1:05 
GeneralRe: How to get combobox value in a textbox Pin
rrrriiizz9-Feb-07 17:32
rrrriiizz9-Feb-07 17:32 
GeneralRe: How to get combobox value in a textbox [modified] Pin
The ANZAC9-Feb-07 19:05
The ANZAC9-Feb-07 19:05 
GeneralRe: How to get combobox value in a textbox Pin
amjad ali shah9-Feb-07 19:17
amjad ali shah9-Feb-07 19:17 
yest it so easy
Function MonthDaysNo(cmbstr As String) As Integer
dim str as string
str=left(cmbstr,3)
Select Case str
Case "Jan":
urtxtboxname.text="31"
Case "Feb":
Dim Mydate as DateTime = DateTime.Now
Dim MyString As String = MyDate.ToString("yyyy")
dim yr as integer
yr=cint(Mydate)
If yr Mod 4 Then
urtxtboxname.text = 29
Else
urtxtboxname.text = 28
End If

Case "Mar":
urtxtboxname.text="31"
Case "Apr":
urtxtboxname.text="30"
Case "May":
urtxtboxname.text="31"
Case "Jun":
urtxtboxname.text="301"
Case "Jul":
urtxtboxname.text="31"
Case "Aug":
urtxtboxname.text="31"
Case "Sept":
urtxtboxname.text="30"
Case "Oct":
urtxtboxname.text="31"
Case "Nov":
urtxtboxname.text="30"
Case "Dec":
urtxtboxname.text="31"
End Select
End Function

then in the item change change call this function by passing argument urcombobox.text
GeneralRe: How to get combobox value in a textbox Pin
TwoFaced9-Feb-07 21:22
TwoFaced9-Feb-07 21:22 
GeneralRe: How to get combobox value in a textbox Pin
rrrriiizz12-Feb-07 21:35
rrrriiizz12-Feb-07 21:35 
QuestionHow to Add excel file data into oracle database using VB 6.0? Pin
KhadijaYaseen8-Feb-07 21:16
KhadijaYaseen8-Feb-07 21:16 
AnswerRe: How to Add excel file data into oracle database using VB 6.0? Pin
amjad ali shah9-Feb-07 1:12
amjad ali shah9-Feb-07 1:12 
QuestionSystem Up Time Pin
WestSideRailways8-Feb-07 20:47
WestSideRailways8-Feb-07 20:47 
AnswerRe: System Up Time Pin
Johan Hakkesteegt8-Feb-07 21:46
Johan Hakkesteegt8-Feb-07 21:46 
GeneralRe: System Up Time Pin
WestSideRailways9-Feb-07 19:25
WestSideRailways9-Feb-07 19:25 
QuestionSafe Mode & My Application Pin
FeRtoll8-Feb-07 20:24
FeRtoll8-Feb-07 20:24 
AnswerRe: Safe Mode & My Application Pin
Dave Kreskowiak9-Feb-07 5:32
mveDave Kreskowiak9-Feb-07 5:32 
GeneralRe: Safe Mode & My Application Pin
FeRtoll11-Feb-07 20:53
FeRtoll11-Feb-07 20:53 
GeneralRe: Safe Mode & My Application Pin
Dave Kreskowiak12-Feb-07 2:25
mveDave Kreskowiak12-Feb-07 2:25 
GeneralRe: Safe Mode & My Application Pin
FeRtoll13-Feb-07 20:34
FeRtoll13-Feb-07 20:34 
GeneralRe: Safe Mode & My Application Pin
Dave Kreskowiak13-Feb-07 20:40
mveDave Kreskowiak13-Feb-07 20:40 
GeneralRe: Safe Mode & My Application Pin
FeRtoll14-Feb-07 20:21
FeRtoll14-Feb-07 20:21 
GeneralRe: Safe Mode & My Application Pin
Dave Kreskowiak15-Feb-07 4:20
mveDave Kreskowiak15-Feb-07 4:20 
GeneralRe: Safe Mode & My Application Pin
Dave Kreskowiak15-Feb-07 4:26
mveDave Kreskowiak15-Feb-07 4:26 
GeneralRe: Safe Mode & My Application Pin
FeRtoll15-Feb-07 20:23
FeRtoll15-Feb-07 20:23 

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.