Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pgk
  • Order by date
  1. pgk

    Tracking who deleted file

    Hi We have a shared folder on a Windows 2000 server. We find that some files get deleted on a repeated basis. I am wondering if there is a way as to track who/what process deletes the file? The key here is that this is a shared folder and people need not login to do this. Thanks a lot
  2. pgk

    Resultset paging in Sybase ASE 12.5.x

    Hi Is it possible to do resultset paging in Sybase stored procedure? If so, can you please provide me with some pointers? Thanks a lot.
  3. pgk

    Sybase 12 stored procedure looping - how to stop it

    Hi If you know the process id, you can kill the process. The DBAs will have this privilege. You have to reach out to them to kill the process. Even if you don't know the process id, the DBAs can help you. You can't drop it when it is executing. A better way to test such cases where there is a...
  4. pgk

    MSHFlexGrid Recordset Usage

    Hi I am having a RecordSet, RsSql, that I assign to the Reocrdset property of a MSHFlexGrid. Once this is done, I clsoe the recordset. When I try to query for another set of criteria, I first try to initialize the grid as below: GridApp.Rows = 0 GridApp.Cols = 0 GridApp.Rows = 2 GridApp.Cols =...
  5. pgk

    Restrictions on exec command

    Hi, Are there any restrictions regarding the use of dynamic sql with the exec statement? I have a varchar(2500) field that holds a dynamically built sql in a SP. I execute this using exec ( @final_select ). My SP just runs forever. I tried out the same stuff using DBArtisan and it returns in...
  6. pgk

    Read a file from a different machine

    Hi, The ls returned nothing Thanks. Ganesh
  7. pgk

    Read a file from a different machine

    Hi, Is there a way to read a text file that exists on a remote machine (w/o using ftp)? I tried using File() and gave the entire path as parameter. But the file could not be accessed. File l_file = new File("/home/gpa/test.txt"); My current location is /home/dcassi/testapp on a different...
  8. pgk

    File Open Dialog Box

    Hi, I am a newbie in Java GUI development. I am required to display a File Open dialog box as a popup when the user clicks on a button in a jsp. Can someone tell me how to get this done? They said I can't use swings. Is there something like window.open? Thanks in advance. With regards, Ganesh
  9. pgk

    Reading a properties file that resides inside a WAR

    Hi, Should not (new Object()).getClass().getResourceAsStream(propfilename) do the same as ResourceBundle? When I tested in a stand alone application, the getResource() method worked, provided the class path contained the exact directory in which the property file was located. However, it failed...
  10. pgk

    Reading a properties file that resides inside a WAR

    Hi I have written an API and bundled it as a jar file. This api makes use of two configurable properties file. Since this is an API, the 2 files reside outside the jar. To read these 2 files, I use the following code snippet: String _CLASSPATH = System.getProperty("java.class.path")...
  11. pgk

    Difference b/w JTA Transaction Time out and ConnectionFactory Timeout

    Hi All, This is a baisc question: I had a problem with lon running transactions getting rolled back after a speified number of seconds. I noticed that there are 2 places where we can set the time out values: under the JTA tab in the Timeout Seconds field and under the JMS->Connection...
  12. pgk

    Date becomes null b/w mehod calls

    Hi, I have a class with a java.util.Date object as part of it. I pass an object of this class to another which in turn sends it to another acouple of methods and finally sets the date field. After the control returns to my original method, I am able to access the date value set by the other...
  13. pgk

    Where clause selecting rows not fulfilling criterion

    Hi, I will have to post the sp_help o/p later since I don't have access to it right now. But I found out something: if I include the eff_rcbl_tier_level also in the GROUP BY clause it works perfectly. So how really does it arrive at the final o/p? Thanks in advance Hope it helps. Let me...
  14. pgk

    Alter a user defined datatype

    Hi SybaseGuru, Thanks for the post. I have given youa star. Hope it helps. Let me know what happens. With regards, PGK
  15. pgk

    Where clause selecting rows not fulfilling criterion

    Hi, The following is the query that I used; select distinct rate ,eff_rcbl_tier_level from TRADE where eff_rcbl_tier_level='D' group by eff_rcbl_table_id The result the query returned: rate eff_rcbl_tier_level ------------------ ------------------- 0.0000000...
  16. pgk

    Alter a user defined datatype

    Hi all, I have created a datatype using the sp_addtype feature and this type (a Numberic value type) also is used in a lot of tables. I would like to alter this datatype to include a higher precision. Is it possible to do so without droping the tabes, the datatype and then recreating...
  17. pgk

    Execute exe directly from CD

    Hi, I tried the following using my exe but it failed: Use Windows Script to run a Setup program on the CD. WinSh.Run App.Path + "\Setup.exe",True When this is finished, run the follwoing File COpy commands: fso.FileCopy "XYZ.dat","XYZ.dat",1 But the...
  18. pgk

    Execute exe directly from CD

    Hi, I donot know if this is the right forum to postthis question but still I am sure someone here will know the answer. Now for the question: Is it possible to run an exe directly from the CD? I have got an exe on a CD which will copy a couple of files to the local disk. The files are also...
  19. pgk

    Perform automatic backup... Please Help

    Hi Brad, I tried using the DoCmd.RunCommand acCmdCompactDatabase. But i get an error message saying I cannot use this option by runnig a macro or VB code. How can it be done? Thanks in advance. Hope it helps. Let me know what happens. With regards, PGK
  20. pgk

    files to include in program setup

    Hi, This is what I found in my documentation for ver 7: CRPE32.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Interface to the Crystal Report Engine MSVCRT20.DLL \WINDOWS\SYSTEM or \WINDOWS\SYSTEM32 (NT only) Microsoft Foundation Class Runtime Library CRPAIG32.DLL \WINDOWS\SYSTEM or...

Part and Inventory Search

Back
Top