Click here to Skip to main content
15,913,239 members
Home / Discussions / C#
   

C#

 
QuestionDatagrid Pin
Brother Louis22-Aug-07 6:08
Brother Louis22-Aug-07 6:08 
Questionfrom CheckedListBox to DataGrid Pin
costavo22-Aug-07 4:55
costavo22-Aug-07 4:55 
AnswerRe: from CheckedListBox to DataGrid Pin
Vasudevan Deepak Kumar22-Aug-07 4:57
Vasudevan Deepak Kumar22-Aug-07 4:57 
GeneralRe: from CheckedListBox to DataGrid Pin
costavo22-Aug-07 6:10
costavo22-Aug-07 6:10 
QuestionDatagrid Pin
Brother Louis22-Aug-07 4:53
Brother Louis22-Aug-07 4:53 
AnswerRe: Datagrid Pin
Vasudevan Deepak Kumar22-Aug-07 4:55
Vasudevan Deepak Kumar22-Aug-07 4:55 
GeneralRe: Datagrid Pin
Brother Louis22-Aug-07 5:03
Brother Louis22-Aug-07 5:03 
QuestionUsing FileStream Pin
gauthee22-Aug-07 4:48
gauthee22-Aug-07 4:48 
Hi,

I have written a webservice the purpose being is to convert the sent docu to pdf.
Steps involved are as follows:

1)The to be converted doc is sent to the webservice in the form of bytes
2)In the web service a file is created using the bytes received.
3)This file is then printed using a printer driver(Nova PDF) which saves the sent file in pdf file in required folder.
4)Then the pdf is opened using filestream and then bytes are sent from the web service to the caller.

Problem occurs when large sized files!
I guess even before the filestream is completely done we are trying to read the file again as a resultant it throws an error:

File cannot be accessed as it is being used by another process....

Is there a way that i could do filestream read only once the pdf document is completely loaded by the printer driver?

Thanks,

gauthee

AnswerRe: Using FileStream Pin
Vasudevan Deepak Kumar22-Aug-07 4:57
Vasudevan Deepak Kumar22-Aug-07 4:57 
GeneralRe: Using FileStream Pin
gauthee22-Aug-07 5:05
gauthee22-Aug-07 5:05 
GeneralRe: Using FileStream Pin
Luc Pattyn22-Aug-07 5:29
sitebuilderLuc Pattyn22-Aug-07 5:29 
AnswerRe: Using FileStream Pin
Tim Wuytens23-Aug-07 0:23
Tim Wuytens23-Aug-07 0:23 
GeneralRe: Using FileStream Pin
gauthee23-Aug-07 2:39
gauthee23-Aug-07 2:39 
GeneralRe: Using FileStream Pin
Tim Wuytens23-Aug-07 3:03
Tim Wuytens23-Aug-07 3:03 
QuestionNeed fast way to populate treeView Pin
ronwynn22-Aug-07 4:42
ronwynn22-Aug-07 4:42 
AnswerRe: Need fast way to populate treeView Pin
Vasudevan Deepak Kumar22-Aug-07 4:58
Vasudevan Deepak Kumar22-Aug-07 4:58 
AnswerRe: Need fast way to populate treeView Pin
L Henson22-Aug-07 5:13
L Henson22-Aug-07 5:13 
AnswerRe: Need fast way to populate treeView Pin
martin_hughes22-Aug-07 5:46
martin_hughes22-Aug-07 5:46 
GeneralRe: Need fast way to populate treeView Pin
pbraun22-Aug-07 8:40
pbraun22-Aug-07 8:40 
AnswerRe: Need fast way to populate treeView Pin
Whytespot22-Aug-07 10:44
Whytespot22-Aug-07 10:44 
AnswerRe: Saving PageSetupDialog.PageSettings; Pin
Luc Pattyn22-Aug-07 4:39
sitebuilderLuc Pattyn22-Aug-07 4:39 
GeneralRe: Saving PageSetupDialog.PageSettings; Pin
udikantz22-Aug-07 5:09
udikantz22-Aug-07 5:09 
QuestionWrite Dataset to SQL Pin
GermanDM22-Aug-07 3:50
GermanDM22-Aug-07 3:50 
AnswerRe: Write Dataset to SQL Pin
Vasudevan Deepak Kumar22-Aug-07 5:00
Vasudevan Deepak Kumar22-Aug-07 5:00 
AnswerRe: Write Dataset to SQL Pin
costavo22-Aug-07 5:00
costavo22-Aug-07 5:00 

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.