Forum: VB.NET May 6th, 2007 |
| Replies: 11 Views: 5,319 I have been looking around and found this post in another found this is this right and how would i do it. Thanks.
A type is considered to be part of the assembly it is defined in. One
solution... |
Forum: VB.NET May 6th, 2007 |
| Replies: 11 Views: 5,319 Is it possible to create a dll in vb 2003 i cant seem to find where to when i start a new project or try and add something. |
Forum: VB.NET May 4th, 2007 |
| Replies: 11 Views: 5,319 |
Forum: VB.NET May 4th, 2007 |
| Replies: 11 Views: 5,319 Yeah i had included the Book object (add existing item) but got this error
Additional information: Could not find file "C:\Documents and Settings\owner\My Documents\Visual Studio... |
Forum: VB.NET May 3rd, 2007 |
| Replies: 11 Views: 5,319 Yeah i had already set that up in another project which is as follows
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim restoredlist As New... |
Forum: VB.NET May 3rd, 2007 |
| Replies: 11 Views: 5,319 OptionStrictOn
Imports System.IO
Imports System.Runtime.Serialization
Imports System.Runtime.Serialization.Formatters.Soap
PublicClass Form1
Inherits System.Windows.Forms.Form
Private... |
Forum: VB.NET May 1st, 2007 |
| Replies: 11 Views: 5,319 okay i have a simple program that has a class of objects some textboxes etc. What i do is enter information in and it saves an object to a text file.
Now i open a new project and want to use the... |
Forum: C++ Nov 24th, 2006 |
| Replies: 2 Views: 1,483 Like this ??
int Media::read(Tokeniser& tok)
{
string delim = ":";
tok.setDelim(delim);
string in_barcode(_barcode);
Tokeniser t1(in_barcode, ":");
_barcode = tok.nextToken(); |
Forum: C++ Nov 24th, 2006 |
| Replies: 2 Views: 1,483 This is just a brief question how would i read the attributes from the tokeniser in the same order as declaration occurs in the class declaration, separated by full-colons.
Tokeniser class
... |
Forum: C Nov 23rd, 2006 |
| Replies: 15 Views: 3,033 Thanks i finnaly did it
Entry::Entry(const Entry& entry):_media(NULL),_entertainment(NULL)
{
if(entry.isValid())
{
if ( entry._media != NULL )
{
_media = entry._media->createCopy(); |
Forum: C Nov 22nd, 2006 |
| Replies: 15 Views: 3,033 I am trying to store in the current Entry object. |
Forum: C Nov 21st, 2006 |
| Replies: 15 Views: 3,033 I have tried this in my constructor it compiles but does not seem right to me any thoughts?
Entry::Entry(const Media& media, const Entertainment& entertainment)
{
_media =... |
Forum: C Nov 21st, 2006 |
| Replies: 15 Views: 3,033 public:
/**
* Default constructor for the Media class
*/
Media(void);
/**
* Copy constructor for the Media class
*
* @param audio Audio object
*/ |
Forum: C Nov 21st, 2006 |
| Replies: 15 Views: 3,033 media and entertainment are abstract classes |
Forum: C Nov 21st, 2006 |
| Replies: 15 Views: 3,033 Entry::Entry(const Entry& entry):_media(NULL),_entertainment(NULL)
{
if(entry.isValid())
{
if ( entry._media != NULL )
{
_media = entry._media->createCopy();... |
Forum: C Nov 20th, 2006 |
| Replies: 15 Views: 3,033 quote=NSta;278471]Yeah i have two virtual functions (createCopy()) in the media and entertainment class and normal create copy functions in the bases classes extending media and entertainment that... |
Forum: C Nov 20th, 2006 |
| Replies: 15 Views: 3,033 Oh yeah i have like 6 virtual constructors 2 of which are pure (in media and entertainment) do i need to create desturctors for them? Just the pure ones |
Forum: C Nov 20th, 2006 |
| Replies: 15 Views: 3,033 Yeah i have two virtual functions (createCopy()) in the media and entertainment class and normal create copy functions in the bases classes extending media and entertainment that create a copy of... |
Forum: C Nov 20th, 2006 |
| Replies: 15 Views: 3,033 Scrap that above quick reply i have done my copy constructor is this oksy
Entry::Entry(const Entry& entry):_media(NULL),_entertainment(NULL)
{
if(entry.isValid())
{
_media->createCopy();... |
Forum: C Nov 19th, 2006 |
| Replies: 15 Views: 3,033 i guess i dont know how to to do is pass them by value and implement a copy constructor on those classes |
Forum: C Nov 19th, 2006 |
| Replies: 15 Views: 3,033 Hi i am so lost and stressed please can some help me. My question is how do i code the follwoing
• Constructor: Copy The copy constructor should check the validity of the Entry object parameter... |