Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. nwruiz

    SourceSafe Internet & Windows Integrated Authentication

    Hello, I was hoping that someone could help get me started with configuring my instance of SourceSafe to allow remote access via HTTPS. I went into the SourceSafe admin tool and created a user account and password (other than the admin) and also added the web services, etc. to my Default...
  2. nwruiz

    XSD defining element whose text matches a pattern and has attributes

    I am attempting to define an attribute within my XSD that can represent something like the following: <EnrollmentNumber alias="Account Number">0013423521</EnrollmentNumber> This almost does the trick: <xs:element name="EnrollmentNumber"> <xs:complexType> <xs:simpleContent>...
  3. nwruiz

    ADO.NET convert string to strongly typed XML class

    Imports PPL.PPLSolutions.Billing.BackingSheets Public Class XmlTest Public Sub Main(ByVal args() As String) Dim myInvoiceSummary As New Mailer.ROWSET() Dim myXml As String = "<?xml version=""1.0"" encoding=""utf-8""?>" & vbNewLine & _ " <ROWSET...
  4. nwruiz

    ADO.NET convert string to strongly typed XML class

    Hello, I am retrieving an XML document stored as a string from an Oracle stored procedure (XML was generated through a PL/SQL query): <ROWSET> <ROW> <KY_PND_SEQ_TRANS>100000</KY_PND_SEQ_TRANS> <KY_BA_LEAD_ZEROS>000000009</KY_BA_LEAD_ZEROS> <DT_PERIOD_START>28-Jun-2007</DT_PERIOD_START>...
  5. nwruiz

    Loading Oracle table schema information into DataTable.

    Hello, I would like to use System.Data.OracleClient to load a table's schema information into a DataTable object. I would essentially like to use the information from a "DESCRIBE TABLE" query to define the types within my DataTable. How would I go about doing this? Is OracleClient sufficient...
  6. nwruiz

    Get bin directory from an ASP.NET web service (GetExecutingAssembly)

    Hello, I would like to locate the bin directory of the executing assembly of an ASP.NET web service during runtime. Normally, with console and windows applications, I could simply use Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly.Location) However, when debugging my...
  7. nwruiz

    XSD validation - choose between an attributeGroup

    Ah, type inheritance...got it. Much like an interface in object-oriented language. Thanks to you, the XSD is now valid. Nick Ruiz
  8. nwruiz

    XSD validation - choose between an attributeGroup

    So, instead of being able to define the schema as this: <xs:element name="Column"> <xs:complexType> <xs:choice> <xs:group ref="Text" /> <xs:group ref="Number" /> <!-- <xs:attribute name="value" type="xs:date"/> --> </xs:choice> <xs:attribute name="name" type="xs:string"...
  9. nwruiz

    XSD validation - choose between an attributeGroup

    FYI...my schema header is defined as <?xml version="1.0" encoding="utf-8" ?> <xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd" elementFormDefault="qualified" xmlns="http://tempuri.org/XMLSchema.xsd" xmlns:mstns="http://tempuri.org/XMLSchema.xsd"...
  10. nwruiz

    XSD validation - choose between an attributeGroup

    Hello, I am relatively new to designing XSD's and have been fairly successful, aside from the problem listed below: <!-- Numeric tags --> <xs:attributeGroup name="Number"> <xs:attribute name="precision" use="optional"> <xs:simpleType> <!-- Precision must be 0-10 decimals -->...
  11. nwruiz

    Error reading Excel spreadsheet via OleDb

    Hello, I am trying to use OleDb to extract information from an Excel spreadsheet I am downloaded from the Internet. The OleDbCommand command text I am using is here: oleCmd.CommandText = "SELECT [MO], [DA], [YR], [S], [ ID], [T], [1/13], [2/14], [3/15], [4/16], " & _...
  12. nwruiz

    RegEx help!

    Looks good! Thank you for your help! Nick Ruiz
  13. nwruiz

    RegEx help!

    Thanks for your help! Now, allow me to explain why I want to fix these problems. I am actually pulling this HTML source from a website and would like to store it in an XML-structured object. However, in .NET, I can't do this, since it's not proper XML (or for my purposes, XHTML). Scraping from...
  14. nwruiz

    RegEx help!

    I'm not actually using Perl, but I know that most RegExp pros use it regularly with Perl. RegExps go across programming languages, and unfortunately, Tek-tips does not have a forum dedicated to them. My actual solution is in .NET, but I feel that both I could get a better answer in this forum...
  15. nwruiz

    RegEx help!

    This RegEx meets my immediate needs for cleaning this fragment, but it would not satisfy the general condition I am trying to fix. It captures any <td> cell where an <a> tag does not immediately follow the beginning of the <td> element. I need it to capture any <td> element where no <a> tag...
  16. nwruiz

    RegEx help!

    Here comes a question from a RegEx newbie. I have the following HTML fragment that I am trying to fix: <table cellpadding="3" cellspacing="0" bordercolor="#CCCCCC" border="1"> <tr align="Center" bgcolor="#CCCCCC"> <td valign="top" class="tablefont" colspan="2"><b>Service Classification for...
  17. nwruiz

    .NET regular expresions to repair malformed XHTML

    Perhaps I may be on my way to solving this problem. I managed to extract the integers I needed from the "Line 36," and "position 56." examples by making the following modification: ' This is just a code snippet. Please refer to the code in the previous post for the context. Dim line As Integer...
  18. nwruiz

    .NET regular expresions to repair malformed XHTML

    Hello, I have the following regular expressions that I am trying to use in my VB.NET 2.0 code. This code attempts to react to an XmlException to try to fix the malformed XML. 'Trying to parse information from the following exception message: 'The 'td' start tag on line 36 does not match the...
  19. nwruiz

    Storeed procedures in MYSQL Administrator 1.1.9

    I have encountered the same problem - except that when I try to write a second stored procedure, it overwrites the first. Does anyone know of a solution to this problem? Nick Ruiz Associate Integrator PPLSolutions IT Billing and Transactions
  20. nwruiz

    newbie - email reader

    Hi Steve, I'm struggling with the same scenario. In my research, I have found that it is possible to do this if you have MS Outlook installed on the machine that would run your code. Basically, you would use COM to access your Outlook client, which would allow you to fetch emails. One article I...

Part and Inventory Search

Back
Top