|
-
May 8th, 2002, 05:54 PM
#1
Thread Starter
Addicted Member
Bound Controls
I have read many things about bound controsl(data control, dblist,db combo etc) and I have seen many answers which do not like boutnd controls.
Why not buond conrtols. What is not right with them?
Catholics Do It With Beads
-
May 8th, 2002, 06:32 PM
#2
PowerPoster
Nothing is really wrong with them, they just aren't popular among most programmers. They rather do their own code to connect to the database, and therefore have more control over what they can and can't do.
-
May 8th, 2002, 06:37 PM
#3
-= B u g S l a y e r =-
I use them for listing data in grids...
(ok guys confess ! )
-
May 8th, 2002, 06:39 PM
#4
-
May 8th, 2002, 06:40 PM
#5
No programmer worthy of being called a programmer uses Bound Controls.
Read the link in my signature...the author is far more eloquent than I. Bound Controls Are Evil and should be banished from the Earth.
-
May 8th, 2002, 06:45 PM
#6
-= B u g S l a y e r =-
and I still use them when listing data
-
May 8th, 2002, 06:49 PM
#7
peet: Bound Controls, to me, are what the FSO is to filburt!
-
May 8th, 2002, 06:50 PM
#8
I read the article.
I guess I am lucky in a few aspects:
1) I have never taken a class in programming.
2) My first experience with databases was with ASP, so I learned ADO from the start.
3) I discovered quickly that I could use ADO within VB and continued to use it there.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
May 8th, 2002, 06:50 PM
#9
Originally posted by Hack
peet: Bound Controls, to me, are what the FSO is to filburt!
OK, what's wrong with the FSO and what should I be using instead?
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
May 8th, 2002, 06:50 PM
#10
-= B u g S l a y e r =-
Originally posted by Hack
peet: Bound Controls, to me, are what the FSO is to filburt!
thats why I use them both
-
May 8th, 2002, 06:54 PM
#11
-= B u g S l a y e r =-
Originally posted by Lord_Rat
OK, what's wrong with the FSO and what should I be using instead?
nothing, just having fun with the turtle
-
May 8th, 2002, 06:59 PM
#12
Originally posted by Lord_Rat
OK, what's wrong with the FSO and what should I be using instead?
A lot of baggage comes with the File System Object that need not be loaded onto the end users machine. I've yet to see something the File System Object can do, that you can't do with regular VB code.
(Although, I'm NOT as rabid an FSO detractor as filburt. But, he does make good points. My "pet peeve", more than the FSO, is bound controls.)
Fear The Turtle!
-
May 8th, 2002, 07:01 PM
#13
I need help with the following then:
Creating a collection of drives that can be iterated using For Each
Getting the path , long- and short- file names of arbitrary files
and getting the UNC for a mapped network drive.
If I can figure this all out not using the FSO, I'll gladly write myself a module to replace the FSO, but I haven't figured these out yet.
As a side note, if you are using ASP and attempting to read files on the server, I'm pretty certain you HAVE to use FSO.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
May 8th, 2002, 07:04 PM
#14
If you are writing ASP code, you are totally correct about the FSO Lord_Rat. Not even filburt could argue with that!
Last edited by Hack; May 8th, 2002 at 07:12 PM.
-
May 8th, 2002, 07:05 PM
#15
-= B u g S l a y e r =-
ah.. common guys.. nothing wrong in using FSO and noone fear the turtle
-
May 8th, 2002, 07:10 PM
#16
-= B u g S l a y e r =-
hmmm alot of people talk about FSO like if it takes up all the diskspace in the world...
scrrun.dll is 150 kB
and its dependencies are MSVCRT.DLL (that are normally on a win pc) 290kB
I could not find anything else in the dep file...
is there more ?
-
May 8th, 2002, 07:15 PM
#17
I can't argue with that peet. As I said, I don't have the "hard on" for the FSO that filburt does. Hell, I occassionally use it myself. My only point is that it does/can add an unnecessary amount of overhead.
Its not like it is in the same category as bound (spit) controls.
-
May 8th, 2002, 07:17 PM
#18
-
May 8th, 2002, 07:18 PM
#19
Cool I think I'll keep using it.
I'm not that big about space when it comes to a one time downloaded program either. If we were transmitting data every time someone used the program, I'd be all over it like a fly on a horse.
But we aren't and so I'm not.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|