Why Is This Not Going Away!?! C# Visual Studio 13 *HELP*

  • Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
I just returned to coding a bit and im working on a tool i was having bugs before but needed to update PS3Lib.dll to fix most which did however im now having this issue...

http://gyazo.com/55c9301d350f25520eef24de2afdfcca

Any ideas on how to fix this! Seems if i remove its still a issue, so if you know of what is wrong let me know lul
Might be easy fix and i might not see the issue yet!
 

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
deleted the ;

You mean,

Code:
}
else MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
        }
        private void metroTextBox1_Click(object sender, EventArgs e)
        {

The one right after MessageBoxIcon.Error); <=== ? gives another error!
 

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Apr 6, 2014
2,020
1,783
443
Make sure to have it like this:
}
else
{
MessageBox.Show
 

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
Make sure to have it like this:
}
else
{
MessageBox.Show
"Still give me the 1 error } expected"

Code:
}
else
{
MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
 

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Apr 6, 2014
2,020
1,783
443
Why do you have 3 of these ?
}
}
}

Try deleting some of them, or replacing some of them with {

You`ve just got to try some different stuff.


Make ssure you are also using the catch statement.
Not only the ELSE
 

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
Why do you have 3 of these ?
}
}
}

Try deleting some of them, or replacing some of them with {

You`ve just got to try some different stuff.


Make ssure you are also using the catch statement.
Not only the ELSE
i have lul i deleted up to the ; and then changed them around. still giving me error -_- atleast its not giving the errors from before haha! i dont know why its poping up, everything looks fine!
 

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
Why do you have 3 of these ?
}
}
}

Try deleting some of them, or replacing some of them with {

You`ve just got to try some different stuff.


Make ssure you are also using the catch statement.
Not only the ELSE
how would i have the catch statement coded? if you can
 

UnboundGodz

Local Celebrity
Retired Staff
CC Dev Team
Local Celebrity
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Jan 4, 2014
2,023
2,106
743
Unknown
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PS3Lib;

namespace RTM_UnboundGodz_DEX___COD4___v1._0._0
{
    public partial class Form1 : MetroFramework.Forms.MetroForm
    {
        public static bool istmapi = true;
        private PS3API PS3 = new PS3API();
        public Form1()
        {
            InitializeComponent();
        }

        private void metroButton1_Click(object sender, EventArgs e)
        {
            {
{
if (!this.PS3.ConnectTarget(0))
{
MessageBox.Show("Impossible to connect. Check IP ", "Error...", MessageBoxButtons.OK, MessageBoxIcon.Hand);
}
else
{
string str = string.Concat("You are now connected with this API : ", this.PS3.GetCurrentAPIName());
MessageBox.Show(str, "Connected!", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);


if (istmapi == true)
{
if (PS3.AttachProcess())
{
MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else

MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Failed...", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else if (istmapi == false)
{
if (PS3.AttachProcess())
{
MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

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

AnonyMod_

Member
Jul 11, 2014
135
22
28
wait a minute, i m gonna create a new skype and if you still have this error i will fix it ;)
 

Elite_Modz

Active Poster
Retired Staff
Active Member
Console ID Poster
Dec 19, 2014
517
380
133
Crunch
A bit late but fixed:
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework;

namespace RTM_UnboundGodz_DEX___COD4___v1._0._0
{
  public partial class Form1 : MetroFramework.Forms.MetroForm
  {
  public static bool istmapi = true;
  private PS3API PS3 = new PS3API();

  public Form1()
  {
  InitializeComponent();
  }

  private void metroButton1_Click(object sender, EventArgs e)
  {
  if (istmapi == true)
  {
  if (PS3.AttachProcess())
  {
  MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached!", MessageBoxButtons.OK, MessageBoxIcon.Information);
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Failed...", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }
  else if (istmapi == false)
  {
  if (PS3.AttachProcess())
  {
  MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached", MessageBoxButtons.OK, MessageBoxIcon.Information);
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Failed...", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }

  private void metroTextBox1_Click(object sender, EventArgs e)
  {

  }
  }
}
 

Nostafaru

Moderating the Crunch Bunch.
Retired Staff
Community Elite
Community Veteran
Determined Poster
Active Member
Console ID Poster
Apr 6, 2014
2,020
1,783
443
A bit late but fixed:
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetroFramework;

namespace RTM_UnboundGodz_DEX___COD4___v1._0._0
{
  public partial class Form1 : MetroFramework.Forms.MetroForm
  {
  public static bool istmapi = true;
  private PS3API PS3 = new PS3API();

  public Form1()
  {
  InitializeComponent();
  }

  private void metroButton1_Click(object sender, EventArgs e)
  {
  if (istmapi == true)
  {
  if (PS3.AttachProcess())
  {
  MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached!", MessageBoxButtons.OK, MessageBoxIcon.Information);
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Failed...", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }
  else if (istmapi == false)
  {
  if (PS3.AttachProcess())
  {
  MessageBox.Show("Successfully Attached the process!\n\nHope Your Satisfied :3", "Attached", MessageBoxButtons.OK, MessageBoxIcon.Information);
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }
  else
  {
  MessageBox.Show("Failed to attach the process!\n\nMake sure your ingame!", "Failed...", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
  }

  private void metroTextBox1_Click(object sender, EventArgs e)
  {

  }
  }
}
This thread is 3 years old now....Wayyy too late.
 
  • Like
Reactions: UnboundGodz
General chit-chat
Help Users
  • @ QM|T_JinX:
    yea can be fun to be fair i installed all that crap and never even played on that roleplay shit hahah
  • @ lurch6661:
    lolol
  • @ QM|T_JinX:
    everytime i have to do stuff and just dont have time to do it also i dont wanna play alone hahaha
  • @ lurch6661:
    lol
  • @ lurch6661:
    well we usually chill mod cars
  • @ lurch6661:
    and play cayo
  • @ lurch6661:
    if you need money we can help too
  • @ QM|T_JinX:
    cool yea ill let you know when i got some time
  • @ lurch6661:
    ok cool
  • Chat Bot:
    debetbot is our newest member. Welcome!
  • Chat Bot:
    zo789online is our newest member. Welcome!
  • Chat Bot:
    NARYT128 is our newest member. Welcome!
  • Chat Bot:
    SamRandomGames is our newest member. Welcome!
  • Chat Bot:
    Bielgz has posted a new reply in the thread "Console ID #8638".
  • Chat Bot:
    ole7777company is our newest member. Welcome!
  • Chat Bot:
    zowinparslco is our newest member. Welcome!
  • Chat Bot:
    pizpaaa is our newest member. Welcome!
  • Chat Bot:
    catholicacademy is our newest member. Welcome!
  • Chat Bot:
    jimbo74 is our newest member. Welcome!
  • Chat Bot:
    QM|T_JinX has joined the room.
  • @ Pete:
    Hello sir can you delete my account Younis
  • @ Pete:
    Contact me via email address on the account
  • Chat Bot:
    QM|T_JinX has joined the room.
    Chat Bot: QM|T_JinX has joined the room.