Jump to content
View in the app

A better way to browse. Learn more.

WinCert.net Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hi

Can somebody see where i'm going wrong:

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace ImportantChanges{    public partial class Form1 : Form    {        public Form1() { InitializeComponent(); }        private void Form1_Load(object sender, EventArgs e)        {            try            {                string txt = System.IO.File.ReadAllText(@"./Start/PostInstall.txt");                foreach (string line in System.IO.File.ReadAllLines(txt))                {                    string[] txtLine = line.Split(':');                    if (txtLine[0].ToLower() == "prog name") label3.Text = "Installing " + txtLine[1];                    if (txtLine[0].ToLower() == "installer file")                        try { System.Diagnostics.Process.Start(txtLine[1]); }                        catch { MessageBox.Show("Error: File doesn't exist" + txtLine[1]); }                }                //            try { System.Diagnostics.Process.Start(@"./PostInstall.cmd"); }                //            catch { Console.WriteLine("Error: File doesn't exist or is damaged!"); }            }            catch { MessageBox.Show("Sorry can't install this program!"); }        }    }}


I'm getting that laast message box everytime, Why?

HERE's the txt file:

##############################################################################Install Order: 1Prog Name: RocketDock v1.3.5Installer File: H:\X17-59183\-=Build Stuff=-\Silent\RocketDock135_Cusom_Silent_Chris2k.exe##############################################################################


thanks

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.