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.
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...
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...
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...
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...
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...
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.
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...
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
>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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.