¡@

Home 

c# Programming Glossary: routine

Alternatives to System.Drawing for use with ASP.NET?

http://stackoverflow.com/questions/1528525/alternatives-to-system-drawing-for-use-with-asp-net

ImageMagick library version. For a small trivial resizing routine I'd probably stick with the interop. You just need to watch.. implements many powerful image handling and transformation routines that are not found in GDI or not implemented under mono and..

How can you change Network settings (IP Address, DNS, WINS, Host Name) with code in C#

http://stackoverflow.com/questions/209779/how-can-you-change-network-settings-ip-address-dns-wins-host-name-with-code

loved to have had your code sooner. I've also developed a routine using similar techniques for changing the computer name. I'll..

C# if/then directives for debug vs release

http://stackoverflow.com/questions/2104099/c-sharp-if-then-directives-for-debug-vs-release

for my one and only project. At the beginning of the main routine I have this code and it is showing Mode Debug . I also have..

Why does this floating-point calculation give different results on different machines?

http://stackoverflow.com/questions/2342396/why-does-this-floating-point-calculation-give-different-results-on-different-mac

different results on different machines I have a simple routine which calculates the aspect ratio from a floating point value... a floating point value. So for the value 1.77777779 the routine returns the string 16 9 . I have tested this on my machine and.. . I have tested this on my machine and it works fine. The routine is given as public string AspectRatioAsString float f bool..

How to get client date and time in ASP.NET?

http://stackoverflow.com/questions/274826/how-to-get-client-date-and-time-in-asp-net

is create a hidden input field and then wire a Javascript routine to the onsubmit event for the form. This routine would populate.. routine to the onsubmit event for the form. This routine would populate the hidden field with the time on the client..

How to handle AccessViolationException

http://stackoverflow.com/questions/3469368/how-to-handle-accessviolationexception

null sText sText.Trim finally doc.Close false Cleanup routine this is how we are able to delete files used by MODI. System.Runtime.InteropServices.Marshal.FinalReleaseComObject..

Regex to strip line comments from C#

http://stackoverflow.com/questions/3524317/regex-to-strip-line-comments-from-c-sharp

to strip line comments from C# I'm working on a routine to strip block or line comments from some C# code. I have looked..

Is there a way to programmatically convert VB6 Formatting strings to .NET Formatting strings?

http://stackoverflow.com/questions/4072490/is-there-a-way-to-programmatically-convert-vb6-formatting-strings-to-net-format

migration share improve this question The formatting routine that VB6 uses is actually built into the operating system. Oleaut32.dll..

Import and Export Excel - What is the best library? [closed]

http://stackoverflow.com/questions/444522/import-and-export-excel-what-is-the-best-library

deliver when all you need is a fast XLSX CSV conversion routine. c# asp.net excel export to excel import from excel share..

What's the best way to calculate the size of a directory in .NET?

http://stackoverflow.com/questions/468119/whats-the-best-way-to-calculate-the-size-of-a-directory-in-net

size of a directory in .NET I've written the following routine to manually traverse through a directory and calculate its size.. folderSize I have an application which is running this routine repeatedly for a large number of folders. I'm wondering if there's.. to the number of files sub directories it contains. Your routine seems fairly neat simple. Bear in mind that you are calculating..

Cookie Confusion with FormsAuthentication.SetAuthCookie() Method

http://stackoverflow.com/questions/4939533/cookie-confusion-with-formsauthentication-setauthcookie-method

additional informations Update I've implemented this routine cause I want to store my groups in an encrypted cookie Dim authTicket..

WPF WebBrowser control - how to supress script errors?

http://stackoverflow.com/questions/6138199/wpf-webbrowser-control-how-to-supress-script-errors

control share improve this question Here is a C# routine that is capable of putting WPF's WebBrowser in silent mode...

Reflection - get attribute name and value on property

http://stackoverflow.com/questions/6637679/reflection-get-attribute-name-and-value-on-property

this can be made more dynamic by passing types into the routine public static Dictionary string string GetAuthors Dictionary..

Making a C# kill event for a vb6 app?

http://stackoverflow.com/questions/727386/making-a-c-sharp-kill-event-for-a-vb6-app

client calls StartDoStuff in the ActiveX EXE object. This routine starts a Timer on a hidden form and immediately returns . This..

Globally catch exceptions in a WPF application?

http://stackoverflow.com/questions/793100/globally-catch-exceptions-in-a-wpf-application

sane and I don't consider a global exception handling routine which leaves the program running to be necessarily totally evil...

thread with multiple parameters

http://stackoverflow.com/questions/831009/thread-with-multiple-parameters

know how to pass multiple parameters into a Thread.Start routine I thought of extending the class but the C# Thread class is..