Click here to Skip to main content
15,897,090 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: import xml file into table Pin
vijiajai20-Apr-10 18:48
vijiajai20-Apr-10 18:48 
GeneralRe: import xml file into table Pin
vijiajai20-Apr-10 21:05
vijiajai20-Apr-10 21:05 
QuestionA MCAD or MCPD question. Pin
sl701020-Apr-10 6:10
sl701020-Apr-10 6:10 
AnswerRe: A MCAD or MCPD question. Pin
Not Active20-Apr-10 7:14
mentorNot Active20-Apr-10 7:14 
QuestionHelp with structures! Pin
bassmaster_general20-Apr-10 5:19
bassmaster_general20-Apr-10 5:19 
AnswerRe: Help with structures! Pin
Not Active20-Apr-10 5:44
mentorNot Active20-Apr-10 5:44 
AnswerRe: Help with structures! Pin
DaveyM6920-Apr-10 5:44
professionalDaveyM6920-Apr-10 5:44 
AnswerRe: Help with structures! Pin
bassmaster_general20-Apr-10 6:04
bassmaster_general20-Apr-10 6:04 
bassmaster_general wrote:
am writing a dll class to take in health patient information. On the developer side, how do i initialize my structure variables?

'code in the dll
Public Class MyClass

Private someData as ArrayList = New ArrayList

Private Structure PatientData
Public myDate as Date
Public myDouble1 as Double
Public myDouble2 as Double
Public myDouble3 as Double
End Structure

Private Function AddData(ByVal visitdate As Date, ByVal bmi As Double, ByVal height As Double, ByVal weight As Double) As Integer
Dim visit As PatientData
visit.myDate = visitdate
visit.myDouble1 = bmi
visit.myDouble2 = height
visit.myDouble3 = weight
visitData.Add(visit)
End Function end Class

'How do I populate these variables as the developer?


I don't think I was clear. I created a new class, new namespace etc. and was trying to test the interface from another form. I created an object of myClass and the function AddData was not appearing in "intellisense" as an option.

It is because my AddData function was declared as private in myClass. so the issue is resolved.

on another note, after changing the function from private to public, intellisense was still not displaying the AddData option.

I had to close Visual studio and reopen. Now the AddData option appears in the intellisense menu.


odd, thanks for the replies
GeneralRe: Help with structures! Pin
Luc Pattyn20-Apr-10 6:35
sitebuilderLuc Pattyn20-Apr-10 6:35 
GeneralRe: Help with structures! Pin
Gregory Gadow21-Apr-10 4:46
Gregory Gadow21-Apr-10 4:46 
QuestionSwitch colums and rows in vb.net datagrid Pin
Peter Leipzig19-Apr-10 16:18
Peter Leipzig19-Apr-10 16:18 
AnswerRe: Switch colums and rows in vb.net datagrid Pin
Dr.Walt Fair, PE19-Apr-10 16:45
professionalDr.Walt Fair, PE19-Apr-10 16:45 
AnswerRe: Switch colums and rows in vb.net datagrid Pin
Ashfield19-Apr-10 22:34
Ashfield19-Apr-10 22:34 
GeneralRe: Switch colums and rows in vb.net datagrid Pin
Peter Leipzig20-Apr-10 3:39
Peter Leipzig20-Apr-10 3:39 
GeneralRe: Switch colums and rows in vb.net datagrid Pin
gmhanna20-Apr-10 5:25
gmhanna20-Apr-10 5:25 
GeneralRe: Switch colums and rows in vb.net datagrid Pin
Ashfield20-Apr-10 8:45
Ashfield20-Apr-10 8:45 
QuestionOLE MS-Access Database - Syntax error in FROM clause Pin
gmhanna19-Apr-10 14:33
gmhanna19-Apr-10 14:33 
AnswerRe: OLE MS-Access Database - Syntax error in FROM clause Pin
Eddy Vluggen20-Apr-10 9:13
professionalEddy Vluggen20-Apr-10 9:13 
QuestionMessage Removed Pin
19-Apr-10 3:56
professionalN_tro_P19-Apr-10 3:56 
AnswerRe: IntelliTrace not what I thought Pin
Dave Kreskowiak19-Apr-10 4:06
mveDave Kreskowiak19-Apr-10 4:06 
GeneralMessage Removed Pin
19-Apr-10 4:12
professionalN_tro_P19-Apr-10 4:12 
GeneralRe: IntelliTrace not what I thought Pin
Dave Kreskowiak19-Apr-10 10:33
mveDave Kreskowiak19-Apr-10 10:33 
Questiondifference between abstract class and interface Pin
Balaji_Reddy19-Apr-10 0:37
Balaji_Reddy19-Apr-10 0:37 
AnswerRe: difference between abstract class and interface Pin
Eddy Vluggen19-Apr-10 2:45
professionalEddy Vluggen19-Apr-10 2:45 
GeneralRe: difference between abstract class and interface Pin
Balaji_Reddy19-Apr-10 4:49
Balaji_Reddy19-Apr-10 4:49 

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.