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

Visual Basic

 
GeneralRe: Start Your Application Automaticly Pin
Dave Kreskowiak25-Feb-05 0:49
mveDave Kreskowiak25-Feb-05 0:49 
GeneralRe: Start Your Application Automaticly Pin
NathanJonker25-Feb-05 3:02
NathanJonker25-Feb-05 3:02 
GeneralRe: Start Your Application Automaticly Pin
Dave Kreskowiak25-Feb-05 4:21
mveDave Kreskowiak25-Feb-05 4:21 
GeneralDataGrid Display Question Pin
satcomengineer24-Feb-05 16:15
satcomengineer24-Feb-05 16:15 
GeneralRe: DataGrid Display Question Pin
Dave Kreskowiak25-Feb-05 1:04
mveDave Kreskowiak25-Feb-05 1:04 
GeneralRe: DataGrid Display Question Pin
satcomengineer25-Feb-05 2:14
satcomengineer25-Feb-05 2:14 
GeneralRe: DataGrid Display Question Pin
Avarona25-Feb-05 1:05
Avarona25-Feb-05 1:05 
GeneralFrom text to time Pin
numbrel24-Feb-05 15:24
numbrel24-Feb-05 15:24 
Using VB.NET and an Access DB

How do I get from text to time that is recognized by .NET?

I am currently using the Masked Edit Control from VB.6 which I added to my toolbox. I have one Masked Edit Control for date, and am able to get the correct date. I have another control for time and no matter what I enter, it comes back as 1/1/2001.

For maskDate: format property is: dddddd, mask property is: ##/##/##
for maskTime: format property is: hh:mm, mask property is: ##:##

    Dim dtmTime As Date<br />
    Dim dtmDate As Date<br />
<br />
    Dim drTime As ds5TimeDate.TimeTblRow<br />
    drTime = Ds5TimeDate1.TimeTbl.NewTimeTblRow<br />
    <br />
    drTime.EventID = txtEventID.Text<br />
    dtmDate = maskDate.FormattedText<br />
    dtmTime = maskTime.FormattedText<br />
    drTime._Date = dtmDate<br />
    drTime.Time = dtmTime<br />
<br />
    Ds5TimeDate1.TimeTbl.AddTimeTblRow(drTime)

GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 1:00
mveDave Kreskowiak25-Feb-05 1:00 
GeneralRe: From text to time Pin
numbrel25-Feb-05 5:30
numbrel25-Feb-05 5:30 
GeneralRe: From text to time Pin
Dave Kreskowiak25-Feb-05 7:14
mveDave Kreskowiak25-Feb-05 7:14 
GeneralMicrosoft compact Framework Pin
Member 37044324-Feb-05 9:05
Member 37044324-Feb-05 9:05 
GeneralDeacreasing Memory Usage Pin
Mitch F.24-Feb-05 7:20
Mitch F.24-Feb-05 7:20 
GeneralRe: Deacreasing Memory Usage Pin
Dave Kreskowiak24-Feb-05 7:33
mveDave Kreskowiak24-Feb-05 7:33 
GeneralRe: Deacreasing Memory Usage Pin
Mitch F.24-Feb-05 8:00
Mitch F.24-Feb-05 8:00 
GeneralOffice Automation Pin
mav070724-Feb-05 3:57
mav070724-Feb-05 3:57 
GeneralRe: Office Automation Pin
Dave Kreskowiak24-Feb-05 4:44
mveDave Kreskowiak24-Feb-05 4:44 
GeneralFormatting text in Text or rtf file Pin
Thirumalaraj24-Feb-05 2:25
Thirumalaraj24-Feb-05 2:25 
GeneralRe: Formatting text in Text or rtf file Pin
Dave Kreskowiak24-Feb-05 4:25
mveDave Kreskowiak24-Feb-05 4:25 
GeneralRe: Formatting text in Text or rtf file Pin
Thirumalaraj24-Feb-05 15:56
Thirumalaraj24-Feb-05 15:56 
GeneralRe: Formatting text in Text or rtf file Pin
Dave Kreskowiak25-Feb-05 0:59
mveDave Kreskowiak25-Feb-05 0:59 
GeneralControl's Main Bindable Property Pin
JanEngelKetmig24-Feb-05 1:17
JanEngelKetmig24-Feb-05 1:17 
GeneralRe: Control's Main Bindable Property Pin
Dave Kreskowiak24-Feb-05 1:35
mveDave Kreskowiak24-Feb-05 1:35 
GeneralRe: Control's Main Bindable Property Pin
JanEngelKetmig24-Feb-05 2:16
JanEngelKetmig24-Feb-05 2:16 
GeneralMoving folder from one drive to another Pin
Rizwan Bashir23-Feb-05 21:03
Rizwan Bashir23-Feb-05 21:03 

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.