hi i just formated my pc and installed WinXP sp3. now when i lock my comp. (Windows + L) or (ctrl + alt + del) it loses connection (LAN). is there any registry hack or something else because it didn't do this before formating?
cofi
Posts
-
connection lost on windows lock -
What does Statement.setFetchSize(nSize) method really do?hi. i have this really big table with some millions of records every day and in the end of every day i am extracting all the records of the previous day. i am doing this like
String SQL = "select col1, col2, coln from mytable where timecol = yesterday"; Statement.executeQuery(SQL);
but the problem is that this program takes like 2GB of memory because it takes all the results in memory then it processes it. i tried setting the Statement.setFetchSize(10) but it takes exactly the same memory from OS it does not make any difference. i'm using "Microsoft SQL Server 2005 JDBC Driver" for this. i there any way to read the results in small chunks like oracle does when the query is executed it show only a few rows and as you scroll down more results are shown? -
How to execute batch in javai am getting the same results. the window title of cmd.exe is the exact path of the bat file but i didn't execute. maybe there is some kind of security setting for java not to invoke the batch files or a setting in windows server...
-
How to execute batch in javahi i have written this code to execute a batch file in windows 2003 server R2 but it does not execute anything. it opens the cmd.exe window and does nothing also the "Exit Value" and "Return Code" is 0. can anyone help me about this? is there any windows registry setting to restrict the execution of batch files programatically? Thank you!!!! try { Runtime runtime = Runtime.getRuntime(); Process process = null; try { System.out.println( "Running: " + fName + ".bat " ); process = runtime.exec( "cmd /c start " + fName + ".bat" ); int returnCode = process.waitFor(); System.out.println("Exit value " + process.exitValue()); System.out.println("Return code value " + returnCode); System.out.println("Finished running the SQL Loader script's process. " + " Exit Value = " + ( returnCode == 0? "Success" : "Failure" ) ); } catch ( Exception e ) { System.out.println(e.getMessage()); e.printStackTrace(); } } catch ( Exception e ) { System.out.println( "Error running the sqlldr script: " + e ); e.printStackTrace(); }
-
problem in memory allocation for a pointertry this int **ptr;
-
Windows system startup applications...you can read an article of Mark Russinovich from sysinternals at http://technet.microsoft.com/en-us/sysinternals/bb897447.aspx[^] and for an ex. you can download the source code of the program. you can find the source from web.archive.com http://web.archive.org/web/20060110210637/www.sysinternals.com/Information/NativeApplications.html[^]
-
How to get windows driver kit