Search Results

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: NSta
Forum: VB.NET May 6th, 2007
Replies: 11
Views: 5,319
Posted By NSta
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
Posted By NSta
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
Posted By NSta
Forum: VB.NET May 4th, 2007
Replies: 11
Views: 5,319
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
I am trying to store in the current Entry object.
Forum: C Nov 21st, 2006
Replies: 15
Views: 3,033
Posted By NSta
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
Posted By NSta
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
Posted By NSta
media and entertainment are abstract classes
Forum: C Nov 21st, 2006
Replies: 15
Views: 3,033
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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
Posted By NSta
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...
Showing results 1 to 21 of 21

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC