473,385 Members | 1,461 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Library of Code

daniel aristidou
491 256MB
Hi guys this will probably seem like a very stupid.............question but i would like to store certain tasks for use in many programs e.g if printing is carried out using the same step more or less. I heard something about modules......Can anyone explain what a module is exactly and how i can use this to make a library of common scripts.
Thanks Daniel(~_~)
Jan 22 '08 #1
9 1237
Killer42
8,435 Expert 8TB
I believe the answer to this will be heavily dependent on what version of VB you're using.
Jan 23 '08 #2
daniel aristidou
491 256MB
Hey killer42 im using vb08....
Jan 23 '08 #3
daniel aristidou
491 256MB
Hey killer42 im using vb08....
Does anyone out there deal with vbo8>>>>:((
Jan 25 '08 #4
daniel aristidou
491 256MB
Hello hello hello is there anybody outhere? :-{
Jan 28 '08 #5
Killer42
8,435 Expert 8TB
It does seem to have fallen silent around here, huh.

Unfortunately I can't help with this one, for a number of reasons including...
  • I work with VB6, and the way they handle this kind of thing is quite different
  • I'm very disorganised - have always intended to set up some code library/libraries along these lines, but haven't actually done it.
Jan 29 '08 #6
daniel aristidou
491 256MB
OK....Can anyone help me do this in vb6 or 2k5....???????
Jan 30 '08 #7
Killer42
8,435 Expert 8TB
OK....Can anyone help me do this in vb6 or 2k5....???????
In VB6, I suppose you can just create a module in which you put all your Public Subs and Functions, then add that module to each project you create.

That's the simple method. Beyond that... well, like I said, I'm not that organised. I hope someone else has some ideas.
Jan 30 '08 #8
daniel aristidou
491 256MB
In VB6, I suppose you can just create a module in which you put all your Public Subs and Functions, then add that module to each project you create.
So this basicly.... i need to standarize the name i give my controls....then a module will work in any of my projects.....also
I don't need to call the module? The code under a sub will automatically run if the event occurs eg...a sub in the module for a control on click will automatically be run when i click on the comtrol in a form?
Jan 30 '08 #9
Killer42
8,435 Expert 8TB
So this basicly.... i need to standarize the name i give my controls....then a module will work in any of my projects.....also
I don't need to call the module? The code under a sub will automatically run if the event occurs eg...a sub in the module for a control on click will automatically be run when i click on the comtrol in a form?
No. Unless later versions of VB have made some pretty radical changes, the code for an event procedure would have to reside within the form.

However, you could simply place a line of code there to pass control to your standard routine. I don't think standardising the names of your controls will help. But don't forget, you can pass the control to the common routine as a parameter.
Jan 30 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Simon | last post by:
Hello. I wanna use my dynamic shared library(built with C language) with php script. (PHP version is 4.0.6) So I making a shared library(*.so) in Solaris environment(2.7) and it is successful....
8
by: Raymond Hettinger | last post by:
Comments are invited on the following proposed PEP. Raymond Hettinger ------------------------------------------------------- PEP: 329
3
by: K.S.Liang | last post by:
Hi all, 1> If there are more than one dynamic linking libraries in the file system, how do I know which one is loaded into system? Any C library or system call can tell me which *.so or *.sl is...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
10
by: Julian | last post by:
I get the following error when i try to link a fortran library to a c++ code in .NET 2005. LINK : fatal error LNK1104: cannot open file 'libc.lib' the code was working fine when built using...
4
by: Chris F Clark | last post by:
Please excuse the length of this post, I am unfortunately long-winded, and don't know how to make my postings more brief. I have a C++ class library (and application generator, called Yacc++(r)...
87
by: Robert Seacord | last post by:
The SEI has published CMU/SEI-2006-TR-006 "Specifications for Managed Strings" and released a "proof-of-concept" implementation of the managed string library. The specification, source code for...
20
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've...
0
by: JosAH | last post by:
Greetings, the last two article parts described the design and implementation of the text Processor which spoonfeeds paragraphs of text to the LibraryBuilder. The latter object organizes, cleans...
0
by: JosAH | last post by:
Greetings, welcome back; above we discussed the peripherals of the Library class: loading and saving such an instantiation of it, the BookMark interface and then some. This part of the article...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.