Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Designtime controls or code

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
Every book I read wants me to use the design time controls.&nbsp;&nbsp;Why is that?<br>This data-connection thing makes me crazy.. it's harder then setting up a dsn and using 3 lines of code to connect me to ado.<br>
 
Dear bigfoot,<br><br>&gt; it's harder then setting up a dsn and using 3 lines of code to connect me to ado.<br><br>It should not be! You can actually just use a DSN to make a data-connection! Should only be a few clicks. Once you have the data connection you can place a Recordset DTC on your page a your off to the races. You can use the recordset in other DTC's or even write code to use the recordset.<br><br>I certainly do a lot of mixing in my sites. By mixing I mean I use the DTC's and my own code blocks when needed. Using DTC's for simple tasks like creating a recordset makes the code easier to read.<br><br>Now if your not going to take advantage of the DTC's round trip power (server/client/server) then you might not want to bother and learn how to use them. But I have coded data form based pages many times using both DTC's and all hand written code. I'll take Interdev and the DTC's anytime thank you.<br><br>&quot;But, that's just my opinion... I could be wrong&quot;.<br>-pete
 
It took me a long time to use the data controls in VB.&nbsp;&nbsp;I was using BASIC when it was GWBASIC, or BASICA.<br><br>If the rest of the world uses DTC's then I guess it's time for me to also.<br>What about the grids and activex controls?<br>Don't IE give the users a nasty message saying somthing of the sort that &quot;using this may be a security risk, or gobblin&quot;?:)
 
bigfoot,<br><br>All of the DTC's produce HTML and client side script. None of them require downloading ActiveX to the browser.<br><br>The Client side ActiveX controls will require downloading and therefore a prompt to the user unless they have set up Microsoft as a trusted certificate.<br><br>Hope this helps<br>-pete
 
Oh! Cool!<br>I did not know that.&nbsp;&nbsp;I thought they were like axtivex.<br>I'll play with them this afternoon.<br>Thank you.<br><br>(as I said, I am new to VI)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top