Connect To Website's MS Access Db Using Windows App?
Sep 6, 2010
I need to download records from my Access database into a ClickOnce vb.net windows app at the same web site as the ClickOnce host. Is that possible? What would the path be if the site was [URL]
it's just for a program registration. i would store all of the registration codes in the access database, then export it to XML, then upload it to my web host. I would then somehow connect it to my Visual Basics login form (Which I have already made). If this can't be done, having them register through the form and having all the allowed codes on the internet (So i can easily edit them)!
I am working in Windows 7 Home Premium using MS-Visual Basic 2010 Express. I am having difficulty connecting to an Access 2007 database using ADO. When I try to connect to the database I get the following error:
Error Code: -2147467259
Exception: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
Source: Microsoft OLE DB Provider for ODBC Drivers
I looked at...
[URL]
There were several reference to compiling the program using x86.
Go to Project menu -> Properties -> Compile tab -> Select "Advanced Compile Options" -> Select "x86" instead of "AnyCPU"
I followed the path and there was not any option to select x86 in VB 2010 Express.
My windows application was written in vb.net and i recently added a web service to it so that I could place the access database in it and connect to it via the web server. I've been succesful in receiving data when doing select statements; however, I'm stuck when trying to do a simple insert statement to it.
we need to add the texture image resources to the project. If you have not done so already, download the textures from [URL]I have not been able to link to any rkimble sites: Just wondering if it still exists / is in service?
i have an application, that just connect a website through a proxy server.So i need to find out the proxy server type.Like SOCKS5, HTTP and Is there any way to find it out?
I've got a vb (desktop) app (not a web app) that needs to connect to my website, I've been told that embedding my MySQL database credentials is a big mistake for several reasons.So, I've built a web script in PHP that runs on my server called web-service.php, it's located at www.example.com/web-service.php.Now, I'm trying to connect with this code:
Code: Dim hwrRequest As HttpWebRequest = HttpWebRequest.Create("http://www.example.com/web-service.php") hwrRequest.Method = "POST" Using swWriter As New StreamWriter(hwrRequest.GetRequestStream) 'POST the info
[code]....
And when I do, I get the error "The remote server returned an error: {401} Unauthorised.", but I shouldn't need any credentials to access this. I'm just trying to POST a username and password to that page and have it query the database and then get the returned content, I'd prefer to use POST than GET so you can't see the user/pass in the URL (if possible).
EDIT: I used CPanel to password protect my website so it can't be accessed, after supplying my user & pass to access it, everything works.
I want to connect to an MySQL database on the website, I want to write and retrieve information from that database into a table on my program.
Can anybody link me to a tutorial on how to do this? Or give me some insight, I'm relatively new to Visual Basic (7 months) and I'm not exactly sure on how to do this.
I have both Visual Basic 2005 and recently downloaded Visual Web Developer 2008 (Express Edition). In VB 2005 I cannot work on my website without reveiling my password (no encryption). This is also true with the Web Debeloper 2008 and it seems it will only work on sites Created with FrontPage. So my question is what do I need to upgrade to in order to work on my site without reveiling my password (encrypted access) or working in FrontPage.
when the Internet it's ok,this code it's okay,too.but when the Internet it's not connect or the webside server it's so busy,it's going to error,it said "Webexpection it's not handle".what should I do?
I have no idea how to do this, using a webbrowser in VB(the normal one or, micorosoft webbrowser?)or can this be done using a Webrequest or webclient in VB.net.[code]...
All I want is the website Im trying to visit to think that I visited it with this proxy's IP.I know this is possible because ther are websites where you only type the URL in a textbox and it starts surfing for you like("planetmuffin.com"). How can this be possible on a website and not on Vb.net?
I have a website in intranet and I wanna to block a remote access or VPN access to the site.I waana to know how is users use remote access or VPN to access to my site.
Im trying to access(just as if I really visited that website) using a proxy, so that my real IP doesn't display for security reasons. I have no idea how to do this, using a webbrowser in VB(the normal one or, micorosoft webbrowser?) or can this be done using a Webrequest or webclient in VB.net.
So far I used this code and I dont think it works?:
Code: Imports System.Net Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[Code]....
All I want is the website Im trying to visit to think that I visited it with this proxy's IP. I know this is possible because ther are websites where you only type the URL in a textbox and it starts surfing for you like("planetmuffin.com"). How can this be possible on a website and not on Vb.net? It is not neccesary for me to see the website, as long as it thinks I visited it!
I know it should be possible because Ive seen music downloaders in which you can use a proxy for the download.
I've been working on a website with database access in ASP.NET, VB.NET and SQL server for a University project. I've been able to build and test all my forms and they all work as they should so now has come the time to submit my work on a CD. I've been told that I have to explain to my Lecturer about how to open the files/project but I went to test that the default page opened (using Firefox), but unfortunately they won't open and I get the following error: XML Parsing Error: not well-formed Location: file:///C:/Users/NAME/Visual%20Studio%202010/WebSites/FOLDER/Default.aspx
Line Number 1, Column 2:<%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="false"-^
Is there any way that I can get the files to open from the CD (obviously after amending the file locations in the code) in a web browser? Would making a extremely simple HTML page with a hyperlink to the ASPX page work, or would it require "building"/"compiling"?I've been using Microsoft's Visual Studio Web Developer 2010 Express to write and build my code and the pages then open in Firefox.
I've a website that puts info into a mySQL database and a windows service (written in VB.Net) that polls the db and actions what's in there.However, occasionally it stalls and rather than having to RDP into the server, I want superusers to click on a button to restart the service.I can get the button to say, do a directory listing of c: output to a test file so the whole 'getting a command to execute on a remote server' issue works. However, I can't restart services.I assume this is a security thing (although it has full rights to c: I thought I'd sussed that already).The website runs under the normal IUSR_user so am I doing something really stupid or can someone explain how to get the service to be restarted ?
I have a windows forms application that scrapes a website to retrieve some data. I would like to implement the same functionality as a windows service. The reason for this is to allow the program to run 24/7 without having a user signed in.
To that end, my current version of the program uses a web browser control (system.windows.forms.webbrowser) to navigate the pages, click the buttons, allow scripts to do their thing, etc. I cannot figure out a way to do the same without the web browser control, but the web browser control cannot be instantiated in a windows service (because there is no user interface in a web service).
I need to be able to add, delete, edit, and save data to a table in access using a form in vb. i am also required to view the data in a datagridview or listbox or anything in vb.net.