Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

cofi

@cofi
About
Posts
7
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • connection lost on windows lock
    C cofi

    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?

    System Admin windows-admin question

  • What does Statement.setFetchSize(nSize) method really do?
    C cofi

    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?

    Java database sql-server oracle sysadmin performance

  • How to execute batch in java
    C cofi

    i 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...

    Java help java database sysadmin windows-admin

  • How to execute batch in java
    C cofi

    hi 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(); }

    Java help java database sysadmin windows-admin

  • problem in memory allocation for a pointer
    C cofi

    try this int **ptr;

    C / C++ / MFC performance help question

  • Windows system startup applications...
    C cofi

    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[^]

    C / C++ / MFC tutorial question

  • How to get windows driver kit
    C cofi

    http://www.filefactory.com/file/70b9da/[^]

    C / C++ / MFC com tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups