Make 2 Threads In Server?
Jan 25, 2012how i can make 2 threads in server ? "in server 2 threads . the first for + opration and seconed for x opration" client send to server 2 number and opration "+ or x"
[Code]...
how i can make 2 threads in server ? "in server 2 threads . the first for + opration and seconed for x opration" client send to server 2 number and opration "+ or x"
[Code]...
The code works fine when I run it locally, yet as soon as I have uploaded to our dev server it doesnt run, but also doesnt error.I did some research and found that I should have the thread impersonate the WindowsIdentity, which I have done but still the thread does not work, I also tried increasing the max threads in IIS and still nothing.Im running IIS 7.5 on Windows 2008 R2.The method being executed on a new thread is in a class in the App_Code folder and looks like:
Public Class RosterEmailer
Inherits System.Web.UI.Page
Dim thisID As String
Dim thisName As String
[code]....
I have a small code that can start multiple threads in numerous numbers and these threads will perform some calculations and file operations (read and/or write) that are private to themselves (each of the calculations and file operations are independent).But I can not figure out how to make the connection for threads to file operations.
View 2 RepliesI want to make a simultaneous connection to multiple servers with threads, only to create a single connection.
Imports System.IO
Imports System.Net.Sockets
Imports System.Text
[Code].....
I am trying to stop the following piece of code from taking up too much processing power of the PC by using threads. But I keep getting errors when I use threads:
[Code]...
I'm using 2 System.Timers, which spawns a worker process during its elapsed event. If 1 of the events is busy doing something, the other thread elapsed event doesnt fire until the 1st thread has completed.Is there any way I can make both threads continuously fire its elapsed event??
View 3 RepliesI just had a new, last-minute idea on to take on a task, so I am running to StackExchange for quick help.
What I want to do is execute a series of methods right in a row, each in their own threads. I want the application to wait until all of these threads are completed, after which the program will resume. It also has to use managed threading (thread pool).
What quick examples could you provide to help me along the way? If it's too complex, what things should I know about so that I can Google it on my own?
I have a main thread which is designed to be a batch processor - it spawns a series of 'child' threads from a loop (which can vary in terms of the no of items) - see below
[Code]...
However, each of the 'child' threads could take anywhere from milliseconds to about a minute to process - depending on the complexity of each calculation. There may also be a large number of child threads - e.g 100s. Creating large numbers of child threads is not efficient. I therefore want some way to effectively queue each child thread (and cancel if the process is taking too long to complete). Autoevents seems like one way of doing this, but the only examples I can find seem to assume there are two different processes on seperate threads, not one process being repeated.
I'm trying to make a multi-threading app which extracts the names from my site. I have 1000 pages celebrity related. The urls are on a listbox List1 and the number of threads are specified in TextBoxThreads I would like each thread take care of a coresponding url on list, when they finish go to the next one and so on (for each thread a url)
[Code]....
I have a server which has around 300+ users on it. Though the problem is that its coded in VB6, and if somebody has a bad ping, everybody has a bad ping. I need a tunneling server which will tunnel the incoming and outgoing connections and make there ping appear to be 0 in the server. Client to Server, Server to Client.
View 1 RepliesHow to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server?
View 6 RepliesI have an application in which i have a database .mdf file in directory which i use a connection string to give a path of to access it, which means without installing sql server i can access database. Connection string below to access this database(.mdf) which placed in the directory.
dim con as sqlconnection = New SqlConnection("Data Source=.SQLExpress;integrated security=true;attachdbfilename=|DataDirectory|Universal_data.mdf;user instance=true")
Now the question is that if i access this .mdf file without installing sql server, i also want to access to this .mdf file on other computer(client) after creating DSN or any other connectivity tool.
Let me know you that when i install sql server 2000 or 2005 i create SA user name and password which i use to create DSN on client computer and give SA username and password in the connection string that successfully works and client get access to sql server, connection string is below.
Dim serv = "MY-LAPTOP"
dim con as sqlconnection = new sqlconnection("Data Source=" & serv & ";Initial Catalog=clinic;Persist Security Info=True;User ID=sa")
I only need to know that my application access .mdf file without installing sql server works fine on a single computer, and i want to give access to this .mdf file on other clients without installing sql server on server computer (like i mentioned above paragraph) how will do it.....
I am trying to make a copy of an existing database, I use .net framework data provider for SQL Server.I get error "Unable to connect to source server for Transfer" when it runs to oPackage.Execute().
oConnection = oPackage.Connections.New("what the providerID should be?")
oStep = oPackage.Steps.New
oTask = oPackage.Tasks.New("DTSTransferObjectsTask")[code]......
i need to make a time server using visual basic 6.0 but i don't have
View 1 RepliesHow to make clients on sql server i mean when i will install my application on clients how i will connect it with sql server?
View 3 Repliesim wondering how do i make my vb app connect to my fpt server and record there ip or something like that then display how many ppl have used my app?
View 2 RepliesI guys, I'm looking for include into my vb application a VNC Server. I found TightVNC server source code but it is write in visual c++. Everybody know where can i found vb vncserver source code or some vncserver api or dll??
View 1 Replieshow to make a server, and let my program connect to that server. My program is on books, people can go through the list of books and "favourite them". Then in a window I open I can see the most favourite overall etc. How would I do this, what type of server (srry im not pro on servers at all).
View 1 Replieswhat MSDN is trying to indicate here on this tutorial, ref this page: Walkthrough: Creating a SQL Server Express Database.I cannot make this happen in VS2008 SQL Server 3.5 ? To create a relationship between the tables created in the previous step 1.Right-click the Database Diagrams node in the SampleDatabase.mdf node in Server Explorer/Database Explorer and choose Add New Diagram.
2.Click Yes if a dialog box opens asking to create the required database objects for diagramming.
3.Add the Customers and Orders tables to the diagram.
4.Close the Add Table dialog box.
5.Drag the CustomerID column from the Customers table onto the Orders table.
6.Verify that the Customers table is the Primary key table and the Orders table is the Foreign key table, and verify that the CustomerID column is selected for both tables.
7.Click OK to close the Tables and Columns dialog box.
8.Click OK to close the Foreign Key Relationship dialog box and create the relationship.
9.Select Save Diagram1 from the File menu.
10.Leave the default name and click OK.
11.Click Yes in the Save dialog box.
I can create relationships but not the Diagram ?
Im am completely bored and wanted to make my own version of the palringo chat messenger (just to log into the palringo servers tho) and i have what i believe EVERY bit of the server info i need. [code]...
View 7 RepliesI have created a database in SQL Server 2008 Express Edition. Can I write a program in VB.net express to take a daily backup at a specified time? What code do I need to write?
View 1 Repliesanyone can teach me how to make billing system which is server - client.i will put the sql database to one pc then clients - the gui system.i want to run may system from other pc then connect to sql database which in another pc..
View 1 RepliesI'm trying to make an e-mailer that connects to an SMTP server.
Ive looked everywhere and Id prefer if it was explained how to put it into my code.
[code...]
I'm trying to make a client and a server connected in vb 2010. how to make a client and server connected? There is only vb2008 in the codebank and if my vb2010 tries to convert it to vb 2010 it will error.
View 1 RepliesI really need to know if its possible because I'm making a messaging client since me and my friend find believe MSN is getting buggier. I've looked on how to do it but none of them worked for me, or were server to client. I want to make it client to server to clients but I don't know how! I know I shouldn't tell you to give me code but maybe give me a few tips on this. Me and my friend share files nearly everyday.
View 11 Replieslinks or Procedure how to build a client/server and file sharing through lan because my friends needs a reference for That
View 4 RepliesI'm trying to make a connection to SQL Server 2008 express Using this code
Dim Ordr As String = "Select * from Orders"
Dim con As SqlConnection = New SqlConnection("Data Source=localhost;Integrated Security=SSPI;" & _
"Initial Catalog=Orders")
Dim com As New SqlCommand(Orders, con)
[code]....
I get this error:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server
how i can make a udp server that waits client to communicate with him and the server answer them back even if the server doesn't know the ip of the client in vb.
View 3 RepliesHow to make Dynamic Connection string for VB.Net 2008 & Sql Server 2005 database
View 1 Replieshave game server, I want to create Registration Account in Launcher Game, the Database name is "O2Jam" (without quotes) and table name is "member" (without quotes too) and I am using sa Account with password 123456 , the Table is contains following Column:
[Code]...