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 TouchToneTommy 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
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. daimaou

    2 Datagrid questions

    I'm using a datagrid to display records from a MS Access DB using ADO, and I'm trying to do 2 things with the datagrid that I'm not sure how. First, I need to make all the cells of one column to be a combo box bound to another table of my DB, since on that field the user can only pick values...
  4. daimaou

    Selecting printer

    I'm trying to get a list of all the current instaled printers on my computer and then fill a combo box with it (Or do I have any control that gives me this automatically?). I'm not sure on how to get this list of the printers(I know I'll have to use the printers collection, but not sure how...)...
  5. daimaou

    Word OLE object problem

    I'm working with a MS Word OLE Object on my VB application. The thing is everytime I enter the edit mode on the OLE object all the toolbars I've active in MS Word will appear giving the application a somewhat weird aspect. So I wonder how can I disable this on the OLE object? If I open word...
  6. daimaou

    getting system colors

    I'm trying to get some colors from the settings of my windows. Like the colors I have set for the selected items, menus, etc (The ones you set on the properties window). I need to get the colors I have set on my system for this, I don't know if this is easy to access or not, but if anyone knows...
  7. daimaou

    ListGalleries problem

    Hi. I'm having problems working with listgalleries in MS Word. I'm using a OLE object on my VB application to where I'll open a existing MS Word doc using the InsertFile method. This document has a numbered list, and I will import it to the OLE object. So far so good. Then I'll need to write to...
  8. daimaou

    Word automation question

    I have this problem: I need to created a numbered list on ms word, this part I know how to do, here's the code I've used: Set myltemp = ListGalleries(wdOutlineNumberGallery).ListTemplates(2) myltemp.ListLevels(1).TabPosition = InchesToPoints(0.6) myltemp.ListLevels(2).TabPosition =...
  9. daimaou

    Word using the same instance problem

    I'm having this kinda annoying problem. I've an OLE Word object on my form, and then I also have the ability to open some documents using the ShellExecute command. The problem is everytime I press the button to open a word document using ShellExecute the same instance of Word that's being used...
  10. daimaou

    Opening MS Word on a MDI form

    Hi. Is there any way of opening MS Word as a childform of a MDI form? I suppose this should be possible, anyone has some code example or some tips on how to do it? Thanks in advance.
  11. daimaou

    OLE automation question

    Hi. I'm trying to develop an application based on lots of OLE automation, mainly generating documents on a OLE object and then saving them to a .doc format. ie first I generate the document on a OLE object, let the user edit something if he wants and then save it to a .doc file. Anyway I've...
  12. daimaou

    Detect a double click on a node

    On a tree view, how can I detect a double click on a node? There is a method to detect a double click on the data tree, but there is none to detect this on a node? Any suggestions to accomplish this? Thanks.
  13. daimaou

    SQL Problem with LIKE statement

    Hi. I'm having problems using the LIKE statement on VB... I need to store on a recordset every records having the ID field begining with a '7'. I'm using ADO connecton to MS Access. OK so I suppose it would be something like this for the Select string: str = "SELECT * FROM Table1 WHERE ID...
  14. daimaou

    AMC. Anyone knows this?

    Hi. I'm trying to work with the Active Movie Control Object and I'm getting really frustated here because I can't make it work. I mean each time I try to run an app that has this object I'll get an error message saying: "System Error &H80004005(-2147467259). Unspecified Error" What...
  15. daimaou

    How to use the Active Movie Control?

    I can't seem to find what's the problem with this, but every time I try to run an app where I've inserted an Active Movie Player it'll give me an Unspecified system error and it won't even run the code. Must I install anything for this to work? Or do I need to initialize it in any way? Any help...

Part and Inventory Search

Back
Top