|
1. The book's name IS 1984. I've read it.
2. How can you not remember the name of your favorite book?
3. The quote actually is:
"Freedom is the freedom to say that two plus two make four. If that is granted, all else follows."
You have completely misunderstood the whole thing. Take a look:
http://en.wikipedia.org/wiki/Two_plus_two_makes_five[^]
PS: What have you been smoking, man?
The more I see of men, the better I like my dog. Blaise Pascal.
|
|
|
|
|
1 - My Bad.
2 - I don't know.
3 - Did you actually look it up to get back at me? Man go out, get laid.
And in answer to your PS, WEED!
PS: Don't whack-off too much you might lose your sight, then you won't be able to use Wikipedia any more and I know that will suck for you, but don't worry cause even after you've gone blind you'll still be able to jack-it, unfortunately it does mean that you won't be able to prove people wrong who can't remember every line out of every book that they read.
PPS: If you have nothing better to do than ask stupid questions then stop wasting my time. Besides you could be whacking off.
* If you'd like to pick out any spelling and/or grammar errors that I might have made that would be great, although it would prove that you are a pedantic, anal retentive poignant fool (use Wikipedia if you don't understand any of the words).
Freedom is the right to say that 2+2=5 if this is so everything else will follow.
|
|
|
|
|
|
That's worth a 5 just for pricking the smug bubble.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I have a program that uses an XML file to set up the programs configuration.
What I want to do is use the XML file to set up shortcut keys so that they run specific events on specific user controls. (e.g. bind Return to a user control and bind F7 to a different user control)
Just to note, but registering the keys as Hotkeys doesn't work, as I only want the shortcut keys to work while the program has focus. (And registering the keys as hotkeys is a bad thing. I want to bind Return to a control, but if I register it as a HotKey, then return does not work in other programs for as long as my one is open.)
- Dave
|
|
|
|
|
Hi,
Now, I need to rename the application after build process.
Now, the project name is set to MY.PROJECT.UI because it's major on the UI feature.
But, I need to change the application name to MyProject.exe
How can I do?
Do you have any suggestion?
|
|
|
|
|
Project properties allows you to specify the assembly name.
|
|
|
|
|
It's so kind of you.
|
|
|
|
|
I got it out just now.
Change the Assembly name in the properties window of the project.
|
|
|
|
|
Hello. I'm using the socket class in an application and I use socket.receive
to wait for data. The problem is that the interface gets locked while the
receive method is executing.
I want to see the interface so the user knows what's happening at any time.
Is that possible?
Regards,
Diego F.
|
|
|
|
|
Hello,
Put that socket code in diffrent thread..or it will block th UI until it receives the connection..
Regards ,
Nishu
|
|
|
|
|
Thank you!
Regards,
Diego F.
|
|
|
|
|
I found a problem with that. Now, I can't access the UI controls, as they are in other thread. I get an execution exception.
How can I solve that?
Regards,
Diego F.
|
|
|
|
|
You can use the Invoke method on the control or form to run the method you are calling on the correct thread.
|
|
|
|
|
You might be getting the cross-thread exception.
try this
<br />
public void UpdateMenus()<br />
{<br />
if (this.InvokeRequired)<br />
{<br />
this.Invoke(new UpdateMenusDelegate(UpdateMenus), new object[] { sender, e });<br />
return;<br />
}<br />
}<br />
|
|
|
|
|
Youc can also use BeginReceive and EndReceive to achieve the same. This moves the thread handling to the Socket class. If you are doing lots of operations then you might want to do the thread handling yourself.
|
|
|
|
|
Hello Guys,,
I need to send a int pointer to the C dll . The c coding is as follows
extern __declspec (dllexport) void __stdcall TestIntPointer (int *uiPosition) {
char cMessage[100] = {0};
*uiPosition = 55;
*(uiPosition+1) = 80;
*(uiPosition+2) = 100;
wsprintf (cMessage, "Integer Value Received is :%d:", *uiPosition);
MessageBox (NULL, cMessage, "Hello Sweet Heart", 0);
}
My DLLImport statement is looks like this
[DllImport("TestDLLInvocation.dll", CharSet = CharSet.Ansi)]
private static extern void TestIntPointer(IntPtr s);
Now i need to access all the three int values 55, 80, 100 in my C# coding
How can i do this.. Please help..
Thanks in Adv
Sundar
|
|
|
|
|
You can actually manipulate pointers in C#, in an unsafe block.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I very happy to see your reply. Thanks a lot Christian.
Could you please give me some sample code so that i can understand better.
Thank You
Viji
VIJI
|
|
|
|
|
i need to make update for my program from the internet?
i make folder and add it to iis as virual directory
then i write into my program
string _Path = "HTTP://19.19.19.1/Updateprogram";
file.copy("HTTP://19.19.19.1/Updateprogram/sa.exe","C:\dsds.exe");
but make error : not support this format
what i can solve my probelm
123
|
|
|
|
|
Pretty simple to do, but you need to use HttpWebRequest for this.
HttpWebRequest request = HttpWebRequest.Create("http://19.19.19.1/UpdateProgram/sa.exe");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader reader = new StreamReader(response.GetResponseStream());
StreamWriter writer = new StreamWriter("C:\\Temp\\sa.exe");
while (!reader.EndOfStream)
{
writer.Write(reader.Read());
}
reader.Close();
writer.Close();
WM.
What about weapons of mass-construction?
"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
|
|
|
|
|
Hi Everyone..
I am developing one windows application..I am designing one user control in which I have dataGridview..In gridview I need coloumns of types combobox,textbox..well rest of the things are fine but I that textbox is requrd to be bind dynamically from data base and must have scrollable(multiline) property..can anyone plz tell me how to make it multiline..bcoz in property box i didnt found any such property..
Regards,
Rahul
|
|
|
|
|
Hello,
Rahul83 wrote: in property box i didnt found any such property..
I really can't believe that!
YourTextBox.Multiline = true;
YourTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
All the best,
Martin
|
|
|
|
|
You must look at the properties again
bcz there is a property for multiline
|
|
|
|
|
Hi,
Iam currently converting a exsisting VB6 application to C#. I want include CHM help file in it. How to achieve it in C#. Are there any native methods available in C#. Plz help me out.
|
|
|
|