Hi hadad ...
Environment.CurrentDirectory
....
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Hi hadad ...
Environment.CurrentDirectory
....
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Hi ... I think it's good for you:
List val = new List();
for (int i = 0; i < listBox1.Items.Count; i++)
{
lst.SelectedIndex = i;
val.Add((Int32)lst.SelectedValue);
}
In val you have All EmployeeIDs ... But this code is not logical code X| ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Hello World ! I want to call(run) my default dial_up connection with C#... how can this ... TanX world ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Hello world! How to change my Local IP, default gateway, Preferred DNS server, Alternate DNS server with C# codes? TanX World...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Hello World! I want to learning wpf, what I do for this? ... Tanx World ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
Mr nelsonpaixao, my Image in database And not in file ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
I writed correctly in my codes but I wrong in this... what I do for solve this error ...
if(Human.live) { Human.peaceful = false; while(true) { Human.love(Human girl, Human Boy); } }
My problem not solve ... :(
if(Human.live) { Human.peaceful = false; while(true) { Human.love(Human girl, Human Boy); } }
hello world! I wanted to access my Images In Database and I write these codes :
byte[] buffer2 = (byte[])dsPicture.Tables["documentImageTable"].Rows[3]["diImage"];
MemoryStream stream2 = new MemoryStream(buffer2);
pictureBox2.Image = Image.FromStream(stream2);
stream2.Close();
But It have this error: Object reference not set to an instance of an object. Tanx world...
modified on Monday, October 20, 2008 1:40 PM
For resize controls, u can change the size of control:
control.height = x
control.weight = y
& for move its, u can change the location of its:
control.left = X
control.top = Y
u must write these code to event that u want (for example mouse click btn)...
diference of it , is i change servername to (local)... I have some pc with Lan network in one of these I have sqlserver with my database, and in other pcs i have app for connect to that.
- In sqlserver I see tcp/ip connection & I ticked it... - If my connectionstring faulty ,i can not connect with it localy... my connectionstring:
public void Connect()
{
string cs = "Server = 192.168.10.190; database = DB1; user=u1; password=123";
con.ConnectionString = cs;
con.Open();
}
my connectionstring is corrent because when I change my server Name to (local) my app haven't any error... ...:confused:
Hello World... I want to connect to a sql server 2000 db remotely(Lan Network). I write a c# test project and set server, my server IP but after run it ,give me this error: Time out, your server computer not response. I beleve, i must to configure my server sqlserver but ...!!!??? sry for my very bad en... :rolleyes: TanX World...
u can use LINQ Method, in vs2008 & C#3.0...:suss:
Tanx mr Muhammad, I my problem solved. taNx ..
Hello world! I have an application with C# & I want to attach a scanner and scan some pics and manage it and so on... I think i must to have a scanner component but I not find a free of this. tnX world!...
Hello world! I developed an application using crystal reports but my users can't use my application. Does my users need to install anything? I installed Crystal Reports 12 on my users pc but they still have problem. Thanks
Hello World! How can I change the screen resolution in c#? Thanks
Can you give me an example? I searched Google and MSDN but I couldn't find anything. Please Help!