Coding Tasks (How Do I in Visual J# Express) 

This page links to help on widely used J# coding tasks. To view other categories of popular tasks covered in Help, see How Do I in Visual J# Express.

  • Visual J#
    Provides an introduction to J# as well as links to various topics on J#.

Files and I/O

  • Read a File
    Describes how to use the File.OpenRead method to open an existing file for reading.
  • Write to a File
    Describes how to use the File.OpenWrite method to open an existing file for writing.

COM

Accessing the OS

  • How to: Create a Socket
    Describes how to initialize a socket with protocol and network information using the constructor parameters.
  • Synchronizing Data for Multithreading
    Explains that when multiple threads can make calls to the properties and methods of a single object, it is critical that those calls be synchronized.

Resources

Serialization

  • Support for .NET Serialization
    Provides an example in which an object is created that implements Serializable and uses J# class library types as fields.

Data Access

  • Walkthrough: Reading XML Data into a Dataset
    Provides steps that enable you to create a Windows application that will load XML data into a dataset. The dataset will then be displayed in a DataGridView. Finally, an XML Schema based on the contents of the XML file will be displayed in a text box.

Miscellaneous

  • How to: Write a Class Loader
    Shows how custom class loaders in existing Java-language applications can be modified to load classes from managed assemblies.
  • Storing Settings for an Application
    Shows how to open a registry key on a remote computer and enumerate the values of the key. The remote computer must be running the remote registry service.

See Also

Reference

How Do I in Visual J# Express