Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
QuestionHow to select a cell of a column of a list View?? Pin
Saira Tanwir11-Jan-07 19:14
Saira Tanwir11-Jan-07 19:14 
AnswerRe: How to select a cell of a column of a list View?? Pin
Nader Elshehabi11-Jan-07 21:32
Nader Elshehabi11-Jan-07 21:32 
AnswerRe: How to select a cell of a column of a list View?? Pin
CPallini11-Jan-07 22:37
mveCPallini11-Jan-07 22:37 
Questionhow to read information from pdf files Pin
deepualuru11-Jan-07 18:32
deepualuru11-Jan-07 18:32 
QuestionMonitor letter Drive (D:) Pin
picasso211-Jan-07 18:15
picasso211-Jan-07 18:15 
AnswerRe: Monitor letter Drive (D:) Pin
stancrm11-Jan-07 19:53
stancrm11-Jan-07 19:53 
AnswerRe: Monitor letter Drive (D:) Pin
Nader Elshehabi11-Jan-07 21:37
Nader Elshehabi11-Jan-07 21:37 
QuestionAccessing Image from MS Access. [modified] Pin
Shaurya_Rastogi11-Jan-07 18:09
Shaurya_Rastogi11-Jan-07 18:09 
1>I have to retrive and display images that are present in a MS Access Database.

2>The images have been inserted in the database by the user by using the Insert Object Functionality of MS Access so the Image is displayed as Bitmap Image for .BMP and Package for .JPEG in the DataBase Image Field.

3>I have tried reading the data in a Byte Array and then display it but it dosent work that way.

//Obtain Image in a byte array
byImageArray = (byte[])Command.ExecuteScalar();

//Read the byte array to memory stream
MemoryStream memStream = new MemoryStream(byImageArray);

//Read Image from the memory stream into picture box.
picImage.Image=Image.FromStream(memStream);

An exception is thrown is Argument Exception:Parameter is not valid.

This code works fine if we store image in DataBase Programmitically by using Byte Array,but not when we access a image that had been directly in the table by user by using Insert Object Functionality of MS Access




-- modified at 7:59 Friday 12th January, 2007
QuestionDataGrid Pin
swjam11-Jan-07 17:57
swjam11-Jan-07 17:57 
AnswerRe: DataGrid Pin
Nader Elshehabi11-Jan-07 21:48
Nader Elshehabi11-Jan-07 21:48 
Questionerror in storage.InsertRecords [modified] Pin
tahreen shah11-Jan-07 17:11
tahreen shah11-Jan-07 17:11 
QuestionWhen is a DropDownItem not a DropDownItem? [modified] Pin
JoeRip11-Jan-07 16:55
JoeRip11-Jan-07 16:55 
AnswerRe: When is a DropDownItem not a DropDownItem? Pin
JoeRip11-Jan-07 17:29
JoeRip11-Jan-07 17:29 
AnswerRe: When is a DropDownItem not a DropDownItem? Pin
ChandruIT11-Jan-07 17:37
ChandruIT11-Jan-07 17:37 
GeneralRe: When is a DropDownItem not a DropDownItem? Pin
JoeRip11-Jan-07 18:25
JoeRip11-Jan-07 18:25 
QuestionPreview Type Window (Form) Pin
Nooie11-Jan-07 15:19
Nooie11-Jan-07 15:19 
Questiontopic for final year proj inj c# Pin
Mri1a11-Jan-07 12:56
Mri1a11-Jan-07 12:56 
AnswerRe: topic for final year proj inj c# Pin
Not Active11-Jan-07 14:42
mentorNot Active11-Jan-07 14:42 
GeneralRe: topic for final year proj inj c# Pin
Stephen Hewitt11-Jan-07 15:45
Stephen Hewitt11-Jan-07 15:45 
GeneralRe: topic for final year proj inj c# Pin
J4amieC11-Jan-07 22:28
J4amieC11-Jan-07 22:28 
GeneralRe: topic for final year proj inj c# Pin
Adam Crawford12-Jan-07 4:45
Adam Crawford12-Jan-07 4:45 
GeneralRe: topic for final year proj inj c# Pin
Stephen Hewitt14-Jan-07 12:11
Stephen Hewitt14-Jan-07 12:11 
GeneralRe: topic for final year proj inj c# Pin
ednrgc12-Jan-07 4:04
ednrgc12-Jan-07 4:04 
AnswerRe: topic for final year proj inj c# Pin
Christian Graus11-Jan-07 16:30
protectorChristian Graus11-Jan-07 16:30 
GeneralRe: topic for final year proj inj c# Pin
Stephen Hewitt11-Jan-07 17:19
Stephen Hewitt11-Jan-07 17:19 

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.