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 Mike Lewis 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. 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.
  16. Nimroduk

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

    Hi all, Ok, first off all I need to clarify that this has been working fine for a few years, the problem appears to be with the work load and not with the code... I have a standard .exe application that utilises an ActiveX EXE server. The application is used to ping various resources and...
  17. Nimroduk

    Implementing/Using SSL within VB6 for TCP communications ?

    I've had a play and its not a bad solution at all. My only reservation is having to rely on a third party solution for establishing and maintaining the tunnel; I'd prefer to have that all in the app.
  18. Nimroduk

    Implementing/Using SSL within VB6 for TCP communications ?

    Hi all, Lucky old me has been tasked with suring up an existing TCP based Client/Server application so that it can be used across the WWW. The application was initially used to move sensitive data (in real-time*) between applications on the same LAN. The business has now grown and the...
  19. Nimroduk

    Tying VB to Active Desktop Calendar

    I use GUIDs for items in collections when the contents of the collection may be persisted or transfered to another process. In my instance, the use of a GUID (pretty much) ensures that I have a uniquie id for an item and I can be (fairly) sure that I willnot have any collsion issues if that...
  20. Nimroduk

    WHAT IS THE BEST WAY TO CHANGE TEXT IN THE MIDDLE OF A TEXT FILE?

    Sorry, I typed the wrong mode: OPEN <path to file> FOR RANDOM LOCK WRITE AS <file handle> Output is sequential Random is, well, random. You can freely move around the contents of the file. You might want to check this primer: http://www.powerbasic.com/support/help/pbcc/open_statement.htm

Part and Inventory Search

Back
Top