topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday June 23, 2025, 3:33 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 52 53 54 55 56 [57] 58 59 60 61 62 ... 145next
1401
Cause of crash is believed to be its cargo shifting and upsetting the plane's balance, based on communications with air traffic control.

The craft reared up into too steep of a climb, stalled, skidded sideways from lack of airspeed, and then couldn't pull up in time after righting itself.


-SeraphimLabs (May 02, 2013, 04:09 PM)

I actually found it quite odd that I didn't see this on the BBC or any other news station on TV...at all.
1402
The moment a US cargo plane spun out of control and crashed shortly after take-off in Afghanistan, killing all seven crew members, has been captured on video.




The Boeing 747, which had taken off from Bagram airbase near the Afghan capital Kabul destined for Dubai, exploded in flames after crashing to earth on Monday, killing all seven people on board – all of whom were American citizens.
The video footage, filmed by what appears to be a camera on the dashboard of a vehicle driving nearby, shows the plane gaining altitude and then twist, plummeting to earth. It is then engulfed in flames.
The Taliban, in a statement, claimed responsibility for the crash, but Nato’s International Security Assistance Force (Isaf) said there were no reports of insurgent activity in or around the base, which is one of the largest in the country.
The National Transportation Safety Board said it was sending a team of investigators to Afghanistan to assist local authorities with their investigation.
The plane – owned by National Airlines, an Orlando, Florida-based subsidiary of National Air Cargo – was carrying vehicles and other cargo, according to National Air Cargo Vice President Shirley Kaufman.


-Read More: http://www.telegraph...aught-on-camera.html
1404
Breakfast In Bed?

1405
Announce Your Software/Service/Product / Re: Scrubby
« Last post by KynloStephen66515 on April 29, 2013, 09:24 PM »
Scrubby is a utility that sits in your system tray and allows you to remove text formatting (Bold, Italic, Colors, Etc.) and optionally strip HTML tags from text in your Windows clipboard using a hotkey and paste into the current active window. You can also create substitutions and substitute some text for another when pasting. Can come in handy for email templates and such.

I did base it off of a Mac app I saw called TextScrub. I thought that was a great idea so I made a Windows version. :-)

You can download and view more info here -> http://starpunch.blogspot.com/2013/04/scrubby.html

Hmm. Theoretically that looks kinda neat. However it is 14 day trial with $5.99+tax via Paypal to continue using it!

Slightly drifting topics here, has anyone considered making "trial ware" a per-use trial rather than time limited? There's lots of stuff that I wouldn't buy right away because I'm not sure it would be a "star performer", only later that it does, but then it's expired. Whereas in a numbered trial, the first 4 uses playing with it sit there, then suddenly you get a project say in June where it becomes important enough to register!



Yeah, I have been stung by time-limits before...download and install something to test, run it once, forget for 2 week, go back to actually test and B00M..."PLZ BUY ME"
1406
Living Room / Re: When you make your 100'th Post
« Last post by KynloStephen66515 on April 27, 2013, 03:45 PM »
I honestly hadn't even noticed the 2300 number xD  But yeah, the one Ath posted was my more recent, however, the one tomos selected was only like 2 behind :P
1407
Announce Your Software/Service/Product / Re: RegaLink
« Last post by KynloStephen66515 on April 27, 2013, 12:06 PM »
I should also mention, this is released as-is...there is no real commenting in the code...so...unless you understand it...it might be a little screwed to look at...I am not the tidiest coder on the planet...so stuff is in no logical order lol
1408
Announce Your Software/Service/Product / Re: RegaLink
« Last post by KynloStephen66515 on April 27, 2013, 12:00 PM »
If you wanna see what you are in for...here is some of the code:

code
Code: C# [Select]
  1. #region usings
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Data;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Windows.Forms;
  10. using System.Diagnostics;
  11. using System.Threading;
  12. using System.IO;
  13. using RegaLink.Properties;
  14. using Microsoft.VisualBasic;
  15. using RegaLink;
  16. using RegaLinnk;
  17.  
  18. #endregion
  19. #region namespace
  20. namespace RegaLink
  21. {
  22.     public partial class Form1 : Form
  23.     {
  24.  
  25.         public Form1()
  26.         {
  27.             InitializeComponent();
  28.         }
  29.  
  30. #endregion
  31.         #region formload
  32.         private void Form1_Load(object sender, EventArgs e)
  33.         {
  34.            
  35.  
  36.             BrowserForm browserForm = new BrowserForm();
  37.             Settings.Default.DefaultSearch = Settings.Default.DefaultSearch;
  38.             if (Settings.Default.WindowLocation != null)
  39.             {
  40.                 this.Location = Settings.Default.WindowLocation;
  41.             }
  42.  
  43.  
  44.             if (Settings.Default.WindowSize != null)
  45.             {
  46.                 this.Size = Settings.Default.WindowSize;
  47.             }
  48.  
  49.  
  50.             this.splitContainer1.SplitterDistance = Settings.Default.SplitterDis;
  51.  
  52.             FileStream yaNew = File.Open("URL.txt", FileMode.Open, FileAccess.Read);
  53.             StreamReader yaRead = new StreamReader(yaNew);
  54.             string yaView = yaRead.ReadToEnd();
  55.  
  56.             FileStream yaNew3 = File.Open("Visited.txt", FileMode.Open, FileAccess.Read);
  57.             StreamReader yaRead3 = new StreamReader(yaNew3);
  58.             string yaView3 = yaRead3.ReadToEnd();
  59.  
  60.  
  61.             yaRead.Close();
  62.             yaNew.Close();
  63.  
  64.             yaRead3.Close();
  65.             yaNew3.Close();
  66.  
  67.             string[] sep1 = yaView3.Split(new[] { '|' });
  68.             string[] sep = new string[1] { "\r\n" };
  69.             String[] yaArray = yaView.Split(sep, StringSplitOptions.RemoveEmptyEntries);
  70.             String[] yaArray3 = yaView3.Split(sep, StringSplitOptions.RemoveEmptyEntries);
  71.            
  72.             try
  73.             {
  74.                 string[] lines = File.ReadAllLines("Visited.txt");
  75.  
  76.                 foreach (string line in lines)
  77.                 {
  78.                     string[] URLandDATE = line.Split('|');
  79.  
  80.                     ListViewItem ListFeeder = new ListViewItem(URLandDATE[0]);
  81.                     for (int i = 1; i < URLandDATE.Length; i++)
  82.                         ListFeeder.SubItems.Add(URLandDATE[i]);
  83.  
  84.                     listView3.Items.Add(ListFeeder);
  85.                 }
  86.  
  87.             }
  88.             catch
  89.             {
  90.  
  91.             }
  92.  
  93.             try
  94.             {
  95.                 string[] lines1 = File.ReadAllLines("URL.txt");
  96.  
  97.                 foreach (string line1 in lines1)
  98.                 {
  99.                     string[] URLandDATE1 = line1.Split('|');
  100.  
  101.                     ListViewItem ListFeeder1 = new ListViewItem(URLandDATE1[0]);
  102.                     for (int i = 1; i < URLandDATE1.Length; i++)
  103.                         ListFeeder1.SubItems.Add(URLandDATE1[i]);
  104.  
  105.                     listView1.Items.Add(ListFeeder1);
  106.                 }
  107.  
  108.             }
  109.             catch
  110.             {
  111.  
  112.             }
  113.  
  114.         }
  115.         #endregion
  116.         #region Left Doubleclick
  117.         private void list1_DoubleClick(object sender, EventArgs e)
  118.         {
  119.             string[] prefixes = { "http", "https", "www", "ftp" };
  120.  
  121.             if (prefixes.Any(prefix => listView1.SelectedItems[0].SubItems[0].Text.StartsWith(prefix)))
  122.             {
  123.                 System.Diagnostics.Process.Start(listView1.SelectedItems[0].SubItems[0].Text);
  124.             }
  125.             else
  126.             {
  127.                 System.Diagnostics.Process.Start(Settings.Default.DefaultSearch.ToString() + listView1.SelectedItems[0].SubItems[0].Text);
  128.  
  129.             }
  130.  
  131.  
  132.             while (listView1.SelectedItems.Count > 0)
  133.             {
  134.                 ListViewItem temp = listView1.SelectedItems[0];
  135.                 listView1.Items.Remove(temp);
  136.                 ListViewItem lvItem = listView3.Items.Insert(0, temp);
  137.                 lvItem.SubItems.Add(new ListViewItem.ListViewSubItem(lvItem, DateTime.Now.ToString()));
  138.             }
  139.  
  140.             #region SaveFile2
  141.  
  142.             using (StreamWriter writer1 = new StreamWriter("URL.txt"))
  143.             {
  144.                 StringBuilder line = new StringBuilder();
  145.                 foreach (ListViewItem item in listView1.Items)
  146.                 {
  147.                     line.Clear();
  148.                     for (int i = 0; i < item.SubItems.Count; i++)
  149.                     {
  150.                         if (i > 0)
  151.                             line.Append("|");
  152.                         line.Append(item.SubItems[i].Text);
  153.                     }
  154.                     writer1.WriteLine(line);
  155.                 }
  156.             }
  157.  
  158.             using (StreamWriter writer = new StreamWriter("Visited.txt"))
  159.             {
  160.                 StringBuilder line = new StringBuilder();
  161.                 foreach (ListViewItem item in listView3.Items)
  162.                 {
  163.                     line.Clear();
  164.                     for (int i = 0; i < item.SubItems.Count; i++)
  165.                     {
  166.                         if (i > 0)
  167.                             line.Append("|");
  168.                         line.Append(item.SubItems[i].Text);
  169.                     }
  170.                     writer.WriteLine(line);
  171.                 }
  172.             }
  173.  
  174.             #endregion
  175.         }
  176.         #endregion
  177.  
  178.  
  179.  
  180.  
  181.         #region Right Doubleclick
  182.         private void list2_DoubleClick(object sender, EventArgs e)
  183.         {
  184.             while (listView3.SelectedItems.Count > 0)
  185.             {
  186.                 ListViewItem temp = listView3.SelectedItems[0];
  187.                 listView3.Items.Remove(temp);
  188.                 ListViewItem lvItem = listView1.Items.Insert(0, temp);
  189.                 lvItem.SubItems.Add(new ListViewItem.ListViewSubItem(lvItem, DateTime.Now.ToString()));
  190.             }
  191.  
  192.            
  193.             #region SaveFile2
  194.             using (StreamWriter writer1 = new StreamWriter("URL.txt"))
  195.             {
  196.                 StringBuilder line = new StringBuilder();
  197.                 foreach (ListViewItem item in listView1.Items)
  198.                 {
  199.                     line.Clear();
  200.                     for (int i = 0; i < item.SubItems.Count; i++)
  201.                     {
  202.                         if (i > 0)
  203.                             line.Append("|");
  204.                         line.Append(item.SubItems[i].Text);
  205.                     }
  206.                     writer1.WriteLine(line);
  207.                 }
  208.             }
  209.  
  210.             using (StreamWriter writer = new StreamWriter("Visited.txt"))
  211.             {
  212.                 StringBuilder line = new StringBuilder();
  213.                 foreach (ListViewItem item in listView3.Items)
  214.                 {
  215.                     line.Clear();
  216.                     for (int i = 0; i < item.SubItems.Count; i++)
  217.                     {
  218.                         if (i > 0)
  219.                             line.Append("|");
  220.                         line.Append(item.SubItems[i].Text);
  221.                     }
  222.                     writer.WriteLine(line);
  223.                 }
  224.             }
  225.  
  226.             #endregion
  227.  
  228.  
  229.         }
  230.             #endregion
  231.        
  232.         #region Context Menus Items
  233.         private void listView1_ItemDrag(object sender, ItemDragEventArgs e)
  234.         {
  235.             listView1.DoDragDrop(listView1.SelectedItems, DragDropEffects.Move);
  236.         }
  237.  
  238.         private void listView1_DragEnter(object sender, DragEventArgs e)
  239.         {
  240.             e.Effect = DragDropEffects.Copy;
  241.  
  242.             int len = e.Data.GetFormats().Length - 1;
  243.             int i;
  244.             for (i = 0; i <= len; i++)
  245.             {
  246.                 if (e.Data.GetFormats()[i].Equals("System.Windows.Forms.ListView+SelectedListViewItemCollection"))
  247.                 {
  248.                     e.Effect = DragDropEffects.Move;
  249.                 }
  250.             }
  251.         }
  252.  
  253.         private void listView1_DragDrop(object sender, DragEventArgs e)
  254.         {
  255.             string gelen = (string)e.Data.GetData(typeof(string));
  256.  
  257.             if (!string.IsNullOrEmpty(gelen))
  258.                 listView1.Items.Add(gelen);
  259.  
  260.             #region savefile
  261.             using (StreamWriter sw = new StreamWriter("Visited.txt"))
  262.             {
  263.                 foreach (ListViewItem item in listView2.Items)
  264.                 {
  265.                     sw.WriteLine(item.Text);
  266.                 }
  267.             }
  268.             using (StreamWriter sw = new StreamWriter("Visited.txt"))
  269.             {
  270.                 foreach (ListViewItem item in listView2.Items)
  271.                 {
  272.                     sw.Write(item.Text);
  273.                     for (int i = 1; i < item.SubItems.Count; i++)
  274.                         sw.Write("," + item.SubItems[i].Text + "\r\n");
  275.                     sw.Write("\r\n");
  276.                 }
  277.             }
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.             using (StreamWriter sw = new StreamWriter("URL.txt"))
  285.             {
  286.                 foreach (ListViewItem item in listView1.Items)
  287.                 {
  288.                     sw.WriteLine(item.Text);
  289.                 }
  290.             }
  291.             using (StreamWriter sw = new StreamWriter("URL.txt"))
  292.             {
  293.                 foreach (ListViewItem item in listView1.Items)
  294.                 {
  295.                     sw.Write(item.Text);
  296.                     for (int i = 1; i < item.SubItems.Count; i++)
  297.                         sw.Write("," + item.SubItems[i].Text + "\r\n");
  298.                     sw.Write("\r\n");
  299.                 }
  300.             }
  301.             #endregion
  302.             if (listView1.SelectedItems.Count == 0)
  303.             {
  304.                 return;
  305.             }
  306.             Point cp = listView1.PointToClient(new Point(e.X, e.Y));
  307.             ListViewItem dragToItem = listView1.GetItemAt(cp.X, cp.Y);
  308.             if (dragToItem == null)
  309.             {
  310.                 return;
  311.             }
  312.             int dragIndex = dragToItem.Index;
  313.             ListViewItem[] sel = new ListViewItem[listView1.SelectedItems.Count];
  314.             //for (int i = 0; i <= listView1.SelectedItems.Count - 1; i++)
  315.             for (int i = 0; i < listView1.SelectedItems.Count; i++)
  316.             {
  317.                 sel[i] = listView1.SelectedItems[i];
  318.             }
  319.             for (int i = 0; i < sel.GetLength(0); i++)
  320.             {
  321.                 ListViewItem dragItem = sel[i];
  322.                 int itemIndex = dragIndex;
  323.                 if (itemIndex == dragItem.Index)
  324.                 {
  325.                     return;
  326.                 }
  327.                 if (dragItem.Index < itemIndex)
  328.                     itemIndex++;
  329.                 else
  330.                     itemIndex = dragIndex + i;
  331.                 ListViewItem insertItem = (ListViewItem)dragItem.Clone();
  332.                 listView1.Items.Insert(itemIndex, insertItem);
  333.                 listView1.Items.Remove(dragItem);
  334.             }
  335.         }
  336.  
  337.  
  338.         private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
  339.         {
  340.             while (listView1.SelectedItems.Count > 0)
  341.             {
  342.                 ListViewItem temp = listView1.SelectedItems[0];
  343.                 listView1.Items.Remove(temp);
  344.                 notifyIcon1.BalloonTipText = "You successfully deleted an item!!";
  345.                 notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  346.                 notifyIcon1.BalloonTipTitle = "Item Deleted!";
  347.                 notifyIcon1.ShowBalloonTip(500);
  348.             }
  349.         }
  350.  
  351.         private void clearEntireListToolStripMenuItem_Click(object sender, EventArgs e)
  352.         {
  353.             listView1.Items.Clear();
  354.             notifyIcon1.BalloonTipText = "You successfully cleared the list of pending websites!";
  355.             notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  356.             notifyIcon1.BalloonTipTitle = "Pending List Cleared!";
  357.             notifyIcon1.ShowBalloonTip(500);
  358.         }
  359.  
  360.         private void deleteThisItemToolStripMenuItem_Click(object sender, EventArgs e)
  361.         {
  362.             while (listView2.SelectedItems.Count > 0)
  363.             {
  364.                 ListViewItem temp = listView2.SelectedItems[0];
  365.                 listView2.Items.Remove(temp);
  366.                 notifyIcon1.BalloonTipText = "You successfully deleted an item!!";
  367.                 notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  368.                 notifyIcon1.BalloonTipTitle = "Item Deleted!";
  369.                 notifyIcon1.ShowBalloonTip(500);
  370.             }
  371.  
  372.  
  373.         }
  374.         #endregion
  375.         #region Clear Items
  376.         private void clearListToolStripMenuItem_Click(object sender, EventArgs e)
  377.         {
  378.             listView2.Items.Clear();
  379.             notifyIcon1.BalloonTipText = "You successfully cleared the list of visited websites!";
  380.             notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  381.             notifyIcon1.BalloonTipTitle = "Visited List Cleared!";
  382.             notifyIcon1.ShowBalloonTip(500);
  383.         }
  384.  
  385.         #endregion
  386.         #region Form Closed
  387.         private void Form1_FormClosed(object sender, FormClosedEventArgs e)
  388.         {
  389.  
  390.             Properties.Settings.Default.Save();
  391.         }
  392.         #endregion
  393.         #region Form Closing
  394.         private void Form1_FormClosing(object sender, FormClosingEventArgs e)
  395.         {
  396.             Settings.Default.DefaultSearch = Settings.Default.DefaultSearch;
  397.  
  398.             Settings.Default.WindowLocation = this.Location;
  399.  
  400.             if (this.WindowState == FormWindowState.Normal)
  401.             {
  402.                 Settings.Default.WindowSize = this.Size;
  403.             }
  404.             else
  405.             {
  406.                 Settings.Default.WindowSize = this.RestoreBounds.Size;
  407.             }
  408.  
  409.             Settings.Default.SplitterDis = this.splitContainer1.SplitterDistance;
  410.  
  411.             Settings.Default.Save();
  412.  
  413.  
  414.             #region SaveFile2
  415.             using (StreamWriter writer1 = new StreamWriter("URL.txt"))
  416.             {
  417.                 StringBuilder line = new StringBuilder();
  418.                 foreach (ListViewItem item in listView1.Items)
  419.                 {
  420.                     line.Clear();
  421.                     for (int i = 0; i < item.SubItems.Count; i++)
  422.                     {
  423.                         if (i > 0)
  424.                             line.Append("|");
  425.                         line.Append(item.SubItems[i].Text);
  426.                     }
  427.                     writer1.WriteLine(line);
  428.                 }
  429.             }
  430.  
  431.             using (StreamWriter writer = new StreamWriter("Visited.txt"))
  432.             {
  433.                 StringBuilder line = new StringBuilder();
  434.                 foreach (ListViewItem item in listView3.Items)
  435.                 {
  436.                     line.Clear();
  437.                     for (int i = 0; i < item.SubItems.Count; i++)
  438.                     {
  439.                         if (i > 0)
  440.                             line.Append("|");
  441.                         line.Append(item.SubItems[i].Text);
  442.                     }
  443.                     writer.WriteLine(line);
  444.                 }
  445.             }
  446.  
  447.  
  448.             #endregion
  449.  
  450.         }
  451.         #endregion
  452.         #region Show Window
  453.  
  454.         private void restoreThisWindowToolStripMenuItem_Click(object sender, EventArgs e)
  455.         {
  456.             Show();
  457.         }
  458.         #endregion
  459.         #region Hide Window
  460.         private void button2_Click(object sender, EventArgs e)
  461.         {
  462.  
  463.             Hide();
  464.             notifyIcon1.BalloonTipText = "I ran away, but don't worry! If you right click me, I am sure I will come back out to play!";
  465.             notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  466.             notifyIcon1.BalloonTipTitle = "Hi There!!";
  467.             notifyIcon1.ShowBalloonTip(500);
  468.         }
  469.         #endregion
  470.  
  471.         private void aDDURLToolStripMenuItem_Click(object sender, EventArgs e)
  472.         {
  473.             string[] prefixes = { "http", "https", "www", "ftp" };
  474.             string input = Interaction.InputBox("Enter URL to add to the pending list.", "Add URL To Pending List", "");
  475.             if (input.Length == 0)
  476.             {
  477.                 MessageBox.Show("You forgot to add anything!");
  478.             }
  479.             else
  480.             {
  481.  
  482.                 ListViewItem lvItem = listView1.Items.Insert(0, input);
  483.                 lvItem.SubItems.Add(new ListViewItem.ListViewSubItem(lvItem, DateTime.Now.ToString()));
  484.             }
  485.         }
  486.  
  487.  
  488.  
  489.         private void button3_Click(object sender, EventArgs e)
  490.         {
  491.             Process.Start("URL.txt");
  492.         }
  493.  
  494.         private void restoreToolStripMenuItem_Click(object sender, EventArgs e)
  495.         {
  496.             this.splitContainer1.SplitterDistance = 285;
  497.         }
  498.  
  499.         private void saveCurrentListAsToolStripMenuItem_Click(object sender, EventArgs e)
  500.         {
  501.             string[] prefixes = { "http", "https", "www", "ftp" };
  502.             string input = Interaction.InputBox("Save your list to a text file contained within the application folder.", "Save pending list!", "");
  503.             if (input.Length == 0)
  504.             {
  505.                 MessageBox.Show("Oops...You forgot to specify a file name!");
  506.             }
  507.             else
  508.             {
  509.                 using (StreamWriter writer1 = new StreamWriter(input + ".txt"))
  510.                 {
  511.                     StringBuilder line = new StringBuilder();
  512.                     foreach (ListViewItem item in listView1.Items)
  513.                     {
  514.                         line.Clear();
  515.                         for (int i = 0; i < item.SubItems.Count; i++)
  516.                         {
  517.                             if (i > 0)
  518.                                 line.Append("|");
  519.                             line.Append(item.SubItems[i].Text);
  520.                         }
  521.                         writer1.WriteLine(line);
  522.                         notifyIcon1.BalloonTipText = input + ".txt" + " has been saved to the same folder as I am located!";
  523.                         notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  524.                         notifyIcon1.BalloonTipTitle = "RegaLink Polite Notice";
  525.                         notifyIcon1.ShowBalloonTip(500);
  526.                     }
  527.                 }
  528.             }
  529.         }
  530.  
  531.         private void loadListToolStripMenuItem_Click(object sender, EventArgs e)
  532.         {
  533.  
  534.             openFileDialog1.InitialDirectory = "";
  535.             openFileDialog1.Filter = "URL List (.txt)|*.txt";
  536.             openFileDialog1.Title = "Select a URL List file";
  537.             if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
  538.             {
  539.                 System.IO.StreamReader sr = new
  540.                 System.IO.StreamReader(openFileDialog1.FileName);
  541.  
  542.  
  543.  
  544.                 listView1.Items.Add(sr.ReadToEnd());
  545.  
  546.                 sr.Close();
  547.                 Application.Restart();
  548.             }
  549.  
  550.  
  551.         }
  552.  
  553.         private void button1_Click_1(object sender, EventArgs e)
  554.         {
  555.             if (listView1.Enabled == true)
  556.             {
  557.                 listView1.Enabled = false;
  558.                 listView3.Enabled = false;
  559.                 button1.Text = "UnLock";
  560.             }
  561.             else
  562.             {
  563.                 listView1.Enabled = true;
  564.                 listView3.Enabled = true;
  565.                 button1.Text = "Lock";
  566.             }
  567.         }
  568.  
  569.         private void editItemToolStripMenuItem_Click(object sender, EventArgs e)
  570.         {
  571.             if (listView1.SelectedItems.Count > 0)
  572.             {
  573.                 string input = Interaction.InputBox("You are currently editing the item named:  " + this.listView1.SelectedItems[0].Text.ToString() + " | Please enter a new URL or Search Term below and click OK", "Edit Selected Item", "");
  574.                 string[] prefixes = { "http", "https", "www", "ftp" };
  575.                 if (input.Length == 0)
  576.                 {
  577.                     MessageBox.Show("You forgot to add anything!");
  578.                 }
  579.                 else
  580.                 {
  581.                     this.listView1.SelectedItems[0].Text = input;
  582.                 }
  583.             }
  584.             else
  585.             {
  586.  
  587.             }
  588.  
  589.             using (StreamWriter writer1 = new StreamWriter("URL.txt"))
  590.             {
  591.                 StringBuilder line = new StringBuilder();
  592.                 foreach (ListViewItem item in listView1.Items)
  593.                 {
  594.                     line.Clear();
  595.                     for (int i = 0; i < item.SubItems.Count; i++)
  596.                     {
  597.                         if (i > 0)
  598.                             line.Append("|");
  599.                         line.Append(item.SubItems[i].Text);
  600.                     }
  601.                     writer1.WriteLine(line);
  602.                 }
  603.             }
  604.  
  605.         }
  606.  
  607.         private void button4_Click(object sender, EventArgs e)
  608.         {
  609.             SettingsDialog sd = new SettingsDialog();
  610.             sd.ShowDialog();
  611.         }
  612.  
  613.         private void quitToolStripMenuItem_Click(object sender, EventArgs e)
  614.         {
  615.             Properties.Settings.Default.Save();
  616.             Application.Exit();
  617.         }
  618.  
  619.         private void toolStripMenuItem5_Click(object sender, EventArgs e)
  620.         {
  621.             for (int i = 0; i < listView3.Items.Count; i++)
  622.             {
  623.                 if (listView3.Items[i].Selected)
  624.                 {
  625.                     listView3.Items[i].Remove();
  626.                     i--;
  627.                     notifyIcon1.BalloonTipText = "You successfully deleted an item!!";
  628.                     notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  629.                     notifyIcon1.BalloonTipTitle = "Item Deleted!";
  630.                     notifyIcon1.ShowBalloonTip(500);
  631.                 }
  632.             }
  633.  
  634.         }
  635.  
  636.         private void toolStripMenuItem6_Click(object sender, EventArgs e)
  637.         {
  638.             listView3.Items.Clear();
  639.             notifyIcon1.BalloonTipText = "You successfully cleared the list of visited websites!";
  640.             notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  641.             notifyIcon1.BalloonTipTitle = "List Cleared!";
  642.             notifyIcon1.ShowBalloonTip(500);
  643.         }
  644.  
  645.  
  646.         private void settingsToolStripMenuItem1_Click(object sender, EventArgs e)
  647.         {
  648.             SettingsDialog sd = new SettingsDialog();
  649.             sd.ShowDialog();
  650.         }
  651.  
  652.         private void lockWindowsToolStripMenuItem1_Click(object sender, EventArgs e)
  653.         {
  654.             if (listView1.Enabled == true)
  655.             {
  656.                 listView1.Enabled = false;
  657.                 listView3.Enabled = false;
  658.                 lockWindowsToolStripMenuItem1.Text = "Unlock Windows";
  659.             }
  660.             else
  661.             {
  662.                 listView1.Enabled = true;
  663.                 listView3.Enabled = true;
  664.                 lockWindowsToolStripMenuItem1.Text = "Lock Windows";
  665.             }
  666.         }
  667.  
  668.         private void donateToAuthorToolStripMenuItem1_Click(object sender, EventArgs e)
  669.         {
  670.             System.Diagnostics.Process.Start("https://www.donationcoder.com/forum/index.php?action=dlist;sa=search;search=254145;fields=uid");
  671.         }
  672.  
  673.  
  674.  
  675.         private void previewItemToolStripMenuItem_Click(object sender, EventArgs e)
  676.         {
  677.             if (listView1.SelectedItems.Count > 0)
  678.             {
  679.                 Preview pv = new Preview();
  680.                 pv.Navigate(listView1.SelectedItems[0].Text);
  681.                 pv.Show();
  682.  
  683.                 string[] prefixes = { "http", "https", "www", "ftp"  };
  684.  
  685.                 if (prefixes.Any(prefix => listView1.SelectedItems[0].SubItems[0].Text.StartsWith(prefix)))
  686.                 {
  687.                     pv.Text = "Previewing: " + listView1.SelectedItems[0].SubItems[0].Text;
  688.                     pv.Navigate(listView1.SelectedItems[0].SubItems[0].Text);
  689.                 }
  690.                 else
  691.                 {
  692.                     pv.Text = "Previewing: " + Settings.Default.DefaultSearch.ToString() + listView1.SelectedItems[0].SubItems[0].Text;
  693.                     pv.Navigate(Settings.Default.DefaultSearch.ToString() + listView1.SelectedItems[0].SubItems[0].Text);
  694.  
  695.                 }
  696.             }
  697.             else
  698.             {
  699.  
  700.             }
  701.         }
  702.  
  703.         private void saveCurrentListToolStripMenuItem_Click(object sender, EventArgs e)
  704.         {
  705.             string[] prefixes = { "http", "https", "www", "ftp" };
  706.             string input = Interaction.InputBox("Save your list to a text file contained within the application folder.", "Save Visited List!", "");
  707.             if (input.Length == 0)
  708.             {
  709.                 MessageBox.Show("Oops...You forgot to specify a file name!");
  710.             }
  711.             else
  712.             {
  713.                 using (StreamWriter writer1 = new StreamWriter(input + ".txt"))
  714.                 {
  715.                     StringBuilder line = new StringBuilder();
  716.                     foreach (ListViewItem item in listView3.Items)
  717.                     {
  718.                         line.Clear();
  719.                         for (int i = 0; i < item.SubItems.Count; i++)
  720.                         {
  721.                             if (i > 0)
  722.                                 line.Append("|");
  723.                             line.Append(item.SubItems[i].Text);
  724.                         }
  725.                         writer1.WriteLine(line);
  726.                         notifyIcon1.BalloonTipText = input + ".txt" + " has been saved to the same folder as I am located!";
  727.                         notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  728.                         notifyIcon1.BalloonTipTitle = "RegaLink Polite Notice";
  729.                         notifyIcon1.ShowBalloonTip(500);
  730.                     }
  731.                 }
  732.             }
  733.  
  734.         }
  735.  
  736.         private void minimizeToSystemTrayToolStripMenuItem_Click(object sender, EventArgs e)
  737.         {
  738.             Hide();
  739.             notifyIcon1.BalloonTipText = "I ran away, but don't worry! If you right click me, I am sure I will come back out to play!";
  740.             notifyIcon1.BalloonTipIcon = ToolTipIcon.Info;
  741.             notifyIcon1.BalloonTipTitle = "Hi There!!";
  742.             notifyIcon1.ShowBalloonTip(500);
  743.         }
  744.  
  745.         private void testToolStripMenuItem_Click(object sender, EventArgs e)
  746.         {
  747.             RegaLinnk.Main.OpenMainForm();
  748.         }
  749.  
  750.         private void renameWindowToolStripMenuItem_Click(object sender, EventArgs e)
  751.         {
  752.             string input = Interaction.InputBox("Change The Window Title", "Edit Mode", "");
  753.             if (input.Length == 0)
  754.             {
  755.                 MessageBox.Show("Oops...You forgot to specify a window name!");
  756.             }
  757.             else
  758.             {
  759.                 this.Text = input;
  760.             }
  761.         }
  762.  
  763.  
  764.  
  765.  
  766.  
  767.         #region End
  768.     }
  769. }
  770.         #endregion

1409
Living Room / Re: The Coffee/Caffeine Thread!
« Last post by KynloStephen66515 on April 26, 2013, 09:41 PM »
In 1984, coffee was essential to success:



 ;D

I just noticed how relevant your signature is to this thread.
1410
Announce Your Software/Service/Product / Re: RegaLink
« Last post by KynloStephen66515 on April 26, 2013, 09:26 PM »
If anybody wants the source for this...I am now releasing it :)



This is a Visual Studio C# 2010 Project File.
1411
Living Room / How to dial Emergency Services, around the world.
« Last post by KynloStephen66515 on April 26, 2013, 03:59 PM »
Below is a handy list for anybody who travels a lot.

HANDY TIP:

The GSM network uses 112 as a world-wide emergency number. When 112 is dialed from a GSM phone, the network will automatically redirect you to the local emergency dispatch, if it’s available.



* indicates number for Medical service only – do NOT press * when dialling.

North America:
USA and Canada – 911
Mexico – 066, 060, or 080 (some areas direct 911 to local services)

Asia:
China – 999 in most large cities. Elsewhere, 120*
Hong Kong – 999
India – 102
Indonesia – 118/119*. Search and Rescue – 115. Natural disaster – 129
Iran – 110 (112 from mobile)
Israel - 101* (112 from mobile)
Japan and Korea – 119*
Malaysia – 999
Mongolia – 103
Philippines – 117 (112 and 911 redirect to 117)
Saudi Arabia – 997*. Rescue emergency – 911, 112, or 08
Singapore - 995
Thailand – 1669*. “Tourist” police (English speaking) – 1155
UAE - 998* or 999*
Vietnam – 115*

Africa:
Egypt - 123*. Tourist police – 126
Ghana – 999
Morocco – 15*
Nigeria – 199
South Africa – 10177*. Police and Fire – 10111 (112 from mobile)
Zambia – 991* (112 from mobile)
Zimbabwe – 999

Europe:
United Kingdom – 999 or 112
European Union and many other European nations – 112

Oceania:
Australia – 000
New Zealand – 111
Fiji – 911
Vanuatu – 112

Central America and Caribbean:
Guatemala – 120*
Barbados - 511*
Jamaica – 110*
Nicaragua – 118*
Honduras – 199*

South America:
Argentina – 107* (911 will work in certain areas as emergency dispatch)
Bolivia – 118*
Brazil – 192*
Chile – 131*
Colombia – 112 or 123
Paraguay and Uruguay – 911
Suriname – 115
Venezuela – 171
1412
April, the topic title is a bit squitty.
Wordpress blog and are using a caching pluging

Seems like that should say plugin, not pluging :P

Anal as always

-Stephen
1413
Living Room / The Internet - A Decade Later |Infographic|
« Last post by KynloStephen66515 on April 26, 2013, 03:20 PM »
2002 2012.gif
1414
Living Room / Re: Gadget WEEKENDS
« Last post by KynloStephen66515 on April 26, 2013, 11:21 AM »
2" Neodymium Bar Magnet
-Stephen66515 (April 25, 2013, 09:06 PM)

what do you use the magnet for Stephen?

Sorting out magnetic metals from non-metallic :)

Basically, I attached it to another bar, as like a "scanner" type device, then you simply run it over an area to pick out anything magnetic.  :D
1415
I think I'll park it in a garage or on the street like a normal car.

www.instantostrich.com
1416
Living Room / Re: Gadget WEEKENDS
« Last post by KynloStephen66515 on April 25, 2013, 09:06 PM »
Universal Wire Stripper (Weicon 51000100-KD)
Wire Stripper.jpg

2" Neodymium Bar Magnet
2inch neodymium-bar-magnets.Jpg

(More to come)
1417
My main question, before anything else...is...why?

1418
Yeah, after a re-read of the initial post...I declare myself insane.
1419
This would be cool if one could somehow use an intermediary FTP server, to serve as the "middleman".

So it would be USER>FTP>USER<FTP<USER

You would get the benefits of private file sharing, with the added bonus of HTTP download speeds xD
1421
Living Room / Re: The Coffee/Caffeine Thread!
« Last post by KynloStephen66515 on April 20, 2013, 12:03 PM »
You used to be able to get Rocket Fuel Coffee in Tesco in the UK but the last time I was there, (2011), it didn't appear to be on the shelves.
 (see attachment in previous post)
It tasted quite good but since my normal fare is Moccona Dark Roast, (or Nescafe Black Gold in the UK), take that as you will.

You can still get that in Tesco, but after me and a friend went through an entire jar in a night, then our boss almost calling the police on us cause he thought we was "coming down" off pretty much every drug you can think of (My god that was horrific), I have not touched the stuff since.
1423
Bing Delivers 5X As Many Malicious Websites As Google

Maybe cause Microsoft don't really take care of the results like Google do (Google probably only do so because of "peer pressure"
1424
Living Room / Re: The Coffee/Caffeine Thread!
« Last post by KynloStephen66515 on April 19, 2013, 02:43 PM »
http://www.deathwishcoffee.com/

Noms!

Not your typical coffee bean:
Disclaimer:  This is not your regular morning coffee.  This is not your store bought coffee.  You will not find this coffee at your local diner or at your sissy 'Starbucks. Death Wish Coffee is the most highly caffeinated premium dark roast organic coffee in the world. This is Extreme Coffee, not for the weak. Consider yourself Warned
1425
Living Room / Re: When you make your 100'th Post
« Last post by KynloStephen66515 on April 19, 2013, 02:42 PM »
Le Gratz Kyra!
Pages: prev1 ... 52 53 54 55 56 [57] 58 59 60 61 62 ... 145next