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 TouchToneTommy 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. JHPeter

    Using DirectCast in a class

    I want to write to a status bar from a class, is DirectCast the way to go as I cannot get it to work. DirectCast(Me.Owner,MainForm).stbMain.Panels(1).Text = "xyz" works fine from a form but not in a namespace/class. Can this be achieved?
  2. JHPeter

    I need to post 2 or more variables

    Try a " between the , and pwd
  3. JHPeter

    .txt file as class member

    I have now got it to work by declaring a class member Public invFile As String() and the following code: Dim fileName As String = "path to invoice file" If File.Exists(fileName) Then Dim fs As StreamReader fs = File.OpenText(pif) Dim f As String() Dim x As Integer = 0...
  4. JHPeter

    .txt file as class member

    I wish to transport an existing text file from a local client (us) through a web service(host) to numerous remote clients(our customers), so they can print off the invoices addressed to them. I can achieve this by using ftp/wininet.dll but would prefer to incorporate it into our existing data...
  5. JHPeter

    .txt file as class member

    It's an invoice as a txt file.
  6. JHPeter

    .txt file as class member

    I would like to create a class member to transport a txt file to and from a Web Service, along with other information relating to the file. Is there an easy way to achieve this? ie classmember = "c:\temp\txtfile.txt" or does it have to be achieved by a more tortuous route. It's all...
  7. JHPeter

    XmlNodeReader

    I would like to initialize a XmlNodeReader against a group of xml records in the "while" routine at the end of this code. Is this possible? Dim xmlF As String = "../XMLFILE.xml" Dim xpathDoc As XPathDocument = New XPathDocument(xmlF) Dim xpathNav As XPathNavigator =...
  8. JHPeter

    FtpGetCurrentDirectory Object reference error

    Private Declare Function FtpGetCurrentDirectory Lib "wininet.dll" Alias "FtpGetCurrentDirectoryA" (ByVal hFtpSession As Integer, ByVal lpszCurrentDirectory As Sring, ByVal lpdwCurrentDirectory As Integer) As Boolean Start New Function Dim INn, INc Dim RC As Boolean INn =...

Part and Inventory Search

Back
Top