Jump to content
Xtreme .Net Talk

Accessing database of another computer using VB window App - possible?


Recommended Posts

Posted

Hi everybody,

Is it possible to write a windows application that has internet connectivity and able to access a remote database?

 

I want to avoid using a web application because the postbacks are making the program very slow. I'm not an expert in Javascript eiher so i'm thinking of a windows application.

 

What do you think?

Posted

Sure it is...

all you need is the right connectionstring.

by the way... you don't use javascript to access databases... you use server side code... asp.net is a good server side technology... in asp.net you can write in VB.net and C#

 

greets

  • Administrators
Posted

Depends on the database, network configuration and how you intend to access the database itself.

 

If you intend to access the database directly you would probably need to set various ports on the firewall to forward to the server in question, the exact ports required will be dependant on the DB in question.

 

Do be aware though that doing this could be a massive security risk as you are now potentially opening your DB to anyone on the internet, this is probably best described as 'a bad thing'.

 

You might want to investigate web services as a possible solution - these would allow yuo provide a programmatic interface that can be called via HTTP without opening up the DB itself.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...