so you want to communicate java systems with C# isnt' it ? why don't u develop WSDL contracts implementing webservices ? have you looked at those options ? or am I missing something here? Paresh
Paresh Gheewala
Posts
-
Corba & C# -
MembershipProvider and WinFormsHi , Have a look and read at this MSDN article, it gives you inside view. http://msdn.microsoft.com/msdnmag/issues/05/04/Security/[^] Kind Regards, Paresh
-
Multilanguage SupportHi Rahul, This is known as Internationalization and Globalization. typically I18N , Localization process involves setting the resource bundles to support the runtime web application and windows application. Have a look at , http://samples.gotdotnet.com/quickstart/aspplus/doc/internationalization.aspx[^] http://www.microsoft.com/globaldev/getwr/dotneti18n.mspx[^] Hope this will surely help, Kind Regards, Paresh.
-
songs off the iPodya, it is possible. try connecting the USB and perform normal USB operation. by USB operation I mean. file transfer thru C# or I/O operations using C#. this requires USB and IPod drivers to be installed. as you connect the IPod operates as a drive.
-
Open Web Browser from Winformuse combination of Process and ProcessInfo class and call method start :-D;)
-
Mouse Auto Clickuse SendMessage ;) ;P
-
Reading Password from Consolemay be using Win32 Old API ;) it can be possible !!
-
converting .doc file to .gif fileare you able to read .doc file atleast ! if so , you can read one by one line and by using graphics object and drawstring, you can create bitmap in memory and then save it ;)
-
gui event handlinghave a constructor, pass by value a string or object , use MDI methods.
-
Launch an .exe from aspx pagei don't think so it is possible. however you can use/register OCX/ActiveX which can do that platform/Invoke stuff. Paresh
-
Object events through the idePerhaps you have missed to look the VS.NET events. open up your project in VS.NET 2002/3 click F4 or Click "View" -> Properties Window" now go click any UI, and click on any Control of your wish :-O In properties window you will see lightning bolt (2n'd after A-Z sorting order) click there on Lightning bolt which is event and its the destination of all events :laugh: Paresh
-
Master-Detail datagridhave you seen the initial MSDN Datagrid sample, its parent->child relation ship of tables based datagrid so if you click on + sign you get the detail(child)datagrid. well its actually one grid only. but reffer to Datagrid Question And Answers Paresh
-
byte[] to int32 conversionhave you checked out Convert Class, it offers great varieties ;)
-
checking the children of a node in a TreeViewcheck this TreeView, by recursion you can check anything you want ;):-D http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=b650f7fb-147d-4326-8d83-cb51d89a4ca5
-
Custom Calender -
mp3 in C#if you are trying to run the audio file. herez the sample for you. (the sample for playing the audio files without any GUI) u might consider running it in threads if u need check the sample. using winmm.dll [DllImport("winmm.dll")] public static extern long PlaySound(String lpszName, long hModule, long dwFlags); -----------------check the following code------ using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Runtime.InteropServices; using System.IO; namespace WinMediaPlayer { /// /// Summary description for Form1. /// public class Form1 : System.Windows.Forms.Form { [DllImport("winmm.dll")] public static extern long PlaySound(String lpszName, long hModule, long dwFlags); private System.Windows.Forms.Button buttonPlay; private System.Windows.Forms.Label labelFile; private System.Windows.Forms.TextBox textBoxAudioFile; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( disposing ); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.buttonPlay = new System.Windows.Forms.Button(); this.labelFile = new System.Windows.Forms.Label(); this.textBoxAudioFile = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // buttonPlay // this.buttonPlay.Location = new System.Drawing.Point(128, 80); this.buttonPlay.Name = "buttonPlay"; this.buttonPlay.Size = new System.Drawing.Size(96, 32); this.buttonPlay.TabIndex = 0; this.buttonPlay.Text = "Play"; this.buttonPlay.Click += new System.EventHandler(this.buttonPlay_Click); // // labelFile // this.labelFile.Location = new System.Drawing.Point(8, 24); this.labelFile.Name = "labelFile"; this.labelFile.Size = new System.Drawing.Size(80, 24); this.labelFile.TabIndex = 1; this.labelFile.Text = "File To Play"; // // textBoxAudioFile // this.textBoxAudio
-
winAPI functionsyes, ofcourse you can use. you can use regular static/nonstatic mfc/nonMfc dll. + you can use COM dll using COM dll is easy as eating popcorn ;P and using other dll is hard and will need testing using marshalling etc :((
-
mp3 in C#Try following, [DllImport("winmm.dll", CharSet=CharSet.Ansi)] private static extern bool PlaySound(IntPtr szFileName, IntPtr hmod, int fdwSound); use this method where you want to play mp3 files. -Paresh
-
how to write C# Applet, display it in a web page and the requirement?check this link which has sample, http://www.codeguru.com/forum/showthread.php?s=&threadid=228806&highlight=C+applet or search Codeguru , forums in C# section only with keyword "C# applets" -Paresh
-
aspnet_wp.exe hangsPlz, examine the memory consumption using some tools. Tools such as System Monitor or Task Manager can isolate those processes. When using System Monitor, if both the "Private Bytes" counter and the ".NET # of Bytes in all Heaps" counter increase at the same rate, this is evidence of managed memory consumption. Look at the size of allocated managed memory and consider what the garbage collector is doing. The allocation profiler might be helpful to you: http://www.gotdotnet.com/userfiles/MaheshP/AllocationProfiler.zip also check this article on MSDN, [1] http://support.microsoft.com/default.aspx?scid=kb;en-us;q286350 [2] http://support.microsoft.com/default.aspx?scid=kb;en-us;q321792 hope this helps though, - Paresh