yes i have the error is this
Fatal error: Call to undefined function mssql_connect()
User Profile
Collapse
-
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 -
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);Leave a comment:
-
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] -
I found the reason why these is the answer!!!Thanks a lot for all your help!!!Code:xGraph.FillEllipse(Brush, X - R, Y - R, 2 * R, 2 * R);
Leave a comment:
-
you are correct i did not notice that it was the diameter. i can fix that by putting 2*r
how can i use them to put the center? By saying bounding rectangle what do you mean what x and y means?...Code:xGraph.FillEllipse(Brush, 200, 200,2* 200,2*200); //2*200=2*r
Leave a comment:
-
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 usebut 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?Code:xGraph.FillEllipse(Brush, 200, 200, 200,200);
-
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 usebut 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?Code:xGraph.FillEllipse(Brush, 200, 200, 200,200);
Leave a comment:
-
Solved
thank you these was extremely helpful!!! thanks a lot!!!...Leave a comment:
-
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",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 thisas for the pole i am not good in .asp but you can do it with cookiesCode:UpdatePanel1.Update();
Leave a comment:
-
In order to convert a value to an integer you can do two things
you can use thisor thisCode:X=Convert.ToInt32(textBox.Text);
Code:X=Int32.Parse(textBox.Text) ;
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...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() {
No activity results to display
Show More
Leave a comment: