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!

Recent content by Laaitie

  1. Laaitie

    Menu bar in Active X

    I have yes, several times:) I've spent the most of yesterday going through old forums on several sites to get an answer. Never thought of creating an ActiveX control menu system though. That ought to do the job. Thanks.
  2. Laaitie

    Menu bar in Active X

    Is it possible to place a menubar in a Active X control? I've got a form with a TabStrip control with 5 tabs. One of this tabs will display another TabStrip control with 4 tabs, a sub tab if you like. Each tab will display a different AX control - so 9 in all. Only two of these AX controls...
  3. Laaitie

    Convert digit to text e.g. 7 to seven

    You'll have to use a bunch of Case and/or If statements. Cast the number to string and see the length Len(Cstr(110)) If the length is 3 (like above) then you know the first return from your loop with case statements is hundreds, the second tens and the third ones. Your loop of case...
  4. Laaitie

    how do I say thank you?

    I just have one problem with the star thing, the link doesn't work for me. I've got this Windows Auto Upater activated (comp policy) and it changed so many things on my IE. I can't even get to my IE options in the normal way. Got to go through Control Panel. Can't click on any hyperlink in an...
  5. Laaitie

    DatePicker control

    The format function is the one I'm used too. Didn't realise they would differ for the DatePicker. Thanks.
  6. Laaitie

    Date doubt

    Thanks, yes. Just testing your knowledge;) Won't do it again:)
  7. Laaitie

    Date doubt

    I agree with JeffTullin (except for May of course;> ). The beauty of using dateadd("yyyy",1,dtdate) is that it handles your leap-year and millennium-leap for you. Don't know if you know about the millennium-leap (if that is what it is actually called), Digsy, but your code doesn't...
  8. Laaitie

    DatePicker control

    Now I'm confused;) Normaly 'n' is used for minutes as 'm' is already occupied by months. 'm' for month in numerical value (1 to 12) and M for month in alpha-numerical value (MMM - Jan to Dec and MMMM - January to December). But you say 'm' gave you zero, which obviously is no month. Anyone...
  9. Laaitie

    Date doubt

    Hey shan, can you maybe just post the section of code that you use to calculate the dates with, or have the problem with. That way we might be able to spot the problem.
  10. Laaitie

    Populating a datacombo box from the form load event

    I've never worked with the DataCombo control myself but trying to get your code to work I got to the following conclusion: DataCombo is a bound control and therefore needs to be bound to a Data control. MSDN Library Visual Studio 6.0: "Without a Data control or an equivalent data source...
  11. Laaitie

    Looking for 2nd hand Visual Studio 6.0 in South-Africa

    Don't know if this guy might have but we get all our software from him. If he doesn't have he might know were to get it. Don't know about 2nd hand though. He's CT based greg@cirrel.net (021) 788 7403 Let me know if you you find it
  12. Laaitie

    X-Button

    Sorry for kinda taking over your thread davejazz. Hope you don't mind. Thanks Hypetia.
  13. Laaitie

    X-Button

    >A decent user interface should not give the user options that don't work at all, or don't work as expected. I agree with you, strongm. I just found the graphical limitations of setting the controlbox to false to be to limiting. Didn't consider the after effects, though - like an irretated...
  14. Laaitie

    X-Button

    daniellr posted this code in thread222-750657 Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Cancel = True End Sub The X button is still there, it just doesn't work. The practical difference in the two options is appearance. With daniellr's code you still have the...
  15. Laaitie

    Get Windows install directory

    Here's another option: Public Declare Function GetWindowsDirectory Lib _ "kernel32" Alias "GetWindowsDirectoryA" _ (ByVal lpBuffer As String, ByVal nSize As Long) _ As Long Public Function GetWin() As String Dim P As Long Dim tmpString As String...

Part and Inventory Search

Back
Top