Jump to content

tony-inpo

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    United Kingdom

About tony-inpo

tony-inpo's Achievements

0

Reputation

  1. I installed xpize and the latest windows updates which windows update told me I needed, then restarted the system. After the black loading screen with the blue bar striping across it got to the blue bit of the load (windows is loading your settings or whatever) then shows my background, then crashes explorer. Asks me to send a error report etc, I do (or don't tried both) and it doesn't come back. Ctrl+Shift+Esc > new task > explorer > crashes and asks to send error report. Same in safe mode (with cmd and without) tried resetting to last known good configuration no help Thanks any help fast would be much appreciated
  2. Hi, I want my user to be able to minimise my application to the system tray, which appears as a Notify Icon with the applications Icon on. I then want the user to be able to double click the icon to maximise the app again, then immediately after, double click the icon to minimise. private void ni_DoubleClick(object sender, EventArgs e) { if (WindowState == FormWindowState.Minimized) { Show(); WindowState = FormWindowState.Normal; } if (WindowState == FormWindowState.Normal) { Hide(); WindowState = FormWindowState.Minimized; } } With this code it performs my operation, but only once, How do you get it to continually loop through this procedure. Thanks Tony
  3. Hi, first post so hey everybody, hope someone can give me a hand here I can copy files and folders but I have to do it individually. Here’s the code string strOrigFile = somelocation1; //defined by user string strDestLoc = somelocation2; //defined by user // Get the filename only string strFileName = System.IO.Path.GetFileName(strOrigFile); // Determine the full destination path including filename string strDestFile = System.IO.Path.Combine(strDestLoc, strFileName); // Copy the file System.IO.File.Copy(strOrigFile, strDestFile); How do I make it look for all the files in the Directory then copy them? Thanks Tony


×
×
  • Create New...