User Profile

Collapse

Profile Sidebar

Collapse
YouPoP
YouPoP
Last Activity: May 20 '08, 02:54 AM
Joined: Jun 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • YouPoP
    replied to refresh datagridview automatically
    in .NET
    do you have any exemple of code you could provide me or link me to please... it looks like I actually am the main bug (hehe)

    thanks
    See more | Go to post

    Leave a comment:


  • YouPoP
    started a topic refresh datagridview automatically
    in .NET

    refresh datagridview automatically

    Hi,

    I have a Window Form to which i added a datagridview. The binding source is working well, but does not update if the database is modified outside the application (i mean not showing the modification made to the database).

    Trying to solve my problem, i added a timer to the form that Fill the datagridview every xx milliseconds (basically a timer that calls the Form_Load method). The timer is working nicely, but because...
    See more | Go to post

  • YouPoP
    replied to atlsimpstr.h problem with mfc application
    in C
    found the problem:

    i replaced this line from void CCalculsPolynom es::AfficherRes ultat(double* result[], int size)

    double resultat[6];
    with
    double* resultat;
    resultat = new double[size];

    thanks anyway for your help and sorry for the multi-posting not working
    See more | Go to post

    Leave a comment:


  • YouPoP
    replied to atlsimpstr.h problem with mfc application
    in C
    I have an MFC application (VS2005) with splitter window (one is the view other is a formview). you can select from the main menu different math operation on polynoms and polynoms shows on the formview. you can then calculate and the result is shown in the view. The class CalculsPolynoms above is working just fine for all operations except Multiplier(), the line myPoly->AfficherResult at(p_resultat, 11); brings me to AfficherResulta t(...) and the...
    See more | Go to post

    Leave a comment:


  • YouPoP
    replied to atlsimpstr.h problem with mfc application
    in C
    well hoping the message will show this time...


    I have an MFC application (VS2005) with splitter window (one is the view other is a formview). you can select from the main menu different math operation on polynoms and polynoms shows on the formview. you can then calculate and the result is shown in the view. The class CalculsPolynoms above is working just fine for all operations except Multiplier(), the line myPoly->AfficherResult at(p_resultat,...
    See more | Go to post

    Leave a comment:


  • YouPoP
    replied to atlsimpstr.h problem with mfc application
    in C
    sorry the message was not showing .. and can not delete the other replies I tried to do...
    See more | Go to post

    Leave a comment:


  • YouPoP
    started a topic atlsimpstr.h problem with mfc application
    in C

    atlsimpstr.h problem with mfc application

    I have an MFC application (VS2005) with splitter window (one is the view other is a formview). you can select from the main menu different math operation on polynoms and polynoms shows on the formview. you can then calculate and the result is shown in the view. The class CalculsPolynoms above is working just fine for all operations except Multiplier(), the line myPoly->AfficherResult at(p_resultat, 11); brings me to AfficherResulta t(...) and the...
    See more | Go to post

  • YouPoP
    started a topic atlsimpstr.h problem with mfc application
    in C

    atlsimpstr.h problem with mfc application

    I have an MFC application (VS2005) with splitter window (one is the view other is a formview). you can select from the main menu different math operation on polynoms and polynoms shows on the formview. you can then calculate and the result is shown in the view. The class CalculsPolynoms above is working just fine for all operations except Multiplier(), the line myPoly->AfficherResult at(p_resultat, 11); brings me to AfficherResulta t(...) and the...
    See more | Go to post
    Last edited by YouPoP; Mar 16 '08, 05:27 PM. Reason: message was not showing

  • YouPoP
    started a topic drawing with mouse on a panel
    in .NET

    drawing with mouse on a panel

    I am doing an app (C# 2.0) where you can draw in a panel with your mouse in "real time". I actually have 2 problems;
    1- it does not really is "real time", if your mouse move fast or very fast the line is added after a very small delay.
    2-Because I use AddLine(), it adds very short lines from one point to another and it does not give a very good result. Also because of this and my "not real time" problem,...
    See more | Go to post

  • YouPoP
    started a topic float to CString conversion not exact
    in C

    float to CString conversion not exact

    For a reason i don't know, if i convert a float to a cstring, it does not convert to an exact value for all values except round numbers or 1/2 numbers;

    the following code (used to convert and later show as text in a MFC Document)
    Code:
    char buffer1[_CVTBUFSIZE];
    _gcvt(i_A11, 12, buffer1);
    CString SA11 = (CString) buffer1;
    output
    float i_A11 = 1,2 and once converted to Cstring SA11...
    See more | Go to post

  • YouPoP
    replied to mfc view not updating
    in C
    pDoc->Invalidate(tru e);
    is not working (Invalidate not a member of TP1Doc)
    but Invalidate() in the OnUpdate method is working fine

    thank you very much for your reply!
    See more | Go to post

    Leave a comment:


  • YouPoP
    started a topic mfc view not updating
    in C

    mfc view not updating

    Hi, I am doing an MFC MDI application with VS 8.0. I am using the default document view plus a formview ans show both of them in the view using a splitter.
    In the formview there is an event onBtnclicked that displays some valued entered by the user in the document. Here is the code in my formview:
    Code:
    // MyForm.cpp
    
    void CMyForm::OnBnClickedButtonok()
    {[INDENT]CTP1Doc *pDoc = (CTP1Doc *)GetDocument();
    pDoc->hello[/]
    ...
    See more | Go to post

  • YouPoP
    replied to variable re-initialization not working
    in .NET
    Found out:
    Instead of doing it in the same function
    matTemp = a
    I created a new function with your code which fills and returns the initial matrix "a" and replaces matTemp = a with matTemp = InitializeMatri x(a);

    thanks so much for your help!!!

    Yolaine
    See more | Go to post

    Leave a comment:


  • YouPoP
    replied to variable re-initialization not working
    in .NET
    this is already what I have no? Or am I missing something? because this way even a gets filled with the B values ...

    Code:
    private static int[] CalculerXi(int[,]a, int[,]b, int n)
    {
              .......
    
                for (int j = k; j < n; j++) // pour chaque colonne
                {
                    matTemp = new int[n, n];
                    matTemp = a; // reinitialiser la matrice A
    ...
    See more | Go to post

    Leave a comment:


  • YouPoP
    replied to variable re-initialization not working
    in .NET
    the variable is fine from one classe to another, the problem is when i do the calculation, the matTemp does not return to the initial value of a after having B replacing the n column. at the end of the loop, a AND matTemp are filled with the B values only...
    See more | Go to post

    Leave a comment:


  • YouPoP
    started a topic variable re-initialization not working
    in .NET

    variable re-initialization not working

    Hi,
    I am new to coding and to C# and I am experiencing this problem:

    I have to use the Cramer's Rule to solve linear equation systems given by the users (I am using a windows form). Once the data is filles in the matrix, i send this matrix for the determinants calculations to solve the systems.

    But whenever i try to calculate the determinants it does not work because the vector B is supposed to replace one column...
    See more | Go to post

  • i have this problem with sql:

    ENTREPRISE ( entreprise_id, entreprise_nom, entreprise_crea tion, entreprise_adre sseSS, entreprise_type )

    ENTREPRISE_CONT ACT ( entreprise_id, entreprise_cont act_nom)

    ENTREPRISE_TEL (entreprise_cont act_nom, entreprise_tel)

    i can add a foreign key from ENTREPRISE_CONT ACT to ENTREPRISE with entreprise_id, but not from ENTREPRISE_TEL to ENTREPRISE_CONT ACT with...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...