KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Kixforms.dll Setup
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting
View previous topic :: View next topic  
Author Message
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Thu Oct 27, 2005 3:43 pm    Post subject: Reply with quote

i created this to sute my needs, never expected anyone else to use it, guess if others wanted to use this i should reconfig things.

i will rethink things.

_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
Shaba1
KiXforms Dabbler
KiXforms Dabbler


Joined: 24 Aug 2005
Posts: 6

PostPosted: Thu Oct 27, 2005 6:21 pm    Post subject: Reply with quote

benny69 wrote:
i created this to sute my needs, never expected anyone else to use it, guess if others wanted to use this i should reconfig things.

i will rethink things.


Thanks Benny. The thing about open sourced software is that somehow somewhere sombody MIGHT find a use for it. I would really appreciate it becasue it would help me out immensly. ESPECIALLY if it could be used for Win9x AND 2k/xp

_________________
At some point in his life an man stops being the man he is and starts being the man he always wanted to be-----Bruce Springsteen(I think)
Back to top
View user's profile Send private message Visit poster's website
Wizard
KiXforms Novice
KiXforms Novice


Joined: 15 Nov 2003
Posts: 2
Location: Bristol, England

PostPosted: Mon Jan 09, 2006 1:46 pm    Post subject: Reply with quote

Whoa. OK, I have just come into this thread, and just to add to Lonkero post about checking the object version...

I skip all that check and just blindly copy and re-register the file every time.

Now, before you all flame me, the size of the file is not that big, and it saves huge amounts of code and logic.

Blind brute force - its the easiest way at least.!

Wiz

edit: oh. I didn't realise this was my first post on this board.! I usually use kixstart.org Smile
Back to top
View user's profile Send private message
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Mon Jan 09, 2006 9:30 pm    Post subject: Reply with quote

oh, I use KiXtart.org

brute force works, sure.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Les
KiXforms Aficionado
KiXforms Aficionado


Joined: 24 Dec 2003
Posts: 317

PostPosted: Mon Jan 09, 2006 11:21 pm    Post subject: Reply with quote

Not sure of that brute force thingy. Best practice dictates that you UnReg the old DLL before Reg'ing a newer one.
_________________
The Repro Man
Stealing for a living!
Back to top
View user's profile Send private message
Wizard
KiXforms Novice
KiXforms Novice


Joined: 15 Nov 2003
Posts: 2
Location: Bristol, England

PostPosted: Tue Jan 10, 2006 9:08 pm    Post subject: Reply with quote

Lonkero wrote:
oh, I use KiXtart.org


opps sorry, I was thinking of something else at the time. Embarassed
Back to top
View user's profile Send private message
ntdoc
KiXforms Supporter
KiXforms Supporter


Joined: 05 Mar 2003
Posts: 77
Location: Mouse Country

PostPosted: Wed Mar 08, 2006 7:59 am    Post subject: Reply with quote

Les wrote:
Not sure of that brute force thingy. Best practice dictates that you UnReg the old DLL before Reg'ing a newer one.



Completely agree with Les, otherwise overtime you'll end up with hundreds if not thousands of invalid useless entries in the Registry if that's how you manage object registrations.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Wed Mar 08, 2006 9:05 am    Post subject: Reply with quote

Not only this ... in case of namespace changes you will end up with unusable kixforms scripts.

BTDTGTTS

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Mar 09, 2006 2:46 pm    Post subject: Reply with quote

both of your "reasons" actually don't weight at all.

1) no, the registry keys don't keep changing all the time and no they are not that plenty. over time, say 2 years, you might have 5-10 loose keys there.
2) if namespace changes, you will have non working scripts anyhow. it does not help to unreg and hope that your scripts automatically write themselfes to correspond to that.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Mar 09, 2006 3:10 pm    Post subject: Reply with quote

2) that doesn't mean necessarily that older scripts won't work anymore if the dll was re-reg'd. Namespace changes by today were only additions.

What I meant to say was that they would fail completely if the new dll wasn't re-registered, not that they won't work anymore with a newer version ... that would be fatal. (The behaviour may change ... as it did when Shawn changed for example the Label object, So my statement doesn't exlcude testing before rolling out new versions Wink )

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Mar 09, 2006 3:35 pm    Post subject: Reply with quote

so, you weren't saying unreg first before regging.

k, my bad then.
just that you posted as follow up to that line of discussion.

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jochen
KiXforms Devotee
KiXforms Devotee


Joined: 05 Mar 2003
Posts: 1204
Location: Stuttgart, Germany

PostPosted: Thu Mar 09, 2006 3:51 pm    Post subject: Reply with quote

ja,

that was a follow-up to the statement of Les quoted by Ron right before my post.

_________________
Jochen

Tell me, and I will forget.
Show me, and I may remember.
Involve me, and I will understand.
Back to top
View user's profile Send private message MSN Messenger
Lonkero
KiXforms Devotee
KiXforms Devotee


Joined: 13 Mar 2003
Posts: 1022
Location: Espoo, Finland

PostPosted: Thu Mar 09, 2006 9:44 pm    Post subject: Reply with quote

try to decide, would you?
do you want me to mock your comments or not.

I don't have all day... Wink

_________________
Hammer
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
benny69
KiXforms Advocate
KiXforms Advocate


Joined: 30 Oct 2003
Posts: 567
Location: Lincoln, Ne

PostPosted: Thu Mar 09, 2006 10:19 pm    Post subject: Reply with quote

lol
_________________
Wait don't order yet,... get KiXforms Designer .NET 2.0 (Beta)
KiXforms Designer .NET 2.0 (Beta)
Back to top
View user's profile Send private message Send e-mail
ntdoc
KiXforms Supporter
KiXforms Supporter


Joined: 05 Mar 2003
Posts: 77
Location: Mouse Country

PostPosted: Fri Mar 10, 2006 1:41 am    Post subject: Reply with quote

Never heard them referred to as "loose keys" but the idea to just reg is part of why the registry is a mess in the first place (not the only reason)

I don't think anyone said that the application would not work, rather as a best practice (which few even MS do not follow) would be to unregister the old one before installing the new one, then register the new one once it's replaced the old one.

If you take the hundreds of applications that a normal user will have installed / removed / updated in those 2 years you will find hundreds of invalid entries that go nowhere and do nothing.
Will it damage the computer or prevent it from running? No, but it can and will slow it down as it still has to read through all those bogus entries every day you use the computer.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Advanced Scripting All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group