|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2002
Posts: 1,496
|
Need help compiling
I am trying to compile a function I have into a DLL, But I am new to this and am battling a lot.
Here is the content of "xdb.VB" (The file I'm trying to compile): Code:
Imports System
Imports System.Data
NameSpace Xyuri_Debug
Public Class DataSet_Debug
Public Function DSinfo (Use_DataSet As DataSet) As String
Dim Response As String = "<table bgcolor=""#EEEEEE""><tr><td style=""font-family: verdana; font-size: 12px;"">"
Dim Tables As DataTableCollection = (Use_DataSet.Tables)
Dim DTable As DataTable
Response &= ("<b><font color=""red"">" & Use_DataSet.DataSetName & "</font></b> - ")
For Each DTable In Tables
Response &= ("<b><font color=""blue"">" & DTable.TableName & "</font></b> (")
Dim Columns As DataColumnCollection = (DTable.Columns)
Dim TColumn As DataColumn
For Each TColumn In Columns
Response &= (" <b>" & TColumn.ColumnName & " </b>" & TColumn.DataType.fullname & " ")
Next
Response &= (") ")
Next
Response &= ("</td></tr></table>")
Return Response
End Function
End Class
End NameSpace
Quote:
Quote:
I'm stuck. can anyone maybe shed a lamp on this for me ? |
||
|
|
|
|
|
#2 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Hmmm... if you're specifying System.Xml, .Net will be looking for an XML file. In your command prompt try replacing System.Xml with System.Xml.Dll. That ought to do it. [img]images/smilies/smile.gif[/img]
|
|
|
|
|
|
#3 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2002
Posts: 1,496
|
AAAAAAAH !!!! My brain is not used to me being this dumb
I didnt see a System.Xml.Dll, I only Saw System.Xml. Me looked again and see it, I'll try that first thing when I get home thanks compuwhiz ![]() |
|
|
|
|
|
#4 |
|
SitePoint Wizard
![]() Join Date: Apr 2003
Location: New Jersey
Posts: 4,250
|
Welcome.
![]() |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 13:12.






I didnt see a System.Xml.Dll, I only Saw System.Xml. Me looked again and see it, I'll try that first thing when I get home
thanks compuwhiz 



Linear Mode
