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 Chriss Miller 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: russland
  • Content: Threads
  • Order by date
  1. russland

    how to wait n seconds for Runtime.getRuntime.exec() to execute

    Hi, Some system commands would halt the execution if one has not enough privileges to do so. How, can I allow my runtime to try for - let's say - 10 seconds. But if nothing is return and the command is blocked, then continue. What's a solid approach to this? Thanks for any hints.
  2. russland

    unintentionally overwritting properties

    Hi, I store my properties to a file after i populated them with strings using the setProperty(String key, String value) method. However, it keeps overwriting the properties that i have not changed during this action. So I first loaded the properties with an input stream of the file. Didn't help...
  3. russland

    Event without GUI

    Hi, I'm having a listener place which is listening to file changes on my local hard drive (using JNA). works nicely. In this class (singleton), i check if this file is a pdf document (works fine to). If yes, I would like to raise an event that could be captured by another object of my...
  4. russland

    J2EE and EJB3

    Hi there, I'm a C# developer and diving into J2EE 6.0 and starting with the latest Eclipse Galileo J2EE distribution and Tomcat 6.0. 1) I create a EJB Project (no error). 2) I created a EJB 3.0 Session Bean. Error with import of javax.ejb.Stateless saying: "the import of javax.ejb cannot be...
  5. russland

    ClassCastException: Class to Interface casting

    Hi, I tried to use an interface to enforce the plugin developers to implement the function "initialize(Composite parent, int style)". Interface: import org.eclipse.swt.widgets.Composite; interface IPlugin { void initialize(Composite parent, int style); } a Test-Plugin is this: public...
  6. russland

    cfajaxproxy --> absolute path?

    Hi, The documentation of cfajaxproxy states that the reference to the cfc can be absolute. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_a-b_3.html I do have the authentication.cfc in a BLL directory which is placed way far from the directory where I invoke it. How do...
  7. russland

    default value = "WR" + [column 1]

    hi, I've got a simple table. ID (NUMERIC, PRIMARY KEY) OrderID (NVARCHCHAR(50)) The OrderID should store a concatenation of the autoincremented ID and a string. how do i apply this change? thanks heaps for any hint.
  8. russland

    query result and it's total

    hi, i've got a simple query (4 colums and about 6 records). All values are integers. So, now I'd like to sum all the columns and write the total at the end. as means, records plus total of the records. i cannot afford to execute 2 queries. somehow possible to do that with a union? grateful...
  9. russland

    asp resultset cached?

    hi, i loop through a list of records and within that loop recursively i call the same function again (to loop children-data of the parent record). now, for some reason it does not return the max(id) respectively the correct @@IDENTITY key. it somehow seems that the resultset caches it's...
  10. russland

    add DTD Referenz in xml (SAX)

    how can I append a dtd to my xml file? this is what ai have so far. DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance(); Document doc = null; try{ docBuilderFactory.setValidating(true); DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder()...
  11. russland

    how to set # of rows in SWT table?

    hi, I fail to set the number of rows (staticly) displayed in a SWT table. e.g I want to show 10 records only. if more, use the scrollbar. unfortunately, it displays 1 row only. how can i extend the number of rows? thanks
  12. russland

    store resultset

    hi, What's the best datastructure to store and resultset? arraylist? xml? i just want to pass the result set from the data access layer (DAL) over the business layer (BLL) to the GUI. What's most easy to handle (not considering memory impacts) for the programmer? thanks heaps
  13. russland

    gridview update - no source code for the current position available

    Hi, I got a GridView. I prepared UpdateCommands, run the page, click the edit button, the row falls into edit-mode, I change a value and click the standard update button/link... the system return with an error saying: no source code available for the current position. What am I missing in this...
  14. russland

    additional checkboxes in gridview

    hi, I'd like to fill a gridview with a list of all appartments in the database table. Now, in this list there are also appartments that do belong to the userID that has been passed by querystring. For those I want to check the checkbox. For all others not it's unchecked. What's the best...
  15. russland

    FindControl - Find Hyperlink control in FooterTemplate?

    Hi, I need to find the hyperlink control that I placed in the FooterTemplate of a gridview. I thought that's easy by just using myGridView.FindControl("myHyperlink") Well, obviously it's not. What am I missing? Is the FooterTemplate a control of its own? Thanks for any hint.
  16. russland

    how to access GridView in different Content?

    Hi, I'm having 2 Content areas on my masterpage. One on the left, on on the right. Simple. How can I access the GridView, wich is on the left, from the DetailsView, which is on the right Content area? I need the DetailsView to be refreshed as soon as I selected another record on the gridview...
  17. russland

    Reflection - how to get instance of a class?

    Hi, I try to find out if there's already an instance of a class available. If not, I would need to create one, if yes, I want to retrieve a value from it's public field. There's a nice example on sun.com. But how do I retrieve the instance? In the field.get(OBJECT) method the ask me to pass...
  18. russland

    Return with event?

    Hi, I'm calling an assembly from my main WinForm. Now, that assembly is loading a file (DownloadFileGroupAsync("myFile")) in async mode. There is an eventhandler that would scream on completion of the download. Since I must return the instance to the main WinForm I wonder how I could make my...
  19. russland

    Resource entries are deleted. How to avoid?

    Hi Every controls in my application is translated into the current Culture (UICulture). Now, in a MessageBox class I want to place text to that would be translated programatically by a ResourceManager instance. e.g. rm.GetString("MyStringToTranslate"). Now, that works fine until i do edit a...
  20. russland

    Translations with parameters

    One challange in globalizing/localizing an application is in finding the way to place dynamic values from the application into the tranlations received from the resource manager. Just appending a dynamic value to this static translation is NOT state-of-art. So while the following code outputs a...

Part and Inventory Search

Back
Top