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 strongm 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: daimaou
  • Order by date
  1. daimaou

    JTree and node backgrounds

    Forget about it. I ended up implementing my own renderer for JTree and it's working now :)
  2. daimaou

    JTree and node backgrounds

    I'm with trouble when trying to set a background color in a JTree node. Actually I'm using the JTableTree (A JTree rendered inside a JTable) example from the java tutorials @ sun to display some data, and I need to paint each row background with a specific color according to the data on that...
  3. daimaou

    Access Applet from Local Machine

    I'm not sure if you can, I don't think so. I'd install something like apache on your local machine and test from there, no need to upload to a web server you can test it locally as long as you have a http server running on your machine.
  4. daimaou

    how do I get capture data from the keyboard????

    You can use System.in.read() to get an input from the keyboard.
  5. daimaou

    Where Do I get Microsoft Java VM?

    MS has discontinued it, you'll have to get it from sun now i guess. Unless you can get the MS one from other site. But if I was you I'd download the one from sun.
  6. daimaou

    How to avoid opening of more windows for each click

    well this line of code is your problem: ac.showDocument(new URL(url+ "SessionRecording.htm"), "_blank"); by using "_blank" it will allways open in a new window. If you want to open in the same window use "_self", if to want to open in an already opened...
  7. daimaou

    Calling an exe in java

    yes it can, just do something like import java.lang.Runtime; Runtime rt = java.lang.Runtime.getRuntime(); try { rt.exec("c:\\path_if_needed\\app.exe"); } catch(Exception ex){ System.out.println("Error message"); } hope this helps.
  8. daimaou

    HELP!! How to Cancel "Add New "in a datagrid

    I'm not sure what you're doing, but instead of using the adodc control to add data, I think you should do it by code. Using ADO and the Connection.Execute method to insert records on your table. This should be the "better" way of doing it. Hope this helps
  9. daimaou

    DataGrid Control

    That error is most of the times related to the record source statment you're using on your ADO control. Using inner joins, selecting from various tables or even not selecting all the fields from one table sometimes lead to this.
  10. daimaou

    Anyone know what could be wrong with.....

    wow I guess we all posted at same time! X-)
  11. daimaou

    Anyone know what could be wrong with.....

    Access needs the date between # so try: SELECT * FROM tblMainRepos WHERE DateAdded = #" & CDate(tvTreeView.SelectedItem.Text) & "#" Hope this helps
  12. daimaou

    *** URGENT *** DataGrid Update ERROR

    This sure sounds like a problem in your record source of your ado control, you're probably selecting records from more than one table, using Inner Joins or selecting only some fields of that table. Plz show the record source statement. I had some problems when I try to select only some fields...
  13. daimaou

    never used vb5 before, please help

    To open notepad several times, add a textbox to your form name it txtnumber and there you will place the number of times u want it to open. Then just For i=1 to txtnumber shell("C:\windows\notepad.exe") Next i You should also test if the txtnumber.Value is an integer first.
  14. daimaou

    No value given for one or more required parameters

    What exactly are you doing? Are u using adodc control? If so did u set the ConnectionString parameters correctly?
  15. daimaou

    Office Language?

    ok, forget it I just found out the solution :-) Application.International(wdProductLanguageID) Will give what I'm looking for.
  16. daimaou

    Office Language?

    Hi. Anyone knows how can I know (by code) wich is the language of the Office installed on the pc my app is running? I need this because the style names on MS Word are different according to the Office's language. So I need to test first wich is the language of the Office where my app is running...
  17. daimaou

    VB app running on NT problem

    What I would suggest would be to have VB installed on a machine with NT, try to run it from there within the developer. If there is any error you'll detect it easier there, if not then just use the packager to build the setup files for NT and try it out.
  18. daimaou

    Recordset based on Excel

    I'm not sure you can do a select * from a MS Excel spreadsheet. Try to add column headers and select by their names. Hopefully it'll work. If not, I'm not sure if this would do anything, but I think it would be better to try to open your recordset like: Dim rsExcel as new ADODB.Recordset With...
  19. daimaou

    SQL syntax....

    ok. I don't have much time right now so I'll quickly make a scratch of what you should do, then if you still having problems let me know. I suppose you know how to use ADO right? So I'll just put here the SQL statements you should use for opening records or executing SQL. First Select what you...
  20. daimaou

    SQL syntax....

    ok, I think I finally understood what you want to do :-) The only thing I'm not getting is this: Is there any relation between Table1 and Table2? I mean is there any field common to both of them? If not how can you relation the records of both tables? Let me know this so I can help you out.

Part and Inventory Search

Back
Top