see the attchment. i made a program C# that when click on icon it showed me a reminder than launched bf2

i need to do this the reminder is telling me to turn off one of my firewalls that blocks it. but i dont know if it will work. any idea would be helpful


p.s should this be in the C# section?

BUMP

this is my code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

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

        private void Form1_Load(object sender, EventArgs e)
        {
           
        }

        private void radioButton1_CheckedChanged(object sender, EventArgs e)
        {
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("C:\\Program Files\\EA GAMES\\Battlefield 2\\BF2.exe");
            this.Close();
        }
    }
}

guess none no's

The program may not have been written correctly, check it for mistakes.

But, what kind of program is it? Knowing that would help me comprehend the problem better .

it is a program that is disquised as the battlefield 2 icon when i click it a form pops up telling me to turn off the firewall. (it somthime bloacks the game) then i click the button the says ok on the form and it opens BF2

i play battlefield 2 all the time, your problem is it didnt install correctly uninstall it and reinstall it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.