PC Review


Reply
Thread Tools Rate Thread

a where to question

 
 
=?Utf-8?B?S29kYQ==?=
Guest
Posts: n/a
 
      23rd Jun 2005
This is a very general question.

I have a form. On this form I have many controls and several tab pages. To
complete this form I will need to make a couple of calls to a database, and I
have several subs that set values based on input of controls on the form.

Do I put all of my subs/functions that reference or set form controls on the
form itself? Is there a way to set a form control from another module or
something. The form code is >1200 lines now. I come from an .asp world and
it seems big and unmanageable now and it's going to get bigger.

How do you pros do it?
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      23rd Jun 2005
Koda,

It will not make it easier, however probably better to manage.

Set your data access in a component (a seperate class however everything is
already in it and with a component you can drag and drop).

Create as many as is possible usercontrols (I mean limited not as many as is
technical possible) That is much easier than on ASP

http://msdn.microsoft.com/library/de...classtopic.asp

http://msdn.microsoft.com/library/de...wfccontrol.asp

I hope this helps,

Cor


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perhaps and off topic question....but could use some help with video question.....I don't need codec help, just a general question. Bret Miller DIY PC 0 13th Oct 2006 01:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:08 AM.