473,545 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best database practises

i have been taught always to use the data module and place all the
necesary components on it and refer to it when i need something. but
is this the best programming practise??

i get a lot of access violation messages and now that i want to make
the entire program dll based (so it can be easier to update) i sit with
a problem. how to use that data module.
do i include it to every dll project or do make it a dll and then
reference it??

what would be the best way to convert a program like this to a dll
based solution

i have a main form(mdi form)
data table (all ado connections and some datasets as well as global
functions like user auditing)
and the mdi children.(which i want to convert to dll's)

the reason i want to make everything dll based is because it takes too
much time to update all of my users when i change some thing. i want
the program to unload the dll and update itself then run again.

i can open the dll's dynamically and use the functions but my problem
is interacting with the data module and the main parent calling the
dll's.

Jun 20 '06 #1
1 1904
sufferthefools wrote:
i have been taught always to use the data module and place all the
necesary components on it and refer to it when i need something. but
is this the best programming practise??

i get a lot of access violation messages and now that i want to make
the entire program dll based


Stop right there! I think you should go to a windows programming group,
DLLs are OT here.

--
Ian Collins.
Jun 20 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3639
by: GeekMarine1972 | last post by:
We are planning to deploy the MS Reporting Services. Unfortunately, there isn't much guidance on how to effectively size a server. Here are my questions: 1) In an environment with 1 reporting server (hosting the reporting data layer, application, and management layer) connecting to 1 or more SQL servers (over 2 trunked 1Gbps switches...
1
1244
by: Zenobia | last post by:
Hi, Does anyone have any good links for the best practice when writing ASP.NET applications ? I'm looking for all-round general clues for newbies and pit-falls to avoid.
5
1729
by: Janaka | last post by:
I'm making a web application on my local server which will then be rolled out onto our live site. My problem is that i tend to have to comment out and make a few new hard-coded lines in my files to edit changes locally and then i have to reverse this process to make any changes live. See below // local myLink.NavigateUrl =...
14
6674
by: Jon Rea | last post by:
I am currently cleaning up an application which was origainlly hashed together with speed of coding in mind and therefore contains quite a few "hacky" shortcuts. As part of this "revamping" process I am introducing namespaces to properly compartmentalise sections of the code into logical units. What I am speciffically trying to get right is...
3
4955
by: Furty | last post by:
Hi, I'm looking for the best practice for creating a generic data validation implementation for my data bound business objects. I currently have a business object base class implementing the following interfaces: IEditableObject, ICloneable, INotifyPropertyChanged, and IDataErrorInfo More specifically, my IDataErrorInfo implementation is...
2
10093
by: bonk | last post by:
I have come across the need to distinguish between the creation of a deep and a shallow copy and with great interest I have read this article: http://blogs.msdn.com/brada/archive/2004/05/03/125427.aspx This artivle seems to hint that I should not use System.IClonable but instead define my own interface(s) for cloning. Now since this...
1
1370
by: DelphiLover | last post by:
Hi. I'm reading and reading, testing and testing, trying to figure out how to do things, how to do things according to best practises and how to do things in the best object oriented way. So... Best practises, in good object oriented fashion: how do I do it. I'm thinking making classes for data access. An Example that ALL books do -...
3
2662
by: Memfis | last post by:
What is the best practice for using boost::signal? Should the signal be a public field? Should an accessor method be used? Should there be some special connection methods for every signal, like the following: private: signal<void()x; public: void connectX(const signal<void()>::slot_type& slot); void disconnectX(const...
4
1403
by: P Pulkkinen | last post by:
Hi all, I am in a php development project and I would like to hear your opinions on language file practises. 1) One huge or many small? ==================================== Currently we have one big per language, like en.php or fi.php. Since I expect this app to grow, I have started to think we should have different file for every output...
0
7664
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7918
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7436
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7766
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4958
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1897
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
715
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.