Author |
Topic  |
|
mortioli
Average Member
  
United Kingdom
898 Posts |
Posted - 10 August 2003 : 09:11:55
|
Hiya...
I'm trying to add a webcam to my website, and have found some software from TrueTech, but I've got to find out the 'licensed DNS name of my computer' (because I'm on a dialup, I don't have a static IP address), but I don't know how to.
Would anyone be able to help please?
This is what I'm following...
http://www.truetech.com/webcam/support/your_webcam_page.html
Thanks  |
|
jfitz
Junior Member
 
USA
345 Posts |
Posted - 10 August 2003 : 10:24:33
|
Your computer name is stored in the registry. It's somewhere in CurrentCommandSet or something like that. I have the details at the office. I'll get them tomorrow. |
--Jördan It's a wasted day if you don't spend at least part of it flying upside down. |
 |
|
mortioli
Average Member
  
United Kingdom
898 Posts |
Posted - 10 August 2003 : 10:31:40
|
Cheers  |
 |
|
mortioli
Average Member
  
United Kingdom
898 Posts |
|
Gremlin
General Help Moderator
    
New Zealand
7528 Posts |
Posted - 10 August 2003 : 11:38:04
|
If your on Dialup then most likely your DNS will change every session, you might want to look into using one of the free dynamic dns services around.
To find you computer name simply go to your system properties -> computer name tab if your running XP, shouldnt be any need to go digging around in your registry at all. |
Kiwihosting.Net - The Forum Hosting Specialists
|
 |
|
mortioli
Average Member
  
United Kingdom
898 Posts |
Posted - 10 August 2003 : 12:51:15
|
lol yeah the computer name's there 
The DNS thing didn't work, but I've been told about dyndns.org so I'm trying that out 
Thanks for the help! |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 10 August 2003 : 13:21:52
|
I don't know how helpful this reply will be, but here goes anyway:
That code looks a wee bit like what I use for the static webcams on my site (I use webcamXP though and have modified the code to use images that webcamXP uploads to the server so I can also run the Flash clients as the same time if I'd want to.
If you do what I do, you should be able to change the image src from http://localhost:2047/cgi-bin/image to /uploadlocation/image assuming those codes automagically refresh the image after a certain amount of time (I'm not good with JavaScript) |
 |
|
mortioli
Average Member
  
United Kingdom
898 Posts |
Posted - 10 August 2003 : 13:50:25
|
Downloading it now 
What code do you use? |
 |
|
jfitz
Junior Member
 
USA
345 Posts |
Posted - 10 August 2003 : 14:57:36
|
Here's where the computer name is stored in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName
There is also
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName
as well as
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ActiveComputerName\ComputerName
and
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerName\ComputerName
which is where I get mine from (Windows 2000 and Windows XP)
|
--Jördan It's a wasted day if you don't spend at least part of it flying upside down. |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 10 August 2003 : 16:26:21
|
The computername in the registry is the windows networking computername, not necessarily related to any DNS name for your Internet connection.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
 |
|
jfitz
Junior Member
 
USA
345 Posts |
Posted - 10 August 2003 : 16:47:14
|
quote: Originally posted by Doug G
The computername in the registry is the windows networking computername, not necessarily related to any DNS name for your Internet connection.
Doug, that's absolutely correct. It's useful for our purposes, but perhaps not for Mortioli's. |
--Jördan It's a wasted day if you don't spend at least part of it flying upside down. |
 |
|
Roland
Advanced Member
    
Netherlands
9335 Posts |
Posted - 10 August 2003 : 16:57:41
|
quote: Originally posted by mortioli
Downloading it now 
What code do you use?
Once webcamXP is installed, you set the source of the cam, choose the HTTP Server type (web server > HTTP client type > JavaScript) and then go to Advanced > Generate HTML Code for your site to get the necessary codes. Those will have to be modified to get the cam working with uploaded images (drop me an email if you want my codes). If you want, you can also use the JavaScript client as it is and just adjust the refresh rate, but that will still require a fixed IP address to fetch the images... Maybe something for later?
Then you can go to web server > FTP settings and fill in the necessary info. Just remember to set the upload speed to the same (or one or two seconds slower) as the refresh rate of the codes. One tip: assuming you want to upload the images to /html/webcam/ you enter html/webcam
I think that's it, but if you should run into problems just drop me an email and we'll try to work it out off these forums 
Last thing: if you're just looking for a program that grabs webcam images and uploads them every X seconds I bet there are freeware programs around that don't require a logo in the images such as the free webcamXP does... Not to mention that webcamXP will have lots of features you won't be using. At least it's a decent starting point... |
 |
|
|
Topic  |
|