Results 1 to 2 of 2

Thread: Newbie needs help with registry issues

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2000
    Posts
    4
    I am working with a third party device that works like a little scanner and is connected via serial port to the PC. It came with an ActiveX control that communicates with the device and gives me useful properties describing the image (e.g. size, fileinfo). The control stores its communication parameters (e.g. Port#, Baud rate, etc) in the registry. I have the code to make changes to those parameters in the registry.
    Here's the problem:
    I am trying to implement this device into a browser based application. The clients will have the device hooked up to their machines. I want to have a procedure that will look for the device and consequently which port it is using - no problem. However, if the client does not have administrative rights, I won't be able to dyanmically change the port settings in their registry with code. Any suggestions as to how I can work around this problem? I am new to this, so I am not sure where to start. I hope this makes sense!

    Thanks,
    Blake

  2. #2
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ....

    What OS are your clients using, Win 9x or NT ? Asking because you are talking about administrative rights. If you are going to install it on NT then you need the administrative rights, there is no other choice. Maybe divide your app into two parts, one is your app and another is the portion that detects and manipulates the port settings. Your app install it on client machines, and the port management part install on the server and ask an administrator to run it.

    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width