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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by barnarp

  1. barnarp

    Cannot open msg attachment in outlook 2003

    Have you managed to solve the problem? I have the exact same problem using Outlook 2003 and XP on a desktop. No luck solving it sofar.
  2. barnarp

    Is given Time between to other Times?

    Thank you very much for the help.
  3. barnarp

    Is given Time between to other Times?

    Hi, I am given a start time and an end time in string format like this: TimeStart := '2006/01/12 08:00:00' TimeEnd := '2006/01/12 12:00:00' I then have a time variable in the 'hh24:mm' string format like this: TimeVar := '09:30' I need to find out if TimeVar is between TimeStart and...
  4. barnarp

    Float to DateTime conversion

    Hi, How can I convert the float value .983333333333333 to be equal to the date value (hh:mm) of 00:59? Regards
  5. barnarp

    Week select in calendar

    Thanks, but i already looked at torry's and could not find anything. When I try compiling the designtime files for that component in Delphi 7, I get the following error message: Bad Package unit format.
  6. barnarp

    Week select in calendar

    No, I need one for Delphi 7. I have the second one, the component from TMS Software, but it's more of a planner (outlook type format) than a calendar.
  7. barnarp

    Week select in calendar

    I did try that already. The code does not work for Delphi 7, only 6.
  8. barnarp

    Week select in calendar

    Hi, I need a calendar component where the user will be able to select a whole week instead of just one day. Anyone know of such a component ot function?
  9. barnarp

    Drag&Drop from listview to stringgrid

    Hi, I want to drag&drop from a listview to a stringgrid. I have never attempted to code drag&drop before. My listview is built up from a db query and each listitem contains a pointer to a record type. Code for listview: type RecordWO = ^TRecordWO; TRecordWO = record wonum : AnsiString...
  10. barnarp

    Coloring multiple cells in a StringGrid

    I got it working by doing the following: procedure TfrmMain.grdMonthViewDrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState); i : Integer; begin if (ACol > 0) and (ARow > 0) then begin for i := Low( arrayHighlight ) to High( arrayHighlight ) do begin...
  11. barnarp

    Coloring multiple cells in a StringGrid

    Thanks, I have looked at the example, but I am not sure how to incorporate the array code with it. I also don't understand why stringgrid1GetCellColor can't be used instead. I need some example code or something. I am really at wits end.
  12. barnarp

    Coloring multiple cells in a StringGrid

    Hi, I need to color more than one cell in a grid at the same time. I have a query from a database that returns the column and row position of the cells that need to be painted/colored. I then add these values to a multi dimensional array. The code looks something like this: var idxarray ...
  13. barnarp

    getresponse encoding

    Hi, I have the following assignment question: A manager wants to know how many UDP Indatagrams arrived at a router. The MIB variable relating to this information is 1.3.6.1.2.1.7.1. Show the getresponse encoding with comment. The following information is provided: Data type codes...
  14. barnarp

    Populating Arraylist with db results?

    Thanks guys for your replies. I sorted out the problem by using an arraylist. Yeah your right, I should have given more details. Sorry bout that. Regards

Part and Inventory Search

Back
Top