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?
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...
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...
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...
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 =...
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 =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.