Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

Immunity18

@Immunity18
About
Posts
173
Topics
53
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with CComboBox
    I Immunity18

    It was working correct :/ I just haven't resized the pop up area :/

    C / C++ / MFC help c++ design question

  • Problem with CComboBox
    I Immunity18

    Hello I have a problem with CComboBox I use MSVS 6.0 I made a MFC application and i have create 4 Dialogs (New Class -> Form ) Now i design a CComboBox and I press ClassWizard and Add Variable IDC_COMBO -> m_Combo (CCombo control) when i type m_Combo.EnableWindow(FALSE) it works (become disable) but when i try to add a variable (m_Combo.AddString("asdads") ) Combo Box appears empty (i click on it and no options) any help ? :/

    C / C++ / MFC help c++ design question

  • Ajax Post XMLHttpRequest take long time
    I Immunity18

    hello i dont know where i had to post this I have a postonly.html page which send a "POST" xmlhttprequest at register.php my problem is while query is complete (and table is updated) extremly fast(1-2 sec) as i can see my database via Putty.exe Responce of the if(http.readyState == 4 && http.status == 200) { alert(http.responseText); } is takes about 15 sec (so the alert box pop up) anyone knows any suggestion so it would be response faster? (my get method Ajax works fine and fast)

        Customer Account Information 
         
    	function postForm()
    	{
    		//var httppost = new getHTTPObject(); 
    		var url2 = "register2.php";
    		var params = "account=testisok&email=yeah";
    
    		http.open("POST", url2, true);
    
    		//Send the proper header information along with the request
    		http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
    		http.setRequestHeader("Content-length", params.length);
    		http.setRequestHeader("Connection", "close");
    		
    		http.send(params);
    		http.onreadystatechange = function() 
    		{
    			
    			if(http.readyState == 4 && http.status == 200) 
    			{
    				alert(http.responseText);
    			}
    		}		
    
    	}
    
    function getHTTPObject() { 
      var xmlhttp; 
    
      if(window.XMLHttpRequest){ 
        xmlhttp = new XMLHttpRequest(); 
      } 
      else if (window.ActiveXObject){ 
        xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
        if (!xmlhttp){ 
            xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
        } 
        
    } 
      return xmlhttp; 
    
      
    } 
    var http = getHTTPObject(); // We create the HTTP Object 
     
     
     
        Enter customer ID number to retrieve information: 
        Account: 
        E-mail :
    
    ASP.NET database php html sales help

  • problem on work with Class CArray [modified]
    I Immunity18

    hehehe :D thanks god I have you guys here and you fill my big holes in C++ programming

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    yes yes as my before reply i did it :D I leveled up from 100%noob to 80%noob :D

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    ooooooo ! I leveled up ! \o/ its ok i put it in bottom of stafx.h and works fine :D thanks again ! mark

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    plx plx noob specific language ! :D

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    I have in project.h void GetDF( CMyStringArray &FArray); double FindDF(CString file , CMyStringArray &AFArray); and it pop up me errors error C2061: syntax error : identifier 'CMyStringArray'

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    ok i try to do as you command !:D but where i will put typedef ? in .h ? (for the moment i put it in .cpp ) and i will put it where the #includes or where the are the other declarations

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    CArray < CString , CString > FArray; so i have to go and correct it the second CString ==> CString& or can I work with that style ?

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    :D i create the CArray in parent function as CArray FArray; how i have to pass it in the parametr of function ? :D

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    thanks i think i fix it :D i put CArray < CString , CString& > &FArray am i write ? :D (for the moment no error in compiler :D)

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    :S too much C specific words for me :(( hear what i want to do :D i had create a CArray class to store CString (Filenames) because i dont know how many Files will be each time (so i cant use static Array[] ) so i want to pass the CArray in each function so i can do some things in these functions :D

    C / C++ / MFC help question

  • problem on work with Class CArray [modified]
    I Immunity18

    got 2 function ( second is executed inside first one) how i will pass the CArray class? with my code 1 error : error C2664: 'GetDF' : cannot convert parameter 1 from 'class CArray' to 'class CArray' No copy constructor available for class 'CArray' Error executing cl.exe.

    double CAnaktisiDlg::FindDF(CString file , CArray < CString, CString > AFArray)
    {
    		CString LineRead ;
    		CString str7;
    		CString FilePathName;
    		const int sz =100;
    		char buf[sz];
    		FilePathName = m_FolderName + file;
    		ifstream FileText(FilePathName);
    		while(FileText.get(buf,sz))
    		{
    			FileText.get();
    			LineRead = (LPCSTR) buf;
    			GetDFArray(LineRead);
    			GetDF(AFArray);
    	
    		}
    		FileText.close();	
    	return 0.0;
    }
    
    void CAnaktisiDlg::GetDF(CArray < CString , CString > FArray)
    {
    	int nDf=0;
    	int niDF = 0;
    	for ( int i = 0 ; i
    
    C / C++ / MFC help question

  • How i put a CArray as a parament in a function
    I Immunity18

    Now i include it my double CAnaktisiDlg::FindDF(CString file , CArray < CString, CString > FArray) works fine thank you onces again David :D (both kevin and mark :D)

    C / C++ / MFC

  • How i put a CArray as a parament in a function
    I Immunity18

    i because it was it wasn't visible and i thought u said did you forget to #include , in your project, the "stdafx.h" file ? And yes i didnt #include "afxtempl.h" but not that i forget ,because i didnt know i had :P

    C / C++ / MFC

  • How i put a CArray as a parament in a function
    I Immunity18

    #include "stdafx.h" its the first of my include

    C / C++ / MFC

  • How i put a CArray as a parament in a function
    I Immunity18

    double CAnaktisiDlg::FindDF(CString file , CArray < CString, CString& > &FArray) is what i create (indetifier CArray error) double CAnaktisiDlg::FindDF(CString file , CArray < CString, CString& > FArray) same :/ according to you it had to be working fine :((

    C / C++ / MFC

  • How i put a CArray as a parament in a function
    I Immunity18

    hehehe sorry i let you alone inside forest:D Ok here i am to rescue u ! i use Microsoft Visual studio C++ 6.0 enviroment i press right click on the Class and press Add member function on the window it pop up i time Type: double Function declaration : Find(CString file , ....) and i have to press OK or cancel :D

    C / C++ / MFC

  • How i put a CArray as a parament in a function
    I Immunity18

    i tried FindDF(CString file , CArray < CString, CString& > FArray) and when i press OK nothing happends (pressed it many times)

    C / C++ / MFC
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups