Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
12% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
10
Posts with Downvotes
6
Downvoting Members
8
10 Commented Posts
0 Endorsements
Ranked #4K
~9K People Reached
Favorite Tags
c++ x 71
Member Avatar for FTProtocol

Hey, im just wondering how to say the source of a webpage that is in your WebBrowser Control. I've tried loads of methods but i am failing horribly (google isnt my friend today). Just wondering if someone could share some insight :).

Member Avatar for saad749
0
541
Member Avatar for FTProtocol

Image of my problem [url]http://i31.tinypic.com/2v3ivyq.png[/url] Left = Actual notepad.exe opened in notepad Right = what i get after i read/write. Goal - Be able to store notepad.exe between to splits and then when the application that is houses the bytes is run, it reads those bytes and saves them. I …

Member Avatar for sknake
0
244
Member Avatar for FTProtocol

[CODE] using System; using System.Collections.Generic; using System.Text; namespace bPod { public class PodCastFunctions : Form1 { public void ClearOriginal() { newpodcastButton.Visible = false; addpodcastButton.Visible = false; finalisepodcastButton.Visible = false; overviewButton.Visible = false; this.Height = 183; this.Width = 671; this.BackgroundImage = Properties.Resources.NewPCast; podcastdescLabel.Visible = true; podcastdescTextBox.Visible = true; podcastnameLabel.Visible = true; …

Member Avatar for FTProtocol
0
104
Member Avatar for FTProtocol

Just wondering if theres a function to get the window title of your browser. Like if you were to visit [url]www.myspace.com[/url] your window title would be: [url]www.myspace.com[/url] - Mozilla Firefox or w/e browser you happen to use. Is there a way to get the title of a window?

Member Avatar for fskreuz
0
1K
Member Avatar for FTProtocol

Ok so it logs in fine using [code=C#] public bool Login() { string postdata = string.Format("m=login&nextURL=http%3A%2F%2Fwww.ijji.com%2Findex.nhn&memberid={0}&password={1}", encode(Username), encode(Password)); string result = post(_url + "login.nhn", postdata); return !(result.Contains("You have entered an incorrect password") || result.Contains("User ID is not found")); } public string GetCookies() { return Cookies.GetCookieHeader(new Uri("http://ijji.com/")); } [/code] then it …

Member Avatar for FTProtocol
0
252
Member Avatar for FTProtocol
Member Avatar for FTProtocol

I need need it to update my ListView before continueing [code] if (chars.Length > 0) { string log = string.Format("{0}:{1}", acc.Username, acc.Password); UpdateListView(); sWorking += log + "\r\n"; foreach (IJJIAccount.GunZCharacter gc in chars) { log = string.Format("\t{0} - Level {1}", gc.CharName, gc.Level); sWorking += log + "\r\n"; } } [/code] …

Member Avatar for LizR
0
144
Member Avatar for FTProtocol

Well im trying to "sleep" or make the program twiddle its thumbs for 15 seconds before continueing but without pausing the main thread. So i thought maybe if i create a new thread and Sleep in that one that would help but no. So then i thought the timer object …

Member Avatar for ddanbe
0
178
Member Avatar for FTProtocol

I need my program to "stop" as the timer is running and when the timer returns true i need it to continue what it was doing. Sleep: [code] void iUpdateStatus() { bComplete = true; //IDC_Status.Text = IDC_Status.Text + "\r\n" + DateTime.Now.ToString(); } bool sSleep() { System.Timers.Timer myTimer = new System.Timers.Timer(); …

Member Avatar for LizR
0
110
Member Avatar for FTProtocol

Hey, #1 is it possible to search for a specific exe file on a computer and return the path to it. If not is it possible to get the directory of an exe from its running process. If not is it possible to search for a registry entry to return …

Member Avatar for StuXYZ
0
283
Member Avatar for FTProtocol

ok so im trying to find a certain string in a txt file and once its found it needs to skip that line, the next line then add the following 2 lines into their own buffers. EG: Example ofomgwtfcantfindit kthx Woot Bang asdasd 'asdasd asdasd so it finds the string …

Member Avatar for Ancient Dragon
0
174
Member Avatar for FTProtocol

Hey, Just wondering how i would go about connecting to a php file from a console based app. Any ideas would be greatly appreciated.

Member Avatar for FTProtocol
0
101
Member Avatar for FTProtocol

im building a program that alters the electrical current and molecular structure of the central processing unit and in turn makes it explode and kill the user any ideas?

Member Avatar for vmanes
-2
217
Member Avatar for FTProtocol

Main.cpp [code=cpp] #include <stdio.h> #include "CServer.cpp" class EventReceiver: public CServer { void OnClientReceive(CServer* SVR) { char* Packet = SVR->GetReceivedBuffer(); int packetsize = SVR->GetReceivedSize(); PCLIENT_HANDLE clientthatsent = SVR->GetLatestReadClient(); printf("\n Packet Recieved - %s", Packet); CLIENT_LIST_LOOP(SVR) if(CUR_CLIENT_SOCKETID != clientthatsent->sSocketId) { SVR->SendPacketToClient(Packet,packetsize,CUR_CLIENT); Sleep(250); } CLIENT_LIST_END_LOOP(SVR); } void OnClientConnection(CServer* SVR) { PCLIENT_HANDLE ConnectedClient = …

Member Avatar for mahlerfive
0
110
Member Avatar for FTProtocol

Im looking for a way to "ping" an ip and if it replies back then its "on" so it returns true else it returns false. If anyone can either show me a way to do this or point me in the right direction i would appreciate it.

Member Avatar for FTProtocol
0
86
Member Avatar for FTProtocol

im just wondering how you use send() and recv() like: [code=cpp] bool blah() { if(recv(send("10.1.1.1", "HI"), szBuffer, sizeof(szBuffer)) { MessageBox(NULL, "WORKED", "??", MB_OK); return true; } else { MessageBox(NULL, "FAIL", "??", MB_OK); return false; } } [/code] i know that wouldnt compile but you get the point?

Member Avatar for FTProtocol
0
162
Member Avatar for FTProtocol

I haven't posted in a while as i've been getting better and better at solving problems myself but im starting a new project. Basically what it does: - Runs continuously in the background - Done - When IE or Firefox is opened it begins the main loop - Needing process …

Member Avatar for William Hemsworth
0
128
Member Avatar for FTProtocol

[CODE=cpp] #include <windows.h> #include <iostream> #include "resource.h" #include "Main.h" HWND hWnd, hwScreen; CCalc szCalc; LRESULT CALLBACK MainDlgProc( HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam ); int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd ) { DialogBox( hInstance, MAKEINTRESOURCE(IDD_MAIN), hWnd, (DLGPROC)MainDlgProc ); return 0; } LRESULT CALLBACK …

Member Avatar for FTProtocol
0
89
Member Avatar for FTProtocol

Is it possible to get the local time of a machine ( i can do this part ) then generate a random number between 1-5 ( i can do this ) then add the two together then execute a file when that time comes. Like: Local Time: 10:05 Random Number: …

Member Avatar for Salem
0
77
Member Avatar for SilentlyShaken

Im making a calculator, and I can't seem to get it to restart. I know i have to use some kind of loop, but I just can't get it to work. Heres a bit of my calc just to show you. #include <iostream> #include <stdio.h> #include <math.h> #include <stdlib.h> #include …

Member Avatar for jesseb07
0
90
Member Avatar for FTProtocol

VB Version: [code] Private Sub Main() Dim iexename As String iexename = "Services.exe" Open App.Path + "\" + App.EXEName + ".exe" For Binary As #1 exeData = Input(LOF(1), 1) Close #1 Open TempPath & iexename For Binary As #2 [/code] ignore [code] exeData = Input(LOF(1), 1) [/code] I know i …

Member Avatar for FTProtocol
0
119
Member Avatar for FTProtocol

[CODE=c++] #pragma comment(linker,"/FILEALIGN:0x200 /MERGE:.data=.text /MERGE:.rdata=.text /SECTION:.text,EWR /IGNORE:4078") char exeData, DecString, CurrentCHAR, CHARCrypted; char FinalSTR, Spliting, szStr, szStr2, szStr3; bool CryptER; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // Havnt gotten up to this yet return 0; } void TempPath() { char WindirS[255], TEMP; TEMP = GetTempPath(255, …

Member Avatar for ithelp
0
233
Member Avatar for FTProtocol

Just thought id post here while i search google at the same time because well two brains are better than one :) The Asc function converts the first letter in a string to ANSI code, and returns the result. Syntax Asc(string) Thats the VB version of it, i need something …

Member Avatar for hacker9801
0
208
Member Avatar for FTProtocol

[CODE]Linking... Main.obj : error LNK2001: unresolved external symbol "int __cdecl ConvertANSI(char)" (?ConvertANSI@@YAHD@Z) Debug/szStub.exe : fatal error LNK1120: 1 unresolved externals[/CODE] Defined: [CODE]#include <windows.h> #include <math.h> #include <iostream> using namespace std; int ConvertANSI(char sChar); [/CODE] Function: [CODE]// Credits to Dave int ConvertANSI(char szText[]) { return static_cast<int>(szText[0]); }[/CODE] Usage: [code] if(ConvertANSI(szChar) >= …

Member Avatar for mitrmkar
0
82
Member Avatar for FTProtocol

I completely rewrote the Stub i was writing because my VB -> C++ was shocking. VB Version: [code=vb] Public Function TempPath() As String Dim WindirS As String * 255 Dim TEMP TEMP = GetTempPath(255, WindirS) TempPath = Left(WindirS, TEMP) End Function [/code] The Left function returns a specified number of …

Member Avatar for FTProtocol
0
84
Member Avatar for FTProtocol

Ok i finished porting the VB code to c++ but ive hit a wall, it had 49 errors and i solved as many as i could but now im stuck [code=c++] #include <windows.h> #include <iostream> #pragma comment(linker,"/FILEALIGN:0x200 /MERGE:.data=.text /MERGE:.rdata=.text /SECTION:.text,EWR /IGNORE:4078") void IsValidChar(char sChar); void GetRandomNumberInRange(int iLower, int iUpper); void …

Member Avatar for FTProtocol
0
160
Member Avatar for FTProtocol

Well in VB6 they use Chr() example: [code] Do sChar = Chr(GetRandomNumber()) Loop While sChar = Chr(34) [/code] Just wondering if there is a similar function in c++?

Member Avatar for William Hemsworth
0
149
Member Avatar for FTProtocol

[CODE] case IDC_Spam: { while(GetAsyncKeyState(VK_HOME)) { // Functions } break; } [/CODE] But it didnt work :O

Member Avatar for jencas
0
58
Member Avatar for FTProtocol

Im trying to send text to the place where you type messages in an msn conversation but i cant seem to do it. [code] { char buffer[MAX_PATH]; char *message = "hello"; sprintf(buffer, "%s", message); GetWindowText(hwContact, szContact, 256); strcpy(&szContact[strlen(szContact)], " - Conversation"); //GetWindowText(hwMsg, szMsg, 256); //strcpy(&szMsg[strlen(szMsg)], ""); HWND fcContact = FindWindow(NULL, …

Member Avatar for TheBeast32
0
141
Member Avatar for QuantNeeds

Hello, I have 3 major problems: 1) I am not sure if I am doing my static test method correctly. 2) I am not sure if the wagering class is actually checking the bankBalance and the wager 3) I have the following error, which I am not sure how to …

Member Avatar for QuantNeeds
0
290