<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Tech Support Forum - Programming</title>
		<link>http://www.techsupportforum.com</link>
		<description>A discussion forum for programs and programming used in tech-related businesses.</description>
		<language>en</language>
		<lastBuildDate>Sat, 21 Nov 2009 01:49:16 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.techsupportforum.com/cwd/images/misc/rss.jpg</url>
			<title>Tech Support Forum - Programming</title>
			<link>http://www.techsupportforum.com</link>
		</image>
		<item>
			<title>Muppet</title>
			<link>http://www.techsupportforum.com/pro/programming/433638-muppet.html</link>
			<pubDate>Fri, 20 Nov 2009 17:00:36 GMT</pubDate>
			<description><![CDATA[I have minimal programing skills, and I mean MINIMAL in VB & java for indesign, did I mention minimal? I am a programming muppet, think homer simpson crossed with the dog out of battlestar galatica. 
 
Anyway I would like a way of recognising different version of illustrator files and then moving...]]></description>
			<content:encoded><![CDATA[<div>I have minimal programing skills, and I mean MINIMAL in VB &amp; java for indesign, did I mention minimal? I am a programming muppet, think homer simpson crossed with the dog out of battlestar galatica.<br />
<br />
Anyway I would like a way of recognising different version of illustrator files and then moving them around accordingly, so basically I drop a series of either native illustrator or eps files into a folder on my c-drive and if they are CS2 they go to &quot;Good&quot; folder and if they are CS3 or 4 they go to a bad folder.<br />
<br />
So.....someone gave me a batch file to do this but I can't begin to make it work.<br />
<br />
Have i been fed a bum steer, is there anybody there?<br />
<br />
REM ---- This batch files is for identifying a file with a particular string, it moves the <br />
REM ---- file to a specific directory, if the file doesn't have the specific string <br />
REM ---- it is moves the file to a different directory.<br />
REM ---- The file can be run continously as it has a minimised function on startup, <br />
REM ----  also it runs every 31 seconds using PING as a timer.<br />
REM &gt;&gt;&gt;&gt;&gt;&gt;&gt; You should put a shortcut of this batchfile in the Programs / Startup&lt;&lt;<br />
REM &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;So if the server/workstation is restarted for any reason it will autostart&lt;&lt;<br />
REM<br />
<br />
<br />
@set !=||(set !=1&amp;start &quot;%~dpnx0&quot; /min cmd /c %0 %*&amp;set !=&amp;goto :EOF)<br />
@echo off&amp;setlocal ENABLEEXTENSIONS<br />
<br />
REM --- below is the search string in the file <br />
set SR=/Creator (Catalyst Limited)<br />
<br />
REM --- below is the input (hot folder for all files)<br />
set INPUT=c:\creator\*.*<br />
<br />
REM --- below is the output folder for files that meet the search string criteria<br />
set succ_dir=&quot;c:\outputcreator\&quot;<br />
<br />
REM -- below is the output folder for the files that failed to meet the search criteria<br />
set fail_dir=&quot;c:\failed\&quot;<br />
<br />
REM -- This is the body of the Batchfile that does the work.<br />
c:<br />
cd Creator<br />
:top<br />
for /f &quot;delims=&quot; %%a in ('dir &quot;%INPUT%&quot; /b') do (<br />
  findstr /i /c:&quot;%SR%&quot; &quot;%%a&quot; nul^<br />
 &amp;&amp;move /y &quot;%%a&quot; %succ_dir%^<br />
  ||move /y &quot;%%a&quot; %fail_dir%<br />
)<br />
<br />
REM -- this enables the batch file to run continously every 31 seconds<br />
ping 127.0.0.1 -n 31 &gt;nul&amp;goto :top</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>paulelvisjones</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433638-muppet.html</guid>
		</item>
		<item>
			<title>Producer MFC has encountered a problem and needs to close error message</title>
			<link>http://www.techsupportforum.com/pro/programming/433523-producer-mfc-has-encountered-problem-needs-close-error-message.html</link>
			<pubDate>Fri, 20 Nov 2009 07:13:46 GMT</pubDate>
			<description><![CDATA[hello! i'm new here... i am getting this error message whenever i try to burn multiple video clips on one dvd+r cd, first using powerproducer 3, which is a bundled software of my new DVD-RW combo drive, and later converted back to pproducer 2 gold, of which also a bundled software of my old cd-rw...]]></description>
			<content:encoded><![CDATA[<div>hello! i'm new here... i am getting this error message whenever i try to burn multiple video clips on one dvd+r cd, first using powerproducer 3, which is a bundled software of my new DVD-RW combo drive, and later converted back to pproducer 2 gold, of which also a bundled software of my old cd-rw drive... but i can burn single video clip successfully... my video clips are compilations produced by my minidv digicam downloaded to my desktop's harddrive... i have an intel dual core processor, windows xp sp 3 OS, 1gb RAM, and more than 350gb free space on my hard drive from 2 physical drives (1 80gb primary drive and 1 500gb secondary or slave, not sure). i also have installed a 1gb 9600 video card, a firewire card, and added a new case fan. i have a broadband internet connection of not less than 256 kbps... <br />
<br />
i have no idea on what's causing this problem, i wish for somebody to help me with this... thanks in advance....</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>boyaps</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433523-producer-mfc-has-encountered-problem-needs-close-error-message.html</guid>
		</item>
		<item>
			<title>Viewer</title>
			<link>http://www.techsupportforum.com/pro/programming/433338-viewer.html</link>
			<pubDate>Thu, 19 Nov 2009 16:33:11 GMT</pubDate>
			<description>Hi, 
Does someone know a kind of viewer for lotus 1-2-3 (*.wk4) files ? 
 
Regards,</description>
			<content:encoded><![CDATA[<div>Hi,<br />
Does someone know a kind of viewer for lotus 1-2-3 (*.wk4) files ?<br />
<br />
Regards,</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>jlecuyer</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433338-viewer.html</guid>
		</item>
		<item>
			<title>Using R1C1 to reference data sources in VBA (Excel 2007 Macros)</title>
			<link>http://www.techsupportforum.com/pro/programming/433296-using-r1c1-reference-data-sources-vba-excel-2007-macros.html</link>
			<pubDate>Thu, 19 Nov 2009 13:43:31 GMT</pubDate>
			<description>Hello I am currently working on a macro which builds a chart from a flexible range of data. I have included the entire code at the bottom of this post, but the line of code I am having particular difficulty with is as follows: 
 
ActiveSheet.Shapes.AddChart.Select 
ActiveSheet.ChartObjects(1).Name...</description>
			<content:encoded><![CDATA[<div>Hello I am currently working on a macro which builds a chart from a flexible range of data. I have included the entire code at the bottom of this post, but the line of code I am having particular difficulty with is as follows:<br />
<br />
ActiveSheet.Shapes.AddChart.Select<br />
ActiveSheet.ChartObjects(1).Name = &quot;Chart1&quot;<br />
ActiveChart.SetSourceData Source:=Range(&quot;R1C1, R&quot; &amp; iRow &amp; &quot;C&quot; &amp; iColumn)<br />
<br />
iRow and iColumn are integers that were given values using an increment loop earlier in the sub<br />
<br />
When this part of the macro runs, I get an error on the following line:<br />
<br />
ActiveChart.SetSourceData Source:=Range(R1C1, R5C5)<br />
<br />
The error says:<br />
<br />
&quot; Run-time error '1004':<br />
Method 'Range' of object '_Global' failed. &quot;<br />
<br />
The reason I need to use the R1C1 format is because the variable I am using for the value of the column - is an integer. The full code below will demonstrate why a string cannot be used...<br />
<br />
I would really appriciate help on this, I have been trying for hours to solve this problem !!<br />
<br />
Sub Create_Predictive()<br />
<br />
Dim iRow As Long<br />
Dim iColumn As Long<br />
<br />
iRow = 2 ' row 1 will be empty, so we begin at row 2<br />
While Not IsEmpty(Worksheets(&quot;Data&quot;).Cells(iRow, &quot;A&quot;))<br />
iRow = iRow + 1<br />
Wend<br />
<br />
iColumn = 2 ' column 1 will be empty, so we begin at column 2<br />
While Not IsEmpty(Worksheets(&quot;Data&quot;).Cells(2, iColumn))<br />
iColumn = iColumn + 1<br />
Wend<br />
<br />
ActiveSheet.Shapes.AddChart.Select<br />
ActiveSheet.ChartObjects(1).Name = &quot;Chart&quot;<br />
ActiveChart.SetSourceData Source:=Range(&quot;R1C1, R&quot; &amp; iRow &amp; &quot;C&quot; &amp; iColumn)<br />
ActiveChart.ChartType = xlLineMarkers<br />
<br />
End Sub</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>livejc</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433296-using-r1c1-reference-data-sources-vba-excel-2007-macros.html</guid>
		</item>
		<item>
			<title>Would love to start programming</title>
			<link>http://www.techsupportforum.com/pro/programming/433221-would-love-start-programming.html</link>
			<pubDate>Thu, 19 Nov 2009 05:42:51 GMT</pubDate>
			<description><![CDATA[I have never done any programmming except for a little html. i don't know what language or what you have to do. So any guides or books or free tutorials would be nice. i really want to learn how but don't know where to start. 
Thanx]]></description>
			<content:encoded><![CDATA[<div>I have never done any programmming except for a little html. i don't know what language or what you have to do. So any guides or books or free tutorials would be nice. i really want to learn how but don't know where to start.<br />
Thanx</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>007josh</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433221-would-love-start-programming.html</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Type mismatch: cannot convert from void to double]]></title>
			<link>http://www.techsupportforum.com/pro/programming/433195-solved-type-mismatch-cannot-convert-void-double.html</link>
			<pubDate>Thu, 19 Nov 2009 03:58:28 GMT</pubDate>
			<description>hi all, i am in colledge currently learning Java and i came accross this error, now i cannot seem to find what the specific problem is (either we didnt get teached for that type of error or i am blind) 
 
there is a screenshot available 
 
can anyone give me a hint or just help me? 
 
thanks, much...</description>
			<content:encoded><![CDATA[<div>hi all, i am in colledge currently learning Java and i came accross this error, now i cannot seem to find what the specific problem is (either we didnt get teached for that type of error or i am blind)<br />
<br />
there is a screenshot available<br />
<br />
can anyone give me a hint or just help me?<br />
<br />
thanks, much appreciated. :)<br />
<br />
FanEAW</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.techsupportforum.com/cwd/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.techsupportforum.com/attachments/programming/60492d1258603068-solved-type-mismatch-cannot-convert-void-double-untitled.jpg" target="_blank">Untitled.jpg</a> (39.3 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>FanEAW</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433195-solved-type-mismatch-cannot-convert-void-double.html</guid>
		</item>
		<item>
			<title>Python help</title>
			<link>http://www.techsupportforum.com/pro/programming/433030-python-help.html</link>
			<pubDate>Wed, 18 Nov 2009 17:38:48 GMT</pubDate>
			<description>Hello everyone, 
I am trying to make a project in python. 
I want 3 d picture along with inputs control,like clicking and changing clolours of objects. 
 
Can someone suggest suitable library in python.....</description>
			<content:encoded><![CDATA[<div>Hello everyone,<br />
I am trying to make a project in python.<br />
I want 3 d picture along with inputs control,like clicking and changing clolours of objects.<br />
<br />
Can someone suggest suitable library in python.....</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>nk1</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/433030-python-help.html</guid>
		</item>
		<item>
			<title>Lotus 1-2-3</title>
			<link>http://www.techsupportforum.com/pro/programming/432985-lotus-1-2-3-a.html</link>
			<pubDate>Wed, 18 Nov 2009 14:18:34 GMT</pubDate>
			<description>Hi, 
At my job I need ton convert like 1000 old lotus ( *.wk4) files to Excel 2007. I would like to know if somebody know how to do it ? 
 
Regards,</description>
			<content:encoded><![CDATA[<div>Hi,<br />
At my job I need ton convert like 1000 old lotus ( *.wk4) files to Excel 2007. I would like to know if somebody know how to do it ?<br />
<br />
Regards,</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>jlecuyer</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/432985-lotus-1-2-3-a.html</guid>
		</item>
		<item>
			<title>package deployment problem</title>
			<link>http://www.techsupportforum.com/pro/programming/432683-package-deployment-problem.html</link>
			<pubDate>Tue, 17 Nov 2009 15:17:43 GMT</pubDate>
			<description><![CDATA[i  devloped  software using frontend VB 6.0 ,backend using ms-access,sql sever 2000 & report using crystal report 6,0 and 8.5. 
Now i have problem in deployment of this whole package . 
how to create package which  install on any o/s. without error i.e. system registry error. 
so plz reply my...]]></description>
			<content:encoded><![CDATA[<div><font size="4">i  devloped  software using frontend VB 6.0 ,backend using ms-access,sql sever 2000 &amp; report using crystal report 6,0 and 8.5.<br />
Now i have problem in deployment of this whole package .<br />
how to create package which  install on any o/s. without error i.e. system registry error.<br />
so plz reply my question ans as early as posible.</font></div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>manoj_chandak</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/432683-package-deployment-problem.html</guid>
		</item>
		<item>
			<title><![CDATA[[gtkmm] [C++] CheckButton in Gtk::ListView activatable?]]></title>
			<link>http://www.techsupportforum.com/pro/programming/432583-gtkmm-c-checkbutton-gtk-listview-activatable.html</link>
			<pubDate>Tue, 17 Nov 2009 07:42:19 GMT</pubDate>
			<description><![CDATA[Dear all, 
 
I'm trying desperately to insert a CheckButton into a Gtk::ListView and use it. 
So far, I can 
 
- either use append_column_editable. 
 
In this case, I can see my checkbox, I can click into it, but I cannot connect it to a signal handler, so clicking or unclicking the checkbox just...]]></description>
			<content:encoded><![CDATA[<div>Dear all,<br />
<br />
I'm trying desperately to insert a CheckButton into a Gtk::ListView and use it.<br />
So far, I can<br />
<br />
- either use append_column_editable.<br />
<br />
In this case, I can see my checkbox, I can click into it, but I cannot connect it to a signal handler, so clicking or unclicking the checkbox just changes the appearance but doesn't start any code.<br />
<br />
- or use append_column and a cell renderer.<br />
<br />
In this case, I can't click onto the checkbox at all, it just won't listen.<br />
<br />
I thought this would be rather straightforward, but following the tutorial just doesn't seem enough to make even me understand :sigh:<br />
<br />
So here is the code for someone more experienced than noobie me to have a look at. The errors are in line 89 (when uncommented, of course.)<br />
<br />
Please feel free to comment on anything you'd change to make it better C++, as I'm trying to learn C++ at the moment.<br />
<br />
Thanks a lot for your help and comments!<br />
<br />
<br />
<br />
<br />
#include &lt;gtkmm-2.4/gtkmm/treeview.h&gt;<br />
<br />
#include &quot;Tree_View_Test.h&quot;<br />
<br />
/*<br />
 *<br />
 */<br />
Tree_View_Test::Tree_View_Test():<br />
<br />
  my_Box(false, 10),<br />
  my_Button_Test(&quot;Tree_View_Test_Button&quot;),<br />
  my_Check_Button_Test(&quot;Tree_View_Test_CheckButton&quot;)<br />
<br />
<br />
{<br />
// Set title and border of the window<br />
  set_title(&quot;Tree View Test&quot;);<br />
  set_border_width(0);<br />
<br />
  <br />
  add(my_Box);<br />
  my_Box.pack_start(my_Button_Test);<br />
  my_Box.pack_start(my_Check_Button_Test);<br />
  <br />
  //add(my_Button_Test);<br />
  my_Button_Test.signal_clicked().connect(sigc::mem_fun(*this,<br />
              &amp;Tree_View_Test::on_button_clicked) );<br />
//  my_Button_Test.show();<br />
<br />
  //add(my_Check_Button_Test);<br />
  my_Check_Button_Test.signal_clicked().connect(sigc::mem_fun(*this,<br />
            &amp;Tree_View_Test::on_check_button_clicked) );<br />
<br />
//  my_Check_Button_Test.show();<br />
  my_Tree_View_Test_Tree_Model = Gtk::ListStore::create(my_Tree_View_Test_Columns);<br />
  my_Tree_View_Test_Tree_View.set_model(my_Tree_View_Test_Tree_Model);<br />
<br />
<br />
<br />
  Gtk::TreeModel::Row my_row;<br />
<br />
  my_row = *(my_Tree_View_Test_Tree_Model-&gt;append());<br />
  my_row[my_Tree_View_Test_Columns.my_Button_In_List_View] = true;<br />
  my_row[my_Tree_View_Test_Columns.my_Checkbox_In_List_View] = true;<br />
  my_row[my_Tree_View_Test_Columns.my_Id_Number] = 1;<br />
  my_row[my_Tree_View_Test_Columns.my_Name_String] = &quot;New Record&quot;;<br />
<br />
  my_row = *(my_Tree_View_Test_Tree_Model-&gt;append());<br />
  my_row[my_Tree_View_Test_Columns.my_Button_In_List_View] = true;<br />
  my_row[my_Tree_View_Test_Columns.my_Checkbox_In_List_View] = true;<br />
  my_row[my_Tree_View_Test_Columns.my_Id_Number] = 1;<br />
  my_row[my_Tree_View_Test_Columns.my_Name_String] = &quot;Fixed Text&quot;;<br />
<br />
<br />
Gtk::CellRendererToggle* renderer = Gtk::manage( new Gtk::CellRendererToggle() );<br />
<br />
  // Gtk::CellRenderer* renderer = my_Tree_View_Test_Tree_View.get_column_cell_renderer(0);<br />
  // Gtk::CellRendererToggle* renderer = dynamic_cast&lt;Gtk::CellRendererToggle*&gt;(my_Tree_View_Test_Tree_View.get_column_cell_renderer(2) );<br />
<br />
int cols_count = my_Tree_View_Test_Tree_View.append_column(&quot;myButtonInListView&quot;, *renderer);<br />
<br />
//  my_Tree_View_Test_Tree_View.append_column(&quot;myButtonInListView&quot;, my_Tree_View_Test_Columns.my_Button_In_List_View);<br />
  my_Tree_View_Test_Tree_View.append_column_editable(&quot;myCheckboxInListView&quot;, my_Tree_View_Test_Columns.my_Checkbox_In_List_View);<br />
  my_Tree_View_Test_Tree_View.append_column(&quot;myIdNumber&quot;, my_Tree_View_Test_Columns.my_Id_Number);<br />
  my_Tree_View_Test_Tree_View.append_column(&quot;myNameString&quot;, my_Tree_View_Test_Columns.my_Name_String);<br />
<br />
  Gtk::TreeViewColumn* pColumn = my_Tree_View_Test_Tree_View.get_column(cols_count-1);<br />
<br />
  if(pColumn)<br />
{<br />
  pColumn-&gt;add_attribute(renderer-&gt;property_active(),<br />
      my_Tree_View_Test_Columns.my_Button_In_List_View);<br />
  pColumn-&gt;add_attribute(renderer-&gt;property_visible(),<br />
      my_Tree_View_Test_Columns.my_Button_In_List_View);<br />
  pColumn-&gt;add_attribute(renderer-&gt;property_activatable(),<br />
      my_Tree_View_Test_Columns.my_Button_In_List_View);<br />
  <br />
  };<br />
<br />
renderer-&gt;set_radio (false);<br />
  renderer-&gt;set_activatable (true);<br />
  renderer-&gt;set_active (true);<br />
   renderer-&gt;set_visible (true);<br />
<br />
<br />
//  renderer-&gt;signal_toggled().connect(<br />
//    sigc::bind( sigc::mem_fun(*this,<br />
//          &amp;Tree_View_Test::on_checkbox_in_list_view_clicked), pColumn ));<br />
<br />
  my_Box.pack_start(my_Tree_View_Test_Tree_View);<br />
<br />
  <br />
<br />
  std::cout &lt;&lt; &quot;And the renderer is - -    &quot; &lt;&lt; renderer &lt;&lt; &quot;at adress    &quot; &lt;&lt; &amp;renderer &lt;&lt; std::endl;<br />
<br />
  std::cout &lt;&lt; &quot;Renderer active?&quot;<br />
          &lt;&lt; (renderer-&gt;get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
          &lt;&lt; std::endl;<br />
<br />
std::cout &lt;&lt; &quot;The Button was programmatically clicked: state=&quot;<br />
    &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
    &lt;&lt; std::endl;<br />
<br />
my_Check_Button_Test.set_active(false);<br />
<br />
std::cout &lt;&lt; &quot;The Button was programmatically clicked: state=&quot;<br />
    &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
    &lt;&lt; std::endl;<br />
<br />
my_Check_Button_Test.set_active(true);<br />
<br />
std::cout &lt;&lt; &quot;The Button was programmatically clicked: state=&quot;<br />
    &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
    &lt;&lt; std::endl;<br />
<br />
<br />
<br />
//  my_Button_In_List_View.signal_clicked().connect(sigc::mem_fun(*this,<br />
//          &amp;Tree_View_Test::on_check_button_in_list_view_clicked) );<br />
<br />
//  my_Checkbox_In_List_View.signal_clicked().connect(sigc::mem_fun(*this,<br />
//          &amp;Tree_View_Test::on_checkbox_in_list_view_clicked) );<br />
  <br />
<br />
  show_all_children();<br />
}<br />
<br />
<br />
<br />
Tree_View_Test::~Tree_View_Test()<br />
{<br />
}<br />
<br />
<br />
<br />
<br />
void Tree_View_Test::on_button_clicked()<br />
  {<br />
      std::cout &lt;&lt; &quot;hey button clicked!&quot; &lt;&lt; std::endl;<br />
  }<br />
<br />
void Tree_View_Test::on_check_button_clicked()<br />
  {<br />
      std::cout &lt;&lt; &quot;hey checkbutton was clicked!&quot; &lt;&lt; std::endl;<br />
      std::cout &lt;&lt; &quot;The Button was clicked: state=&quot;<br />
    &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
    &lt;&lt; std::endl;<br />
<br />
  }<br />
<br />
<br />
const Glib::ustring&amp; Tree_View_Test::on_check_button_in_list_view_clicked()<br />
  {<br />
      std::cout &lt;&lt; &quot;hey check_button in List_View was clicked!&quot; &lt;&lt; std::endl;<br />
      std::cout &lt;&lt; &quot;The Button was clicked: state=&quot;<br />
     &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;) &lt;&lt; std::endl;<br />
     (my_Check_Button_Test.get_active() ? my_Check_Button_Test.set_active(false) : my_Check_Button_Test.set_active(true) );<br />
<br />
      std::cout &lt;&lt; &quot;New state:&quot; &lt;&lt;  (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;) &lt;&lt; std::endl;<br />
  <br />
<br />
  }<br />
<br />
<br />
const Glib::ustring&amp; Tree_View_Test::on_checkbox_in_list_view_clicked()<br />
  {<br />
      std::cout &lt;&lt; &quot;hey check_button clicked!&quot; &lt;&lt; std::endl;<br />
      std::cout &lt;&lt; &quot;The Button was clicked: state=&quot;<br />
    &lt;&lt; (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;)<br />
    &lt;&lt; std::endl;<br />
<br />
      // add here code to toggle the boolean value of the checkbox<br />
      (my_Check_Button_Test.get_active() ? my_Check_Button_Test.set_active(false) : my_Check_Button_Test.set_active(true) );<br />
<br />
      std::cout &lt;&lt; &quot;New state:&quot; &lt;&lt;  (my_Check_Button_Test.get_active() ? &quot;true&quot; : &quot;false&quot;) &lt;&lt; std::endl;<br />
  }<br />
<br />
And here is the corresponding .h file:<br />
<br />
#ifndef _TREE_VIEW_TEST_H<br />
#define	_TREE_VIEW_TEST_H<br />
<br />
<br />
#include &lt;iostream&gt; //file handling<br />
#include &lt;fstream&gt;  //file handling<br />
#include &lt;cstdlib&gt; //exit prototype<br />
<br />
#include &lt;gtkmm-2.4/gtkmm.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/window.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/box.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/treeview.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/treemodel.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/liststore.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/checkbutton.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/button.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/cellrenderer.h&gt;<br />
// #include &lt;gtkmm-2.4/gtkmm/cellrenderertoggle.h&gt;<br />
<br />
<br />
<br />
class Tree_View_Test : public Gtk::Window<br />
{<br />
public:<br />
  Tree_View_Test();<br />
  virtual ~Tree_View_Test();<br />
  // Gtk::CellRenderer* ptrCellRenderer;<br />
  // Gtk::CellRendererToggle* cell;<br />
<br />
  Gtk::CellRendererToggle *renderer;<br />
  Gtk::CellRendererText *cell;<br />
  Gtk::TreeViewColumn* pColumn;<br />
  int cols_count;<br />
<br />
protected:<br />
<br />
//Signal handlers:<br />
<br />
  virtual void on_button_clicked();<br />
  virtual void on_check_button_clicked();<br />
  // virtual void on_check_button_in_list_view_clicked();<br />
 const Glib::ustring&amp; on_check_button_in_list_view_clicked();<br />
  // virtual void on_checkbox_in_list_view_clicked();<br />
const Glib::ustring&amp; on_checkbox_in_list_view_clicked();<br />
<br />
<br />
<br />
<br />
  //Child widgets:<br />
<br />
Gtk::VBox my_Box;<br />
Gtk::Button my_Button_Test, my_Button_In_List_View;<br />
Gtk::CheckButton my_Check_Button_Test, my_Checkbox_In_List_View;<br />
Glib::RefPtr&lt;Gtk::ListStore&gt; my_Tree_View_Test_Tree_Model;<br />
Gtk::TreeView my_Tree_View_Test_Tree_View;<br />
<br />
GtkListStore *ListStore;<br />
GtkTreeIter iter;<br />
<br />
<br />
<br />
class Tree_View_Test_Columns : public Gtk::TreeModel::ColumnRecord<br />
  {<br />
  public:<br />
      Tree_View_Test_Columns()<br />
{ add(my_Button_In_List_View); add(my_Checkbox_In_List_View); add(my_Id_Number); add(my_Name_String); }<br />
      Gtk::TreeModelColumn&lt;bool&gt; my_Button_In_List_View;<br />
      Gtk::TreeModelColumn&lt;bool&gt; my_Checkbox_In_List_View;<br />
      Gtk::TreeModelColumn&lt;int&gt; my_Id_Number;<br />
      Gtk::TreeModelColumn&lt;Glib::ustring&gt; my_Name_String;<br />
       };<br />
<br />
  Tree_View_Test_Columns my_Tree_View_Test_Columns;<br />
<br />
};<br />
<br />
#endif	/* _TREE_VIEW_TEST_H */</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>JKR</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/432583-gtkmm-c-checkbutton-gtk-listview-activatable.html</guid>
		</item>
		<item>
			<title>Cry  C++ average of numbers from file ++</title>
			<link>http://www.techsupportforum.com/pro/programming/432143-cry-c-average-numbers-file.html</link>
			<pubDate>Sun, 15 Nov 2009 23:48:58 GMT</pubDate>
			<description><![CDATA[I am trying to get my program to input 7 numbers per line from a file. find the highest number, lowest number, and their total average per line. Then out put data to new file. This is as far as I've gotten 
 
#include <iostream> 
#include <fstream> 
#include <iomanip> 
#include <string> 
 
using...]]></description>
			<content:encoded><![CDATA[<div>I am trying to get my program to input 7 numbers per line from a file. find the highest number, lowest number, and their total average per line. Then out put data to new file. This is as far as I've gotten<br />
<br />
#include &lt;iostream&gt;<br />
#include &lt;fstream&gt;<br />
#include &lt;iomanip&gt;<br />
#include &lt;string&gt;<br />
<br />
using namespace std;<br />
<br />
int main ()<br />
<br />
{<br />
<br />
int counter,avg= 0,sum,limit;<br />
<br />
ifstream infile;<br />
ofstream outfile;<br />
string num;<br />
<br />
limit = 7;<br />
sum = 0;<br />
counter = 0;<br />
<br />
infile.open(&quot;C:\\Temp\\myfile.txt&quot;);<br />
if (!infile)<br />
{<br />
cout&lt;&lt;&quot;Cannot open file, terminating program&quot;&lt;&lt;endl;<br />
exit(1);<br />
}<br />
<br />
outfile.open(&quot;C:\\Temp\\newfile.txt&quot;);<br />
<br />
<br />
while(infile)<br />
<br />
{<br />
infile&gt;&gt;num;<br />
counter++;<br />
cout&lt;&lt;num&lt;&lt;&quot;\t&quot;;<br />
if (counter%7==0)<br />
{<br />
cout&lt;&lt;avg&lt;&lt;&quot;\n&quot;;<br />
}<br />
<br />
}<br />
infile.close();<br />
outfile.close();<br />
<br />
return 0;<br />
}</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>circa1525</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/432143-cry-c-average-numbers-file.html</guid>
		</item>
		<item>
			<title>Excel Help</title>
			<link>http://www.techsupportforum.com/pro/programming/432127-excel-help.html</link>
			<pubDate>Sun, 15 Nov 2009 22:19:46 GMT</pubDate>
			<description><![CDATA[Hello all, and thanks for any help in advance. 
 
To cut a long story short, I built a little search function (using lists) in XL, and now work seems to think I'm some sort of computer wizard. I did tell them I'd taught myself to use Excel while making the search function (Having honstly never used...]]></description>
			<content:encoded><![CDATA[<div>Hello all, and thanks for any help in advance.<br />
<br />
To cut a long story short, I built a little search function (using lists) in XL, and now work seems to think I'm some sort of computer wizard. I <i>did</i> tell them I'd taught myself to use Excel while making the search function (Having honstly never used it before, or needed to use it) and now I'm pretty much ham fisting my way through some sheets to the point where I've become completely stuck.<br />
<br />
There's a few things I need help with, and if someone could explain in laymen's terms I'd be exceptionally grateful - It's currently driving me up the wall!<br />
<br />
First thing's first, I need to create a macro that would search a spreadsheet for a specific integer, in this case it would be 20xx (so essentially it'd find 2033, 2093 etc etc). What I'd then need it to do is delete a chunk in comparison to this number, so, say, the search finds 2001 at A3, it would delete everything in a rectangle from A3 to J10 (example, of course). Hopefully that makes sense.<br />
<br />
Secondly, is there a way to save multiple xl forms from one macro on a specific sheet.<br />
The set-up is as follows: There are 10 team leaders per wing, each wing has an ops manager. There are four wings. Each Team Leader enters their stats, these are transferred to an OPS sheet (Using simple =average and =sum commands). These need to be reset and archived each and every month. They want it to be as fool-proof as possible, so is there a way to, say, click a button on each of the OPS managers sheets that would do the above?<br />
<br />
Apologies if any of the above doesn't make sense, just hope someone can point me in the right direction!<br />
<br />
Thanks again for any help.</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>SlyEnemy</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/432127-excel-help.html</guid>
		</item>
		<item>
			<title>.php?</title>
			<link>http://www.techsupportforum.com/pro/programming/431926-php.html</link>
			<pubDate>Sun, 15 Nov 2009 06:10:27 GMT</pubDate>
			<description><![CDATA[I'm currently creating a site and I was looking for some kind of .php script to use to update a number on a page with a click on a link. eg. they have exp 15 and when they click on a link (which isn't made yet) I want it to add 10 to the total exp. I would like to use a pre-existing program seeing...]]></description>
			<content:encoded><![CDATA[<div>I'm currently creating a site and I was looking for some kind of .php script to use to update a number on a page with a click on a link. eg. they have exp 15 and when they click on a link (which isn't made yet) I want it to add 10 to the total exp. I would like to use a pre-existing program seeing as how i have virtually no php experience..</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>redheadryan</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/431926-php.html</guid>
		</item>
		<item>
			<title>Help us on Deployment screens validation</title>
			<link>http://www.techsupportforum.com/pro/programming/431352-help-us-deployment-screens-validation.html</link>
			<pubDate>Fri, 13 Nov 2009 11:45:14 GMT</pubDate>
			<description><![CDATA[Hi All 
 
We are using ‘Visual Studio 2005’ for development, for installation of the application we are using ‘Microsoft Setup and Deployment &#61664; Setup Project’  
on installation wizard steps being used,  
 
We require the following clarifications: 
 
1)As per our requirement the fields ‘Customer...]]></description>
			<content:encoded><![CDATA[<div>Hi All<br />
<br />
We are using ‘Visual Studio 2005’ for development, for installation of the application we are using ‘Microsoft Setup and Deployment &#61664; Setup Project’ <br />
on installation wizard steps being used, <br />
<br />
We require the following clarifications:<br />
<br />
1)As per our requirement the fields ‘Customer Name, Organisation, Serial Number’ are in the Installation wizard steps to be mandatory, without entering data in these fields user should not be allowed to move further to the next wizard screen, i.e. the ‘Next’ button should be disabled / any pop up validation message to be displayed, until the user enters data in all the 3 fields. {Do Microsoft support for above said validations, if so, how to achieve this functionality}<br />
<br />
2)As per our requirement the fields ‘Address, Telephone No, e-mail Address’ are to be mandatory and there should be validation for the fields ‘Telephone No and e-mail Address’, without entering valid data in these fields user should not be allowed to move further to the next screen, i.e. the ‘Next’ button should be disabled / any pop up validation message to be displayed, until the user enters valid data in all the 3 fields. {Do Microsoft support for above said validations, if so how to achieve this functionality}</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>A.Satyanarayana</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/431352-help-us-deployment-screens-validation.html</guid>
		</item>
		<item>
			<title>regex Perl</title>
			<link>http://www.techsupportforum.com/pro/programming/431177-regex-perl.html</link>
			<pubDate>Thu, 12 Nov 2009 22:13:16 GMT</pubDate>
			<description><![CDATA[I'm having trouble figuring this out.  I'm trying to write a regular expression that will match the first letter / character of a string and the last letter / character of the string. 
 
Example:  Ate data   # it would match the A in Ate and the last a in data. 
              Time is it  # it would...]]></description>
			<content:encoded><![CDATA[<div>I'm having trouble figuring this out.  I'm trying to write a regular expression that will match the first letter / character of a string and the last letter / character of the string.<br />
<br />
Example:  Ate data   # it would match the A in Ate and the last a in data.<br />
              Time is it  # it would match the T in Time and the t in &quot;it.&quot;<br />
<br />
This is what I have for my expression.<br />
<br />
if ($string =~ m/(^([a-z]+\s*)+$)/)<br />
<br />
That isn't correct at all. <br />
<br />
I know the ^ is used to match the first part of the string and the $ sign is used to match the ending part of string.  <br />
<br />
I'm not quite sure on how to use them. <br />
<br />
<br />
Here is my code:<br />
<br />
#!/usr/bin/perl<br />
<br />
while ()<br />
{<br />
    print &quot;enter string: \n&quot;;<br />
    chomp ($string =&lt;STDIN&gt;);<br />
<br />
    if ($string =~ m/(^([a-z]+\s*)+$)/)<br />
    {<br />
    print &quot;Found letter '$1' was found  &quot;, pos($text), &quot; \n&quot;;<br />
<br />
    print &quot;This string begins and ends with same character with \n&quot;;<br />
    last;<br />
    }<br />
    else <br />
     {<br />
      print &quot;This string does not begin and end with the same character \n&quot;;<br />
   }<br />
 }</div>

]]></content:encoded>
			<category domain="http://www.techsupportforum.com/pro/programming/">Programming</category>
			<dc:creator>dmb168</dc:creator>
			<guid isPermaLink="true">http://www.techsupportforum.com/pro/programming/431177-regex-perl.html</guid>
		</item>
	</channel>
</rss>
