Create In Program Like EXE_ActiveX COM SERVER?
Sep 23, 2010How to create in VB.NET an application with the same functionality than one EXE ActiveX COM server with only one subprocess model?
View 3 RepliesHow to create in VB.NET an application with the same functionality than one EXE ActiveX COM server with only one subprocess model?
View 3 RepliesHow to create a Screen server Program...i also want to update the information on the same time also..
View 2 RepliesI have been a web developer for a number of years now and I am making the move over to form based applications. I am trying to do what I believe should be relatively simple, yet I have no idea where to start.At home I have a machine that family members tend to use P2P programs, which causes my online gaming to suffer with glitches.I want to create a server and client program.where the client app (on my laptop) consists of only one button, when the button is pressed I want the server app (my Desktop) to kill the P2P program.I already know how to kill/start the application in question.I have previously done something similar but I had used winsock (not in VS2010) and was a long time ago.
1) Sending a value/string from the client app
2) receiving the value/string on the server app
I was told to look into the system.net.sockets namespace, but I haven't found anything on the web or here that isn't a full project / over-engineered "Basic Tutorial" that helps to break this down
I Want To Create A Server Program On My Computer AndClient Program That Can Run On Other Computers, The Client Program Will Connect To The Server On My Computer, But I Don't Know Code To Do This.
View 1 RepliesI am trying to create a server/client program in vb.net. What I am trying to do is test a battery that is running on a handheld (which runs Windows CE 5) by connecting to a "server" and sending information every 10 seconds or so. I am very new to .NET, and am not really sure how to go about doing this. I want two separate applications running, with the server-side keeping all of the data, since the battery is going to die, and I will lose any information if I keep it client-side. I am also new to networking, so I was not sure of whether I should create a Socket, or if I should try to do something else.
View 1 RepliesI am trying to create a simple chat server over vb that can relay messages back and forth using an echo server. Could someone point me in the correct direction to begin?
View 3 RepliesMulti-User Chat Program (Server & Client) with Main Server?
View 1 RepliesI made a simple TCP server (I've found the example on the web) in VB to receive data from about 40 TCP clients.The clients are not synchronized but sends data about every 18 minutes; the problem is sometimes several clients sends data at the same moment, so I can't receive data.I also made a second program that reads the data (server program writes data on a file, read from the second program) scheduled.
My question is this: I've seen on the web examples about Multithreaded Server Socket Program, so I suppose this could manage my 40 clients (but now the clients are syncronized and send data at the same time in client mode) or is better get data (I have a central client that asks data to all 40 devices in server mode)?
Second question: can I make a single program where I run both TCP client and TCP server at the same time?
I am creating a very simple Voting System, that will be use on electing new set of officer in a teacher cooperative...
So I have to create two separate program, a Server Program that will manage all the information in the election and a Client Program where voters will vote their selected candidate...
The election officers wanted that the Server Program will display the Voting Results at real time... So when the Voter finished voting, The Voting Result displayed by the Server Program will also be updated every time the Client Program Insert the data to Database....
An action listener in Server Program that will execute if new data is inserted in a Table in the Database made by the Client Program...
Hello I want to create a windows form application program that can create games something like Gamemaker or Klik & Play (butt less advanced) with D&D "Drag and Drop" events and actions.
View 7 RepliesTo create a program that asks for input then uses an else statement to create a handling fee balance.
Input: sales record - first name, last name, purchase amount, balance before purchase
Output: report - full name, old balance, purchase amount, handling fee, new balance
Definitions: handling fee is 5% of the old balance if the old balance is less than $1000.00 else it is 2% new balance = old balance + purchase + handling fee
Processing:
Ask for and receive sales information
Calculate new balance
Print output report
End the program when a purchase amount of 9999.99 is entered
I have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 Replieshow i can write a program to create a shortcut in the startup folder of a different program. So i have one program on my computer that should run at startup, i just need another program to create a shortcut to it, and then copy this shortcut into the startup folder.
View 20 Repliesbasically i just want client to say "C: emp" ENTER
then, server must reply with all its files in c: emp
I am very very new to VB.NET and would like to ask a simple question. I want to create a vb.net program and allow visitors to a website to download this program. However, I prefer not to have visitors download a zip folder. I would like to have a program that just gives a prompt to save in a selected folder, once the saved file is selected it prompts the person to download, and then when finished prompts the person to run the program. The reason is twofold:
1. I don't like the extra step involved with unzipping the file. and 2. I don't like the visitors having to look for the "main" file program within the new downloaded folder. So is there any way to have just one file for others to download without having it in a zip folder?
I'm trying to create a program that installs required .dll's for a program due to a clean install..What I need to do is Get a value in the registry and use it for the program files path.. but I've noticed some pc's don't have the same configuration because of the version the user is using. Anyway This is what I have so far:[code].....
What I'm trying to do is find a registry key called "SoftInstallPath", if found I need the end of the path to goto the new directory(new_dll) not the old one (dll).. and if "SoftInstallPath" cannot be found.. I need it to find "ProgInstallPath" and use it instead and do the same thing.By the way I'm using Visual Studio Professional 2008 on a Vista x86 machine.Also error I keep getting is: Warning 10 Function 'FixPath' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
Anyone ever try and create a program in visual basic that interfaced with an USB device? For example say I want to build a clock but I want to have the software to control this through usb. I want to write the clock setting program that tells the clock what to set for time and date and things like that.
View 3 RepliesI want to create a program that will auto update another program i have created. I want (this program) to check for updates (from a txt file that i wil have in the first line the previous version and in the second line the present version) and if there will be a new version then start downloading and the progress bar will show the progress. How can i do this?
View 3 RepliesThe problem I have is: When I click on cmdListen in the server form and cmdConnect in the client form,both programs won't respond and they crash for some reason I don't know.
Client source code:
Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1
[CODE]...
Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1
[CODE]...
I'm wondering, is it possible to create a (REALLY) simple web server in VB.NET? I may be wrong, but don't you essentially just need a listener for port 80 and a way to send pages to the client?
View 3 RepliesHas anyone managed to create an SSL server in VB2005 on XP platform?
I am having issues with the certificate side of things, and I am at the point now where I feel that it cant be done in XP.[code]...
I need to create a COM object on server.In VB you can do this: (tutorial)xlApp = CreateObject("Excel.Application", "\MyServer")But how to do same thing on C#?I know how to do it locally: var infsrv = new InfoServ.TInfoServerClass();But don't know how to do it on server..
View 3 RepliesI am using the following code for creating the folder on FTP server ; But its not working in my case :-
[Code]...
In the above case i am not getting any error but when i am going to upload a rar file then it is giving the following exception The remote server returned an error: (550) File unavailable (e.g., file not found, no access). And File Upload code is given below
[Code]...
Private Sub FTPUpload(ByVal p_FilePath As String, ByVal p_FTPServer As String, ByVal p_FileNameOnServer As String, _
[Code]...
Create Sql Server User
View 4 RepliesAs i am trying to create a custom FTP server for an application i've been reading up on this for a while. One part of the problem is obviously the multi threading issue.Now i know that the synclock command will lock an object to the thread that requested it's lock, however in an example on the internet i found the following construction and i am wondering why he would do this.
Code:Private Sub ProcessClient( NewClient As Client )Call SendMessage( "530 Acces Denied", NewClient.ControlSocket) more codeEnd Sub Private Sub SendMessage(ByVal message As String, ByVal ToSocket as Socket)Dim CurrentThread As Thread = Thread.CurrentThread SyncLock CurrentThreadToSocket.Send(Message)End SyncLockEnd Sub Now ProcessClient is a thread that is trying to do some stuff with a newly connected client and SendMessage is just a sub in the same class as where the thread was created. Now normally one would synclock a "syncobject" however here he calls a sub and then from that sub he synclocks to the thread that called it. I wonder what the use of that is and why he does it this way?
I have removed the synclock statement and as I expected it functions exactle the same as it does with it. I tested it with multiple users at the same time trying to connect to it.
I want a PC to operate as a mini HTTP web server that can receive requests from local (WIFI) devices. I know how to resolve the addresses so that the URL of the PC will be known on the WIFI network, but I'm not sure how to get the PC to act as a HTTP server.
View 12 RepliesI am trying to create a a server and client application. All that I want to do is have a client that has a picture box. The server will send an image to the picture box and the client will display it. I have looked online to find some tutorials but most of them just show how to do a connection and usually only with a console application.
View 3 RepliesI have create a project with four textbox, first one are for ip address, second one are for the open ports, the third one are for username and last one is for the password. So, if I use httpwebrequest, is it possible to connect to vpn server??
View 2 Repliescreate an SQL Server (express) database (.mdf).
most of the example in the walkthrough make use of the pre made northwind database(.mdf)
i will use the database that i will make to get connected from my application. the connection would client-server and what i have noticed, that this is possible if your database is an SQL version with extension filename of .mdf.
Or if its possible to create this database just using the Visual Studio 2008 Pro(90-day trial)