Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.IO Copy() and Move() question Pin
vlusardi10-Jul-03 10:51
vlusardi10-Jul-03 10:51 
GeneralRe: System.IO Copy() and Move() question Pin
Nick Parker10-Jul-03 12:04
protectorNick Parker10-Jul-03 12:04 
GeneralRe: System.IO Copy() and Move() question Pin
vlusardi10-Jul-03 12:09
vlusardi10-Jul-03 12:09 
GeneralRe: System.IO Copy() and Move() question Pin
Nathan Blomquist11-Jul-03 1:40
Nathan Blomquist11-Jul-03 1:40 
GeneralRe: System.IO Copy() and Move() question Pin
Nick Parker11-Jul-03 4:10
protectorNick Parker11-Jul-03 4:10 
GeneralInsert a row into a DataGrid Pin
Kuan Tan10-Jul-03 9:07
Kuan Tan10-Jul-03 9:07 
GeneralRe: Insert a row into a DataGrid Pin
Not Active10-Jul-03 12:54
mentorNot Active10-Jul-03 12:54 
Generaldll question Pin
jrmcdona10-Jul-03 8:24
jrmcdona10-Jul-03 8:24 
GeneralRe: dll question Pin
Nick Parker10-Jul-03 8:39
protectorNick Parker10-Jul-03 8:39 
GeneralRe: dll question Pin
Heath Stewart10-Jul-03 9:00
protectorHeath Stewart10-Jul-03 9:00 
QuestionHow to Set Widths of Columns in a DataGrid, Anyone? Pin
Khang Nguyen10-Jul-03 6:17
Khang Nguyen10-Jul-03 6:17 
AnswerRe: How to Set Widths of Columns in a DataGrid, Anyone? Pin
Heath Stewart10-Jul-03 9:11
protectorHeath Stewart10-Jul-03 9:11 
GeneralRe: How to Set Widths of Columns in a DataGrid, Anyone? Pin
Khang Nguyen10-Jul-03 11:50
Khang Nguyen10-Jul-03 11:50 
GeneralExport Unmanaged DLL's classes instead of just function using PInvoke Pin
Anonymous10-Jul-03 5:40
Anonymous10-Jul-03 5:40 
GeneralRe: Export Unmanaged DLL's classes instead of just function using PInvoke Pin
leppie10-Jul-03 7:10
leppie10-Jul-03 7:10 
GeneralRe: Export Unmanaged DLL's classes instead of just function using PInvoke Pin
Anonymous10-Jul-03 7:36
Anonymous10-Jul-03 7:36 
GeneralRe: Export Unmanaged DLL's classes instead of just function using PInvoke Pin
leppie10-Jul-03 11:24
leppie10-Jul-03 11:24 
GeneralError Reading from MDB System Table Pin
SD310-Jul-03 5:17
SD310-Jul-03 5:17 
I have problem. When I try to read the records of the 'MSysObjects' table in my access db, I receive this error message:

Run-time error '3112':
Record(s) can't be read; no read permission on 'MSysObjects'

I know that MSysObjects is a system table, but I don't know why I can't read its records.

I write this code:

/**************************************************************************/
m_oleDBConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+szMDBFileName+";";
m_oleDBConnection.Open();

string t_Clause = "SELECT * FROM MSysObjects WHERE Flags = 0 AND Type = 1";

System.Data.OleDb.OleDbCommand t_Select = new System.Data.OleDb.OleDbCommand(t_Clause, m_oleDBConnection);

try
{
System.Data.OleDb.OleDbDataReader t_Reader = t_Select.ExecuteReader();
}

catch (OleDbException e)
{

string errorMessages = "";

for (int i=0; i < e.Errors.Count; i++)

{
errorMessages += "Index #" + i + "\n" +
"Message: " + e.Errors[i].Message + "\n" +
"NativeError: " + e.Errors[i].NativeError + "\n" +
"Source: " + e.Errors[i].Source + "\n" +
"SQLState: " + e.Errors[i].SQLState + "\n";
}

/**************************************************************************/

Can you tell me please what's the problem ?
Thank you very much for all answer.
QuestionWhy DataSet Not Updated, Any Gurus? Pin
Khang Nguyen10-Jul-03 5:14
Khang Nguyen10-Jul-03 5:14 
AnswerRe: Why DataSet Not Updated, Any Gurus? Pin
Heath Stewart10-Jul-03 9:14
protectorHeath Stewart10-Jul-03 9:14 
GeneralRe: Why DataSet Not Updated, Any Gurus? Pin
Khang Nguyen10-Jul-03 11:54
Khang Nguyen10-Jul-03 11:54 
GeneralC#, Java and memory Pin
albean10-Jul-03 4:52
albean10-Jul-03 4:52 
GeneralRe: C#, Java and memory Pin
Ylis10-Jul-03 5:01
Ylis10-Jul-03 5:01 
GeneralRe: C#, Java and memory Pin
KingTermite11-Jul-03 7:44
KingTermite11-Jul-03 7:44 
Generalaccessing the key buffer Pin
Ylis10-Jul-03 4:51
Ylis10-Jul-03 4:51 

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.