Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to store and retrieve data from database via internet using VC++2008

How to store and retrieve data from database via internet using VC++2008

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialsysadminc++database
19 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shanmugarajaa
    wrote on last edited by
    #1

    Dear Friends, We have an application which is developed using VC++ 2008. This application will refer the database with in the intranet network. Now I want to access this database from different network(via internet). For example, similar to "Form" getting user details and store it in the server and retrieve data back. Kindly anyone suggest or guide me. Thanks and Regards, S.Shanmuga Raja

    L J 2 Replies Last reply
    0
    • S shanmugarajaa

      Dear Friends, We have an application which is developed using VC++ 2008. This application will refer the database with in the intranet network. Now I want to access this database from different network(via internet). For example, similar to "Form" getting user details and store it in the server and retrieve data back. Kindly anyone suggest or guide me. Thanks and Regards, S.Shanmuga Raja

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Assuming the server holding your database is accessible across the internet it would be just the same.

      Use the best guess

      S 1 Reply Last reply
      0
      • L Lost User

        Assuming the server holding your database is accessible across the internet it would be just the same.

        Use the best guess

        S Offline
        S Offline
        shanmugarajaa
        wrote on last edited by
        #3

        I want to access database from different network.. like web application.

        L R 2 Replies Last reply
        0
        • S shanmugarajaa

          I want to access database from different network.. like web application.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Repeating the same vague question is not helping your cause. What exact technical problem are you facing? Connecting from one system to another through a network, whether intra or inter is exactly the same. All you need to ensure is that each system can connect to the other through subnets and firewalls.

          Use the best guess

          S 1 Reply Last reply
          0
          • L Lost User

            Repeating the same vague question is not helping your cause. What exact technical problem are you facing? Connecting from one system to another through a network, whether intra or inter is exactly the same. All you need to ensure is that each system can connect to the other through subnets and firewalls.

            Use the best guess

            S Offline
            S Offline
            shanmugarajaa
            wrote on last edited by
            #5

            My Database in India n my user access database from some other country. Plz tell me, for this scenario what connective needed to access the database.

            L 1 Reply Last reply
            0
            • S shanmugarajaa

              My Database in India n my user access database from some other country. Plz tell me, for this scenario what connective needed to access the database.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              I already told you. And since you have given no information, other than a vague "I want to" it is impossible to offer any further suggestion.

              Use the best guess

              S E 3 Replies Last reply
              0
              • L Lost User

                I already told you. And since you have given no information, other than a vague "I want to" it is impossible to offer any further suggestion.

                Use the best guess

                S Offline
                S Offline
                shanmugarajaa
                wrote on last edited by
                #7

                Right now Application connected with database using OLEDB(connective). User are using this application within the same network(same building). Now they want to access the database from different place(not in the same network and different country). My question is same connective(OLEDB) procedure helpful for this scenario?

                1 Reply Last reply
                0
                • L Lost User

                  I already told you. And since you have given no information, other than a vague "I want to" it is impossible to offer any further suggestion.

                  Use the best guess

                  E Offline
                  E Offline
                  Erudite_Eric
                  wrote on last edited by
                  #8

                  Richard, its just another bullshitting useless engineer from the country that thinks it can, begging one of us to do the work for him. Give up, he doesnt even deserve an answer.

                  L S 3 Replies Last reply
                  0
                  • E Erudite_Eric

                    Richard, its just another bullshitting useless engineer from the country that thinks it can, begging one of us to do the work for him. Give up, he doesnt even deserve an answer.

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #9

                    Sad but true. :sigh:

                    Use the best guess

                    1 Reply Last reply
                    0
                    • E Erudite_Eric

                      Richard, its just another bullshitting useless engineer from the country that thinks it can, begging one of us to do the work for him. Give up, he doesnt even deserve an answer.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Erudite_Eric wrote:

                      useless engineer

                      And he claims to have "written a book on "Programming in C++".

                      L E 2 Replies Last reply
                      0
                      • L Lost User

                        Erudite_Eric wrote:

                        useless engineer

                        And he claims to have "written a book on "Programming in C++".

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        And he has a CodeProject article on sockets.

                        Use the best guess

                        E 1 Reply Last reply
                        0
                        • L Lost User

                          Erudite_Eric wrote:

                          useless engineer

                          And he claims to have "written a book on "Programming in C++".

                          E Offline
                          E Offline
                          Erudite_Eric
                          wrote on last edited by
                          #12

                          WTF? You got to be kidding!

                          L 1 Reply Last reply
                          0
                          • L Lost User

                            And he has a CodeProject article on sockets.

                            Use the best guess

                            E Offline
                            E Offline
                            Erudite_Eric
                            wrote on last edited by
                            #13

                            :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: And he is asking how to conect two machines on an IP network! :laugh: :laugh: :laugh: :laugh: :laugh:

                            1 Reply Last reply
                            0
                            • E Erudite_Eric

                              WTF? You got to be kidding!

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              Erudite_Eric wrote:

                              You got to be kidding

                              Well I am sure that he is. I copied that directly from his profile page.

                              1 Reply Last reply
                              0
                              • S shanmugarajaa

                                Dear Friends, We have an application which is developed using VC++ 2008. This application will refer the database with in the intranet network. Now I want to access this database from different network(via internet). For example, similar to "Form" getting user details and store it in the server and retrieve data back. Kindly anyone suggest or guide me. Thanks and Regards, S.Shanmuga Raja

                                J Offline
                                J Offline
                                jschell
                                wrote on last edited by
                                #15

                                shanmugarajaa wrote:

                                Kindly anyone suggest or guide me.

                                Don't do that. It would require exposing the database to the internet. Although it is possible to expose a database safely to the internet is VERY unlikely that you will succeed at doing it safely. Instead you write an application which talks to the database. Then your 'clients' talk to the application. This doesn't insure that it will be safe but by limiting functionality you at least narrow the attack venues and with care it can be made safe.

                                1 Reply Last reply
                                0
                                • S shanmugarajaa

                                  I want to access database from different network.. like web application.

                                  R Offline
                                  R Offline
                                  Rolf Kristensen
                                  wrote on last edited by
                                  #16

                                  You just answered the question yourself. You create a web-server-application (ASP.NET / PHP / CGI / Java etc.) on the same network as the database. Now the web-client-application can access the database through the web-server-application over the internet.

                                  1 Reply Last reply
                                  0
                                  • E Erudite_Eric

                                    Richard, its just another bullshitting useless engineer from the country that thinks it can, begging one of us to do the work for him. Give up, he doesnt even deserve an answer.

                                    S Offline
                                    S Offline
                                    shanmugarajaa
                                    wrote on last edited by
                                    #17

                                    First I am getting doubt whether you are engineers??? you don't know to behave in general forum.. If you are not interest to answer to my question then nothing Problem.. Thanks for your comments.. Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric I am sure this engineers spoil and pull down the code project respect and dignity. Dear Friends (Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric) please go through " HOW TO ANSWER A QUESTION" by Mr.Chris Maunder I hope code project take necessary action against them..

                                    L 1 Reply Last reply
                                    0
                                    • L Lost User

                                      I already told you. And since you have given no information, other than a vague "I want to" it is impossible to offer any further suggestion.

                                      Use the best guess

                                      E Offline
                                      E Offline
                                      Erudite_Eric
                                      wrote on last edited by
                                      #18

                                      Dont bother Richard, he isnt listening.

                                      1 Reply Last reply
                                      0
                                      • S shanmugarajaa

                                        First I am getting doubt whether you are engineers??? you don't know to behave in general forum.. If you are not interest to answer to my question then nothing Problem.. Thanks for your comments.. Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric I am sure this engineers spoil and pull down the code project respect and dignity. Dear Friends (Richard MacCutchan, ThePhantomUpvoter, Erudite_Eric) please go through " HOW TO ANSWER A QUESTION" by Mr.Chris Maunder I hope code project take necessary action against them..

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        If you expect some useful assistance then you need to provide proper detail of your problem, as described in http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx[^]. And despite our repeated requests you still have not done so.

                                        Use the best guess

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups