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

  • Users: Kazim
  • Order by date
  1. Kazim

    Regular Expression and filename building

    Excellent! Thats exactly what I needed! It works 100% with just a tiny tweek! Thanks very much indeed!
  2. Kazim

    Regular Expression and filename building

    Aha! Yes I do have a list of the filenames (Or at least I can make one because they are my files). But how would I work through the list. It will grow on a regular basis as more files are added. I'm afraid JS and arrays are not my thing at all!
  3. Kazim

    Regular Expression and filename building

    ...This leaves me with: iframe.src = Filename_Filenumber_ ..... .htm I need to be able to use some kind of regular expression (perhaps similar to *.*) to match the filenames by their number, no matter what the description might be. BTW: The description is all alphanumeric chars. Could anyone...
  4. Kazim

    Default Forms

    Okay guys thanks for that. I kind of guessed that it would be built in, but I was hoping that it would be a little more editable than with a HEX editor! Thanks again and happy holidays Kaz
  5. Kazim

    Default Forms

    Yes I know about these settings and they are all correct. I don't want to add another form to the box, I have plenty there already, but I want to edit the default form. When the dialog appears the selected item, by default, is the built in VB form. Thats the one I want to edit, and that...
  6. Kazim

    Default Forms

    Yep! Already been there and none of them seem to be the right one. This is where I created my own project startup sets, but the single default form that gets created when you add a form to an already open project does not seem to be here. Kazim
  7. Kazim

    Default Forms

    It might seem a daft question but.... When you add a form to a project you are presented with the default form. I want to cut down on the number of things that I automatically edit by customizing the default form some that it opens to my own specification. I have done this with a new project...
  8. Kazim

    Control Array Problem

    Gaaah!!! B!%$&y hell! Yes, thats perfect! Now I need to go and kick myself really hard for just not even thinking of that! Thanks very much Andy, I feel a right dumbass now! My only excuse is that sometimes we dont see the wood for the trees!
  9. Kazim

    Control Array Problem

    Yes indeed I have, and it works nicely for the control array, however, the control array is a 0 based array, and each item in the control array is linked to a button in a toolbar. The buttons in the toolbar are a 1 based array. To get over this I created the first user control, with an index of...
  10. Kazim

    Control Array Problem

    Within my program I use a control array of a custom user defined control. One of these controls with the index of 0 exists at program start. Others are added and removed during program use. I am easily able to add new controls, and place them in the correct position using the Load command, and...
  11. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Excellent job! Ill be looking at this as soon as I get home tonight! Thanks very much!
  12. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    No, what I mean is that when I use this code, any other menus that happen to be set up already (Via the VB GUI interface itself) are removed, leaving the favorites the only menu available. It is not actually a problem right now; most of the stuff that would have been on menus can be added to a...
  13. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Ah now! That’s excellent! It works fine on my computer, and works just fine in an MDI form too. It doesn’t work when its added to a child form, but that’s okay, and for some odd reason it prevents the child form from maximizing properly, but again, that’s something I can work around. I only...
  14. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Excellent! But now this line: "Public Sub SearchFiles(ByRef MenuItem() As MENU_SUBITEM, ByVal Path As String, ByRef Count As Long, ByRef MenuID As Long, ByVal hMenuPopup As Long)" give me this error: "Only Public User Defined Types defined in Public Object Modules can be used...
  15. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Um.... The line "pOldProc = SetWindowLong(Me.hwnd, GWL_WNDPROC, AddressOf WindowProc)" Gives the error "Invalid Use of AddressOf Operator" I would try to work out what that means but I have not the slightest idea how to follow this code! This is being tested in just a...
  16. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Okay - I have been totally unsuccessful in my attempts to Subclass the window, although I have managed to perform some spectacular system crashes! I even went so far as to download a DLL which claimed to do the same as the code you posted, but this caused the program to crash as well, although...
  17. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Whoa! That code is excellent! Really fast too - I have an awful lot of items in my Favorites folder (Upwards of about 2000) Very impressive. I look forward to some information on how to SubClass the window, meanwhile I will endevour to pick through this code and see if I can work it out myself...
  18. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Many thanks - Ill look at this right now but... one thing: SubClass the Window? Forgive me but I have no idea what you mean by that! Do you mean that although the code will create the menu it cant pick up the clicks on the menu items? Anyway, thanks again - Ill look at the code now and see if...
  19. Kazim

    Enumerate Favorites Folder and Create a Menu structure

    Hi. I am creating a browser program that I wish to use myself. There are a number of custom features that I particularly need when I am researching something. I would very much like to include a menu of the same type as the Favorites menu in IE, which would be generated at run time. I have...
  20. Kazim

    Retrieve text from another window

    Clutching at straws and taking a guess off the top of my head: (And presuming you can Tab to this *label*) Activate the *other* window. Use SendKeys to Tab to the label looking object. Try various sendkey combinations to select its text. Send the selection to the clipboard. Get the text from...

Part and Inventory Search

Back
Top