Jump to content


Photo

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

- - - - -

  • Please log in to reply
2 replies to this topic

#1
raptor15sc

raptor15sc

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Touch Pro 2
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!

Attached Files


Edited by raptor15sc, 22 May 2010 - 12:12 PM.

  • 0

#2
ajhvdb

ajhvdb

    Regular

  • Members
  • PipPip
  • 102 posts
  • Devices:OMNIAII
string sUrl = "http://forum.xda-developers.com";

Process.Start(sUrl, "");

  • 0

#3
raptor15sc

raptor15sc

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:HTC Touch Pro 2

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users