forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Icon Designer
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Oct 02, 2003 9:35 am    Post subject: Reply with quote

Garrett wrote:
If it worked under the 9x platform also, I'd be happy to take you up on that.


Unfortunately the APIs that let you detect file accesses are available under NT and its descendants only.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1754
Location: Space and Time

PostPosted: Thu Oct 02, 2003 11:11 am    Post subject: Reply with quote

Thanks a lot Jules, I got the reg. Smile Hum... interesting thought. That is a very good idea. Now, how to go about developing it... I'll have to give it some good thought.

Thanks Again,

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2150
Location: A House

PostPosted: Thu Oct 02, 2003 4:05 pm    Post subject: Reply with quote

jules wrote:
Garrett wrote:
If it worked under the 9x platform also, I'd be happy to take you up on that.


Unfortunately the APIs that let you detect file accesses are available under NT and its descendants only.


What about just checking CRC values? I'm sure if the file changed even
one byte that the CRC will have changed also.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1567

PostPosted: Thu Oct 02, 2003 4:17 pm    Post subject: Reply with quote

I think Jules is detecting when a file is opened, thus backing up the file before any changes are made to it. A crc would check after the file has already been modified thus nullifying the backup.
Back to top
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Thu Oct 02, 2003 4:42 pm    Post subject: Reply with quote

No I think he is using a File folder monitor API.
I don't remember it's exact name now but it will detect changes made to a monitored folder. There were some problems using it with @LIB() directly (I think callback) and so I had left it.
You can do CRC way but I don't know if all the apps it would be intended to be used allow shared access to a file in use. I know.. with VDS that may not be a problem.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Thu Oct 02, 2003 5:37 pm    Post subject: Reply with quote

Yes, CodeScript is right. I'm using that API. In a DLL, not using @lib.

There are DLLs that provide the same functionality under Win9x, but they are expensive. I don't know how you'd go about writing one from scratch, but it seems like a lot of work for an obsolete OS. And if you were monitoring a big chunk of the directory tree, checking all the files to see if they had changed would be a big overhead. It would appear that Windows hooks the actual file I/O operations, so you get an event each time a program writes to a file.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Thu Oct 02, 2003 7:52 pm    Post subject: Reply with quote

jules wrote:
Skit3000 wrote:
I just downloaded your program, and it says you also are a PC magazine columnist. Can't you make some advertisements that way? Rolling Eyes Wink


Unfortunately, magazines don't like writers using their pages to promote their own private stuff. Sad


Wow! You are a columnist for PC Magazine? I read PC Magazine
from cover to cover and have never seen your name anywhere. Shocked

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Oct 02, 2003 8:48 pm    Post subject: Reply with quote

CodeScript wrote:

You can do CRC way but I don't know if all the apps it would be intended to be used allow shared access to a file in use. I know.. with VDS that may not be a problem.


Hi CodeScript,
Actually my Guardian.dll has this ability. It does not matter if the file is open or not it can read the file to see if it has changed and if so it will tell you.
I am not exactly sure if I understand what you guys are trying to do but it sounds like you want away to monitor a directory and back up files that have changed or that has been accessed last. I think I seen some code for this not to long ago so I will try to dig it up and maybe post something to the Advanced VDS forum for ya. Of course it will prob. be written in C Wink

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2150
Location: A House

PostPosted: Thu Oct 02, 2003 9:04 pm    Post subject: Reply with quote

Mindpower, that'd be great. I'm kind of tired of having to dig up files
with undelete everytime VDS dumps my directory.

Re Jullian and "Obsolete OS"..... Sticking Out Tounge Mad Evil or Very Mad Shame (on you) Insane

I like my obsolete os's Wink

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Thu Oct 02, 2003 9:08 pm    Post subject: Reply with quote

Garrett wrote:
Mindpower, that'd be great. I'm kind of tired of having to dig up files
with undelete everytime VDS dumps my directory.

Re Jullian and "Obsolete OS"..... Sticking Out Tounge Mad Evil or Very Mad Shame (on you) Insane

I like my obsolete os's Wink

-Garrett


Well actually I don't think that MicroSoft considers Windows ME obsolete Question

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Oct 02, 2003 9:43 pm    Post subject: Reply with quote

i agree jules about the creativity challenged...a dsu with skins would be great Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Oct 03, 2003 10:31 am    Post subject: Reply with quote

mindpower wrote:

I think I seen some code for this not to long ago so I will try to dig it up
and maybe post something to the Advanced VDS forum for ya. Of course it will prob. be written in C

Nice Smile

Jules
If you are willing I would love to have a copy of GetBack. Smile

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1754
Location: Space and Time

PostPosted: Fri Oct 03, 2003 12:10 pm    Post subject: Reply with quote

About the skinning. How did you invision it working? Do you mean a program that creates skins or like Serge said a DSU that has different skins compiled into it that can be used a VDS controls or am I way off base here? Confused Smile
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Fri Oct 03, 2003 12:40 pm    Post subject: Reply with quote

I was thinking of a program that created skins. You would need a number of different skins which would provide the themes for the user to choose. But they would be designed in such a way that they could be chopped up and then reassembled like building blocks, so the user could make a window as tall or as wide as they needed. You could perhaps have a choice of optional features that fitted in with the theme. Ideally you could then produce a single bitmap of the finished skin that you could use for the background of your VDS dialog.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Fri Oct 03, 2003 1:44 pm    Post subject: Reply with quote

Hi Jules
I recieved the reg.
Thanks a lot.

Regards
CodeScript
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group