Click here to Skip to main content
15,891,704 members
Home / Discussions / C#
   

C#

 
Questionconnection string in web.config file Pin
v.k.s2-Dec-05 17:07
v.k.s2-Dec-05 17:07 
AnswerRe: connection string in web.config file Pin
enjoycrack2-Dec-05 20:36
enjoycrack2-Dec-05 20:36 
AnswerRe: connection string in web.config file Pin
MudkiSekhon3-Dec-05 1:36
MudkiSekhon3-Dec-05 1:36 
QuestionMenuStrip ShortcutKeys Pin
khan20002-Dec-05 16:48
khan20002-Dec-05 16:48 
QuestionSysListView32 Events Pin
Clickok2-Dec-05 15:19
Clickok2-Dec-05 15:19 
QuestionDebug ARX in Autocad2006 Pin
GazzaGarray2-Dec-05 12:45
GazzaGarray2-Dec-05 12:45 
QuestionFile Operations Pin
dvsr2-Dec-05 11:50
dvsr2-Dec-05 11:50 
AnswerRe: File Operations Pin
S. Senthil Kumar2-Dec-05 23:23
S. Senthil Kumar2-Dec-05 23:23 
Looks like you forgot to close fos in the following snippet.

dvsr wrote:
java.io.FileOutputStream fos = new java.io.FileOutputStream(FILE_NAME);
while ((len = zis.read(buf)) >= 0)
{
fos.write(buf, 0, len);
}


When debugging, the GC must have run and closed it for you. That would explain the debug/release behavior.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: File Operations Pin
dvsr5-Dec-05 3:46
dvsr5-Dec-05 3:46 
QuestionAssociating values to a combo box Pin
Caio19852-Dec-05 10:23
Caio19852-Dec-05 10:23 
AnswerRe: Associating values to a combo box Pin
Robert Rohde2-Dec-05 12:11
Robert Rohde2-Dec-05 12:11 
GeneralRe: Associating values to a combo box Pin
Caio19852-Dec-05 15:23
Caio19852-Dec-05 15:23 
AnswerRe: Associating values to a combo box Pin
Kallol Roy2-Dec-05 19:40
Kallol Roy2-Dec-05 19:40 
QuestionQuestion about TextBox control Pin
Stanciu Vlad2-Dec-05 10:12
Stanciu Vlad2-Dec-05 10:12 
AnswerRe: Question about TextBox control Pin
Jared Parsons2-Dec-05 11:36
Jared Parsons2-Dec-05 11:36 
GeneralRe: Question about TextBox control Pin
Stanciu Vlad3-Dec-05 2:28
Stanciu Vlad3-Dec-05 2:28 
AnswerRe: Question about TextBox control Pin
Rob Philpott2-Dec-05 11:53
Rob Philpott2-Dec-05 11:53 
GeneralRe: Question about TextBox control Pin
Stanciu Vlad3-Dec-05 2:25
Stanciu Vlad3-Dec-05 2:25 
GeneralRe: Question about TextBox control Pin
Rob Philpott3-Dec-05 3:29
Rob Philpott3-Dec-05 3:29 
QuestionThreading problem Pin
mav.northwind2-Dec-05 9:50
mav.northwind2-Dec-05 9:50 
AnswerRe: Threading problem Pin
Jared Parsons2-Dec-05 11:37
Jared Parsons2-Dec-05 11:37 
GeneralRe: Threading problem Pin
mav.northwind2-Dec-05 12:03
mav.northwind2-Dec-05 12:03 
GeneralRe: Threading problem Pin
S. Senthil Kumar2-Dec-05 21:13
S. Senthil Kumar2-Dec-05 21:13 
GeneralRe: Threading problem Pin
mav.northwind2-Dec-05 21:52
mav.northwind2-Dec-05 21:52 
QuestionCrystal Report ParameterFields Pin
Bedevian2-Dec-05 9:28
Bedevian2-Dec-05 9:28 

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.