Your advice please on what programming language to use

This is a discussion on Your advice please on what programming language to use within the Windows Programming forums, part of the Platform Specific Boards category; Preface: I have not used a programming language in ~10 years (i.e. Turbo Pascal for DOS, Basic)... I need to ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    1

    Your advice please on what programming language to use

    Preface: I have not used a programming language in ~10 years (i.e. Turbo Pascal for DOS, Basic)...

    I need to check out existing Internet webpages and on those pages, I'll need to analyze the contents of that webpage & create an entry in a database (for each webpage) where different fields will show the different characteristics of that page (e.g. a field for what year the webpage was created, a field for "the author of the article" which appears on that page, a field for "Is this article still relevant today, as it was when it was written?",...)

    I am thinking the easiest way to analyze many pages, is to create a Windows program which runs in a "always-on-top" window, which is ~1/16th the size of the full screen dimensions (such that if you're running Windows at 800x600, then this always-on-top window will be 200x150 pixels in dimension) ... such that I can easily view the underlying internet webpage & will be able to enter the field values for that webpage, in the always-on-top program.

    If possible, instead of copying the URL of the wepage from Internet Explorer & pasting it into the always-on-top program, it would be great if the always-on-top program could have the ability to "suck out" the URL from the underlying IE webpage ... is that possible?

    I would then want to save the information of those various webpages into an output file, where that output file can easily be inputted into a "database program".

    Can you suggest any programming languages that is easy enough to learn, to create this kind of database-entry like Windows program?

    Thanks!

  2. #2
    Rez
    Rez is offline
    Registered User
    Join Date
    Nov 2002
    Posts
    82
    Well you could just use Perl

    But if you want it smoother for database, you can use C++ (or even C) coupled with the Winsock API.

    To scan a website, you need to create an http client program.

    Methodology:
    1) Create the client
    2) Connect to the site
    3) Write the data receive to a local file
    4) Scan the file for the details

    Much like what a web browser does

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>> I have not used a programming language in ~10 years (i.e. Turbo Pascal for DOS, Basic)...

    Given that, and the amount things have changed in the last 10 years, I think you will find the task you have set yourself ermm, ambitious?

    I don't want to discourage you, but with that kind of pedigree, a simple Windows app would require some research/work.

    There are some class libraries which would help you if you want to acheive a one off project, but they tend to break down as you get more advanced, (I'm thinking specifically about Borlands VCL, I think for this kind of project, it would be better/easier than MFC)

    You will otherwise need to explore the protocols of the net, certainly http, and the html "language", but nowdays also many pages are active and to pull them apart you'd need to style sheets, scripts, etc. etc.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ASM to C language
    By TAZIN in forum C Programming
    Replies: 22
    Last Post: 06-03-2009, 07:29 AM
  2. girl friend advice (prob. the wrong place)
    By B0bDole in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 10-22-2004, 07:38 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 02:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 02:20 AM
  5. Enough language discussions.
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 06-13-2004, 10:59 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21