NETCF 2.0 Clipboard Operations





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 Next »
9
Date Submitted Thu. Aug. 24th, 2006 8:31 AM
Revision 1
Helper axsaxs
Tags Attribute | CSharp | read-only
Comments 0 comments
Set the read-only attribute of a file to true or false.
-9
Date Submitted Mon. Aug. 28th, 2006 9:00 AM
Revision 1
Helper axsaxs
Tags binary | CSharp | File
Comments 1 comments
Write a set of bytes into a so-called binary file. The point is that we use BinaryWriter here and we have a byte array as input.
-8
Date Submitted Mon. Aug. 28th, 2006 9:43 AM
Revision 1
Helper axsaxs
Tags CSharp | filename | valid
Comments 2 comments
A function to determine if the input filename is valid on Win32 platforms (that is, it does not include invalid characters, such as :\?...)
6
Date Submitted Tue. Sep. 12th, 2006 8:23 AM
Revision 1
Helper axsaxs
Tags binary | CSharp | File
Comments 1 comments
Write a set of bytes into a 'so-called' binary file. The point is that we use BinaryWriter here and we have a byte array as input.
6
Date Submitted Thu. Oct. 5th, 2006 9:56 AM
Revision 1
Beginner bjcogdill
Tags CSharp
Comments 0 comments
If anyone has tried using the .NET Graphics API, they know that replacing pixel colors takes a long time to complete. I did some research and found a good source. This code will adjust the color to greyscale by Binary.
The page is http://www.navicosoft.com/software_articles/softwares_articles_index.html for more information. It is under Basic Image Processing in the list of articles.
10
Date Submitted Tue. Dec. 5th, 2006 2:15 PM
Revision 1
Scripter Casper42
Tags ASPX | CSharp | CSS | JavaScript
Comments 3 comments
This snippet allows an aspx page (c#) to accept URL parameters to allow styles or script to be dynamically appended to the rendered page.

I wrote this simple snippet to allow one of our vendors to accept a style override so that their application would morph into something more closely resembling our own portal application. Please see screenshots for clarification.

Original Vendor Application

Vendor Application with Style Override via URL
7
Date Submitted Thu. Jan. 11th, 2007 8:47 AM
Revision 1
Scripter Casper42
Tags ASPX | C | CSharp
Comments 3 comments
This little number will allow the contents of other pages to be included or embedded into the rendered HTML of an aspx page. Using the WebClient class from the .NET framework, you can conditionally load pages, even manipulate the HTML before it is rendered and in this example, fill in forms and execute javascript actions.

The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.

Enjoy!
~Jeremy
7
Date Submitted Tue. Mar. 7th, 2006 4:34 PM
Revision 1
Helper digitaljunkie
Tags Clipboard | Perl | Screenshot | Win32::API
Comments 1 comments
This requires Win32::API, and Win32::Clipboard.
Only works on Win32 Platforms. Only really tested on Win2000, and WinXP.

Not meant to be an be all, end all, but it's a start.

Have fun!
13
Date Submitted Thu. Sep. 14th, 2006 4:58 PM
Revision 1
Beginner ecliptic
Tags CSharp
Comments 0 comments
This snippet effectively reads an XML document using XPathDocument (read-only) instead of using the DOM. This snippet returns the full element values in between elements. For example:

root element
code element
This is a test.
/code element
/root element

GetXmlString("/root/code"); //returns 'This is a test.'
-11
Date Submitted Fri. Jul. 14th, 2006 11:11 AM
Revision 1
Helper eriveraa
Tags .Net | CSharp
Comments 1 comments
Example that shows how to populate a winforms combobox with csharp. It uses Data Access blocks (SqlHelper).
« Previous 1 2 3 Next »