Search results

  1. H

    Read from registry value

    Reg_dWORD and yes Its doing what I want If the registry key do not exist or its not = 1 close the db
  2. H

    Read from registry value

    Its ok Marianne WIth the if not = 1 no windows appear. Marriane THANKS VERY MUCH for all your help on this post. Thanks for taking from your time :)
  3. H

    Read from registry value

    OK my final Form_Open(Cancel As Integer) Dim RegObj, RegKey Set RegObj = CreateObject("WScript.Shell") RegKey = RegObj.RegRead("HKLM\Software\My aplication\Security Code") If Not RegKey = 1 Then DoCmd.Quit End Sub
  4. H

    Read from registry value

    Ok I got it... Private Sub Form_Open(Cancel As Integer) Dim RegObj, RegKey Set RegObj = CreateObject("WScript.Shell") RegKey = RegObj.RegRead("HKLM\Software\My application\Security Code") If RegKey = 0 Then DoCmd.Quit End Sub But Now I receive a Debug Windowif the registry key are not...
  5. H

    Read from registry value

    Yes but Any example have what I want. Read my 1st post on this topic. I dontwant to write on the registry I want to read on registry and If the value = 1 thenload the form If not them close the DB Al the example are for write. I dont want to write. I want to read and Load form.
  6. H

    Read from registry value

    Hello People I want to read from the registry a value. If the value = 1 the continue loading the main form. If th value dont exist or = 0 then close the database. I think its a simple code but I cant find this code. Any Help on this? Thanks
  7. H

    Load the Database If a Registry Key its allowed

    Thanks for your help Marianne and for your attention on this postbut I dont know Where or how create this I dont know Ifthis is a module or if this we need to insert on event procedure on what function. I seeth code was youpost here and I read detailed and I dont undestand the code. Im not a...
  8. H

    Load the Database If a Registry Key its allowed

    Im DONE I dont find the solution... Or I Dont Understand how to get the solution Thanks for all your help.
  9. H

    Load the Database If a Registry Key its allowed

    Sorry but I dont see anithing on that link I just see a Accepted solution and advertisement. See the attachment
  10. H

    Load the Database If a Registry Key its allowed

    Marianne Thanks for the link but I dont have account to review this link :(
  11. H

    Load the Database If a Registry Key its allowed

    OK I understand this code but Where I set this code on my database? I set on Load the main form and receive Event Procedure error [Field]
  12. H

    Work my DB over Network

    Its not a network problem All firewalls are disconected and I can see my folder over the ntwork (Browse)
  13. H

    Work my DB over Network

    I share the C: drive and the folder on the servr and set permissions to everyone. My application load but appear a message trying to find a local database. I save the tables in the same folder that the Frond End (Main Form) C:\my application
  14. H

    Work my DB over Network

    Nop dont work :(
  15. H

    Load the Database If a Registry Key its allowed

    Poeple Maibe I dont explain good what I looking for... I have a database (accde) created on a folder in local drive (C:) If I copy this folder and paste to other computer, the database work perfect. I want to prevent this (Copy the folder and move to another computer) All what I try to do...
  16. H

    Work my DB over Network

    I gonna try Thanks Very Much
  17. H

    Load the Database If a Registry Key its allowed

    Any Help on this?
  18. H

    Work my DB over Network

    UNC Path??? What is that?
  19. H

    Work my DB over Network

    Hello People This is my excenario I have a DB closed (accde)and I have the Front End with other linked tables all closed (accde) All my DB and linked tables are on my Server (Place on C:\MyDATA) I share this folder (Server C:\MyData) to get a mappingfrom this folder on a workstation. If I...
  20. H

    Load the Database If a Registry Key its allowed

    SOrry GEMMA I dont know whats wrong but I dont undestrand this. Where I suppost to set this code? Im working on Access 2007 Im a newbie on this world. Pls provide a sample and where or howcan I set this option on my DB Thanks
Top Bottom