Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
QuestionDataGird: a fixed row below the header of a column? Pin
Franz Pentenrieder9-Nov-04 1:52
Franz Pentenrieder9-Nov-04 1:52 
GeneralDeployment of COM Interop Pin
skrishnasarma9-Nov-04 0:44
skrishnasarma9-Nov-04 0:44 
GeneralRe: Deployment of COM Interop Pin
Nick Parker9-Nov-04 7:41
protectorNick Parker9-Nov-04 7:41 
GeneralUsing .contains on ArrayLists Pin
MrEyes9-Nov-04 0:15
MrEyes9-Nov-04 0:15 
GeneralRe: Using .contains on ArrayLists Pin
Daniel Grunwald9-Nov-04 1:14
Daniel Grunwald9-Nov-04 1:14 
GeneralRe: Using .contains on ArrayLists Pin
MrEyes9-Nov-04 1:25
MrEyes9-Nov-04 1:25 
GeneralRe: Using .contains on ArrayLists Pin
J4amieC9-Nov-04 4:05
J4amieC9-Nov-04 4:05 
GeneralBinaryReader problem Pin
totig8-Nov-04 23:42
totig8-Nov-04 23:42 
My problem relates to the code below, and I cant understand why its happening. I have to use the int test as the values I declared do not work. If you add a watch to guid, amount or serial, the watch value says that these are out of scope, and as such, nothing is assigned to them. If however I add in the int test, and assign it (as shown below), the program works. Any ideas?

FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
BinaryReader r = new BinaryReader(fs);
string guid = "a";
int amount = 1;
byte[] serial = {1};

int test;
test = guid.Length;
test = amount;
test = serial.Length;

amount = r.ReadInt32();
guid = r.ReadString();
serial = r.ReadBytes(32);

r.Close();
fs.Close();
GeneralRe: BinaryReader problem Pin
yoaz9-Nov-04 2:59
yoaz9-Nov-04 2:59 
GeneralSetting focus to the selected list view items Pin
eDip8-Nov-04 21:46
eDip8-Nov-04 21:46 
GeneralRe: Setting focus to the selected list view items Pin
Nick Parker9-Nov-04 7:51
protectorNick Parker9-Nov-04 7:51 
GeneralThe command to call external app Pin
nobita3x8-Nov-04 21:07
nobita3x8-Nov-04 21:07 
GeneralRe: The command to call external app Pin
Stefan Troschuetz8-Nov-04 21:26
Stefan Troschuetz8-Nov-04 21:26 
GeneralRe: The command to call external app Pin
nobita3x8-Nov-04 21:58
nobita3x8-Nov-04 21:58 
GeneralRe: The command to call external app Pin
Stefan Troschuetz8-Nov-04 22:49
Stefan Troschuetz8-Nov-04 22:49 
QuestionHow can I remove items from a listbox? Pin
Julianne_juju8-Nov-04 19:18
Julianne_juju8-Nov-04 19:18 
AnswerRe: How can I remove items from a listbox? Pin
SathishVJ8-Nov-04 19:34
SathishVJ8-Nov-04 19:34 
GeneralRe: How can I remove items from a listbox? Pin
Julianne_juju8-Nov-04 21:08
Julianne_juju8-Nov-04 21:08 
GeneralRe: How can I remove items from a listbox? Pin
Skynyrd8-Nov-04 21:37
Skynyrd8-Nov-04 21:37 
GeneralSystemParametersInfo not working from within service Pin
SathishVJ8-Nov-04 19:15
SathishVJ8-Nov-04 19:15 
GeneralRe: SystemParametersInfo not working from within service Pin
dbman2116-Nov-09 14:27
dbman2116-Nov-09 14:27 
GeneralDebug unsafe function with fixed keyword Pin
Aleksan8-Nov-04 19:03
Aleksan8-Nov-04 19:03 
GeneralRe: Debug unsafe function with fixed keyword Pin
Alex Korchemniy8-Nov-04 19:09
Alex Korchemniy8-Nov-04 19:09 
GeneralRe: Debug unsafe function with fixed keyword Pin
Aleksan8-Nov-04 22:43
Aleksan8-Nov-04 22:43 
GeneralMenu Pin
Yulianto.8-Nov-04 18:25
Yulianto.8-Nov-04 18:25 

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.