Click here to Skip to main content
15,905,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
exhaulted16-Jun-04 1:09
exhaulted16-Jun-04 1:09 
GeneralRe: PrintPreviewDialog? - HowTo convert string to PrintDocument! Pin
QzRz16-Jun-04 1:29
QzRz16-Jun-04 1:29 
GeneralRestricting new rows on a datagrid Pin
exhaulted16-Jun-04 0:08
exhaulted16-Jun-04 0:08 
GeneralRe: Restricting new rows on a datagrid Pin
the last free name16-Jun-04 3:37
the last free name16-Jun-04 3:37 
GeneralRe: Restricting new rows on a datagrid Pin
exhaulted16-Jun-04 3:59
exhaulted16-Jun-04 3:59 
GeneralRe: Restricting new rows on a datagrid Pin
Heath Stewart16-Jun-04 4:13
protectorHeath Stewart16-Jun-04 4:13 
GeneralRe: Restricting new rows on a datagrid Pin
exhaulted16-Jun-04 4:55
exhaulted16-Jun-04 4:55 
GeneralSave as dialog box for pocket pc in c# Pin
yyuull15-Jun-04 23:37
yyuull15-Jun-04 23:37 
I'm doing a program in c# for a pocket-pc that has a "save as" dialog-box. When I execute it in the explorer, It's ok, but when I try to execute it in pocket-pc it doesn't work, in order to show the dialog-box only appears the text of the file. There is someone who can help me?
Thanks!!

This is the code:

private void Command3_Click(object sender, System.EventArgs e)
{

Response.ContentType="text/plain";
Response.AddHeader( "content-disposition","attachment; filename=Testa1.txt");

FileStream sourceFile = new FileStrea(@"C:\Inetpub\wwwroot\FitxIdatziWeb\Testa1.txt", FileMode.Open);
long FileSize;
FileSize = sourceFile.Length;
byte[] getContent = new byte[(int)FileSize];
sourceFile.Read(getContent, 0, (int sourceFile.Length);
sourceFile.Close();

Response.BinaryWrite(getContent);

}
Dead | X| Dead | X| Eek! | :eek:
GeneralRe: Save as dialog box for pocket pc in c# Pin
Dave Kreskowiak16-Jun-04 3:59
mveDave Kreskowiak16-Jun-04 3:59 
GeneralRe: Save as dialog box for pocket pc in c# Pin
Anonymous18-Jun-04 3:22
Anonymous18-Jun-04 3:22 
GeneralFlicker free panel Pin
PrebKlok15-Jun-04 22:31
PrebKlok15-Jun-04 22:31 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:37
Meysam Mahfouzi15-Jun-04 23:37 
GeneralRe: Flicker free panel Pin
PrebKlok15-Jun-04 23:44
PrebKlok15-Jun-04 23:44 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:52
Meysam Mahfouzi15-Jun-04 23:52 
GeneralRe: Flicker free panel Pin
Heath Stewart16-Jun-04 4:12
protectorHeath Stewart16-Jun-04 4:12 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi16-Jun-04 17:26
Meysam Mahfouzi16-Jun-04 17:26 
GeneralPictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 21:14
The_Soul_Of_Rock15-Jun-04 21:14 
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 22:08
exhaulted15-Jun-04 22:08 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:07
The_Soul_Of_Rock15-Jun-04 23:07 
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 23:26
exhaulted15-Jun-04 23:26 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:39
The_Soul_Of_Rock15-Jun-04 23:39 
GeneralRe: PictureBox Problem Pin
Heath Stewart16-Jun-04 4:10
protectorHeath Stewart16-Jun-04 4:10 
GeneralNaming Conventions Pin
Ganjah78615-Jun-04 20:49
Ganjah78615-Jun-04 20:49 
GeneralRe: Naming Conventions Pin
eggie515-Jun-04 21:00
eggie515-Jun-04 21:00 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay15-Jun-04 23:42
Colin Angus Mackay15-Jun-04 23:42 

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.