Click here to Skip to main content
15,905,566 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: COM port communication.. Pin
Rajesh Anuhya11-Nov-08 19:50
professionalRajesh Anuhya11-Nov-08 19:50 
GeneralRe: COM port communication.. Pin
Subjugate11-Nov-08 19:57
Subjugate11-Nov-08 19:57 
AnswerRe: COM port communication.. Pin
Rajesh Anuhya11-Nov-08 20:07
professionalRajesh Anuhya11-Nov-08 20:07 
AnswerRe: COM port communication.. Pin
Dave Kreskowiak12-Nov-08 3:05
mveDave Kreskowiak12-Nov-08 3:05 
QuestionHELP IN VB.NET Pin
Member 568615211-Nov-08 16:43
Member 568615211-Nov-08 16:43 
AnswerRe: HELP IN VB.NET Pin
Nanda_MR11-Nov-08 17:20
Nanda_MR11-Nov-08 17:20 
GeneralRe: HELP IN VB.NET Pin
Member 37093392-Dec-08 7:30
Member 37093392-Dec-08 7:30 
QuestionSaving Code and saving time. Pin
Herrwolf111-Nov-08 8:38
Herrwolf111-Nov-08 8:38 
Hello,
What practice is best if you are trying to save coping and pasting thousands of lines of reusable code. Currently I have all the code in a module. I have included an example. The problem I'm having is; I cannot retrieve any information from a calling sub in a form.
I'm trying to have a combo box with the size listing and I want to retrieve a specific piece of information when selecting a size. Like the "HEIGHT". I have to use Class Library's for my projects to create dll files that will work with my 3D modeling program. I've read some about creating class objects but not sure about how to accomplish that or if it's really what I need to do. If someone could shed some light on my dilemma, I would really appreciate it.



Module Module1
Public Function RMT(ByVal RMTSize As String, Optional ByRef WIDTH As Double = 0, Optional ByRef HEIGHT As Double = 0, Optional ByRef WALLTH As Double = 0, Optional ByRef OUTRAD As Double = 0) As Double
Select Case RMTSize
Case "3 x 2 x 3/16"
WIDTH = 3.0
HEIGHT = 2.0
WALLTH = 0.1875
OUTRAD = 0.375
Case "3 x 2 x 1/4"
WIDTH = 3.0
HEIGHT = 2.0
WALLTH = 0.25
OUTRAD = 0.5
AnswerRe: Saving Code and saving time. Pin
nlarson1111-Nov-08 10:44
nlarson1111-Nov-08 10:44 
AnswerRe: Saving Code and saving time. Pin
Guffa11-Nov-08 14:23
Guffa11-Nov-08 14:23 
QuestionNeed Help in Vb.net Pin
sarfarazaliqureshi11-Nov-08 8:12
sarfarazaliqureshi11-Nov-08 8:12 
AnswerRe: Need Help in Vb.net Pin
Jon_Boy11-Nov-08 8:17
Jon_Boy11-Nov-08 8:17 
AnswerRe: Need Help in Vb.net Pin
elektrowolf11-Nov-08 8:55
elektrowolf11-Nov-08 8:55 
QuestionNeed help: how do i create a WB.NET application that searches for a file [modified] Pin
petterroea11-Nov-08 8:03
petterroea11-Nov-08 8:03 
AnswerRe: Need help: how do i create a WB.NET application that searches for a file PinPopular
jzonthemtn11-Nov-08 8:39
jzonthemtn11-Nov-08 8:39 
GeneralRe: Need help: how do i create a WB.NET application that searches for a file Pin
EliottA11-Nov-08 9:19
EliottA11-Nov-08 9:19 
AnswerRe: Need help: how do i create a WB.NET application that searches for a file Pin
Steven J Jowett11-Nov-08 11:03
Steven J Jowett11-Nov-08 11:03 
QuestionAutoIncrement column of datagridview increments while sorting Pin
afsal qureshi11-Nov-08 7:51
afsal qureshi11-Nov-08 7:51 
Questionhow to move to next row in datagridview Pin
heshatta11-Nov-08 6:37
heshatta11-Nov-08 6:37 
QuestionNeed help: how to add my own skin to my app in VB.NET visual studio Pin
petterroea11-Nov-08 5:38
petterroea11-Nov-08 5:38 
AnswerRe: Need help: how to add my own skin to my app in VB.NET visual studio Pin
Paul Conrad11-Nov-08 6:18
professionalPaul Conrad11-Nov-08 6:18 
QuestionHow to round a double correctly... [modified] Pin
CCG311-Nov-08 5:00
CCG311-Nov-08 5:00 
AnswerRe: How to round a double correctly... Pin
Fabio V Silva11-Nov-08 5:14
Fabio V Silva11-Nov-08 5:14 
GeneralRe: How to round a double correctly... Pin
CCG311-Nov-08 5:23
CCG311-Nov-08 5:23 
GeneralRe: How to round a double correctly... Pin
Guffa11-Nov-08 7:09
Guffa11-Nov-08 7:09 

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.