Results 1 to 9 of 9

Thread: how to connect

  1. #1

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Unhappy how to connect

    Friends,
    I am having a database for my website. That is, it displays the marksheet of the students in the webpage. I want to update the database using my software created in VB. I mean, my computer will be connected to the internet and I want to make changes to the database(which is residing in the webserver) using my software. How can I connect to the database(I am using Access database) in the webserver. Is there any way.????

    My purpose is, to update the students marksheet in database(situated in the webserver) rather than uploading the full database file itself.

    I don't want to download the whole database file from the website and then make changes and then upload it. I hate it... because if the database is a little bit large, then the uploading process will take a lot of time. So, making direct changes to the database in the server, will save a lot of time....

    Help me....please...

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  2. #2

  3. #3

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: how to connect

    Its Access 2003 database and I am using ASP (vbscript) for my webpages. I am using ADO connection in the webpage for showing the marksheet....

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: how to connect

    Thread moved to Database Development forum (the "VB6" forum is meant for questions which don't fit in more specific forums)

    There is a method, but it is unreliable and requires you to have certain permissions on the server. You can find a link in the "Access" section of our Database Development FAQs/Tutorials (at the top of this forum)

    If you have the option, it would be better to get rid of Access and use a server-based database system instead (such as MySQL/Oracle/SQL Server/...).

  5. #5

  6. #6

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: how to connect

    Do you hav some code to connect. I had seen si's code for connecting remoteserver. In that code, how can I find the i.P address of my website.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  7. #7

    Thread Starter
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: how to connect

    Rhino, which of the above mentioned databases, is easy to create. Because I didn't have any prior knowledge of using any of the above.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: how to connect

    You can only use software (including database systems) that your web hosting company allows you to - they should have information on their web site about which database systems are supported.

    Note that support for a particular kind of database does not necessarily mean that you will be able to connect remotely - it just means that code in your website (eg: ASP pages) can connect. You might need to contact the hosting company to get them to allow remote connections.
    Quote Originally Posted by akhileshbc
    Do you hav some code to connect. I had seen si's code for connecting remoteserver. In that code, how can I find the i.P address of my website.
    I don't think it was my code.

    Anyhoo... I haven't tried it, but you can probably use the web address (eg: vbforums.com) instead of the IP address.

    If that doesn't work, you wouldn't use code to find the IP address, that is something that you should know already (or can find easily by doing a Ping on the address).
    Last edited by si_the_geek; Jul 30th, 2008 at 12:59 AM.

  9. #9
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: how to connect

    Quote Originally Posted by akhileshbc
    Rhino, which of the above mentioned databases, is easy to create. Because I didn't have any prior knowledge of using any of the above.
    Let's just say that they are all equally different from MS Access. Each db engine has lots of features that make them all unique however they all share plenty of similarities either.
    At some point you have to start learnig, right? So why not now?
    Get a copy of each and try doing something very simple just to get an idea and then continue with the product that suits you best.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width