• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

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

3 posts in this topic

Posted (edited)

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

Posted

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-2015. MoDaCo uses IntelliTxt technology.