Click here to Skip to main content
15,909,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
RantRe: Timer with 2 seconds Pin
Ashfield7-Nov-08 9:06
Ashfield7-Nov-08 9:06 
GeneralRe: Timer with 2 seconds Pin
member279-Nov-08 20:35
member279-Nov-08 20:35 
AnswerRe: Timer with 2 seconds Pin
Ashfield6-Nov-08 1:48
Ashfield6-Nov-08 1:48 
RantRe: Timer with 2 seconds Pin
Luc Pattyn6-Nov-08 4:40
sitebuilderLuc Pattyn6-Nov-08 4:40 
QuestionButtons Pin
vidhish5-Nov-08 23:52
vidhish5-Nov-08 23:52 
AnswerRe: Buttons Pin
Dave Kreskowiak6-Nov-08 4:07
mveDave Kreskowiak6-Nov-08 4:07 
AnswerRe: Buttons Pin
Kschuler6-Nov-08 11:07
Kschuler6-Nov-08 11:07 
Question"System.Data.OleDb.OleDbException" Im very confused whats the real error?!! Please help!!... [modified] Pin
vbDigger'z5-Nov-08 21:17
vbDigger'z5-Nov-08 21:17 
Im using Visual Studio 2005 VB in language..
i have a "application project " and compiled to produce EXE application installer..
the title is "EMPLOYEE DATABASE MANAGEMENT SYSTEM" This application is a customized user interface that manage all the employee data from an access database... it gets the data and display and you can edit, delete, update the employee information using that custom system software "EMPLOYEE DATABASE MANAGEMENT SYSTEM"

>>My OS is windows vista ultimate.
>>My Developing Tool is VS Studio 2005 Pro VB

>>my application package library or Installer Dependencies or i mean all component library or "dll" which are necessary are:
-stdole.dll
-adodb.dll
-msdatasrc.dll
-Microsoft.stdformat.dll
-Microsoft.Buil.Conversion.dll
-Microsoft.VisualBasic.dll
-Microsoft.VisualBasic.Compatibilty.dll

>>the database i use to access with my application is ACCESS 2000 version

>>and my "software" application, database connection is using OleDbConnection and ADODB Connection

so? stdole.dll is for OleDbConnection.. im i right? and adodb.dll is for ADODB Connection/Manipulation.. im i right?

when i run this installer to my "PC" Win.VistaUltimate and other computer Win2000Pro english version "WITH" or "WITHOUT" MS OFFICE 2003 english version or i mean no MS Office at all.. and after that i run the installed "EMPLOYEE DATABASE MANAGEMENT SYSTEM" application? it pops up and prompt my application "LOGIN Form" before entering the entire application... and after you fill-up, my LOGIN Form will connect to the access database 2000 and try to search valid user login then after confirm? my LOGIN Form will open the table "USER_LOG_TIMEIN" for example.. and insert the user time of login...

i just justified that there is reading and updating transaction between my application from the start you open my application and start to login... and im using OleDbConnection...

and finally?? my application run smoothly!!!

but there is a problem i can't figure it out myself and very confusing part..

that when i try to install my application to laptop with OS of Windows 2000 Prof. Japenese version with an MS Office 2003 English en Japanese version...

the application installed properly and when i try to run the my application???

it pops-up or prompt the LOGIN form... and when i try to fill-up my user account and password... then hit the enter or login??? then the error message pops-up

"System.Data.OleDb.OleDbException"
"System.Data.OleDb.OleDbCommand.ExecuteCommandText"
"System.Data.OleDb.OleDbCommand.ExecuteNonQuery"


and i guest that the error comes from a line with a code like this below from my LOGIN Form...

<br />
myOleCommand = New OleDbCommand("Insert Into tblLogHistory(Log_ID,Log_Name,Time_In,Date_In,Computer_Name) " & _<br />
                            "Values ('" & .lblIDNo.Text & "','" & .lblActiveUser.Text & "',#" & Format(Now, "hh:mm tt") & "#," & _<br />
                            "#" & Format(Now, "MM/dd/yyyy") & "#, '" & System.Net.Dns.GetHostName.ToUpper & "')", myOleConnection)<br />
                            myOleCommand.ExecuteNonQuery()<br />



if my application works smoothly from other pc?? how come this one comes out error related with the OleDbConnection error??? i've check out if the library from installed folder are present and all of library are there specially "stdole.dll" AND "adodb.dll" for my oledbconnection and adodb connection...

Anybody there have any idea??? please help... im very frustrated to find a way out with this mess... please help....

im very greatful to anyone who can help... please??

modified on Thursday, November 6, 2008 3:24 AM

AnswerRe: "System.Data.OleDb.OleDbException" Im very confused whats the real error?!! Please help!!... Pin
Dave Kreskowiak6-Nov-08 4:03
mveDave Kreskowiak6-Nov-08 4:03 
QuestionAbout adding a button to a VB6 grid Pin
JACSONKK5-Nov-08 20:50
JACSONKK5-Nov-08 20:50 
AnswerRe: About adding a button to a VB6 grid Pin
Dave Kreskowiak6-Nov-08 3:44
mveDave Kreskowiak6-Nov-08 3:44 
QuestionRe: About adding a button to a VB6 grid Pin
JACSONKK6-Nov-08 13:59
JACSONKK6-Nov-08 13:59 
AnswerRe: About adding a button to a VB6 grid Pin
ChandraRam7-Nov-08 0:26
ChandraRam7-Nov-08 0:26 
Questionproblem in displaying date in textbox by choosing from calendar in a datagrid Pin
susan_1516155-Nov-08 17:34
susan_1516155-Nov-08 17:34 
AnswerRe: problem in displaying date in textbox by choosing from calendar in a datagrid Pin
Dave Kreskowiak6-Nov-08 3:36
mveDave Kreskowiak6-Nov-08 3:36 
QuestionGetting Windows Login Information Pin
Kip Smith5-Nov-08 11:09
Kip Smith5-Nov-08 11:09 
GeneralRe: Getting Windows Login Information Pin
Luc Pattyn5-Nov-08 13:57
sitebuilderLuc Pattyn5-Nov-08 13:57 
GeneralRe: Getting Windows Login Information Pin
Dave Kreskowiak5-Nov-08 14:03
mveDave Kreskowiak5-Nov-08 14:03 
GeneralRe: Getting Windows Login Information Pin
Luc Pattyn5-Nov-08 14:21
sitebuilderLuc Pattyn5-Nov-08 14:21 
AnswerRe: Getting Windows Login Information Pin
Dave Kreskowiak5-Nov-08 13:58
mveDave Kreskowiak5-Nov-08 13:58 
GeneralRe: Getting Windows Login Information Pin
Luc Pattyn5-Nov-08 14:27
sitebuilderLuc Pattyn5-Nov-08 14:27 
GeneralRe: Getting Windows Login Information Pin
Dave Kreskowiak5-Nov-08 15:11
mveDave Kreskowiak5-Nov-08 15:11 
GeneralRe: Getting Windows Login Information Pin
Luc Pattyn5-Nov-08 16:56
sitebuilderLuc Pattyn5-Nov-08 16:56 
GeneralRe: Getting Windows Login Information Pin
Dave Kreskowiak5-Nov-08 17:21
mveDave Kreskowiak5-Nov-08 17:21 
Questiondraw series of point into form Pin
sunil goyalG5-Nov-08 2:01
sunil goyalG5-Nov-08 2:01 

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.