Jump to content

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


Guest raptor15sc

Recommended Posts

Guest raptor15sc

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
Link to comment
Share on other sites

Guest raptor15sc
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?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.