Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,207,531 members, 7,999,352 topics. Date: Monday, 11 November 2024 at 04:44 AM |
Nairaland Forum / Science/Technology / Programming / Someone Please Help Solve This Problem. (2222 Views)
PHP Guys Please Help Me Solve This Problem / Programmers help me With This Problem Pls !!!!!!!!!!! / How Will You Approach This Problem, Logic Needed? (2) (3) (4)
Someone Please Help Solve This Problem. by VURN(m): 11:59am On Apr 21, 2012 |
[color=#990000][/color] I developed an application using ms access for database and VB.NET for front end. The application is a stand alone application but my supervisor wants it to run on a local area network (LAN). Please help me VB.NET programmers, time is already running out on me. Please say something. |
Re: Someone Please Help Solve This Problem. by lordZOUGA(m): 4:45pm On Apr 21, 2012 |
I am not a .NET programmer. you should google your problem. Am sure other.NET programmers must have encountered a similar problem. I suppose if data is being transferred, at an instance a computer is serving as host and another is serving as client {Client side}: Here is what I will do if I have ur problem: I will look for a format to transport my data over the network.(xml, JSON)?. I will make sure my software will be able generate and parse any data form I choose (the .NET framework should have those classes already created, if not, search the web or create one yourself). You make a request to the host computer(which should have a script running that helps it handle requests). Parse the data you get from the host and use the data in whatever way u want. |
Re: Someone Please Help Solve This Problem. by Kobojunkie: 12:25am On Apr 22, 2012 |
This answer to your question could be as simple as changing the Database connection string server name, to suggesting a re-design of your application. You need to at least give us a better idea of what you mean when you say you want your application to run on the local network, and what your application currently does, or is not doing. Try to ask your supervisor to give you a good picture of what exactly he wants and then come back and give us an idea of what it is you are required to have this application do. |
Re: Someone Please Help Solve This Problem. by okeyxyz(m): 3:50am On Apr 22, 2012 |
VURN: [color=#990000][/color] Well, i don't know anything about vb.net, but i'm gonna assume you can server-script with it, and that you already have your app running on a server(apache, IIS, wamp, etc). so here's a simple idea: first change your server ip address-method from DHCP to static & manually assign an ip address to it, then do one of two things: either go to each system on the LAN that will access this server and access a file named HOST(just host, not host.txt or any host whatever) in the folder c:\windows\system32\drivers\etc\(again, assuming u r using windows. sorry, i don't know anything about linux, etc). you need to open this file as an administrator, you will find ip address & host entries including: 127.0.0.0 localhost then you'd need to add on a separate line, the ip address(which you statically assigned b4) & hostname for the server hosting your app eg: 192.168.0.4 almighty_server this is known as DNS-hacking. save this configuration & that's it. so when you type almighty_server(or 192.168.0.4) into a browser, it would route you to the host server & thus you can access your app through browser. if you don't wanna do this for each computer on the LAN, you can log into the local router(if you know how to manipulate your router), the router is usually the local DNS server for your LAN. simply include this same entry into it's DNS table. so when you type "almighty_server" in your browser on the LAN, you'd be redirected to the app host server. hope this helps. |
Re: Someone Please Help Solve This Problem. by parosky(m): 12:33pm On Apr 22, 2012 |
The only serious problem is that you cannot connect to ms access database over a network. So you need to change you database to one that support connection over the network. MS sql Server, oracle, mysql are examples. I use mysql. Then just change your connection string to reflect the name of the server machine. Chikenah! |
Re: Someone Please Help Solve This Problem. by parosky(m): 12:34pm On Apr 22, 2012 |
The only serious problem is that you cannot connect to ms access database over a network. So you need to change you database server to one that support connection over the network. MS sql Server, oracle, mysql are examples. I use mysql. Then just change your connection string to reflect the name of the server machine. Hope you already have a network on which to run it or you may try it on a virtual machine. Chikenah! |
Re: Someone Please Help Solve This Problem. by Beaf: 4:24pm On Apr 22, 2012 |
Microsoft says: [size=14pt]About sharing an Access database on a network (MDB)[/size]http://office.microsoft.com/en-us/access-help/about-sharing-an-access-database-on-a-network-mdb-HP005240860.aspx |
Re: Someone Please Help Solve This Problem. by abbyode(m): 11:24pm On Apr 22, 2012 |
Hello OP, I will strongly advise that you migrate to Alpha five platform as your new IDE. I bet that you will never regret doing so. Kindly take a look at a guide for migrating from Ms Access to Alpha five on http://www.gregoryfca.com/blogs/alpha/documents/Alpha_AlphaFiveWebApplicationsforAccessDevelopers_WP_FINAL.pdf . Go through the guide carefully and you will be glad u did. Cheers!!! |
Re: Someone Please Help Solve This Problem. by delomos(m): 3:05am On Apr 24, 2012 |
@VURN: It's doable and you'd be surprised how easy it is (or maybe not depending on your experience with IIS) -- I'm assuming you have some familiarity with IIS, if not, see the last sentence. What you want to do is: 1. Install ODBC drivers and connect to Access with that, when what's successful 2. Set up IIS an an intranet service (that makes it accessible over LAN) OR Install IIS on your supervisors machine anad just copy the project to her "Inetpub" folder. If you're not sure how to do any of the above, perhaps that is where the hard-work is: https://www.google.com/search?q=setting+up+an+IIS+intranet |
(1) (Reply)
Solutions To Java How To Program By Deitel, 9th Edition / Just Launched My First Android App Called Reflap / The Programmer As A Mechanic
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 42 |