User Profile

Collapse

Profile Sidebar

Collapse
kspiros
kspiros
Last Activity: Nov 18 '08, 02:19 PM
Joined: Oct 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kspiros
    replied to mssql error
    in PHP
    yes i have the error is this
    Fatal error: Call to undefined function mssql_connect()
    See more | Go to post

    Leave a comment:


  • kspiros
    started a topic mssql error
    in PHP

    mssql error

    I have a problem the phpinfo(); can not find mssql tha php.ini is correct in the corect path php\ext i have deleted the semi color extension=php_m ssql.dll but i can not still connect to mssql. the strange thing is that on my other pc works fine. Any ideas? I use php apache sql server 2005
    See more | Go to post

  • Thanks guys i solve it with this
    Code:
     
    //Declare a new delegate specific to updating the text of a label         
    delegate void UpdateLabelTextDelegate(Label lbl, string text);
              //This method will invoke the delegate and pass our args along         
    void UpdateLabelText(Label lbl, string text)        
     {             
    UpdateLabelTextDelegate dlg = new UpdateLabelTextDelegate(UpdateLabelTextByDelegate);
    ...
    See more | Go to post

    Leave a comment:


  • kspiros
    started a topic change the text of a label while a thread is running
    in .NET

    change the text of a label while a thread is running

    i can not find a way in order to change a label while this tread is running
    Code:
    public void work()
            {
                ///////
                
                int[] d = new int[5];
                Thread.Sleep(draw_delay);
                    for (int i = 0; i < 5; i++)
                    {
                        d[i] = 0;
                        double a;
                        a = Math.Sqrt(Math.Pow(pointcheck[0]
    ...
    See more | Go to post

  • I found the reason why these is the answer!!!
    Code:
    xGraph.FillEllipse(Brush, X - R, Y - R, 2 * R, 2 * R);
    Thanks a lot for all your help!!!
    See more | Go to post

    Leave a comment:


  • you are correct i did not notice that it was the diameter. i can fix that by putting 2*r
    Code:
    xGraph.FillEllipse(Brush, 200, 200,2* 200,2*200); //2*200=2*r
    how can i use them to put the center? By saying bounding rectangle what do you mean what x and y means?...
    See more | Go to post

    Leave a comment:


  • kspiros
    started a topic circles coordinates
    in .NET

    circles coordinates

    I have a problem the circles i use are not painted in the exact location which I want them to. For example, I want to paint them in coordinates lets say x=200
    y=200 and r=200, that is why i use
    Code:
    xGraph.FillEllipse(Brush, 200, 200, 200,200);
    but in the picture it does not go exactly on the point (200,200) of the picture with exactly r=200 but instead goes to about (300,300) with r=100. How can i solve this?
    See more | Go to post

  • I have another problem now. the circles are not painted in the exact location which I want them to. For example, I want to paint them in coordinates lets say x=200
    y=200 and r=200, that is why i use
    Code:
    xGraph.FillEllipse(Brush, 200, 200, 200,200);
    but in the picture it does not go exactly on the point (200,200) of the picture with exactly r=200 but instead goes to about (300,300) with r=100. How can i solve this?
    See more | Go to post

    Leave a comment:


  • Solved


    thank you these was extremely helpful!!! thanks a lot!!!...
    See more | Go to post

    Leave a comment:


  • kspiros
    replied to Insertcommand in TableAdapter
    in .NET
    i would suggest you not to use the clicked .net way in order to connect to database. you can do something like this to update you database
    Code:
    using MySql.Data.MySqlClient;
    using MySql.Data.Types;
    
    MySqlConnection mysqlCon = new MySqlConnection(strProvider);
    
    string strSQL = "update table set table.something=@alpha";
    MySqlCommand mysqlCmd = new MySqlCommand(strSQL,mysqlCon);
    mysqlCmd .Parameters.Add("@alpha",
    ...
    See more | Go to post

    Leave a comment:


  • can you show me your code and a few print screens of what you want to do?
    See more | Go to post

    Leave a comment:


  • if i understood what you want you can make an Ajax update panel.
    take from the .asp components an Ajax panel change the updatemode to conditional and when you want to refresh it do this
    Code:
    UpdatePanel1.Update();
    as for the pole i am not good in .asp but you can do it with cookies
    See more | Go to post

    Leave a comment:


  • kspiros
    replied to Show Currency
    in .NET
    In order to convert a value to an integer you can do two things
    you can use this
    Code:
    X=Convert.ToInt32(textBox.Text);
    or this
    Code:
    X=Int32.Parse(textBox.Text) ;
    See more | Go to post

    Leave a comment:


  • This is correct, this what I am trying to do

    I am trying not to take away all the ellipses at the same time. I will explain . I have a map in a picture box in this picture box i can click only twice and only in the roads then a thread is painting the road between the first and the second click. What I mean is it starts from the first click and slowly draws the road to the second click as a gps of a car. While lets say driving it passes...
    See more | Go to post

    Leave a comment:


  • How can i dispose it?...
    See more | Go to post

    Leave a comment:


  • How do I clear a FillEllipse without clearin the graphics of my image

    I have a picture box which contains an image and some drawn ellipses. while a thread pass by the ellipses increase the alpha of the ellipse but when the tread leaves the ellipse range i can't change the alpha value because it paints it over. how can I erase only the ellipse without touching anything else in the image.
    image linksimage1 image2

    my code

    Code:
    public void work()
            {
    ...
    See more | Go to post
No activity results to display
Show More
Working...