can anyoner plz. help me out in writing a code in c# for Sending SMSs from your Microsoft .NET Compact Framework-based Applications regards
achari ravi
Posts
-
Sending SMSs from your Microsoft .NET Compact Framework-based Applications -
Sending SMSs from your Microsoft .NET Compact Framework-based Applicationscan anyoner plz. help me out in writing a code in c# for Sending SMSs from your Microsoft .NET Compact Framework-based Applications regards
-
mobile database connectivityheloo can anyone plz help me out in writing a code in c# to create a databse in mobile application iama a beginner thx. in advance bascially i got this but i getsa error in "da.Fill(dt)" stating that the database table craeted in c:/ inside my project is not valid i even started the ms avtive sync and emulator plz help me out public static string connectionString = ""; public static SqlCeConnection cn = null; public static SqlCeDataAdapter da = null; public static DataTable dt = new DataTable(); connectionString = "Data Source=c:\\My Documents\\Database.sdf" ; cn = new SqlCeConnection(connectionString); da = new SqlCeDataAdapter("SELECT * FROM Users", cn); da.Fill(dt); foreach (DataRow dr in dt.Rows) { listbox1.items.add(dr[0]); }
-
databse connectivityhelloo can anyone plz. help me out in writng a code in c# to connect to database in mobile compact framework basically iam a begginer in this field thanks in advance
-
playing .mp3 files in c#using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace audio1 { public partial class Form1 : Form { private string Pcommand; private bool isOpen; [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr hwndCallback); public void Close() { Pcommand = "close MediaFile"; mciSendString(Pcommand, null, 0, IntPtr.Zero); isOpen=false; } public void Open(string sFileName) { Pcommand = "open \"" + sFileName + "\" type mpegvideo alias MediaFile"; mciSendString(Pcommand, null, 0, IntPtr.Zero); isOpen = true; } public void Play(bool loop) { if(isOpen) { Pcommand = "play MediaFile"; if (loop) Pcommand += " REPEAT"; mciSendString(Pcommand, null, 0, IntPtr.Zero); } } public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "|*.mp3"; openFileDialog1.ShowDialog(); textBox1.Text = openFileDialog1.FileName; Open(textBox1.Text); } private void button2_Click(object sender, EventArgs e) { Play(false); } private void button3_Click(object sender, EventArgs e) { Close(); } } }
-
playing mp3 file using c#using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace audio1 { public partial class Form1 : Form { private string Pcommand; private bool isOpen; [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr hwndCallback); public void Close() { Pcommand = "close MediaFile"; mciSendString(Pcommand, null, 0, IntPtr.Zero); isOpen=false; } public void Open(string sFileName) { Pcommand = "open \"" + sFileName + "\" type mpegvideo alias MediaFile"; mciSendString(Pcommand, null, 0, IntPtr.Zero); isOpen = true; } public void Play(bool loop) { if(isOpen) { Pcommand = "play MediaFile"; if (loop) Pcommand += " REPEAT"; mciSendString(Pcommand, null, 0, IntPtr.Zero); } } public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "|*.mp3"; openFileDialog1.ShowDialog(); textBox1.Text = openFileDialog1.FileName; Open(textBox1.Text); } private void button2_Click(object sender, EventArgs e) { Play(false); } private void button3_Click(object sender, EventArgs e) { Close(); } } }
-
playing mp3 file using c#heloo can anyone please help me out in writing a code in c# for playing .mp3 files i tried a lot and found this as iam a beginner to c# i didn't understand what is this and how and where to place it ? [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback); thx.
-
playing .mp3 files in c#can anyone please help me out in writing a code in c# for playing .mp3 files thx. in advance