Solved

Problem error opening xml file

Posted on 2003-11-05
3
145 Views
Last Modified: 2010-05-03
Hi

  I have a reference set to msxml4.0 in my project.
I have  this and msxml2.0 registered in my machine.

The following code works fine, but if I unregister 2.0
it does not.

Could someone advice me on how  I could use 4.0.
 thanx

Set XMLDoc = New DOMDocument
0
Comment
Question by:b3cf
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 9690232
0
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9691815
Try this:

Private Function IPtoHost(ByVal IPstr As String) As String
Try
   Dim dns As System.Net.Dns
   Dim Host As New System.Net.IPHostEntry()
   Host = dns.GetHostByAddress(IPstr)
   IPtoHost = Host.HostName
Catch err As Exception
   MsgBox(err.Message)
End Try
End Function

~ fantasy ~
0
 
LVL 5

Expert Comment

by:fantasy1001
ID: 9691818
Sorry, wrong posting
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 71
I need help formating a date variable in my VB.Net application 2 67
using Access 8 83
Macro problems with Excel file 6 21
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question