Click here to Skip to main content
15,926,035 members
Home / Discussions / C#
   

C#

 
GeneralDataSet Pin
Sirin24-Jun-04 22:18
Sirin24-Jun-04 22:18 
GeneralRe: DataSet Pin
Colin Angus Mackay24-Jun-04 22:23
Colin Angus Mackay24-Jun-04 22:23 
GeneralRe: DataSet Pin
amatyasik25-Jun-04 2:08
amatyasik25-Jun-04 2:08 
GeneralRe: DataSet Pin
Dave Kreskowiak25-Jun-04 5:03
mveDave Kreskowiak25-Jun-04 5:03 
GeneralTo give color to a row of datagrid Pin
HowRU24-Jun-04 22:15
HowRU24-Jun-04 22:15 
GeneralRe: To give color to a row of datagrid Pin
Heath Stewart25-Jun-04 4:31
protectorHeath Stewart25-Jun-04 4:31 
Generalc# and visual foxpro database Pin
cmarmr24-Jun-04 18:53
cmarmr24-Jun-04 18:53 
GeneralRe: c# and visual foxpro database Pin
Heath Stewart25-Jun-04 4:30
protectorHeath Stewart25-Jun-04 4:30 
How are you using it? Are you using ADO.NET to "read" the FoxPro database? There are connection string settings you can use to open the database as a shared database, and last I knew this was the default. Read the FoxPro documentation for more details about the connection string. Anything it documents for its OLE DB provider you can use in the OleDbConnection, and anything for the ODBC driver you can use in the OdbcConnection.

If you're simply reading the file as a stream (and why would you do that? just use the OLE DB provider), then you must specify the appropriate FileShare enumeration member:
FileStream file = new FileStream("file.dbf", FileMode.Open,
  FileAccess.Read, FileShare.Read);
This allows others to read but not write the file. Read the class documentation for the FileStream in the .NET Framework SDK for more information.

 

Microsoft MVP, Visual C#
My Articles
GeneralDrawing Problem Pin
rog103924-Jun-04 18:47
rog103924-Jun-04 18:47 
GeneralRe: Drawing Problem Pin
Heath Stewart25-Jun-04 4:25
protectorHeath Stewart25-Jun-04 4:25 
GeneralRe: Drawing Problem Pin
Karl 200027-Jun-04 9:19
Karl 200027-Jun-04 9:19 
GeneralThe Thread Security Of It All Pin
MKlucher24-Jun-04 18:07
MKlucher24-Jun-04 18:07 
GeneralRe: The Thread Security Of It All Pin
LongRange.Shooter25-Jun-04 2:52
LongRange.Shooter25-Jun-04 2:52 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 4:03
protectorHeath Stewart25-Jun-04 4:03 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 4:10
protectorHeath Stewart25-Jun-04 4:10 
GeneralRe: The Thread Security Of It All Pin
MKlucher25-Jun-04 8:02
MKlucher25-Jun-04 8:02 
GeneralRe: The Thread Security Of It All Pin
Heath Stewart25-Jun-04 8:32
protectorHeath Stewart25-Jun-04 8:32 
Questionspeed of Dataset and DataReader? Pin
jzb24-Jun-04 16:33
jzb24-Jun-04 16:33 
AnswerRe: speed of Dataset and DataReader? Pin
Colin Angus Mackay24-Jun-04 22:20
Colin Angus Mackay24-Jun-04 22:20 
Generalquestion of ImageList Pin
jzb24-Jun-04 16:28
jzb24-Jun-04 16:28 
GeneralRe: question of ImageList Pin
bneacetp24-Jun-04 21:27
bneacetp24-Jun-04 21:27 
GeneralRe: question of ImageList Pin
Dave Kreskowiak25-Jun-04 4:46
mveDave Kreskowiak25-Jun-04 4:46 
Question.NET Remoting, Client side reference server side? then how distribute? Pin
fayth24-Jun-04 16:11
fayth24-Jun-04 16:11 
AnswerRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Xiangyang Liu 刘向阳24-Jun-04 16:54
Xiangyang Liu 刘向阳24-Jun-04 16:54 
GeneralRe: .NET Remoting, Client side reference server side? then how distribute? Pin
Heath Stewart25-Jun-04 3:59
protectorHeath Stewart25-Jun-04 3:59 

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.