Click here to Skip to main content
15,904,351 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Could .net not use icon file? Pin
rushing9-Aug-05 15:44
rushing9-Aug-05 15:44 
GeneralRe: Could .net not use icon file? Pin
Dave Kreskowiak10-Aug-05 1:31
mveDave Kreskowiak10-Aug-05 1:31 
GeneralBlank MsgBox Pin
sayianjin9-Aug-05 0:41
sayianjin9-Aug-05 0:41 
GeneralRe: Blank MsgBox Pin
Anonymous9-Aug-05 1:02
Anonymous9-Aug-05 1:02 
GeneralRe: Blank MsgBox Pin
Steve Pullan9-Aug-05 2:07
Steve Pullan9-Aug-05 2:07 
GeneralRe: Blank MsgBox Pin
sayianjin9-Aug-05 4:20
sayianjin9-Aug-05 4:20 
GeneralRe: Blank MsgBox Pin
Steve Pullan9-Aug-05 15:33
Steve Pullan9-Aug-05 15:33 
GeneralQuestion about returning a Structure as string (ToString) Pin
MaWeRic9-Aug-05 0:27
MaWeRic9-Aug-05 0:27 
Check this:
Public Class Params

Private Shared iParam As Integer

Public Structure ParamFields
Public FieldArray() As String
Public Const Value1 As Integer = 1
Public Const Value2 As Integer = 2
End Structure

Public Function Value(ByVal sequenceID As Integer, ByVal routinID As Integer) As ParamFields
'This is where some action must be carried out before I read Value1 and Value2.
'Using a structure in this way is only way to accoumplish this I think?????
End Function

End Class

I use it like this :
------------------------------------
dim oParam as new Params
msgbox(oParam.Value(10,11).Value1)
------------------------------------

In this example Value1, Value2 is constants but they can change depening on what I pass to Value-function.

My question ... Can I retrieve Value1 by using:
-------------------------------------------------
dim oParam as new Params
msgbox(oParam.Value(10,11))
-------------------------------------------------
i.e use Value1 as default trough ToString or something else? any suggestions?

Regards // Maw
GeneralRe: Question about returning a Structure as string (ToString) Pin
Steve Pullan9-Aug-05 18:01
Steve Pullan9-Aug-05 18:01 
Generalsend signal to PDA Pin
nurulhaini8-Aug-05 20:06
nurulhaini8-Aug-05 20:06 
GeneralMapping a header to a datasource for a datagrid. Pin
mcupryk8-Aug-05 19:53
mcupryk8-Aug-05 19:53 
QuestionHow to get the key of a treenode? Pin
rushing8-Aug-05 18:09
rushing8-Aug-05 18:09 
AnswerRe: How to get the key of a treenode? Pin
MaWeRic9-Aug-05 0:29
MaWeRic9-Aug-05 0:29 
GeneralBarcode Code. Pin
makeko8-Aug-05 14:15
makeko8-Aug-05 14:15 
GeneralRe: Barcode Code. Pin
Christian Graus8-Aug-05 14:25
protectorChristian Graus8-Aug-05 14:25 
QuestionHow do I extract my class from a Drag & Drop ComObject? Pin
Neil West8-Aug-05 11:24
Neil West8-Aug-05 11:24 
GeneralSeting Folder Permissions Pin
rrd9c8-Aug-05 5:06
rrd9c8-Aug-05 5:06 
GeneralRe: Seting Folder Permissions Pin
Dave Kreskowiak8-Aug-05 5:18
mveDave Kreskowiak8-Aug-05 5:18 
GeneralVB.Net/Copy SQL table Pin
partt8-Aug-05 3:40
partt8-Aug-05 3:40 
GeneralRe: VB.Net/Copy SQL table Pin
Dave Kreskowiak8-Aug-05 4:01
mveDave Kreskowiak8-Aug-05 4:01 
GeneralRe: VB.Net/Copy SQL table RESOLVED Pin
partt8-Aug-05 4:09
partt8-Aug-05 4:09 
GeneralFrom the device Pin
JJRW7-Aug-05 23:40
JJRW7-Aug-05 23:40 
GeneralRe: From the device Pin
Dave Kreskowiak8-Aug-05 3:58
mveDave Kreskowiak8-Aug-05 3:58 
GeneralConvert String to Double with formatting Pin
MrBean7-Aug-05 23:01
MrBean7-Aug-05 23:01 
GeneralRe: Convert String to Double with formatting Pin
Anonymous8-Aug-05 3:30
Anonymous8-Aug-05 3:30 

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.