Click here to Skip to main content
15,908,673 members
Home / Discussions / C#
   

C#

 
AnswerRe: Static function Pin
S. Senthil Kumar27-Nov-05 20:00
S. Senthil Kumar27-Nov-05 20:00 
AnswerRe: Static function Pin
dinh van hai27-Nov-05 20:14
dinh van hai27-Nov-05 20:14 
AnswerRe: Static function Pin
Guffa27-Nov-05 21:38
Guffa27-Nov-05 21:38 
QuestionGetProcessesByName - other way? Pin
FreewareFire27-Nov-05 12:49
FreewareFire27-Nov-05 12:49 
AnswerRe: GetProcessesByName - other way? Pin
S. Senthil Kumar27-Nov-05 19:56
S. Senthil Kumar27-Nov-05 19:56 
GeneralRe: GetProcessesByName - other way? Pin
FreewareFire28-Nov-05 0:38
FreewareFire28-Nov-05 0:38 
QuestionToolbar Color Pin
fredspv27-Nov-05 12:07
fredspv27-Nov-05 12:07 
QuestionC# DisplayComposeForm for Smartphone Pin
bklynjava127-Nov-05 11:10
bklynjava127-Nov-05 11:10 
Hello,

I am new here as far as posting goes.
Maybe someone can see what I'm Missing.

I keep getting build errors see the tut here.
I'm new to this Smartphone Development and vs2005.

http://www.microsoft.com/seminar/shared/asp/view.asp?url=/seminar/en/smartphone_apps_medua/manifest.xml[]


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsMobile.PocketOutlook;

namespace TOYOURSPACE
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void menuItem1_Click(object sender, EventArgs e)
{
Microsoft.WindowsMobile.Forms.CameraCaptureDialog cameraDialog = new Microsoft.WindowsMobile.Forms.CameraCaptureDialog();
cameraDialog.Owner = this;
cameraDialog.Title = "Take a Picture";
if ((cameraDialog.ShowDialog() != DialogResult.OK)(cameraDialog.FileName == ""))
{
return;
}



string account = "ActiveSync";
string to = "";
string subject = "";
string body = "";
string[] attachments = new string[] { cameraDialog.filename };
Microsoft.WindowsMobile.PocketOutlook.MessagingApplication.DisplayComposeForm(account);



label1.Text = "Image sent sucessful!";

PictureBox1.image = new Bitmap(cameraDialog.filename);


}

private void linkLabel1_Click(object sender, EventArgs e)
{
Process.Start(" http://www.microsoft.com ")
}

}
}


-- modified at 17:10 Sunday 27th November, 2005
QuestionIndexOutOfRangeException with SgmlReader Pin
Liunardu27-Nov-05 8:18
Liunardu27-Nov-05 8:18 
Questioneh, 1 last mouse question... Pin
Sam 200627-Nov-05 8:12
Sam 200627-Nov-05 8:12 
AnswerRe: eh, 1 last mouse question... Pin
Curtis Schlak.27-Nov-05 8:43
Curtis Schlak.27-Nov-05 8:43 
GeneralRe: eh, 1 last mouse question... Pin
Sam 200627-Nov-05 12:40
Sam 200627-Nov-05 12:40 
GeneralRe: eh, 1 last mouse question... Pin
Curtis Schlak.27-Nov-05 13:58
Curtis Schlak.27-Nov-05 13:58 
Questionfrom DataSet to GridView Pin
tray_gator27-Nov-05 4:53
tray_gator27-Nov-05 4:53 
AnswerRe: from DataSet to GridView Pin
Curtis Schlak.27-Nov-05 5:07
Curtis Schlak.27-Nov-05 5:07 
GeneralRe: from DataSet to GridView Pin
tray_gator27-Nov-05 6:10
tray_gator27-Nov-05 6:10 
GeneralRe: from DataSet to GridView Pin
Curtis Schlak.27-Nov-05 7:38
Curtis Schlak.27-Nov-05 7:38 
GeneralRe: from DataSet to GridView Pin
tray_gator27-Nov-05 9:12
tray_gator27-Nov-05 9:12 
GeneralRe: from DataSet to GridView Pin
Curtis Schlak.27-Nov-05 9:23
Curtis Schlak.27-Nov-05 9:23 
Questionanother mouse question (events) Pin
Sam 200627-Nov-05 2:44
Sam 200627-Nov-05 2:44 
AnswerRe: another mouse question (events) Pin
Stanciu Vlad27-Nov-05 5:34
Stanciu Vlad27-Nov-05 5:34 
AnswerRe: another mouse question (events) Pin
Curtis Schlak.27-Nov-05 6:04
Curtis Schlak.27-Nov-05 6:04 
GeneralRe: another mouse question (events) Pin
Sam 200627-Nov-05 7:42
Sam 200627-Nov-05 7:42 
GeneralRe: another mouse question (events) Pin
Curtis Schlak.27-Nov-05 8:01
Curtis Schlak.27-Nov-05 8:01 
AnswerRe: another mouse question (events) Pin
User 665827-Nov-05 6:08
User 665827-Nov-05 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.