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

Visual Basic

 
QuestionImage in Crystal Report at runtime Pin
anshul soni10-Sep-08 19:56
anshul soni10-Sep-08 19:56 
QuestionOpening files in fileListBox Pin
annir10-Sep-08 17:21
annir10-Sep-08 17:21 
AnswerRe: Opening files in fileListBox Pin
C1AllenS10-Sep-08 21:13
C1AllenS10-Sep-08 21:13 
AnswerRe: Opening files in fileListBox Pin
jzonthemtn11-Sep-08 6:30
jzonthemtn11-Sep-08 6:30 
QuestionIs it possible to check for x32 vs x64 processors in vb6? Pin
Jon_Boy10-Sep-08 9:49
Jon_Boy10-Sep-08 9:49 
AnswerRe: Is it possible to check for x32 vs x64 processors in vb6? Pin
jzonthemtn10-Sep-08 10:02
jzonthemtn10-Sep-08 10:02 
GeneralRe: Is it possible to check for x32 vs x64 processors in vb6? Pin
Jon_Boy11-Sep-08 3:06
Jon_Boy11-Sep-08 3:06 
QuestionHow to code dns lookup application using VB.net 2008? [modified] Pin
rakyomin10-Sep-08 8:46
rakyomin10-Sep-08 8:46 
Hi all,

I am using visual basic express 2008

1. How do I hardcode 2 ddns servers in vb.net? Or should i hardcode? can dns.gethostentry(dim host as string) resolve my domain without me specifying which dns server use to resolve?

2. I could not run my code successfully, below is the code.

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            Dim host As IPHostEntry
            Dim hostname As String = textbox1.text
            host = Dns.GetHostEntry(hostname)
            Dim fqdnAddress As String = host.AddressList(0).ToString()
            TextBox2.Text = fqdnAddress
        Catch ex As Exception
            MsgBox("Unknown error")
        Finally

        End Try
          End Sub
End Class


modified on Wednesday, September 10, 2008 2:55 PM

AnswerRe: How to code dns lookup application using VB.net 2008? Pin
rakyomin10-Sep-08 10:00
rakyomin10-Sep-08 10:00 
GeneralRe: How to code dns lookup application using VB.net 2008? Pin
Johan Hakkesteegt10-Sep-08 20:01
Johan Hakkesteegt10-Sep-08 20:01 
AnswerRe: How to code dns lookup application using VB.net 2008? Pin
rakyomin11-Sep-08 4:25
rakyomin11-Sep-08 4:25 
QuestionBest logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 6:59
supercat910-Sep-08 6:59 
AnswerRe: Best logging/tty (teletype-style) output control? Pin
jzonthemtn10-Sep-08 7:47
jzonthemtn10-Sep-08 7:47 
GeneralRe: Best logging/tty (teletype-style) output control? Pin
supercat910-Sep-08 9:54
supercat910-Sep-08 9:54 
Questionmultiple parameters in thread Pin
Nilish10-Sep-08 6:46
Nilish10-Sep-08 6:46 
AnswerRe: multiple parameters in thread PinPopular
Christian Graus10-Sep-08 7:08
protectorChristian Graus10-Sep-08 7:08 
AnswerRe: multiple parameters in thread Pin
Mycroft Holmes10-Sep-08 15:45
professionalMycroft Holmes10-Sep-08 15:45 
QuestionPrinting PictureBox with tiled background Pin
Bob_Stan10-Sep-08 5:47
Bob_Stan10-Sep-08 5:47 
QuestionIs it possible to have a sticky topic in this forum? Pin
Jon_Boy10-Sep-08 3:29
Jon_Boy10-Sep-08 3:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Christian Graus10-Sep-08 6:29
protectorChristian Graus10-Sep-08 6:29 
AnswerRe: Is it possible to have a sticky topic in this forum? Pin
Mycroft Holmes10-Sep-08 15:49
professionalMycroft Holmes10-Sep-08 15:49 
GeneralRe: Is it possible to have a sticky topic in this forum? Pin
Jon_Boy11-Sep-08 3:00
Jon_Boy11-Sep-08 3:00 
QuestionImage contrast and sharpening Pin
JR21210-Sep-08 2:44
JR21210-Sep-08 2:44 
AnswerRe: Image contrast and sharpening Pin
Guffa10-Sep-08 3:27
Guffa10-Sep-08 3:27 
GeneralRe: Image contrast and sharpening Pin
Member 768566524-Feb-11 1:42
Member 768566524-Feb-11 1:42 

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.