what you need to use is something like this: <%= Request.ServerVariables("remote_addr") %> The above line in your asp code will give you the clients IP address :cool: void signature(){ cout<<"Sobbayi Interactive"<
Steve Obbayi
Posts
-
IP Adresse? -
Check box controlOk the way i see it there are two ways you can go about creating a checkbox control. 1. You can use the the visual c++'s resource editor on a dialog box. If you choose to do so you will need see a tutorial on visual c++. this can be found on http://msdn.microsoft.com 2. The other way is to use mfc to do it heres a sample... declare a checkbox control (actually its a special type of Button control) CEdit myCheckBox; go ahead and initialize it myCheckBox.Create(LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID); now the dwStyle above must have at least the following flag "BS_AUTOCHECKBOX" heres an example. myCheckBox.Create("Search Any Word", WS_VISIBLE | BS_AUTOCHECKBOX, CRect(365,0,470,30), this, IDC_CHECK1) IDC_CHECK1 is the dialog control ID. Hope this makes sence. void signature(){ cout<<"Sobbayi Interactive"<
-
Search Engines... does anyone know?I am building a search engine desktop application. It works by putting in text in an Edit control then hitting the search button and let it search the entire internet looking for web pages with the occurences of my search text on them. Ok the question is, how do i determine which web site the Application should start the search at without specifically specifying a web site. Any ideas out there?? void signature(){ cout<<"Sobbayi Interactive"<
-
ClistBox problem here........help!!!!! :-(Thanks guys, The problem is certainly not InsertString() or AddString() i think i am gonna go with Mike. I discovered i am actually trying to insert a string into a non initialized ListBox. So am gonna go with using a pointer to myListBox from myApp class. Thanks alot guys. void signature(){ cout<<"Sobbayi Interactive"<
-
ClistBox problem here........help!!!!! :-(Run this by me... Im missing something and i cant see what. Ok, Supposing i have a PropertySheet. inside it i have a CPropertyPage Class that has 'CListBox myListBox' as a class member variable and is attached to a ListBox control created using the resource editor. I then have another class called myApp derived from CWinApp. The question is... How do i add a string to my ListBox contol at runime from a function triggered by another action in myApp? When i put the pieces together and compile its all fine until trgger the function. From then i get an assertion error. void signature(){ cout<<"Sobbayi Interactive"<