Possible To Run Program With A Sort Of Server
Dec 25, 2010
I'm a starting programmer, and for school I need to make a project.We need to make mastermind in VB.net.I already have one part of the task, (make it work singleplayer)but, we must make it possible to run the program with a sort of server, so 2 people can play witch each-other.I've worked hard on my multiplayer game, but if I want to startup my multiplayer I receive some strange message:url...The zip contains the server(we got that from our teachers), and my project.
View 2 Replies
ADVERTISEMENT
Mar 5, 2012
I am getting data from an SQL Server database and displaying the data on a Windows form.How do I navigate through the data in a Sequential Order or Sort Order using the the REP_ID number? Example: When I use the navigation to move from one data to the other, can I go from; example: 100001 to 100002 and so on?
Finally is there any hint as to why I am getting the time with the dates? I know it is converted to text but not sure how to remove the time and just get the dates.Here is the entire project code:
Imports System.Data
Imports System.Data.SqlClient
Public Class frmBindingData[code]......
View 5 Replies
May 15, 2010
i need to sort name as in the picture?
View 1 Replies
Jan 25, 2010
I'm looking to implement a sort function in my program however I am new to VB and don't know how to. Basically I have 6 objects in my program racing across the screen and what I would like is a leaderboard showing the current top 3.
View 13 Replies
Dec 30, 2009
vb.net program to sort one string without using any built_in functions in either ascending or descending?
View 4 Replies
Aug 10, 2009
Multi-User Chat Program (Server & Client) with Main Server?
View 1 Replies
Jan 24, 2010
I've been asked by a local window cleaner to design a small utility that can display a grid of customer data, sort them, and then export it out as a formatted .txt or rtf file.
View 1 Replies
Oct 26, 2011
I 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?
View 1 Replies
Jul 15, 2009
I got a list of 16 items and I have sorted them and I want to show the number of comparisons the program had to make using the insertion sort?(in a textbox for example)I mean is there a formula?
View 10 Replies
Dec 15, 2010
How can I improve this bit below to make the items in the TreeView to sort faster or something totally different to sort them easier?
[Code]...
View 4 Replies
Jul 5, 2011
I have a MyObject; myObjects as List(Of MyObject) and a delegate Comparison(Of MyObject) that uses a lot of comparison functions (ByA, ByB, ByC etc) Ã la:
Shared Function CompareMyObjectsByName(x As MyObject, y As MyObject) As Integer
Return x.Name.CompareTo(y.Name)
End Function
[Code].....
View 2 Replies
Aug 18, 2010
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...
View 11 Replies
Jan 29, 2009
Sub Sort()
ReDim RollsCC(NumOfPlayers - 1)
For N As Integer = 0 To (NumOfPlayers - 1)[code]....
Here I am creating a temp single dimensional array, merging my 2d array into it, and then attempting to sort it by Rolls(N,1), which is a integer 1-6, Everything seems to be working right with the exception of this.
RollsCC.Sort(RollsCC, 0, 1)
How would one specify a numeral sort based on the first character in the string? im aware that I am switching Rolls(n,1) and Rolls(n,0) information during the sort.
View 5 Replies
Apr 12, 2012
Currently my ListView sorts items by image.index. So 0 is at the top, then 1, 2 and so on. Think of it as an IRC chat room nick list. Ops at top then the rest are sorted alphabetically
[Code]....
View 18 Replies
Jul 23, 2008
The 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]...
View 3 Replies
Jun 8, 2009
I am trying to sort an arraylist using .Sort() but am not sure what to put in the () for the field/column I want to sort on. Here is the portion of my code that creates the array from a SQL Query
[Code]...
View 2 Replies
Aug 9, 2011
I have recently found some code online for a chat application that allows multiple users to connect and talk to one another using a basic server, however I want to build on that and make an IRC like program that will allow me to have multiple channels (eg.Sports, Music, Gaming) etc. I was wondering if anyone could give me a hand because I have been playing with this for about two weeks now and I still havnt been able to figure it out.
The server code is:
Imports System.Net.Sockets
Imports System.Text
Module Module1
[code]....
View 2 Replies
May 18, 2010
I'm trying to connect to a SQL server from VB. The SQL server is across the network uses my windows login for authentication.[code]...
View 5 Replies
Apr 23, 2010
How we can delete any row in vb.net through sql server
View 2 Replies
Oct 16, 2009
When I try to run a program I've written from a network drive on a windows server 2008 machine it always gives me: Open File - Security Warning The publisher could not be verified. Are you sure you want to run this software? Unknown Publisher This file does not have a valid digital signature that verifies it's publisher.... I need this message gone.
View 2 Replies
Jun 8, 2011
i want to learn this kind of program.. and this are my problems:
1. i dont know how to connect my vb.net program to sql server?? can you help me.
2. how can i call my fingerprint scanner to my vb.net program.
3. how can i input the time eveytime the employee's touch the scanner ( log-=in and log out)
View 11 Replies
Jan 31, 2012
I do have a program that uses MS SQL Server as database. The problem is that when the fire wall of the server is on, I can't connect on the server. But when i turn it off, it works! This is the connection string I'm using:
myCN.ConnectionString = "Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=BIOMETRICS; Data Source=SERVER"
myCN is a SQLConnection...Please if can help me with regards on this problem.
View 1 Replies
Mar 11, 2009
I have copied some code from the MS website which should run a DTS. The code runs without error and the event messages are as expected. But the DTS does not actually run. I can return information from the DTS such as the description and step name, but the exeution is not actioned.[code]...
View 2 Replies
Jan 2, 2010
I have been working on a server and client tcp/ip program and am having some issues. I start the server and then start the client, and the connection always fails. I don't know what's going wrong. Here's the
Server:
Imports System.Net
Imports System.Net.Sockets
Imports System.IO
[Code]...
View 2 Replies
Dec 20, 2009
Im writing a program that does some general network stuff
i need to set a dns server for the program/current sub "not for the current host pc"
something along the lines of
system.net.dns.setdnsserver = (myspecifiedip)
View 3 Replies
Mar 1, 2010
I am using the Array type .Sort function to sort my array.By default it places the result Array into Ascending order Least to Greatest How do I change that to Descending order Greatest to Least?and How do I change it to Closest to logic? or does that not exist?Assume there is an Array of Numbers 0,13,21,-2,4,5,1.34 and I want them to sort closest to 0 or some other arbitray value; the Output should look similar to:
0,1.34,-2,4,5,13,21
View 19 Replies
Jan 23, 2012
Back up my entire database using vb.net. I'm using SQL Server 2008 R2 for my DB.
View 39 Replies
Jan 17, 2010
I am using this connection string to connect to my database and still it won't connect[code]....
View 3 Replies
Dec 16, 2010
I am trying to write a program that has a server/listener program and then 2 client programs, the 2 client programs are supposed to be able to chat with each other. Can anyone point me in the right direction on this?
View 4 Replies
Apr 16, 2011
how can i make claint/server program without winsocet
View 1 Replies