Click here to Skip to main content
16,008,075 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to work with Medical Equipments Pin
Colin Angus Mackay10-May-05 22:27
Colin Angus Mackay10-May-05 22:27 
Generalconvert html to mht Pin
lina10-May-05 18:32
lina10-May-05 18:32 
QuestionHow to save change to DataSource in DataGridView? Pin
rushing10-May-05 17:29
rushing10-May-05 17:29 
AnswerRe: How to save change to DataSource in DataGridView? Pin
Christian Graus10-May-05 17:52
protectorChristian Graus10-May-05 17:52 
Generalthe differences between vb6 and vb.net Pin
AtcKit10-May-05 16:17
AtcKit10-May-05 16:17 
GeneralRe: the differences between vb6 and vb.net Pin
Christian Graus10-May-05 16:34
protectorChristian Graus10-May-05 16:34 
GeneralRe: the differences between vb6 and vb.net Pin
Dave Kreskowiak10-May-05 17:29
mveDave Kreskowiak10-May-05 17:29 
GeneralAssigning Pin
THEMYTH10-May-05 14:04
THEMYTH10-May-05 14:04 
Hello,

I am trying to assign a class to another whose types are different. (please do not say ctype, it will not work)
Consider that the following class below

public Class time
public hour as byte
public minute as byte
public second as byte
end class

I want to assign a DATE to this class
e.g
dim i as new Time
i = Today.Now 'Time=Date

When I do that, I want the compiler to call a method, which will allow this conversation

e.g
Sub A_Sub(value as object)
if typeof value is date then
me.hour = value.hour
me.minute = value.minute
me.second = value.second
end if
end Sub



How can I do that? I think i need to use ExpandableObjectConverter class but not sure
Please help

Thank you


Best Regards
Emre YAZICI
GeneralRe: Assigning Pin
Christian Graus10-May-05 14:43
protectorChristian Graus10-May-05 14:43 
GeneralRe: Assigning Pin
Dave Kreskowiak10-May-05 17:27
mveDave Kreskowiak10-May-05 17:27 
QuestionHow to compare two HTML files Pin
Mohsen Saad10-May-05 10:58
Mohsen Saad10-May-05 10:58 
AnswerRe: How to compare two HTML files Pin
Anonymous10-May-05 12:01
Anonymous10-May-05 12:01 
GeneralI have an announcement to make...... Pin
Joey Picerno10-May-05 10:45
Joey Picerno10-May-05 10:45 
GeneralRe: I have an announcement to make...... Pin
Jim Matthews11-May-05 7:10
Jim Matthews11-May-05 7:10 
Generalhi!! Pin
vishalmishra10-May-05 10:26
vishalmishra10-May-05 10:26 
GeneralRe: hi!! Pin
rudy.net10-May-05 10:31
rudy.net10-May-05 10:31 
GeneralRe: hi!! Pin
vishalmishra10-May-05 10:37
vishalmishra10-May-05 10:37 
GeneralRe: hi!! Pin
rudy.net10-May-05 10:48
rudy.net10-May-05 10:48 
GeneralRe: hi!! Pin
vishalmishra10-May-05 10:53
vishalmishra10-May-05 10:53 
GeneralRe: hi!! Pin
Dave Kreskowiak11-May-05 2:18
mveDave Kreskowiak11-May-05 2:18 
GeneralRe: hi!! Pin
rudy.net10-May-05 11:04
rudy.net10-May-05 11:04 
QuestionAll seeing Mouse? Pin
HahnTech10-May-05 9:12
HahnTech10-May-05 9:12 
AnswerRe: All seeing Mouse? Pin
Christian Graus10-May-05 13:25
protectorChristian Graus10-May-05 13:25 
GeneralRe: All seeing Mouse? Pin
Dave Kreskowiak10-May-05 17:18
mveDave Kreskowiak10-May-05 17:18 
GeneralRe: All seeing Mouse? Pin
Christian Graus10-May-05 17:25
protectorChristian Graus10-May-05 17:25 

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.