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: *

  1. blktoptrvl

    Color picker (Eyedropper)

    Tanyway for the reply, but that is not what I asked... In case, I was not clear, what I am trying to do is get the RGB long values for a color within a picture object. If anyone has experience doing this, I would appreciate hearing how. Otherwise, I will have to research the API and code it...
  2. blktoptrvl

    Can PB send SMS ?

    Yes, you just need to attach to the proper API libraries. I do not know what they are, but they should be somewhat similar to MAPI and TAPI.
  3. blktoptrvl

    Stored procedure on report

    When the change the retrieval set from the stored proc, you will still need to go into the data source definition grid and add the new field. PB will not do that for you.
  4. blktoptrvl

    Treeview - Beginner

    I know this is a old thread... But if you are still here, let me know and I will send you a piece of code I created forr this. A treeview is very hard to implement...
  5. blktoptrvl

    Color picker (Eyedropper)

    Has anyone ever implemented a color picker (eyedropper) from within powerbuilder? I would like to be able to select a color from a picture.
  6. blktoptrvl

    How do I get a directory name?

    Get the directory name and then strip off the last part of the string after the last slash "\." Just use the POS LEFT and LEN functions to calculate the location of the last slash... li_rtn = GetFileSaveName("Database Location", ls_docname, ls_loc, "mdb", "Access...
  7. blktoptrvl

    PB 8/Syabse on XP Pro Crashing after time

    I thought I had entered this problem before, but I cannot find the thread, so... I am running PB 8.0.3 on an XP Pro machine, connecting to a sybase 10 database. As I code, I must save my changes to code every 2-3 minutes. If I wait longer, most times PB will crash. The DBA's tell me there is...
  8. blktoptrvl

    time function in SQL???

    It looks like you have to do the work yourself... [COLOR=blue]SELECT {fn hour(table.datefield)}, {fn minute(table.datefield)} FROM table ;[/color blue] Where table is the table of interest and datefield is the field containing the time you want.
  9. blktoptrvl

    Linkage Service Recommended ?

    Although this is an old thread, I am responding anyway... Hopefully some discussion and knowledge can be gained (by me). I must preface this by first saying that I have been programming PowerBuilder for around 8 years - almost never with the PFC. I am however currently using the pfc on a...
  10. blktoptrvl

    time function in SQL???

    What database are you using?
  11. blktoptrvl

    Global Datawindow Function Help

    Thank you, but functions are not resource items. The resource file should only contain datawindows and graphic items. Placing a global function into the pbr only produces 'not found' errors.
  12. blktoptrvl

    Global Datawindow Function Help

    For any following this link. I have found that when I compile the application as one exe I have this problem. When I compile separate pbd's there is not problem. If I find more I will post.
  13. blktoptrvl

    Timer event

    I have not coded the timer for a while, so I am assuming that your chose of where and what you have coded is correct. However, I think the problem might be that the time will never be exactly equal to variable x. Give it a range and see if that works... IF time() < X and time > Y THEN ...
  14. blktoptrvl

    Global Datawindow Function Help

    Thank you, but ease is not the point. I am doing it this way so that I can have the user choose and control the colors from the preferences window. As I said, this works fine from the development environment and in an older version of my program... Just in a recent compile has it failed to...
  15. blktoptrvl

    unexpected prompt of retrieval arguments

    Inside the datawindow editor, go to the data tab and create a row. Do not put anything in the row. Save the datawindow.
  16. blktoptrvl

    How to make PB wait till message object has a value?

    Make it a response window and the event will not continue until the opened window has closed.
  17. blktoptrvl

    Global Datawindow Function Help

    Hello All, I have a global function: f_row_color(li_colors, ll_row) Inside this function, I determine if the current row is evenly divisible by zero, if it is, then I set the background color of the row to one of the predefined colors. Then inside my datawindow, I call this function from the...

Part and Inventory Search

Back
Top