Click here to Skip to main content
15,910,210 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralConvert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
drexler_kk9-Apr-08 20:51
drexler_kk9-Apr-08 20:51 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
Dave Kreskowiak10-Apr-08 3:43
mveDave Kreskowiak10-Apr-08 3:43 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
drexler_kk10-Apr-08 15:22
drexler_kk10-Apr-08 15:22 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
Dave Kreskowiak10-Apr-08 16:10
mveDave Kreskowiak10-Apr-08 16:10 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
drexler_kk10-Apr-08 16:34
drexler_kk10-Apr-08 16:34 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
Dave Kreskowiak11-Apr-08 1:28
mveDave Kreskowiak11-Apr-08 1:28 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
drexler_kk11-Apr-08 15:48
drexler_kk11-Apr-08 15:48 
GeneralRe: Convert VB6 code to VB.NET - Public Declare Function GetPrivateProfileSection Pin
rahul_dss29-Nov-10 0:33
rahul_dss29-Nov-10 0:33 
QuestionRegarding differnt formats Pin
vijaylumar9-Apr-08 20:08
vijaylumar9-Apr-08 20:08 
GeneralRe: Regarding differnt formats Pin
Marc Soleda9-Apr-08 20:52
Marc Soleda9-Apr-08 20:52 
GeneralRe: Regarding differnt formats Pin
Dave Kreskowiak10-Apr-08 3:41
mveDave Kreskowiak10-Apr-08 3:41 
QuestionGenerating Project Documentation for vb.net 2.0 windows application Pin
vijaylumar9-Apr-08 20:00
vijaylumar9-Apr-08 20:00 
GeneralRe: Generating Project Documentation for vb.net 2.0 windows application Pin
ilprincipe9-Apr-08 20:38
ilprincipe9-Apr-08 20:38 
GeneralRe: Generating Project Documentation for vb.net 2.0 windows application Pin
Marc Soleda9-Apr-08 20:51
Marc Soleda9-Apr-08 20:51 
Questionvbcommenter Pin
Tauseef A9-Apr-08 18:13
Tauseef A9-Apr-08 18:13 
GeneralRe: vbcommenter Pin
Marc Soleda9-Apr-08 20:58
Marc Soleda9-Apr-08 20:58 
GeneralRe: vbcommenter Pin
helelark1239-Apr-08 21:46
helelark1239-Apr-08 21:46 
GeneralRe: vbcommenter Pin
Marc Soleda9-Apr-08 21:48
Marc Soleda9-Apr-08 21:48 
GeneralRe: vbcommenter Pin
helelark1239-Apr-08 22:56
helelark1239-Apr-08 22:56 
GeneralRe: vbcommenter Pin
Marc Soleda12-Apr-08 5:57
Marc Soleda12-Apr-08 5:57 
GeneralRe: vbcommenter [modified] Pin
helelark12312-Apr-08 22:11
helelark12312-Apr-08 22:11 
Questionhelp..urgent ..insert time to database [modified] Pin
Member 44429169-Apr-08 16:46
Member 44429169-Apr-08 16:46 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 17:35
protectorChristian Graus9-Apr-08 17:35 
GeneralRe: help..urgent ..insert time to database Pin
Member 44429169-Apr-08 18:10
Member 44429169-Apr-08 18:10 
GeneralRe: help..urgent ..insert time to database Pin
Christian Graus9-Apr-08 19:32
protectorChristian Graus9-Apr-08 19:32 
"'Public Overridable Overloads Function InsertQueryEmp(Log_No As String, Emp_ID As String) "

There is no room for a date/time to be passed in here. You insert a log no and an emp id. You seem to me to be inserting neither. You seem, in fact, to be trying to make this up as you go.


Member 4442916 wrote:
INSERT INTO `LOGIN/OUT` (`Log_No`, `LogIn_time`, `Login_Date`, `Emp_ID`) VALUES (?, dd-MM-yyyy, HH:mm:ss, ?) i'm not sure wheater correct...


This is just a disaster. I am assuming the ? is for a parameterised query, but the dd-MM-yyyy stuff is very, very wrong. Where do you expect those values to come from ?

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

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.