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 bkrike 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
  • Content: Threads
  • 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

    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 =...
  4. 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...
  5. 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...
  6. 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
  7. 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")...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. pgk

    Hi, I tried using the following

    Hi, I tried using the following Windows Script code but it is giving me problems: Set WiSh=CreateObject("WScript.Shell") lRet = WiSh.Run("C:\Program Files\myExe.exe",1,True) The Run method fails when I try to run the above code snippet. However, it runs when folders with...
  14. pgk

    Hi, I have a small exe that does

    Hi, I have a small exe that does the following (atleast, it is what I want it to do): 1)Use the Shell command to run the Setup.exe of another program 2)After this setup is finished, replace a file installed by the Setup program with one that I have created. The problem is before the...
  15. pgk

    Checking Time Values

    Hi Folks, I would like to know the best method of determining whether a start time is greater than the end time. EG. Start Time 23:30 End Time 1:30 This problem becomes important when scheduling tasks using my application. Any help would be very much appreciated. Thanks in...
  16. pgk

    Saving a CR as HTML file

    Hi Folks, Is it possible to save a CR as a HTML file? The situation is like this: The CR will be generated on a stand alone machine. It will be saved in a HTML format, if possible. The HTML file will then be uploaded to the web site. If it is possible to do this, please tell me...
  17. pgk

    Displaying Images based on Condition

    Hi, I have a report that is used to pictorially represent the skill set of the employees in a SW company. The report would look like: C C++ VB Oracle Unix Jacob Y N Y N N John N N N Y Y Rick Y Y N N N I...
  18. pgk

    Preventing Deletion of files or Folders using API

    Hi, I am trying to develop an application in VB that will allow users to specify the files or folders that they want to protect from unauthorised deletion. I would like to know if there is some way to intercept the Delete operation in Windows ( may be using Sub Classing )and pass it onto...
  19. pgk

    Using the Printers Collection to Manipulate Print Jobs

    Hi Folks, 1) I tried using the Printers collection in VB to select a particular printer and the KillDoc method to kill the current print job. But it says the Object does not support the Method or Property ( Runtime Error 438 ). I have also posted the code snippet that I tried. Please...
  20. pgk

    Color Coding in List Box

    Hi, I would like to display the rows of a list box in different colors. The situation is this: The list box is a multi column, no multi-select one. Column 8 of the list box will contain either "Emergency" or "Routine". If it is "Emergency", I would like to...

Part and Inventory Search

Back
Top