Scenario: I want to develop an application.The application should be able to connect to my remote server and download data to the local disk , while downloading it should check for new files and only download the new ones simultaneously creating the required(new) folders. What am i doing?: The app first checks for internet connection , if available pings the server to check if the server is active.Then it has to download the new files.
Problem: I have no idea how to compare the files in the server with the ones in the local disk.How to download only the new files from the server to the local disk? What am thinking?: If i can create the exact folder structure(hierarchy) in the local disk as it is in the server...than i can download the new files accordingly to folders by maintaining some index file in both server and local disk.
I built a window's app in VB. The app is made to be used worldwide. The app works fine when it is installed on a computer using the same network than the local machine hosting the sql database. The problem actually, is that, when the app is installed on a computer using a diferent network, the connection fails.
How can I connect to a database using sql server 2000 and stored in another PC with vb net (still in 1 LAN)?So that PC only stores the database, and another PC store the user interface and business logic.Is it related to the connection strings, on the datasource, we just put the IP address for that remote sql server?
I need to read a command from a .html file. To do this I use:[code]My application constantly loops to check the .html file for commands. I need it to do this, even if the internet is off. Obviously, it wont read commands if its off.. I just need it to resume reading when it comes back on WITHOUT crashing my application.Any code to ignore timeouts so where my application will still TRY to read and not crash.
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network 184.xx.xxx.xx:25 at
I've came across a little problem with my tcp / ip server. My client can connect to it with 127.0.0.1 ( localhost ), and 192.168.0.X, but every remote connection fails to connect.
Here's the connection rituals: Server listener = New System.Net.Sockets.TcpListener(System.Net.IPAddress.Any, Port) listener.Start() listenThread = New System.Threading.Thread(AddressOf doListen) listenThread.IsBackground = True listenThread.Start()
I'm developing a online document management application for my client using the following technologies
Front End - VB.Net 2010 (Windows Forms) Back End - SQL Server 2008 R2 Express (FILESTREAM enabled to level 3)
I wanted to store the files (*.pdf, *.doc, *.exe, .) using the FILESTREAM feature in SQL Server 2008 R2.I prefer FILESTREAM because sometimes the file size exceeds 2GB.I'm able to save and retrieve file with FILESTREAM (using Windows Authentication/Integrated Security).But my client wants to save or retrieve the file from different PC.So I'm in need of accessing the FILESTREAM BLOB from remote systems.
I am real new in vb. I need to connect to ms server and retrieve information for database. Just simple ''select * from update, delete and so on.If I add new data source using data source configuration wizard - everything is fine, but I want to use just simple selects.I use
Dim connectionString As String = _ Provider=Microsoft.Jet.OLEDB.4.0;Data Source=BBD-2;Initial Catalog=wilopumpen1;Persist Security Info=True;User ID=*****;Password=****;" Dim queryString As String = _ "SELECT * from dbo.tableName "
I want to know how to connect to a remote system having some shared folder.(ex, \myservermysharedfolder).Actually, I was supposed to copy a particular file which is available in a shared location of a system. To copy that file, first i need to connect to that system with an user id and password.I know copying of file (), But not getting clear idea on how to connect to the shared folder. I have tried with System.Management class, but no use..
As some of you may know, I'm trying to develop a client/server application that requires sending files and text. Text is not a problem, this works fine, and for some of the part, sending files works, but they get slightly mangled in the process. For example, I used a 4x1 BMP that was alternately coloured red and white and tried sending it across. The output was the correct image dimensions, but the colours were wrong. It was more like a very dark red and very dark grey. I inspected the files with notepad, and the header was the same, but the data was different.
I did some research and apparently need to use a BinaryReader and BinaryWriter as opposed to reading the data as a string (like I was when it was being mangled) but now the data is all wrong, even filesize is different.The code below is a simple example of code for reading an image and then writing it again elsewhere using Binary Read/Write.
I want to create a simple console application that has two input files and one output file. The code is very straightforward. The question is that I want to execute the application from the remote server or unix/dos batch etc instead of local machine.
I would like to develop a very very very simple application which will connect the MS SQL SERVER in my notebook and will be run at hand terminal-with windows mobile 6.Here is the code which i used :
Dim strSQL As [String] = "SELECT COUNT(studentid) AS totalp from Students where gender='m' " ' Dim Conn As New SqlConnection("Data Source=10.0.0.4MUSTAFASQL2;Initial Catalog=MYDBX;User ID=TEACHERA") <<< i used this too, ' Dim Conn As New SqlConnection("Data Source=10.0.0.4:1433MUSTAFASQL2;Initial Catalog=MYDBX;User ID=TEACHERA;") <<< and also tried this[code].....
Question: I created an ASP.NET web application. Now it originally was meant for deployment on a webserver.That is working, so, so far so good.My question now is: Is it possible to deploy it as a desktop-application, too? That is to say the installer installs some kind of server, plus the web application, configures the server to run this application on a localhost URL, and then creates a link in the start menu/desktop, where it opens that url (website, the application) on localhost in a web browser?
I think it should be possible, though the server wouldn't be IIS, because this is a windows component which can't be separately installed. Is there anything like this already out there The nonplusultra would be that it only starts the server when you click on the shortcut.
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
I have a vb.net application and i need to connect it to a web server to upload pictures. It works locally but i cannot try it on the web server as i don't know hot to connect. Does anyone know about any website where i can learn to do that?
the system is going to have two front-ends - one web application and one desktop application.The desktop application is going to be coded using VB.NET, and the web application in PHP. There's really no reason why the desktop application can't be replaced by a web application as well - except that one of the programmers seem to really want to code it in VB...However none of us have experience working with either of these pairs .
P.S. hosting service will be gotten from some provider and not be on the client's own server.
I need some pointers on which .NET technology to use for a project I'm working on. I'm building a "dashboard" digital signage WPF program that will display various things on a large monitor mounted high up in the ceiling of my office.What I need to be able to do is control certain aspects of this program from my desktop. For example, there will be a TV window in the application with signal being provided by a TV tuner on the mini-computer connected to the monitor in the ceiling. What I want to be able to do is make a remote control to be able to change the channel etc. I'm confused at what technology to use. I've read about remoting, WCF, and simple TCPclient classes but I'm confused at which one would be better. I'm thinking it may be better to use WCF because what I think I need to do is make a function that will change the channel and accept channel numbers, etc from the remote control program. Am I on the right path?
I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?
I have an issue with my code. The application interacts with a MySQL database on a remote server, I have access to this server. When my app is running the insert into code I m getting this error: "Conversion from string "INSERT INTO phpvms_fsspireps(pil" to type 'Integer' is not valid."
The variable which holds the Inser Into string, during break point debug gives me this: ""INSERT INTO phpvms_fsspireps(pilotid, code, flightnum, depicao, arricao, route, route_details, distance, aircraft, flighttime, flighttime_stamp, landingrate, submitdate, accepted, log, load, fuelused, expenselist, source,
And this is my code.
Dim conn As MySqlConnection Dim cnString As String cnString = My.Settings.constr
the DB spec: Total DB size: 190,1 MB Total Tables: 106 and the table specs. The titles are in Greek but I think you can understand it from the data. [url]
I am having trouble in creating a login form in my windows application.If i create a login form with its database local to the system ,it works fine .But my requirement is that the database is placed on a remote server so that the login is secured.When the user tries to use the application he first needs to login.When he puts the username and password in the login form it should send the data to a remote server for authentication.
I've been Searching the Net for hours now, and i can't really seem to find anything clear and straight to the point.
I need to create a Server/Client application using VB.net 2008, it's actually my first time to have a database on another computer. So I first searched the internet for the things i need to make this software.
Basically back in VB6 days, I created several VB6 apps with Access as the backend database. I'd package my Access db file with the application setup, which copied it on to a shared network drive, and then different computers on the LAN could use the same backend database file, and that worked just fine. With SQL and VB .Net, I've done work with a SQL database hosted on a remote server, so you can basically build your query string easily and anyone can connect to it from anywhere, and it works just fine.However, what I'd like to do is have a local SQL express database as the backend for a VB .Net application and make a setup program that can install it in a way that it could be shared on a Local area network, without the user who is installing the application do anything.
I know about building a connection string with the local machine name, but I don't really have any experience with including an actual MDF file with the application. Does anyone know how it works, and is it a better approach? Does it work similar to placing an access file in a shared unc path?I know that ClickOnce (which is awesome) can install SQL express easily on a user's machine. However, the key is that I want SQL express to be installed only on the machine that is going to be the database server in a LAN enviornment, and not on every machine, unless it is neccesseary. And then how does your VB app know how to build the connection string to access the database from any machine on the local share?