- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 8
- Upvoting Members
- 11
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm trying to send data back and forth between two computers using a Socket (TCP). The data is in the form of serialized Packet objects. At an early point in the application, it must send 25 or so Packets of the same type to the other side. See Case 1 … |
|
Re:
I am looking for the discontinued RAM memory: Kingston Memory 1GB KVR333D4R25/1G 333MHz Any suggestions will be greatly appreciated |
|
Re:
Hi all! :) I'm really curious to know how fast can you type? Go here: [url]http://speedtest.10-fast-fingers.com/[/url] and test your speed. Let's make it a challenge - WHO Can type very fast? I scored 63 words per minute, are you faster than me? If yes, then show me! :) |
|
Re:
Is C# recommended for Kernel Programming or Device Driver programming ??? I have to make a project on Operating Systems. I have four topics: 1. Real Time OS 2. Device driver programming 3. Kernel Programming 4. File System Programming Should one program them in C# or stick only to C/C++ … |
|
Here's my dilema. My client program is going to request a certain file from my server program, so the server program needs to send the size of the file it requests and then the file itself by using a Socket all in one go. My client will then read the … |
|
Re:
ist possible to have another if statement after the first if statement.. this is just an example [ICODE] private void button_click(object sender, eventargs e) try { if(age>5||age<=10) {massagebox.show("young");} else if(age>10||age<20); messagebox.show("example"); } catch(exception) messagebox.show("error"); //can i have another if statement here??? if(something ==eg) {messagebox.show("thanks"); } [/ICODE] |
|
Re:
Not sure where to post this, hopefully here. Basically if I make an application that does some stuff in the background, how does an antivirus know it isn't a trojan horse or something? Will my application be flagged as a virus, or is it generally safe to assume it won't … |
|
The program that uses this function is receiving files of multiple types and sizes from another PC. It has been working well but when the files' size exceeds about 100MB I run out of memory. I need to modify the receiving code so that it saves the incomplete file to … |
|
Re:
I have 2000 emails to send to my customers. But I what that, it sends 400 emails at a time. How can I do that? Please help me! Thanks |
|
Re:
Hi, What's the best way of integrating a Paypal button in a WinForms application? I can make a tiny WebBrowser and render the form html in it, but when clicking it, processing should be done by the default browser, not the WebBrowser in my application. LEdit: Or I could just … |
|
Re:
Please help me with the code to find the most repeated number in an array. The code below is not working perfectly. int p =o; int[,] numbers = {{1, 2, 0, 6 }, {5, 6, 7, 0 }, {9, 3, 6, 2 }, {6, 4, 8, 1}}; int []A = … |
|
The attached program has a small bug when you right click on an item. The first time you right click any item it'll throw the context menu (it's the same menu under File) all the way up to the top left of the screen, but the second time you right … |
|
Re:
string valeur = ligne.Split(ChrW(59))(0); what is the equivalent of that in C# please??? |
|
Re:
Hi. I want to make a program to download files from a remote host. So what i do is to send throw sockets all the binary information + a string used as end "mystyring". To check if i have to continue writing the buffer to the file i first convert … |
|
Re:
static void Main(string[] args) { string[,] fp = readFilePaths(); OleDbConnection con = new OleDbConnection(); OleDbDataAdapter da; DataSet ds = new DataSet(); con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:/Documents and Settings/kyalanur/Desktop/Nav tool/PCGDataManager.mdb;User ID=;Password=;"; string sq = "SELECT * FROM History"; con.Open(); da = new OleDbDataAdapter(sq, con); da.Fill(ds, "History"); for (int i = 0; i … |
|
Re:
Hi everyone. I have a few question to ask regarding email notification in c#. I have the following codes: [CODE] SmtpClient smtpClient = new SmtpClient(); MailMessage message = new MailMessage(); message.To.Add("alex@hotmail.com"); message.To.Add("alex2@gmail.com"); message.Subject = "Test"; message.IsBodyHtml = true; message.Body = "<html><b>Hello World!</b></html>"; smtpClient.Send(message); [/CODE] While in my web.config I do … |
|
In my client/server program, whenever I need to get data from one or the other it requires a buffer to temporarily store the data. The problem is that I don't know how much data I am going to be getting. I could be receiving a few lines of text or … |
|
Re:
Hello, I have an application where I save an image to a database in a column of type VARBINARY(1024) I used 1024 because I think is the number of bytes and I want to handle images no larger than 1MB. I have my code to save the image and it … |
|
Re:
Hey, I have four labels in a form: label1, label2, label3, and label4. Now, if this was VB.NET, I would have used the following code to change their contents without having to type the code for each one separately: [CODE]For I = 1 To 4 Me.Controls("label" & I).Text = "Some … |
|
Re:
Hi, I've been working on this mini project on a WFA. Basically what I'm trying to do is, move files through a checkedListBox. I have the c.listbox and i got the items on it, but I want to have the files moved (only the checked ones) into a pre-defined directory … |
|
If you look at a bunch of files with the Details view, file types known to Windows have a greater description of the file in the Type column. For example, .exe is an Application, .txt is a Text Document, and .cpp is C++ Source. If they are not known, Windows … |
|
Re:
There is a Windows Form application for example say 'A'. and there is another class called 'example.cs' that will call 'A' as apart of its action. When 'example.cs' calls 'A' , 'A' will pop out, and continue to execute. what i want to do is, when 'example.cs' calls 'A' , … |
|
Re:
hi all, In my page i need to get the system ip address. i used this code. [CODE] string myHost = System.Net.Dns.GetHostName(); string myIP = System.Net.Dns.GetHostByName(myHost).AddressList[0].ToString();[/CODE] this is working fine when i run application in local system. Now i hosted that application in server say(10.20.7.63). so now when i access … |
|
Re:
Hey Guys! Below is my code of Battleship game. I keep getting "Process terminated due to StackOverflowException." error. It keeps pointing to [CODE] char[,] Grid = new char[10, 10]; [/CODE] and i have no idea what it's asking to fix. Please help me. Thanks! [CODE] using System; using System.Collections.Generic; using … |
|
Right now I only need to be able to send a 100kb JPEG photo. I tried Google and found a couple of things but their code only threw exceptions so maybe what they've done is not appropriate in my situation. This is an attempt at a remote screen viewer. If … |
|
Re:
Hi, How can I setBounds of a component in percentage of screen size so that the interface looks same on different resolutions. I am using Visual Studio 2008. When I click on a button in designer view it shows me button's properties on right side. There I can set Location … |
|
Re:
I have been working on a massive project for awhile now to help do the scheduling at my work. One now I am working on a form design for entering in data to create a shift. Part of this is the start time and the end time of the shift. … |
|
I want to start a method whose name is in a string. My server program will be receiving commands from the client, perform those commands, and send the information back to the client. So instead of using a switch with many cases that only execute a method, I thought it … |
|
I have a group with 7 different NumericUpDown boxes in it. Above those I have a label that tells how many choices you have remaining. When the NumericUpDown goes up, the remainder goes down. However it also goes down when a NumericUpDown goes down as well. It needs to go … |
|
This list box will contain the name of processes that are currently running. My function to update the list first checks to see if it does not contain the name of a process that is running, then adds the process if it needs to. Then it checks to see if … |