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

Windows Forms Discussion :

Liaison C#/Fortran ?


Sujet :

Windows Forms

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre à l'essai
    Inscrit en
    Juin 2007
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 6
    Par défaut Liaison C#/Fortran ?
    Bonjour!

    Je suis entrain de créer une Interface Graphique qui servira à paramétrer un code en fortran ... !

    Initialement, les paramètres du code fortran sont dans des fichiers textes ...

    Je me demande comment faire pour que les paramètres passés par l'interface puissent être utilisé par le code fortran et comment lancer ce code via la même interface ...?

    Quelqu'un pour m'aider ?

    Merci beaucoup!

  2. #2
    Rédacteur
    Avatar de SaumonAgile
    Homme Profil pro
    Team leader
    Inscrit en
    Avril 2007
    Messages
    4 028
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Team leader
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2007
    Messages : 4 028
    Par défaut
    Peux tu poster le code qui ne fonctionne pas et décrire le plus précisément possible le problème rencontré ?
    Merci.
    Besoin d'un MessageBox amélioré ? InformationBox pour .NET 1.1, 2.0, 3.0, 3.5, 4.0 sous license Apache 2.0.

    Bonnes pratiques pour les accès aux données
    Débogage efficace en .NET
    LINQ to Objects : l'envers du décor

    Mon profil LinkedIn - MCT - MCPD WinForms - MCTS Applications Distribuées - MCTS WCF - MCTS WCF 4.0 - MCTS SQL Server 2008, Database Development - Mon blog - Twitter

  3. #3
    Membre à l'essai
    Inscrit en
    Juin 2007
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 6
    Par défaut
    Alors le code le voici :

    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
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
     
    using System;
     
    namespace Multi
    {
    	public class EntreeSortie : System.Windows.Forms.Form
        {
            private System.Windows.Forms.Label label1;
            private System.Windows.Forms.Label label2;
            private System.Windows.Forms.Label label3;
            private System.Windows.Forms.Label label4;
            private System.Windows.Forms.Label label5;
            private System.Windows.Forms.Label label6;
            private System.Windows.Forms.Panel panel1;
            private System.Windows.Forms.RadioButton LREADFalse;
            private System.Windows.Forms.RadioButton LREADTrue;
            private System.Windows.Forms.Panel panel2;
            private System.Windows.Forms.RadioButton LwriteFalse;
            private System.Windows.Forms.RadioButton LwriteTrue;
            private System.Windows.Forms.Panel panel3;
            private System.Windows.Forms.RadioButton LTestFalse;
            private System.Windows.Forms.RadioButton LTestTrue;
            private System.Windows.Forms.Panel panel4;
            private System.Windows.Forms.RadioButton SolverTrue;
            private System.Windows.Forms.RadioButton SolverFalse;
            private System.Windows.Forms.Panel panel5;
            private System.Windows.Forms.RadioButton LACCFalse;
            private System.Windows.Forms.RadioButton LACCTrue;
            private System.Windows.Forms.Button Annuler;
            private System.Windows.Forms.Button OK;
            private System.Windows.Forms.MaskedTextBox LCHKCapture;
    		private System.ComponentModel.IContainer components;
     
    		public EntreeSortie()
    		{
    			InitializeComponent();
    		}
     
     
    		protected override void Dispose( bool disposing )
    		{
    			if( disposing )
    			{
    				if (components != null) 
    				{
    					components.Dispose();
    				}
    			}
    			base.Dispose( disposing );
    		}
     
    		#region Windows Form Designer generated code
    		/// <summary>
    		/// Required method for Designer support - do not modify
    		/// the contents of this method with the code editor.
    		/// </summary>
    		private void InitializeComponent()
    		{
                this.label1 = new System.Windows.Forms.Label();
                this.label2 = new System.Windows.Forms.Label();
                this.label3 = new System.Windows.Forms.Label();
                this.label4 = new System.Windows.Forms.Label();
                this.label5 = new System.Windows.Forms.Label();
                this.label6 = new System.Windows.Forms.Label();
                this.panel1 = new System.Windows.Forms.Panel();
                this.LREADTrue = new System.Windows.Forms.RadioButton();
                this.LREADFalse = new System.Windows.Forms.RadioButton();
                this.panel2 = new System.Windows.Forms.Panel();
                this.LwriteTrue = new System.Windows.Forms.RadioButton();
                this.LwriteFalse = new System.Windows.Forms.RadioButton();
                this.panel3 = new System.Windows.Forms.Panel();
                this.LTestTrue = new System.Windows.Forms.RadioButton();
                this.LTestFalse = new System.Windows.Forms.RadioButton();
                this.panel4 = new System.Windows.Forms.Panel();
                this.SolverTrue = new System.Windows.Forms.RadioButton();
                this.SolverFalse = new System.Windows.Forms.RadioButton();
                this.panel5 = new System.Windows.Forms.Panel();
                this.LACCTrue = new System.Windows.Forms.RadioButton();
                this.LACCFalse = new System.Windows.Forms.RadioButton();
                this.Annuler = new System.Windows.Forms.Button();
                this.OK = new System.Windows.Forms.Button();
                this.LCHKCapture = new System.Windows.Forms.MaskedTextBox();
                this.panel1.SuspendLayout();
                this.panel2.SuspendLayout();
                this.panel3.SuspendLayout();
                this.panel4.SuspendLayout();
                this.panel5.SuspendLayout();
                this.SuspendLayout();
                // 
                // label1
                // 
                this.label1.AutoSize = true;
                this.label1.Location = new System.Drawing.Point(29, 25);
                this.label1.Name = "label1";
                this.label1.Size = new System.Drawing.Size(48, 13);
                this.label1.TabIndex = 0;
                this.label1.Text = "LREAD";
                // 
                // label2
                // 
                this.label2.AutoSize = true;
                this.label2.Location = new System.Drawing.Point(22, 75);
                this.label2.Name = "label2";
                this.label2.Size = new System.Drawing.Size(55, 13);
                this.label2.TabIndex = 1;
                this.label2.Text = "LWRITE";
                // 
                // label3
                // 
                this.label3.AutoSize = true;
                this.label3.Location = new System.Drawing.Point(31, 137);
                this.label3.Name = "label3";
                this.label3.Size = new System.Drawing.Size(46, 13);
                this.label3.TabIndex = 2;
                this.label3.Text = "LTEST";
                // 
                // label4
                // 
                this.label4.AutoSize = true;
                this.label4.Location = new System.Drawing.Point(190, 25);
                this.label4.Name = "label4";
                this.label4.Size = new System.Drawing.Size(75, 13);
                this.label4.TabIndex = 3;
                this.label4.Text = "Ltest Solver";
                // 
                // label5
                // 
                this.label5.AutoSize = true;
                this.label5.Location = new System.Drawing.Point(219, 75);
                this.label5.Name = "label5";
                this.label5.Size = new System.Drawing.Size(38, 13);
                this.label5.TabIndex = 4;
                this.label5.Text = "LACC";
                // 
                // label6
                // 
                this.label6.AutoSize = true;
                this.label6.Location = new System.Drawing.Point(218, 135);
                this.label6.Name = "label6";
                this.label6.Size = new System.Drawing.Size(39, 13);
                this.label6.TabIndex = 5;
                this.label6.Text = "LCHK";
                // 
                // panel1
                // 
                this.panel1.Controls.Add(this.LREADFalse);
                this.panel1.Controls.Add(this.LREADTrue);
                this.panel1.Location = new System.Drawing.Point(83, 20);
                this.panel1.Name = "panel1";
                this.panel1.Size = new System.Drawing.Size(106, 44);
                this.panel1.TabIndex = 17;
                // 
                // LREADTrue
                // 
                this.LREADTrue.AutoSize = true;
                this.LREADTrue.Location = new System.Drawing.Point(3, 3);
                this.LREADTrue.Name = "LREADTrue";
                this.LREADTrue.Size = new System.Drawing.Size(51, 17);
                this.LREADTrue.TabIndex = 0;
                this.LREADTrue.Text = "True";
                this.LREADTrue.UseVisualStyleBackColor = true;
                // 
                // LREADFalse
                // 
                this.LREADFalse.AutoSize = true;
                this.LREADFalse.Checked = true;
                this.LREADFalse.Location = new System.Drawing.Point(3, 26);
                this.LREADFalse.Name = "LREADFalse";
                this.LREADFalse.Size = new System.Drawing.Size(55, 17);
                this.LREADFalse.TabIndex = 1;
                this.LREADFalse.TabStop = true;
                this.LREADFalse.Text = "False";
                this.LREADFalse.UseVisualStyleBackColor = true;
                // 
                // panel2
                // 
                this.panel2.Controls.Add(this.LwriteFalse);
                this.panel2.Controls.Add(this.LwriteTrue);
                this.panel2.Location = new System.Drawing.Point(83, 69);
                this.panel2.Name = "panel2";
                this.panel2.Size = new System.Drawing.Size(109, 54);
                this.panel2.TabIndex = 18;
                // 
                // LwriteTrue
                // 
                this.LwriteTrue.AutoSize = true;
                this.LwriteTrue.Checked = true;
                this.LwriteTrue.Location = new System.Drawing.Point(3, 6);
                this.LwriteTrue.Name = "LwriteTrue";
                this.LwriteTrue.Size = new System.Drawing.Size(51, 17);
                this.LwriteTrue.TabIndex = 0;
                this.LwriteTrue.TabStop = true;
                this.LwriteTrue.Text = "True";
                this.LwriteTrue.UseVisualStyleBackColor = true;
                // 
                // LwriteFalse
                // 
                this.LwriteFalse.AutoSize = true;
                this.LwriteFalse.Location = new System.Drawing.Point(3, 29);
                this.LwriteFalse.Name = "LwriteFalse";
                this.LwriteFalse.Size = new System.Drawing.Size(55, 17);
                this.LwriteFalse.TabIndex = 1;
                this.LwriteFalse.Text = "False";
                this.LwriteFalse.UseVisualStyleBackColor = true;
                // 
                // panel3
                // 
                this.panel3.Controls.Add(this.LTestFalse);
                this.panel3.Controls.Add(this.LTestTrue);
                this.panel3.Location = new System.Drawing.Point(83, 129);
                this.panel3.Name = "panel3";
                this.panel3.Size = new System.Drawing.Size(106, 52);
                this.panel3.TabIndex = 19;
                // 
                // LTestTrue
                // 
                this.LTestTrue.AutoSize = true;
                this.LTestTrue.Location = new System.Drawing.Point(3, 6);
                this.LTestTrue.Name = "LTestTrue";
                this.LTestTrue.Size = new System.Drawing.Size(51, 17);
                this.LTestTrue.TabIndex = 0;
                this.LTestTrue.Text = "True";
                this.LTestTrue.UseVisualStyleBackColor = true;
                // 
                // LTestFalse
                // 
                this.LTestFalse.AutoSize = true;
                this.LTestFalse.Checked = true;
                this.LTestFalse.Location = new System.Drawing.Point(3, 29);
                this.LTestFalse.Name = "LTestFalse";
                this.LTestFalse.Size = new System.Drawing.Size(55, 17);
                this.LTestFalse.TabIndex = 1;
                this.LTestFalse.TabStop = true;
                this.LTestFalse.Text = "False";
                this.LTestFalse.UseVisualStyleBackColor = true;
                // 
                // panel4
                // 
                this.panel4.Controls.Add(this.SolverFalse);
                this.panel4.Controls.Add(this.SolverTrue);
                this.panel4.Location = new System.Drawing.Point(263, 13);
                this.panel4.Name = "panel4";
                this.panel4.Size = new System.Drawing.Size(97, 51);
                this.panel4.TabIndex = 20;
                // 
                // SolverTrue
                // 
                this.SolverTrue.AutoSize = true;
                this.SolverTrue.Location = new System.Drawing.Point(3, 10);
                this.SolverTrue.Name = "SolverTrue";
                this.SolverTrue.Size = new System.Drawing.Size(51, 17);
                this.SolverTrue.TabIndex = 0;
                this.SolverTrue.Text = "True";
                this.SolverTrue.UseVisualStyleBackColor = true;
                this.SolverTrue.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
                // 
                // SolverFalse
                // 
                this.SolverFalse.AutoSize = true;
                this.SolverFalse.Checked = true;
                this.SolverFalse.Location = new System.Drawing.Point(3, 33);
                this.SolverFalse.Name = "SolverFalse";
                this.SolverFalse.Size = new System.Drawing.Size(55, 17);
                this.SolverFalse.TabIndex = 1;
                this.SolverFalse.TabStop = true;
                this.SolverFalse.Text = "False";
                this.SolverFalse.UseVisualStyleBackColor = true;
                // 
                // panel5
                // 
                this.panel5.Controls.Add(this.LACCFalse);
                this.panel5.Controls.Add(this.LACCTrue);
                this.panel5.Location = new System.Drawing.Point(263, 72);
                this.panel5.Name = "panel5";
                this.panel5.Size = new System.Drawing.Size(96, 50);
                this.panel5.TabIndex = 21;
                // 
                // LACCTrue
                // 
                this.LACCTrue.AutoSize = true;
                this.LACCTrue.Checked = true;
                this.LACCTrue.Location = new System.Drawing.Point(3, 1);
                this.LACCTrue.Name = "LACCTrue";
                this.LACCTrue.Size = new System.Drawing.Size(51, 17);
                this.LACCTrue.TabIndex = 0;
                this.LACCTrue.TabStop = true;
                this.LACCTrue.Text = "True";
                this.LACCTrue.UseVisualStyleBackColor = true;
                // 
                // LACCFalse
                // 
                this.LACCFalse.AutoSize = true;
                this.LACCFalse.Location = new System.Drawing.Point(3, 26);
                this.LACCFalse.Name = "LACCFalse";
                this.LACCFalse.Size = new System.Drawing.Size(55, 17);
                this.LACCFalse.TabIndex = 1;
                this.LACCFalse.Text = "False";
                this.LACCFalse.UseVisualStyleBackColor = true;
                // 
                // Annuler
                // 
                this.Annuler.DialogResult = System.Windows.Forms.DialogResult.Cancel;
                this.Annuler.Location = new System.Drawing.Point(203, 178);
                this.Annuler.Name = "Annuler";
                this.Annuler.Size = new System.Drawing.Size(62, 22);
                this.Annuler.TabIndex = 22;
                this.Annuler.Text = "Annuler";
                this.Annuler.UseVisualStyleBackColor = true;
                this.Annuler.Click += new System.EventHandler(this.Annuler_Click);
                // 
                // OK
                // 
                this.OK.DialogResult = System.Windows.Forms.DialogResult.OK;
                this.OK.Location = new System.Drawing.Point(297, 178);
                this.OK.Name = "OK";
                this.OK.Size = new System.Drawing.Size(62, 22);
                this.OK.TabIndex = 23;
                this.OK.Text = "OK";
                this.OK.UseVisualStyleBackColor = true;
                this.OK.Click += new System.EventHandler(this.OK_Click);
     
                // 
                // LCHKCapture
                // 
                this.LCHKCapture.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
                this.LCHKCapture.Location = new System.Drawing.Point(263, 132);
                this.LCHKCapture.Name = "LCHKCapture";
                this.LCHKCapture.Size = new System.Drawing.Size(100, 20);
                this.LCHKCapture.TabIndex = 24;
                this.LCHKCapture.Text = "100";
                this.LCHKCapture.MaskInputRejected += new System.Windows.Forms.MaskInputRejectedEventHandler(this.LCHKCapture_MaskInputRejected);
                // 
                // EntreeSortie
                // 
                this.AutoScaleBaseSize = new System.Drawing.Size(6, 13);
                this.ClientSize = new System.Drawing.Size(372, 212);
                this.Controls.Add(this.LCHKCapture);
                this.Controls.Add(this.OK);
                this.Controls.Add(this.Annuler);
                this.Controls.Add(this.panel5);
                this.Controls.Add(this.panel4);
                this.Controls.Add(this.panel3);
                this.Controls.Add(this.panel2);
                this.Controls.Add(this.panel1);
                this.Controls.Add(this.label6);
                this.Controls.Add(this.label5);
                this.Controls.Add(this.label4);
                this.Controls.Add(this.label3);
                this.Controls.Add(this.label2);
                this.Controls.Add(this.label1);
                this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
                this.Name = "EntreeSortie";
                this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
                this.Text = "Entrée Sortie";
                this.Load += new System.EventHandler(this.EntreeSortie_Load);
                this.panel1.ResumeLayout(false);
                this.panel1.PerformLayout();
                this.panel2.ResumeLayout(false);
                this.panel2.PerformLayout();
                this.panel3.ResumeLayout(false);
                this.panel3.PerformLayout();
                this.panel4.ResumeLayout(false);
                this.panel4.PerformLayout();
                this.panel5.ResumeLayout(false);
                this.panel5.PerformLayout();
                this.ResumeLayout(false);
                this.PerformLayout();
     
    		}
     
     
    		#endregion
     
            private void EntreeSortie_Load(object sender, EventArgs e)
            {
     
            }
     
            private void richTextBox1_TextChanged(object sender, EventArgs e)
            {
     
            }
     
            private void panel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
            {
     
            }
     
            private void radioButton4_CheckedChanged(object sender, EventArgs e)
            {
     
            }
     
            private void radioButton5_CheckedChanged(object sender, EventArgs e)
            {
     
            }
     
            private void radioButton1_CheckedChanged(object sender, EventArgs e)
            {
     
            }
     
            private void Annuler_Click(object sender, EventArgs e)
            {
     
            }
     
            private void LCHKCapture_MaskInputRejected(object sender, System.Windows.Forms.MaskInputRejectedEventArgs e)
            {
     
            }
     
            private void OK_Click(object sender, EventArgs e)
            {
     
            }
     
     
        }
    }
    Concernant l'utilisation :

    L'utilisateur pourra choisir différents paramètres comme on peut le voir sur cette fenêtre : True, False et aussi une valeur numérique arbitrairement choisie à 100.
    Ces paramètres sont ensuite utilisé par un code fortran pour modéliser un écoulement physique...
    Le but de l'interface étant de simplifier au maximum le paramétrage de l'écoulement et de la résolution mathématique de celui ci et de lancer l'itération (le code fortran) ...

    Donc comment faire ?

    En fortran, les paramètres sont stockés dans des fichiers texte, donc lorsque j'ai choisi les paramètres je click sur "ok" et après ? on les sauvegarde dans les fichiers text du fortran ou autre solution ?

    Bref voilà, j'espère que c'est plus simple à comprendre maintenant...

  4. #4
    Rédacteur
    Avatar de SaumonAgile
    Homme Profil pro
    Team leader
    Inscrit en
    Avril 2007
    Messages
    4 028
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Team leader
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2007
    Messages : 4 028
    Par défaut
    Il existe des tutoriels sur le site pour l'écriture dans des fichiers texte, tu voudras sans doute y jeter un oeil.
    Besoin d'un MessageBox amélioré ? InformationBox pour .NET 1.1, 2.0, 3.0, 3.5, 4.0 sous license Apache 2.0.

    Bonnes pratiques pour les accès aux données
    Débogage efficace en .NET
    LINQ to Objects : l'envers du décor

    Mon profil LinkedIn - MCT - MCPD WinForms - MCTS Applications Distribuées - MCTS WCF - MCTS WCF 4.0 - MCTS SQL Server 2008, Database Development - Mon blog - Twitter

  5. #5
    Membre à l'essai
    Inscrit en
    Juin 2007
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 6
    Par défaut
    Merci pour la réponse, je m'en vais étudier tout ça ...

    Par contre, qu'est ce que je peux faire pour que depuis mon interface en c# je puisse lancer les itérations du code fortran ?

    Une idée ?

    Ps: Merci pour les balises de code, je savais pas qu'elles existaient ...

  6. #6
    Rédacteur
    Avatar de SaumonAgile
    Homme Profil pro
    Team leader
    Inscrit en
    Avril 2007
    Messages
    4 028
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Team leader
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2007
    Messages : 4 028
    Par défaut
    Tu peux regarder du côté de la class Process qui permet de lancer des processus externes.
    Besoin d'un MessageBox amélioré ? InformationBox pour .NET 1.1, 2.0, 3.0, 3.5, 4.0 sous license Apache 2.0.

    Bonnes pratiques pour les accès aux données
    Débogage efficace en .NET
    LINQ to Objects : l'envers du décor

    Mon profil LinkedIn - MCT - MCPD WinForms - MCTS Applications Distribuées - MCTS WCF - MCTS WCF 4.0 - MCTS SQL Server 2008, Database Development - Mon blog - Twitter

  7. #7
    Membre à l'essai
    Inscrit en
    Juin 2007
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Juin 2007
    Messages : 6
    Par défaut
    Merci pour la piste Process ça m'a effectivement permis de lancer mon executable fortran...

    Par contre j'en reviens à mon idée de saisie des paramètres sous mon interface graphique et de les enregistrer dans des fichiers textes ...

    Y aurait il un moyen pour faire plutôt enregistrement de ces paramètres directement dans la console (qui serait préalablement ouverte). Ceci éviterait de passer par les fichiers text ...

    En gros ça revient à remplir les paramètres qui me sont demandé dans la console via l'interface graphique...

    Une piste? une idée ? Jsusi preneur! Merci d'avance.

Discussions similaires

  1. [CR] liaison crystal report et vb6
    Par breizhange dans le forum SDK
    Réponses: 7
    Dernier message: 10/08/2015, 13h29
  2. Liaison de police
    Par arno_ dans le forum Flash
    Réponses: 11
    Dernier message: 06/07/2005, 22h58
  3. partage d'une liaison ADSL
    Par hassen dans le forum Développement
    Réponses: 6
    Dernier message: 20/10/2003, 20h10
  4. [TP]Portage d'un encodeur MP3 Fortran en pur Pascal...
    Par Christophe Fantoni dans le forum Turbo Pascal
    Réponses: 11
    Dernier message: 04/07/2003, 17h34
  5. [TP]Liaison série avec TP7 dans fenêtre DOS W2000
    Par Alain81 dans le forum Turbo Pascal
    Réponses: 8
    Dernier message: 14/06/2003, 00h43

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