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 Rhinorhino 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: *

  • Users: rvBasic
  • Content: Threads
  • Order by date
  1. rvBasic

    List as Class Property

    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...
  2. rvBasic

    Hiding Controls

    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...
  3. rvBasic

    webbrowser control scrolling

    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...
  4. rvBasic

    Linq to XML - Type Casting

    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>...
  5. rvBasic

    HTML source code?

    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"...
  6. rvBasic

    LINQ to XML - namespaces

    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...
  7. rvBasic

    retrieving a page containing a pull down menu

    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...
  8. rvBasic

    JOIN Recordset with Table

    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]
  9. rvBasic

    OCX control on a form

    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...
  10. rvBasic

    immediate window

    Is it possible to clear the immediate window while debugging? _________________________________ In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
  11. rvBasic

    Split function delimiter

    Does the split function allow for multicharacter delimiters? According to [link ms-help://MS.VSCC.v90/MS.msdnexpress.v90.en/dv_vbalr/html/7e33b047-48fc-493b-bb8d-7d1ac3f90038.htm]Ms-help[/help]: only a one character length string can be used. But some examples shown on the same page seem to...
  12. rvBasic

    Checking for an undefined array

    The following subroutine (pseudo code) can return an array or undef depending on validity checking of the input parameters; sub rout{ my @Ar = $_[0]=~m/([\+-])?\s*([\d:]+),(\d{3}$)/; #Some processing follows that results in either # if valid parameters: return (@Ar); # or (if invalid) return...
  13. rvBasic

    Which database do I query?

    I have a program that runs on several systems which have either MSServer or Oracle as supporting database. Unfortunately a query that runs on one database may not run on another type, because of the different SQL dialects (especially with date/time manipulation) As I have to cope with only two...
  14. rvBasic

    My first module

    Having written some general subs, I thought it useful to put them in a module myUtil.pm. It was structured as follows: use strict; sub AAA {xxx;} sub BBB {yyy;} The module was put in the same library as the following main (rvBasic.pl)program: use qw(AAA); $zz=&AAA($a1,$a2); The program aborted...
  15. rvBasic

    file handling in subroutines

    I have a main program that could open an error log file. That program calls a subroutine with the file handle as one of the optional arguments. What I like to do in the subroutine is as follows: - If the argument does not exist, use STDOUT as a log file - If the argument exists, check if the...
  16. rvBasic

    Perl on U3 flash drive

    Does there exist a Perl version that can be installed on and run from a U3 Flash Drive (e.g. SanDisk USB stick?) _________________________________ In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
  17. rvBasic

    Escape characters and string length

    Following snippet $str="\nabc d\bef z\n"; print "\$str $str has ".length($str)." characters\n"; $cnt=0; while ($str=~/./g){$cnt++}; print "or has it $cnt characters?\n";displays this output:$str abc def z has 12 characters or has it 10 characters? It is my understanding that the length...
  18. rvBasic

    Norton 2008 causes VBA runtime error 430

    This thread is (almost) a duplicate. The original was posted on the Symanec: Norton Antivirus forum at http://www.tek-tips.com/viewthread.cfm?qid=1453169&page=1 As the problem relates to automating the IExplorer through VBA, I also post my severe problem on this forum I have used the...
  19. rvBasic

    Norton 2008 causes VBA runtime error 430

    I have an MS Access application that ran perfectly. Through a VBA macro module within that aplication, I accessed the Web to get some specific information that was subsequently added to the data base. That application ran without a problem when Norton 2007 was present. After upgrading to...
  20. rvBasic

    Printing multiline

    Writing to an error log, I used following construct: #separate print statements print "first line\n"; print "second line\n"; print "third line\n"; print "\n"; It then occured to me that I called the print function 4 times and that it would probably be more performant to use #Single print -...

Part and Inventory Search

Back
Top