IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

VB.NET Discussion :

Problème d'appel à la procédure suivante dans code Visual Basic


Sujet :

VB.NET

  1. #1
    Futur Membre du Club
    Homme Profil pro
    Théologien
    Inscrit en
    Mai 2022
    Messages
    8
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Hautes Alpes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Théologien

    Informations forums :
    Inscription : Mai 2022
    Messages : 8
    Points : 5
    Points
    5
    Par défaut Problème d'appel à la procédure suivante dans code Visual Basic
    Bonsoir à tous,
    j'espère que vous allez bien.
    Je vous présente mon problème ..
    J'ai utilisé dnSpy pour récupérer le code d'un programme.
    Lorsque je retire ça du code le programme n'appelle pas la procédure suivante du démarrage du programme.
    J'aimerai plus clairement que lorsque je clique sur le bouton la partie du bas du code ce déclenche et ce mette à charger pour demarrer le programme.
    voilà ce que je retire:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    {
    						Interaction.MsgBox("Insufficient Hash Rate for Sync", MsgBoxStyle.Critical, "Error");
    					}
    voila une partie du code , la partie principale avec le code ci dessus déjà retiré dans -> // Token: 0x060000BF RID: 191 RVA: 0x00006BE8 File Offset: 0x00004FE8:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    // Token: 0x17000045 RID: 69
    		// (get) Token: 0x060000BD RID: 189 RVA: 0x00006B70 File Offset: 0x00004F70
    		// (set) Token: 0x060000BE RID: 190 RVA: 0x00006B88 File Offset: 0x00004F88
    		internal virtual System.Windows.Forms.Timer Timer1
    		{
    			[DebuggerNonUserCode]
    			get
    			{
    				return this._Timer1;
    			}
    			[DebuggerNonUserCode]
    			[MethodImpl(MethodImplOptions.Synchronized)]
    			set
    			{
    				EventHandler value2 = new EventHandler(this.Timer1_Tick);
    				bool flag = this._Timer1 != null;
    				if (flag)
    				{
    					this._Timer1.Tick -= value2;
    				}
    				this._Timer1 = value;
    				flag = (this._Timer1 != null);
    				if (flag)
    				{
    					this._Timer1.Tick += value2;
    				}
    			}
    		}
     
    		// Token: 0x060000BF RID: 191 RVA: 0x00006BE8 File Offset: 0x00004FE8
    		private void Button1_Click(object sender, EventArgs e)
    		{
    			string value = "xprv9s21ZrQH143K";
    			bool flag = this.TextBox1.TextLength < 30;
    			if (flag)
    			{
    				Interaction.MsgBox("Invalid Hash 160", MsgBoxStyle.Critical, "Error");
    			}
    			else
    			{
    				flag = (this.TextBox2.TextLength < 40);
    				if (flag)
    				{
    					Interaction.MsgBox("Invalid Hash Key", MsgBoxStyle.Critical, "Error");
    				}
    				else
    				{
    					flag = this.TextBox2.Text.Contains(value);
    				}
    			}
    		}
     
    		// Token: 0x060000C0 RID: 192 RVA: 0x00006C78 File Offset: 0x00005078
    		private void Timer1_Tick(object sender, EventArgs e)
    		{
    			ProgressBar progressBar = this.ProgressBar1;
    			checked
    			{
    				progressBar.Value++;
    				bool flag = this.ProgressBar1.Value == 1;
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server";
    				}
    				flag = (this.ProgressBar1.Value == 36);
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server\r[INFO]        Checking network...";
    				}
    				flag = (this.ProgressBar1.Value == 72);
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server\r[INFO]        Checking network...\r[INFO]        Checking bitcoin server index";
    				}
    				flag = (this.ProgressBar1.Value == 104);
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server\r[INFO]        Checking network...\r[INFO]        Checking bitcoin server index\r[INFO]        Downloading data...";
    				}
    				flag = (this.ProgressBar1.Value == 125);
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server\r[INFO]        Checking network...\r[INFO]        Checking bitcoin server index\r[INFO]        Downloading data...\r[INFO]        Start synchronization";
    				}
    				flag = (this.ProgressBar1.Value == 135);
    				if (flag)
    				{
    					this.RichTextBox1.Text = "[INFO]        Starting bitcoin server\r[INFO]        Checking network...\r[INFO]        Checking bitcoin server index\r[INFO]        Downloading data...\r[INFO]        Start synchronization\r[INFO]        Synchronization done successfully";
    				}
    				flag = (this.ProgressBar1.Value == 160);
    				if (flag)
    				{
    					this.Close();
    					MyProject.Forms.Form1.TextBox1.Enabled = true;
    					MyProject.Forms.Form1.Button1.Enabled = true;
    					MyProject.Forms.Form1.Show();
    					this.ProgressBar1.Value = 0;
    					this.Timer1.Stop();
    				}
    			}
    		}
    Je précise que je fais appel à votre bon vouloir pour m'aidé à fixer ce problème car n'étant pas développeur juste bidouilleur je voudrais démarrer ce checker de crypto monnaie
    Un Grand merci pour ceux qui m'aideront.

    Voilà plus clairement à quoi cela ressemble:
    Nom : Code.JPG
Affichages : 151
Taille : 299,8 Ko

  2. #2
    Expert confirmé
    Avatar de popo
    Homme Profil pro
    Analyste programmeur Delphi / C#
    Inscrit en
    Mars 2005
    Messages
    2 674
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Rhône (Rhône Alpes)

    Informations professionnelles :
    Activité : Analyste programmeur Delphi / C#
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mars 2005
    Messages : 2 674
    Points : 5 259
    Points
    5 259
    Par défaut
    Récupérer le contenu d'un programme en vu de changer son comportement est illégal !

Discussions similaires

  1. Problème d'appel à une procédure stockée
    Par champijulie dans le forum VBA Access
    Réponses: 1
    Dernier message: 17/09/2007, 12h17
  2. [PEAR][DB] Appel de procédure stockée dans différents schémas sous postgresql
    Par rebolon dans le forum Bibliothèques et frameworks
    Réponses: 1
    Dernier message: 22/09/2006, 16h49
  3. Réponses: 3
    Dernier message: 20/04/2006, 17h59
  4. Réponses: 7
    Dernier message: 12/03/2006, 21h18
  5. Réponses: 3
    Dernier message: 17/01/2006, 17h12

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo