Click here to Skip to main content
15,909,242 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Textbox settings Pin
EliottA23-Jan-09 2:15
EliottA23-Jan-09 2:15 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:31
mveDave Kreskowiak23-Jan-09 4:31 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:30
mveDave Kreskowiak23-Jan-09 4:30 
QuestionProblem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 0:36
Calferreira23-Jan-09 0:36 
AnswerRe: Problem - How to "Communicate" between Classes Pin
JR21223-Jan-09 0:51
JR21223-Jan-09 0:51 
AnswerRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 1:29
Jay Royall23-Jan-09 1:29 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 2:31
Calferreira23-Jan-09 2:31 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 2:45
Jay Royall23-Jan-09 2:45 
Sure, in an ideal world it would be great not to have to repeat any code whatsoever, but in my (limited) experience, it isn't always possible or practical. I'm sure it would be possible to achieve what you are attempting but for the amount of code you will be saving, it may be more trouble than its worth. Maybe a more experienced developer can other their opinion on this?

Just as an example, here is a snippet of code I use in each class to insert records into a database, as you can see, there isn't really much to it.
Using cnnSQL As New SQL.SqlConnection(My.Settings.ConnectionString)
            cnnSQL.Open()

            Using cmdSQL As New SQL.SqlCommand(<<stored procedure name>>, cnnSQL)
                cmdSQL.CommandType = CommandType.StoredProcedure

                With cmdSQL.Parameters
                   'add parameters here
                End With

                cmdSQL.ExecuteNonQuery()

            End Using

        End Using

GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 4:25
Calferreira23-Jan-09 4:25 
QuestionHow to replace the usercontrol dynamically Pin
karthick sampangi22-Jan-09 22:36
karthick sampangi22-Jan-09 22:36 
AnswerRe: How to replace the usercontrol dynamically Pin
Wendelius22-Jan-09 22:41
mentorWendelius22-Jan-09 22:41 
QuestionProblem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 22:03
RA|-|UL PATEL22-Jan-09 22:03 
AnswerRe: Problem with Datagridview Combobox column... Pin
darkelv22-Jan-09 22:11
darkelv22-Jan-09 22:11 
GeneralRe: Problem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 22:36
RA|-|UL PATEL22-Jan-09 22:36 
GeneralRe: Problem with Datagridview Combobox column... Pin
darkelv22-Jan-09 22:57
darkelv22-Jan-09 22:57 
AnswerRe: Problem with Datagridview Combobox column... [modified] Pin
Wendelius22-Jan-09 22:44
mentorWendelius22-Jan-09 22:44 
GeneralRe: Problem with Datagridview Combobox column... [modified] Pin
RA|-|UL PATEL22-Jan-09 23:01
RA|-|UL PATEL22-Jan-09 23:01 
GeneralRe: Problem with Datagridview Combobox column... Pin
Wendelius22-Jan-09 23:05
mentorWendelius22-Jan-09 23:05 
GeneralRe: Problem with Datagridview Combobox column... Pin
RA|-|UL PATEL22-Jan-09 23:32
RA|-|UL PATEL22-Jan-09 23:32 
GeneralRe: Problem with Datagridview Combobox column... Pin
Wendelius22-Jan-09 23:47
mentorWendelius22-Jan-09 23:47 
AnswerRe: Problem with Datagridview Combobox column... Pin
Ashutosh Phoujdar22-Jan-09 23:59
Ashutosh Phoujdar22-Jan-09 23:59 
QuestionRemote Connection While using Attached Database file in MssqlExpress 2005 Pin
r_mohd22-Jan-09 18:05
r_mohd22-Jan-09 18:05 
AnswerRe: Remote Connection While using Attached Database file in MssqlExpress 2005 Pin
Ashutosh Phoujdar22-Jan-09 19:03
Ashutosh Phoujdar22-Jan-09 19:03 
AnswerRe: Remote Connection While using Attached Database file in MssqlExpress 2005 Pin
Wendelius22-Jan-09 20:49
mentorWendelius22-Jan-09 20:49 
Questionfiles from subfolder Pin
jishbalan22-Jan-09 17:11
jishbalan22-Jan-09 17:11 

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.