|
your thingies will hang around as always
|
|
|
|
|
See you doctor about a prescription for Viagra.
|
|
|
|
|
That's the problem, he did and now it's lasted for more than four hours
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
OK , I have a computer a white one
And I got that little software thing , and when I click it; it didn't work , I click it and didn't work
I click it and didn't work , I click and didn't work , I click and didn't work ,
I click it and didn't work , I click and didn't work , I click and didn't work
I click it and didn't work , I click and didn't work , I click and didn't work
all I got are some gibberish written over it now. It's gray
The little thing saying "OK". But I think it didn't talking the truth.
I know nothing , I know nothing ...
|
|
|
|
|
Stark DaFixzer wrote: I have a computer a white one
Why do we care what color computer you have?
Stark DaFixzer wrote: I click it and didn't work , I click and didn't work
Being vague once was more than enough.
Stark DaFixzer wrote: I got that little software thing
Care to be more specific?
Stark DaFixzer wrote: all I got are some gibberish written over it now
Strange, I'm getting the same thing.
Stark DaFixzer wrote: The little thing saying "OK". But I think it didn't talking the truth.
Sure it is. Everything will be ok. Just bring your towel and don't panic!
|
|
|
|
|
Put the drugs down and walk away from the computer. The voices will stop after a few hours...trust me.
|
|
|
|
|
hello
How can you compile say for example SomeProgram.exe, which references A.dll/B.dll/C.dll, into one single executable/exe which includes the dll as embedded resources as well (i.e. no separate dll, just single exe)
Thanks
dev
|
|
|
|
|
I think ILMerge will help you, but it works for .NET dll´s only.
|
|
|
|
|
|
In addition to Thomas Krojer's answer, if your DLLs are unmanaged than check out this[^] article.
In case of managed DLLs here[^] you can find a good resource for using ILMerge.
|
|
|
|
|
|
|
|
You are welcome!
|
|
|
|
|
i have bitmap that changes on run time.
each time the bitmap change i need to update the pictureBox that i have on my form.
I cant find a way to change the image on the pictureBox -
Each time i do
pictureBox.Image = myBitmap;
I get error.
What to do ?
|
|
|
|
|
Whats your myBitmap contains.
Use
pictureBox.Image = New System.Drawing.Bitmap("YourBitmapFilename.BMP");
|
|
|
|
|
What error do you get?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Yanshof wrote: I get error.
What to do ?
We aren't mind readers, if you don't tell us what the error message is, the only available advice is: read the error message, look at the file name and line number it mentions, and fix it.
|
|
|
|
|
I change something in the code and i think that the error message was from some other place.
But the Image is not shown on the pictureBox yet - and i dont know what is the reason.
The input of the pictureBox is bitmap that i collect and store on some collection - so there is no actually file that the bitmap is save on.
|
|
|
|
|
when an error occurs, a lot of detailed information is available. At compile-time, an error always has a filename and line number associated with it, and one should look at that particular line. At run-time, managed code throws exceptions and when looking at them, they too reveal a class name, method name and line number, typically sufficient to pinpoint the problem.
finally when code runs without exceptions but does not produce the result one hopes for, there is that thing called debugging. Try single-stepping, try looking at some intermediate values, etc. And when all else fails, you can ask on a forum like this one, however then you need to provide an accurate symptom description and the relevant piece of code so some one can effectively help you.
|
|
|
|
|
Hi, as i titled i really need to compile a vdproj in command line or in c# classes! i googled and i found nothing really related!
THANK YOU
|
|
|
|
|
Take a look at MsBuild.
Best wishes,
Navaneeth
|
|
|
|
|
MS build cant build vdproj, test it!!!!!!
devenv could do this!
|
|
|
|
|
hi
where i should use SqlCommand.Parameters.Add()method and where
SqlCommand.Parameter.AddWithValue()?
is there performance diffrence?
|
|
|
|
|
Hi,
Specially parameters used to pass data to ur query , as inset update delete even select
select *
from t1
where id = 12
this query always returns a fixed result, now going to make it gloabal, i mean change the 12 value to needed value, so u use parameters as:
select *
from t1
where id=@id
now in command line, u must set the parameter, look at this method as a sample:
private DataTable SelectParameter(int idvalue, bool useWithvalue)
{
string constr = "";
SqlConnection con = new SqlConnection(constr);
SqlCommand cmd = new SqlCommand("select * from t1 where id=@id", con);
if (useWithvalue)
{
cmd.Parameters.AddWithValue("@id", idvalue);
}
else
{
SqlParameter p = new SqlParameter("@id", SqlDbType.Int);
p.Value = idvalue;
cmd.Parameters.Add(p);
}
con.Open();
DataTable dt = new DataTable();
dt.Load(cmd.ExecuteReader());
return dt;
}
in cases that u are going to set the value type of parameter u should use add else u could use both of them.
|
|
|
|