raptor15sc

Simple app in Visual Studio 2008 that just needs links. Just a little help needed.

3 posts in this topic

Hi. I'm making a simple one screen program in Visual Studio 2008 and I just need to add 4 links to it (which i don't know how to do) and make it into a CAB (i need to learn this too)

I've attached a "template" of the program (app) that i think may have the code that i've created so far for Visual Studio 2008. It is in C#.

Also, I've attached a picture of the single screen with the 4 buttons that need to be made into links that open up the linked webpage in the phone's default browser. The links that correspond to the text buttons in the picture are attached in a notepad doc as well.

Here is the code in question with the buttons that just needs to be turned into links that open up the default browser to the websites (i've also attached this code in notepad):

using System;

using System.Linq;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

namespace SmartDeviceProject3

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void button1_Click(object sender, EventArgs e)

{

}

private void button2_Click(object sender, EventArgs e)

{

}

private void button3_Click(object sender, EventArgs e)

{

}

private void button4_Click(object sender, EventArgs e)

{

}

private void pictureBox1_Click(object sender, EventArgs e)

{

}

}

}

One last question, I also have to make this same app for the iPhone, is there any simple conversion tool for that? Or am i going to have to borrow my friends mac book pro and iPhone?

Any and all help is much appreciated. Thanks!

SmartDeviceProject3.zip

app_links.txt

post-706767-1274529826_thumb.jpg

section_of_code.txt

Edited by raptor15sc
0

Share this post


Link to post
Share on other sites
string sUrl = "http://forum.xda-developers.com";

Process.Start(sUrl, "");

Thank you for your response. :rolleyes: I will try this code tonight when i have access to my other computer.

Now does anyone know how to save this Visual Studio 2008 C# Smart Device App as a CAB file for installation on Windows Mobile Phones?

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.