How evident (if only you know it). Thanks!
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
Following code reflects an attempt to create a class that has a list as its property
Public Class AppParms
Private m_parmbag() As List(Of AppParm)
Property Parmbag() As List(Of AppParm)
Get
Return m_parmbag
End Get
Set(ByVal value As List(Of...
That did it, thanks
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
Panel2 of a SplitContainer (spcBody) may or may not contain controls that are visible. Under certain conditions I want all controls to be invisible. I wrote following piece of code:
'if there are controls on the panel to the right of the splittercontrol,
'then hide them
Select...
Problem seems to be solved by adding the ScriptErrorsSuppressed property:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
wb.ScrollBarsEnabled = True
wb.ScriptErrorsSuppressed = True
wb.GoHome()
End Sub...
I have a Form (Form1) that just contains a Webbrowser control (wb)
The following code is put in the form's Load event
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
wb.ScrollBarsEnabled = True
wb.GoHome()
End Sub
Upon...
Given the following XML document:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ISO_CCY_CODES>
<ISO_CURRENCY>
<ENTITY>AFGHANISTAN</ENTITY>
<CURRENCY>Afghani</CURRENCY>
<ALPHABETIC_CODE>AFN</ALPHABETIC_CODE>
<NUMERIC_CODE>971</NUMERIC_CODE>
<MINOR_UNIT>2</MINOR_UNIT>...
Message got, Project cancelled. Manual interface will do.
Thanks to all for time and effort.
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
Thanks for taking time to investigate my question. Probably NYSE Liffe Equity Derivatives Market Summaries could satisfy my request in a more structured way. But its price (€175/month) looks prohibitive to me.
Perhaps I have to add that I am in no way a professional user and I have no intention...
I used (and still like) to scrape stock information from some web pages. For instance, I use(d) the NYSE Euronext pages to extract Option prices. I could find that information by displaying the HTML source and by comparing it to the actual displayed page. I then could locate some "markers"...
The clever compiler assumes that a strLocalDecimalSeparator other than "." or "," may be presented at run time, therefore it wants an Else clause in the Select statement to cover that possibility.
I changed that Select to
Select Case strLocalDecimalSeparator...
Thanks tsuji: Your post was a major breakthrough for me. It was not at all obvious to me how handle the namespaces prefixes. I finally came up with the following code (and I apologize for not blindly copying yours [smile])
Imports System.Xml.Linq
Module Module1
Sub Main()
Dim...
By trial and error, I managed to extract exchange rates from the official ECB (European Central Bank) website;
Following piece of code was used:
Imports System.Xml.Linq
Imports <xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01">
Imports...
I know how to retrieve an internet page with a given URL through the XMLHTTP object. However I now stumbled upon a page that contains a pull down menu from which to select an item. How can I programatically select an item and retrieve the resulting page?
_________________________________
In...
RoyVidar: the recordset is obtained as a property of a class object. Therefore, in priciple, its underlying query is not exposed to the program.
As I also wrote the class code, I have obviously access to that query, so I could write a new join. But then I have to maintain at least partially...
After some further googling, I came to the conclusion that it is not even possible to join two recordsets by natural sql commands.
Unless I overlooked something
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed...
Is it possible to join an in-memory recordset (ADODB) with an access table?
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
I put a Listview control on an access form. I had to address it as a CustomControl while passing it to a subroutine. I was able to put the ListItems/subItems on the Listview control. So far, so good.
But the control does not respond to any click event (e.g. column headers or scrollbars).
Any...
use Scalar::Util qw(openhandle);
my $FH = undef;
my $ofh = 'test.out';
open($FH,">$ofh") or die "can not open file\n";
if (openhandle($FH) ) {
print "--do something with open file--\n";
}
else{
print "--do something else: file is not open\n";
}...
use Scalar::Util qw(openhandle);
if (openhandle($LogFile)){--do something with open file--}
else{--do something else: file is not open)}
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
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.