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. 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...
  16. Laaitie

    How to zip the file and send mail?

    I've done this before with Java. Java's got a pretty straight forward zip package under java.util. Then I just execute the java DOS Command from my VB app. The problem however (there always seem to be a problem with my stuff;> ) is that you need the JRE installed on a PC where you want to run...
  17. Laaitie

    Weird one

    It does sound weird. Do you set your db value to nothing after you've closed it? eg: Set db = Nothing Don't actually exactly know myself what happens there, just something I've picked up in cleaning up my DB connections, recordsets, workspaces... PS. For future reference try putting your...
  18. Laaitie

    Copy File Code

    Hi dwilko Not directly related to your question but I find the drive, dir, file view boxes of VB a bit tedious just to select a file on your hard drive somewhere. Plus you don’t get the "My Network Places" option or UNC path capability. Either that or I just don't know how to do it:)...
  19. Laaitie

    Placing email in 'Sent Items' folder

    Wow. I've placed this question on 9 VB forums, but this is the only one that started some discussion. Thanks for all the contributions. Specially Paul. Guess I'll just have to stick to an Outlook only solution:( Fine for gatecrashing ZOR. At least now we’ve got all this mail issues under one...
  20. Laaitie

    Placing email in 'Sent Items' folder

    I've been searching the net as well as the MSDN Library but only found questions without answers. What I want to do is to place an email in the end-users 'Sent Items' folder. The user will not compile this email, and it will not be send from his PC either. No SMTP server on the client side...

Part and Inventory Search

Back
Top