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!

Recent content by Nimroduk

  1. Nimroduk

    GPOs not being applied on Windows 7 Home Premium?

    Thanks chaps, FWIW I have already tried manually setting GPOs via a side-loaded GPEdit but they seem to be used by Windows either. I have managed to get some of the Policies to activate by writing to the registry so I'm currently working down that path but it is rather annoying having to go...
  2. Nimroduk

    GPOs not being applied on Windows 7 Home Premium?

    Hi everyone, I've run into an issue that I cannot explain and I'm hoping someone out there will have some experience of this, as Google has nothing to offer ! We are a Workgroup and currently deploy machine level GPOs via LocalPol.exe for Chrome. The Chrome GPO works flawlessly across our...
  3. Nimroduk

    XAML MenuItem w/ Custom CommandBinding Disabled ?

    Solved this ! It was painfully obvious but also annoyingly subtle. The problem was in my static properties that returned the RoutedUICommands. The code was always creating a new instance of the RoutedUICommand, so the command referenced by the Window and the one referenced by the MenuItem were...
  4. Nimroduk

    XAML MenuItem w/ Custom CommandBinding Disabled ?

    Hi all, I couldn't find a WPF / XAML forum so I am hoping that either someone here will have some ideas or point me in the direction of the right forum to use ! I have created my own RoutedUICommands that I am binding to MenuItems. The problem is that once the Command are bound to their...
  5. Nimroduk

    String manipulation with wildcards

    The wildcard character's depend upon the DBMS you're connecting to. If you're using Access I believe the character you're after is %: Select * from V_SOAPostCodeSearch where PCID Like 's183d%'
  6. Nimroduk

    Check Before setting object = Nothing

    edit: Please ignore the two comment lines: "'Leave this line in to leak" and "'Unrem this to stop leaking" I was originally going to post sample code that did the whole thing in the Form_Load but then decided that use of buttons was easier. ...perhaps we need a "make sure comments are up to...
  7. Nimroduk

    Check Before setting object = Nothing

    Having reread my post and Bob's interpretation I am not so sure that what I was trying to say has come across correctly. Regardless I have created a demo of what I was trying to get at. Create a new ActiveX EXE project called "MemLeakDemo". Rename Class1 to "SomeIface" and ensure it is...
  8. Nimroduk

    Check Before setting object = Nothing

    @ Bob, if I'm not too busy tomorrow I'll throw an example together. I've caught myself out enough times that it shouldn't take too long to replicate :s I have to say that I have one issue with the use of: With CreateObject("SomeApp.object") 'the code End with In doing so you're creating a...
  9. Nimroduk

    Check Before setting object = Nothing

    Our coding standards dictate that every instantiated object should be manually destroyed. The main reason behind this is that it is all too easy to instantiate an object that uses an internal timer to run pseudo multi-threaded. Non-destruction of a single pointer can leave the object in memory...
  10. Nimroduk

    Permission Denied Error when running ActiveX EXE

    I had a similar permissions problem recently. I spent hours using various tools to identify all of the resources used by my application. So to try and save you the pain, take a look at the following page. Obviously not all of the components/files will be on your PC as quite a few of them are...
  11. Nimroduk

    Replace a string

    Replace doesn't accept wildcards. I suspect you'll either need to look at Regex or writing a little parsing routine that utilises the instr() and mid$() functions.
  12. Nimroduk

    winsock control in active x dll

    I have the same thing Bob but then I think it would only be a problem if I had post-10 cups of coffee shakes when selecting the object to reference in the first place. strongm, fantastic little snippet of knowledge this. I had no idea you could do this and I love the support for "withevents"...
  13. Nimroduk

    Does VB6 limit the number of COM reference's an application can hold ?

    Right, got this sorted :) It was a mixture of poor Windows Update timing and poor design from me :/ First of all a recent MSUpdate rolled out a new version of the common dialog that does not appear to be compatible with VB6. I did write down the name (and version) of the file but I have since...
  14. Nimroduk

    Does VB6 limit the number of COM reference's an application can hold ?

    Ok, Changing to a thread pool model made no difference to the problem but it was worth a shot ! I have partially sorted the problem out, in as much as I have raised the number of instance before the problem takes hold by reinstalling VS SP6. I am in the process of building a completely fresh...
  15. Nimroduk

    Does VB6 limit the number of COM reference's an application can hold ?

    Thanks both of you, I'll recompile using a thread pool and see if that fixes my problem.

Part and Inventory Search

Back
Top