Search Results

Showing results 1 to 30 of 30
Search took 0.01 seconds.
Search: Posts Made By: Hannahlv
Forum: C# Jan 10th, 2009
Replies: 2
Views: 1,910
Posted By Hannahlv
Hi everyone,
I'm doing an hotel application which has an introduction form. In that form I put a RichTextBox control and a menu toolstrip. I want to load a rtf file to richtextbox when the toolstrip...
Forum: C Sep 17th, 2008
Replies: 7
Views: 1,067
Posted By Hannahlv
Well... Thanks for help from you all. I will try select(). I'm quite new to this p2p concept, that's why I got confused with server and client.
Forum: C Sep 16th, 2008
Replies: 7
Views: 1,067
Posted By Hannahlv
Yes...I understand what you all say, but the thing I'm not very clear is, how they decide who will be server and who will be client. Like the server-client version, the server must do SOCKET,BIND,...
Forum: C Sep 16th, 2008
Replies: 7
Views: 1,067
Posted By Hannahlv
Hi, everyone!
I'm doing a p2p streaming project. This project is actually about : the server and client will connect first (socket created), after connect then client will receive the IP address of...
Forum: C Sep 8th, 2008
Replies: 1
Views: 663
Posted By Hannahlv
Hello everyone,
I don't know what is the exact name to call this, so I call based on what I want to do in my program. Its operation got something similar to chat server and client.
I have server...
Forum: C Aug 31st, 2008
Replies: 9
Views: 724
Posted By Hannahlv
I copy those lines :

char sQuery[1000];
printf("msyql>");
fgets(sQuery, sizeof sQuery, stdin);
printf("%s", sQuery); //to see if fgets() works

to another text editor....
Forum: C Aug 31st, 2008
Replies: 9
Views: 724
Posted By Hannahlv
Er...I have one problem with mysql database. Hope you can guide me, Salem.

if (mysql_query(conn, "show tables")) {
fprintf(stderr, "%s\n", mysql_error(conn));
exit(1);
}


The...
Forum: C Aug 30th, 2008
Replies: 9
Views: 724
Posted By Hannahlv
Ok. I know my mistakes in those 2 calls now (I always use like this, thank you for correcting). But your question about the opt_host_name, where is the pointer pointing, I want to ask another...
Forum: C Aug 30th, 2008
Replies: 9
Views: 724
Posted By Hannahlv
Ok. I know my mistakes in those 2 calls now (I always use like this, thank you for correcting). But your question about the opt_host_name, where is the pointer pointing, I want to ask another...
Forum: C Aug 30th, 2008
Replies: 9
Views: 724
Posted By Hannahlv
Hi, everyone!
I want to make the user authentication for mysql database. I write the code and test it, but can't run. Let's I talk about my project idea first.
I have a server, a client and a mysql...
Forum: C# Aug 29th, 2008
Replies: 4
Views: 1,182
Posted By Hannahlv
i wan to insert data in a dab audio frame... example: i got a frame 480bytes... then i will increase the frame size to 576 bytes... and i need to insert 96 bytes of data that 1 wan...

so how to...
Forum: C# Aug 29th, 2008
Replies: 4
Views: 1,182
Posted By Hannahlv
how to insert data like dynamic label...
Forum: C# Aug 28th, 2008
Replies: 2
Views: 1,016
Posted By Hannahlv
using System;
using System.Collections.Generic;
using System.Text;

namespace EnsembleAnalyzer
{
/// <summary>
/// Tool to calculate and add CRC codes to a string
///
///...
Forum: C# Aug 5th, 2008
Replies: 8
Views: 769
Posted By Hannahlv
Thanks for the reply now the problem is that i dont know where to add this code String)patientspastillnessComboBox.Items[INDEX_NUM]; // INDEX_NUM: 0 ~ n(existed item number)
Forum: C# Aug 5th, 2008
Replies: 8
Views: 769
Posted By Hannahlv
The parameters declare are strings, but those are all combobox and I want to pass all the content of combobox into the method. So now what should I do?
Forum: C# Aug 5th, 2008
Replies: 8
Views: 769
Posted By Hannahlv
Thank you for your reply.
I still got error can't overload the method.
consu.UpdateConsultationDetail(consultationidTextBox.Text, consultationdateTextBox.Text,...
Forum: C# Aug 4th, 2008
Replies: 8
Views: 769
Posted By Hannahlv
Hello all,
I have overloading method problem with my miniproject. The code is below :

patients.UpdatePatientsDetail(patientsidTextBox.Text, patientsnameLabel1.Text);


Error is : no overload...
Forum: C++ Jul 27th, 2008
Replies: 6
Views: 1,005
Posted By Hannahlv
Ok..Thank for your instruction. However, still one more thing, can you let me know the reason why, the client do not always receive full of messages from the server? (I need the messages come out in...
Forum: C++ Jul 27th, 2008
Replies: 6
Views: 1,005
Posted By Hannahlv
Also, I can't get you at this point :

send(new_fd, "Menu\n", 5, 0)
0, 1, 2, 3, 4 are also valid return results. You can't just assume that if it wasn't an error (-1), that the only other possible...
Forum: C++ Jul 27th, 2008
Replies: 6
Views: 1,005
Posted By Hannahlv
Ok...I show you the full code of client.

#define PORT 3490 // the port client will be connecting to

#define MAXDATASIZE 100 // max number of bytes we can get at once

int main(int argc,...
Forum: C++ Jul 27th, 2008
Replies: 6
Views: 1,005
Posted By Hannahlv
Hi everyone!
I'm doing my project related to socket programming. The send and receive part I got problem.
The code is below :
Server side:

printf("Handling client...
Forum: C++ Jul 22nd, 2008
Replies: 6
Views: 4,268
Posted By Hannahlv
Ok, I'll try this. If any problem I'll ask again. Hope you not feel annoyed.:)

Now I have another part need to solve. Sorry for this, just because my project requires quite a lot of parts.
This...
Forum: C++ Jul 21st, 2008
Replies: 6
Views: 4,268
Posted By Hannahlv
Ok. Thank for your link. But I got error while compiling the example program :

In function `main':
extProg.cpp:(.text+0x147): undefined reference to...
Forum: C++ Jul 21st, 2008
Replies: 6
Views: 4,268
Posted By Hannahlv
Ah, I forgot to write this ( will be clearer). The external program is also in C++ (.cpp). I want to call it from a parent C++ file.
Forum: C++ Jul 21st, 2008
Replies: 6
Views: 4,268
Posted By Hannahlv
Hi everyone!
I want to call a child program from my parent program. Are there any methods to do this in C++ (platform is Linux)? I searched Google but the material found quite difficult to...
Forum: C++ Jul 21st, 2008
Replies: 7
Views: 1,261
Posted By Hannahlv
I has just changed positions of codes and add some lines, it works now. Thank Salem for your advice.
Forum: C++ Jul 20th, 2008
Replies: 7
Views: 1,261
Posted By Hannahlv
@Salem : yes, I use the "char* inputFileName=argv[1] " as the variable to read the user input.
Is it the error caused by this variable?
Forum: C++ Jul 20th, 2008
Replies: 7
Views: 1,261
Posted By Hannahlv
The code is the same to my code editor. This is the code that I modified from another code. The original one works well, but can play only the file which has the name defined in the code. If I want...
Forum: C++ Jul 20th, 2008
Replies: 7
Views: 1,261
Posted By Hannahlv
Hmm...only 1 argument. I thought I typed wrong here. So how can I correct the message "Segmentation fault (core dumped)"?
Forum: C++ Jul 19th, 2008
Replies: 7
Views: 1,261
Posted By Hannahlv
Hi, everyone!
I thought I posted the code first, it's better. This is the code of the program I've worked with :

#include "liveMedia.hh"
#include "BasicUsageEnvironment.hh"
#include <stdio.h>
...
Showing results 1 to 30 of 30

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC