|
I thought the framework installer took care of that.
|
|
|
|
|
Unfortunately you are wrong!
Don't forget, that's Persian Gulf not Arabian gulf!
|
|
|
|
|
Hi,
I am doing a proxy-based ad blocker with C# as my degree project.
I am using mainly the HttpWebRequest & HttpWebResponse classes to perform HTTP redirection.
i wonder why i am getting ReceiveFailure errors quite often nowadays whenever i execute the GetResponse() method of HttpWebRequest, when dealing with images. consequently, the page is displayed with some missing images...
.. but when i test loading the page with a direct connection, everything is fine, and the page looks perfect.
previously, i was testing the same code with a dialup connection, and this problem rarely happens. but now, with my adsl connection, i am beginning to face this weird prob. i dun think adsl is the cause, nor dialup will fix the prob.
can anyone give me an idea on wut's happening, and how to solve this prob.
thanks.
|
|
|
|
|
I have written a fairly complex service that pulls data from a database, merges this into Word documents and then emails the result to specified addresses
The problem I have is that the COM code I am using to handle the connectivity between the C# service and word is a little 'shakey' so when my application throws an exception I want the service to shut itself down.
The only code/tutorial I have come across is located here :
http://support.microsoft.com/default.aspx?scid=KB;en-us;q245230[^]
But as I am by no means a C++ expert this may aswell be written in Chinese.
Does anybody have any ideas on how I can get this service to shut itself down?
|
|
|
|
|
|
I need help on how to build a number guessing game using the Validating event.
There's a form with a button, textbox and a label. I want the textbox to use the validating event and for the textbox not to lose it focus when the user clicks the button. The number should not exceed 1000. If the user guesses the number right the labels caption changes, and if it doesn't it clears the text box and user can guess again. Please help. Thankx
|
|
|
|
|
|
I would like a listbox (or something w/ similar behavior) to have 2 labels, a dropdownlistbox, and a button for each item. Can I implement that somehow using one of the built in controls or do I need to create a custom user control?
Any suggestions on either would be greatly appreciated.
Cody
|
|
|
|
|
I'm writing an application that do some GDI+ functions. Now I have a problem. In Paint program of windows or any other program that can edit or create image),you fill an area with an specified color,for example you choose a yellow brush then click in an area that has orange color,then all orange area change to yellow.Does anybody know how can I do this?I hope that i was clear.
Mazy
No sig. available now.
window.open=NS_ActualOpen;
orig_onload = window.onload;
orig_onunload = window.onunload;
window.onload = noopen_load;
window.onunload = noopen_unload;
|
|
|
|
|
I have an article on this, which I'm planning to post very soon (as in this week).
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
I'm waiting for it.
Mazy
No sig. available now.
|
|
|
|
|
Does anyone know how I would go about creating a control panel applet using C#?
I have tried starting off with a Windows Application project, but I can’t work out how to export the CPLApplet function that is called by windows.
There are a few articles on control panel apps about, but they are all done in C++.
Can anyone help?
Thanks
Ian
|
|
|
|
|
Consider MC++ instead of C#. The C# compiler does not let you export unmanaged functions.
|
|
|
|
|
Hi there:
Can u help me to update my MS-SQL database using DataSet & DataAdapter.
i need a sample to update my database (inert, update, delete).
using both Stored procedure & text.
I'll be so thankful to get ur help ASAP.
Always, Hovik Melkomian.
|
|
|
|
|
Very simple. There are some articles in this site.Search C# Database section.
Hint: DataSet.GetChange() & DataAdapter.Update() is what you need.
Mazy
No sig. available now.
|
|
|
|
|
Hello all,
I am working on an application written entirely in C# and I am at the point that I need shell context menus. Is there a good example of shell context menus written in .Net? I want functionality similar to what WinZip offers from the shell. Has anyone written these things for .Net?
Thanks for your help,
Scott
PS: The app targets only Win2000 and above so a solution does not necessairly have to work on Win9x.
|
|
|
|
|
|
I know that releasing a program in C# to the wilds out there is practically giving the source code along with it.
Does anyone have experience with the commercially available Obfuscators that scramble up your code to make it harder to access? If so, does this hinder reflection at all? How secure does it make the code, just a little obstruction to the source code or more like a vault?
Anyone have any favorites?
Rocky Moore <><
|
|
|
|
|
|
DotFuscator[^]. MS distributes a freeware version of it with VS .NET (the freeware version is also available for download). The freeware version doesn't do as much as the buyware version, though.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
|
I agree. It's really not worth much.
"Blessed are the peacemakers, for they shall be called sons of God." - Jesus
"You must be the change you wish to see in the world." - Mahatma Gandhi
|
|
|
|
|
Hi, I am trying to input a value from a textbox into my sql database. The problem is, is the data type in the database is currency. So how do i pass this through? I had tried to use decimal, but this does not work. There is no currency type in C# that I can see. Any ideas? The line of code I am using is
newRow["invCost"] = System.Decimal.Parse(itemTextBox4.ToString());
|
|
|
|
|
Is itemTextBox4 the name of the control? If so you need to the text property, itemTextBox4.Text.
|
|
|
|
|
Hey, thanks for that. I felt a bit stupid when I saw that I had left out the Text. It works though, so thank you.
|
|
|
|