Click here to Skip to main content
15,914,016 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionObject reference not set to an instance of an object. Pin
Member 1103130429-Mar-17 23:56
Member 1103130429-Mar-17 23:56 
AnswerRe: Object reference not set to an instance of an object. Pin
Ralf Meier30-Mar-17 0:07
mveRalf Meier30-Mar-17 0:07 
GeneralRe: Object reference not set to an instance of an object. Pin
Member 1103130430-Mar-17 0:28
Member 1103130430-Mar-17 0:28 
Questionmultithreads Pin
Member 1306030229-Mar-17 20:41
Member 1306030229-Mar-17 20:41 
AnswerRe: multithreads Pin
Chris Quinn29-Mar-17 21:29
Chris Quinn29-Mar-17 21:29 
GeneralRe: multithreads Pin
Member 1306030229-Mar-17 22:16
Member 1306030229-Mar-17 22:16 
GeneralRe: multithreads Pin
Chris Quinn29-Mar-17 22:18
Chris Quinn29-Mar-17 22:18 
GeneralRe: multithreads Pin
Member 1306030229-Mar-17 23:59
Member 1306030229-Mar-17 23:59 
Questionimporting excel file to sql server Pin
Member 1305213529-Mar-17 8:31
Member 1305213529-Mar-17 8:31 
AnswerRe: importing excel file to sql server Pin
Member 1303625129-Mar-17 9:50
Member 1303625129-Mar-17 9:50 
QuestionMacro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 3:07
Member 1308978628-Mar-17 3:07 
QuestionRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 3:38
mveCHill6028-Mar-17 3:38 
AnswerRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 3:41
Member 1308978628-Mar-17 3:41 
AnswerRe: Macro to hide rows and columns with zero values Pin
CHill6028-Mar-17 3:58
mveCHill6028-Mar-17 3:58 
GeneralRe: Macro to hide rows and columns with zero values Pin
Member 1308978628-Mar-17 10:53
Member 1308978628-Mar-17 10:53 
AnswerRe: Macro to hide rows and columns with zero values Pin
ZurdoDev29-Mar-17 1:04
professionalZurdoDev29-Mar-17 1:04 
QuestionDES Coding on visual studio 2010 Pin
Member 1307673422-Mar-17 2:31
Member 1307673422-Mar-17 2:31 
GeneralRe: DES Coding on visual studio 2010 Pin
Ralf Meier22-Mar-17 3:13
mveRalf Meier22-Mar-17 3:13 
AnswerRe: DES Coding on visual studio 2010 Pin
Jochen Arndt22-Mar-17 3:14
professionalJochen Arndt22-Mar-17 3:14 
QuestionClient/Server Application - Locating Server on Network Pin
Dominick Marciano15-Mar-17 12:37
professionalDominick Marciano15-Mar-17 12:37 
SuggestionRe: Client/Server Application - Locating Server on Network Pin
Richard MacCutchan15-Mar-17 22:43
mveRichard MacCutchan15-Mar-17 22:43 
AnswerRe: Client/Server Application - Locating Server on Network Pin
Bernhard Hiller15-Mar-17 23:17
Bernhard Hiller15-Mar-17 23:17 
AnswerRe: Client/Server Application - Locating Server on Network Pin
Dave Kreskowiak16-Mar-17 3:05
mveDave Kreskowiak16-Mar-17 3:05 
Why go with only one method?

No matter what, you're going to have to do some setup on the server side. There are going to be clients who don't want your "here I am!" packets polluting their network every 10 seconds or so. These can also be spoofed by the way which is a security risk.

There are also clients who are going to want that method for ease of configuration.

You can also support the DNS approach but you're still going to have to support manual entry of the address the user wants to use, such as in a situation where they have more than one server up and running, possible one for production use and another for testing.

Now you've got to let the users choose which server. Possibly limiting that the admin setting only, ...

There's a LOT more to this than what you're thinking about in your question.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

QuestionSerial device attached to USB 3.0 port not behaving same as when attached to USB2.0 Pin
SepPax10-Mar-17 6:56
SepPax10-Mar-17 6:56 
SuggestionRe: Serial device attached to USB 3.0 port not behaving same as when attached to USB2.0 Pin
CHill6010-Mar-17 11:41
mveCHill6010-Mar-17 11:41 

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.