Click here to Skip to main content
15,890,185 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionAdding Read Only Property to a axmskedit box Pin
mbuller21-Jul-06 3:27
mbuller21-Jul-06 3:27 
QuestionHow would a DB communicate with the application? Pin
Rajiya21-Jul-06 1:48
Rajiya21-Jul-06 1:48 
AnswerRe: How would a DB communicate with the application? Pin
Vasudevan Deepak Kumar21-Jul-06 1:49
Vasudevan Deepak Kumar21-Jul-06 1:49 
GeneralRe: How would a DB communicate with the application? Pin
Rajiya23-Jul-06 21:30
Rajiya23-Jul-06 21:30 
AnswerRe: How would a DB communicate with the application? Pin
Dave Kreskowiak21-Jul-06 2:15
mveDave Kreskowiak21-Jul-06 2:15 
QuestionClass of Classes! Pin
Alex Feature20-Jul-06 23:56
Alex Feature20-Jul-06 23:56 
AnswerRe: Class of Classes! Pin
Robert Rohde20-Jul-06 23:58
Robert Rohde20-Jul-06 23:58 
GeneralRe: Class of Classes! Pin
Alex Feature21-Jul-06 0:47
Alex Feature21-Jul-06 0:47 
Hi Robert

Nope nothin is shared. All vars are private and if anything is passed to the Customer class it's byval.

Here is the Customer class:
<br />
Public Class clsSalesRecord<br />
	Private Record As Object<br />
<br />
	Public Sub New(ByVal SalesRecordObject As Object)<br />
		Record = SalesRecordObject<br />
	End Sub<br />
<br />
	Public ReadOnly Property Reference() As String<br />
		Get<br />
			Return Record.id<br />
		End Get<br />
	End Property<br />
End Class<br />



Here is the collection class:
<br />
Public Class clsSalesRecords<br />
<br />
	private _Records As Generic.List(Of clsSalesRecord)<br />
<br />
	Public Sub Refresh(byval Record as object)<br />
	        _Records.Add(New clsSalesRecord(Record))<br />
	End Sub<br />



HELP!!!


The perfect code is always in your head...it just a matter of how hard you bang your head against the wall to get it out!
GeneralRe: Class of Classes! Pin
Robert Rohde21-Jul-06 2:21
Robert Rohde21-Jul-06 2:21 
GeneralRe: Class of Classes! Pin
Alex Feature21-Jul-06 3:02
Alex Feature21-Jul-06 3:02 
GeneralRe: Class of Classes! Pin
mbuller21-Jul-06 3:31
mbuller21-Jul-06 3:31 
GeneralRe: Class of Classes! Pin
Alex Feature21-Jul-06 4:00
Alex Feature21-Jul-06 4:00 
GeneralRe: Class of Classes! Pin
mbuller21-Jul-06 4:31
mbuller21-Jul-06 4:31 
GeneralRe: Class of Classes! Pin
Mel Padden21-Jul-06 4:46
Mel Padden21-Jul-06 4:46 
AnswerRe: Class of Classes! [modified] Pin
mr_lasseter21-Jul-06 10:57
mr_lasseter21-Jul-06 10:57 
GeneralRe: Class of Classes! Pin
Alex Feature23-Jul-06 19:29
Alex Feature23-Jul-06 19:29 
AnswerRe: Class of Classes! [modified] Pin
mr_lasseter24-Jul-06 2:30
mr_lasseter24-Jul-06 2:30 
QuestionDownload Files From FTP Server Pin
skysunil20-Jul-06 23:33
skysunil20-Jul-06 23:33 
AnswerRe: Download Files From FTP Server Pin
Robert Rohde20-Jul-06 23:57
Robert Rohde20-Jul-06 23:57 
GeneralRe: Download Files From FTP Server Pin
skysunil24-Jul-06 18:19
skysunil24-Jul-06 18:19 
QuestionListView exception - stumped! [modified] Pin
nzmike20-Jul-06 23:29
nzmike20-Jul-06 23:29 
AnswerRe: ListView exception - stumped! Pin
Dave Sexton20-Jul-06 23:54
Dave Sexton20-Jul-06 23:54 
GeneralRe: ListView exception - stumped! [modified] Pin
nzmike20-Jul-06 23:59
nzmike20-Jul-06 23:59 
GeneralRe: ListView exception - stumped! Pin
Dave Sexton21-Jul-06 0:52
Dave Sexton21-Jul-06 0:52 
AnswerRe: ListView exception - stumped! Pin
mr_lasseter21-Jul-06 11:02
mr_lasseter21-Jul-06 11:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.