Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
89% Quality Score
Upvotes Received
9
Posts with Upvotes
8
Upvoting Members
8
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
5 Commented Posts
~36.4K People Reached
Favorite Tags
Member Avatar for ktsangop

Hello everyone! I have a server/client application running in 4 internet cafes, and i have a packet duplication problem in one of them. I have thoroughly examined my code and tested it in my lab and cannot find any bugs whatsoever. So on rare conditions some of the clients seems …

Member Avatar for Khaled_6
0
2K
Member Avatar for jeffcogswell
Member Avatar for ktsangop

Hello everyone. I would like to know if there is a factory default configuration for the WD My book world NAS. I am helping a friend that has one of those in their office and the web interface states that the capacity is 1TB but nowhere in the gui did …

Member Avatar for ktsangop
0
273
Member Avatar for ktsangop

Hello! I would like some help with a piece of java code that i'm having problem. I have to make simultaneous tcp socket connections every x seconds to multiple machines, in order to get something like a status update packet. I use a Callable thread class, which creates a future …

Member Avatar for ktsangop
0
521
Member Avatar for ktsangop

Just wanted to inform you that an advertisment i clicked on, leads to a non working link. Seems that the forwarded link is missing the semicolon (:) after http. I click on ads once a year maybe so i had to report it... :D This is the url behind the …

Member Avatar for pritaeas
1
276
Member Avatar for ktsangop

Hello everyone! Is it possible to write a query which does the following : UPDATE db.table SET col1 = 1 WHERE col2='something' AND col3 IN ('a','b','c') ELSE SET col1 = 0 Meaning that the rows that don't match the where conditions will also be updated to another value. Note that …

Member Avatar for ktsangop
0
236
Member Avatar for ktsangop

Hello everyone! I would like your help regarding this: I have a tuple vector which i must iterate through, and accessing the vector data to decide wether to erase or not the current vector element. My code : typedef tuple <int, CString, int, int> pc_data; vector <pc_data> pc_vec; //Assume that …

Member Avatar for ktsangop
0
6K
Member Avatar for ktsangop

Hi everyone. I would like to implement a counter using ajax that will act like this: The script will send a XMLHttpRequest every x seconds which will return a value from a mysql database. Using the current and previous value retrieved from the server, the script will increase the counter, …

Member Avatar for ktsangop
0
263
Member Avatar for ktsangop

Hello everyone, I would like to use HP's system recovery (F11 on boot menu, not the windows application) to revert my laptop to its factory state. The thing is that i have created a disk partition to keep my data which wasn't present by default. Will the recovery delete my …

Member Avatar for TAMILSELVANBABU
0
1K
Member Avatar for ktsangop

Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able …

Member Avatar for ktsangop
0
2K
Member Avatar for ktsangop

Hello everyone! Just as the title suggests, i would like to know if it's possible to set the position of a dialog box. The default behaviour, is to appear in the center of the screen I use it this way : public static int confirmationBox(String infoMessage, String location) { int …

Member Avatar for ktsangop
0
3K
Member Avatar for ktsangop

Hi everyone, I am a C/C++ winapi developer and have to rewrite a "Dialog based" application in java, so that it will execute as an applet in any browser. My java skills are very few, since my knowledge is limited to past college classes. The application is not a large …

Member Avatar for ktsangop
0
372
Member Avatar for ktsangop

Hi everyone. I am trying to help a friend with her macbook which faces a mysterious problem. The macbook cannot access certain sites like facebook and pinterest when my friend uses her home wifi connection. The problem appears both on safari and chrome. When she came to my home using …

Member Avatar for Wil 0' Wisp
0
279
Member Avatar for ralph.d.abernathy.1

This is a very good tutorial for mfc dialog based application beginers http://www.codeproject.com/Articles/589/A-Beginners-Guide-to-Dialog-Based-Applications-Par It's a 15 minute read and once you complete it i am sure you will be able to create a dialog with a button that executes some code. Also how to parse input from textboxes. You could …

Member Avatar for ktsangop
0
450
Member Avatar for adrian9989

C++ code seems ok, tested it my self and works without any exceptions. Of course my client is : http://www.drk.com.ar/builder.php (you can download and check it with this one also) Don't know about java, but you should ensure that your server's ip address is the one you typed and there …

Member Avatar for ktsangop
0
2K
Member Avatar for vikuseth

I am not sure if this will help but take a look at this function as well: http://msdn.microsoft.com/en-us/library/windows/desktop/aa385449(v=vs.85).aspx Also if you are willing to sacrifice a little bit of modularity you could store all names in an array and remove the names which you are sure that are not neccessary. …

Member Avatar for ktsangop
0
326
Member Avatar for tombombadilly

I have no idea of OpenGL but i think you should consider that adding an external monitor changes the hardware capabilities of your platform, thus changing the way that OpenGl "accesses" it. Which might mean that either your OpenGl initialization is incorrect, or your hardware is not capable of handling …

Member Avatar for ktsangop
0
257
Member Avatar for ktsangop

Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. …

Member Avatar for ktsangop
0
343
Member Avatar for blackrainbowhu

You can use the following functions : 1. **strtok** to parse strings seperated by a token (';' in your case). 2. **strcmp** to compare if two strings are the same. In a while loop you can use strtok to get each of your records' data and use a counter variable …

Member Avatar for Banfa
0
429
Member Avatar for JaceLightning

I think it works like this. They software is in fact a virtual desktop multi screen application http://en.wikipedia.org/wiki/Virtual_desktop#Windows combined with a screen sharing application http://en.wikipedia.org/wiki/Desktop_sharing The server side of the application captures the non-primary virtual desktops and sends a network stream to the clients, which are of course the other …

Member Avatar for ktsangop
0
251
Member Avatar for SyedFaheelAhmad

I don't have Borland installed but this might help you : http://www.cplusplus.com/forum/beginner/3485/

Member Avatar for ktsangop
0
161
Member Avatar for ktsangop

Hi everyone, i would like some help with a couple of mysql queries. I have a table of data which looks like this : ![grid1](/attachments/large/2/grid1.PNG "grid1") And represents a transaction log for players of a game. The ID is the primary key (auto incremented). DATETIME is the date and time …

Member Avatar for pritaeas
0
238
Member Avatar for ktsangop

Hello i'd like to ask a quick one. -Mfc VC++ 6 application. -NO Unicode support by design. -Greek characters appear fine in all dialogs since OS is Windows Greek version (?) -Greek text is both hard coded in c++ source files and retrieved from mysql database. -ONE specific Edit Box …

0
104
Member Avatar for winter7621

How do you know your threads are done computing before your main function starts printing their values? You have to implement some kind of signaling between the threads and the main function. Perhaps use a global volatile BOOL variable e.g. ThreadIsDone; set it FALSE when the thread starts and TRUE …

Member Avatar for ktsangop
0
2K
Member Avatar for ktsangop

Hello everyone! I have a rather mysterious problem. I have a mfc dialog based application (running on win xp sp3), and at the same time another mfc app that installs a global keyboard hook capturing the ESC key (this one is always hidden). SOMETIMES when i press ESC key (with …

0
144
Member Avatar for ktsangop

Hello everyone. As the title suggests i need to implement a type of timer based function inside a UI Thread in MFC. Although CWinThread is a UI Thread and has a message pump it does not have a Timer function as CWnd::OnTimer Is there any way i can implement a …

Member Avatar for ktsangop
0
743
Member Avatar for ktsangop

Hello everyone! I am building a mfc dialog based application in visual c++ 6 and using mysql c api to connect to a database. What i need is a simple type of data grid to show mysql query results in a dialog. I do not need to edit, update, save …

Member Avatar for ktsangop
0
1K
Member Avatar for klharding2

All your function declarations have the file path variable as a char argument. for example : double slopec (double dinner, double douter, **char inputfilename**) But the char variable holds only one character. and you declare inputfilename as: char inputfilename[50]; which is a 50 character array. So first of all read …

Member Avatar for ktsangop
0
183
Member Avatar for owenransen

Have you tried to open NameOfProject.rc file with a text editor to see its contents? If no, this file usually reside to the NameOfProject\res\ directory. Open it with notepad and search for IDR_MAINFRAME declaration. There should be a line something like : IDR_MAINFRAME ICON DISCARDABLE "res\\NameOfProject.ico" Also in the costructor …

Member Avatar for ktsangop
0
465
Member Avatar for ktsangop

Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, …

Member Avatar for ktsangop
0
814