<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Geforce's Project3000</title>
	<atom:link href="http://geforce2008.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://geforce2008.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 06 Aug 2008 12:21:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on FLASH read XML file problem by Tutorials &#124; Flash Navigation with Actionscript and XML &#124; Lemlinh.com</title>
		<link>http://geforce2008.wordpress.com/2008/03/16/flash-read-xml-file-problem/#comment-20</link>
		<dc:creator>Tutorials &#124; Flash Navigation with Actionscript and XML &#124; Lemlinh.com</dc:creator>
		<pubDate>Wed, 06 Aug 2008 12:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=6#comment-20</guid>
		<description>[...] FLASH read XML file problem [...]</description>
		<content:encoded><![CDATA[<p>[...] FLASH read XML file problem [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week 11: Image has been finished by Geforce</title>
		<link>http://geforce2008.wordpress.com/2008/05/22/week-11-still-working-at-show-image/#comment-19</link>
		<dc:creator>Geforce</dc:creator>
		<pubDate>Tue, 27 May 2008 08:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=25#comment-19</guid>
		<description>I have finished the image gallery.
Using the flash connect the web service, and then the web service read the image name from the database and sent to the flash.

In flash i read the image name from dataProvider of the datagrid. and then use the &quot;Loader&quot; to show the image.</description>
		<content:encoded><![CDATA[<p>I have finished the image gallery.<br />
Using the flash connect the web service, and then the web service read the image name from the database and sent to the flash.</p>
<p>In flash i read the image name from dataProvider of the datagrid. and then use the &#8220;Loader&#8221; to show the image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week9 Upload image. by Geforce</title>
		<link>http://geforce2008.wordpress.com/2008/05/06/week9-image-upload/#comment-18</link>
		<dc:creator>Geforce</dc:creator>
		<pubDate>Thu, 15 May 2008 09:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=23#comment-18</guid>
		<description>Today i finished the upload image function.
For my new design is upload the image to the server folder no to the web service folder. And the web service only save the image name to the database. 


Upload the image:

            --&gt;web service ( save image name)  --&gt; database
Flash  {  --&gt;Asp.net page (change the image size)--&gt; upload image to the folder</description>
		<content:encoded><![CDATA[<p>Today i finished the upload image function.<br />
For my new design is upload the image to the server folder no to the web service folder. And the web service only save the image name to the database. </p>
<p>Upload the image:</p>
<p>            &#8211;&gt;web service ( save image name)  &#8211;&gt; database<br />
Flash  {  &#8211;&gt;Asp.net page (change the image size)&#8211;&gt; upload image to the folder</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week5 using the Flash ActionScript2 to sent data by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/04/06/week5-try-to-change-the-flash-as2-to-flash-as3/#comment-17</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Tue, 08 Apr 2008 00:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=18#comment-17</guid>
		<description>Today amazing thing was happened. I have already fixed the parameter problem using the Flash ActionScript2 to connect the webservice.

At this moment, i can use the Get function withe parameter, delete function and the update function.

2 weeks ago. I trid to use the Flash &quot;WebServiceConnector&quot; to connect the WebService and binding the data to the Flash datagrid component. But i found that it was only can show the data and if i wanted to call the webservice function with the parameter the Flash would has a error message.

For this problem, may be it&#039;s was my mistake. i will try to found out the solution some time in the future.</description>
		<content:encoded><![CDATA[<p>Today amazing thing was happened. I have already fixed the parameter problem using the Flash ActionScript2 to connect the webservice.</p>
<p>At this moment, i can use the Get function withe parameter, delete function and the update function.</p>
<p>2 weeks ago. I trid to use the Flash &#8220;WebServiceConnector&#8221; to connect the WebService and binding the data to the Flash datagrid component. But i found that it was only can show the data and if i wanted to call the webservice function with the parameter the Flash would has a error message.</p>
<p>For this problem, may be it&#8217;s was my mistake. i will try to found out the solution some time in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week 3 write the report about last two week by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/22/week-3-write-the-report-about-last-two-week/#comment-16</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Tue, 25 Mar 2008 06:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=16#comment-16</guid>
		<description>Today i got another problem. I try to delete the item of the flash datagrid selected, i found the delete WebServiceConnector couldn&#039;t connect the web service. I can use the delete fountion in the web service debug. There are no problem with the web service.

The flash output show below:
Error opening URL &#039;http://localhost:1500/Service1.asmx&#039;</description>
		<content:encoded><![CDATA[<p>Today i got another problem. I try to delete the item of the flash datagrid selected, i found the delete WebServiceConnector couldn&#8217;t connect the web service. I can use the delete fountion in the web service debug. There are no problem with the web service.</p>
<p>The flash output show below:<br />
Error opening URL &#8216;http://localhost:1500/Service1.asmx&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week 3 write the report about last two week by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/22/week-3-write-the-report-about-last-two-week/#comment-15</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Mon, 24 Mar 2008 10:13:06 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=16#comment-15</guid>
		<description>Firstly I try to format the dataset to string used the System.Xml.XmlDataDocument and this time the flash can output a string, but the flash datagrid still can&#039;t read. The code show bellow:

    &#039; _
    &#039;Public Function GetListOfGalleries() As String
    &#039;    Dim gallery As New Gallery
    &#039;    Dim ds As New DataSet
    &#039;    &#039;Dim ar As Array
    &#039;    ds = gallery.GetListOfGalleries()
    &#039;    Dim XMLDoc As New System.Xml.XmlDataDocument(ds)
    &#039;    Return XMLDoc.InnerXml
    &#039;End Function



So i needed to find another solution. I only have one choice was web service export the array to the flash datagrid.
So abandon the dataset use the generic list in the web service. Luckly the solution was the Generic List format to Array. And this time the flash datagrid was worded. 


The follow code is show how to change the Generic List to Array:


     _
    Public Function GetListOfGalleries() As Gallery()
        Dim gallery As New Gallery
        Dim ds As New DataSet
        Dim g() As Gallery
        g = gallery.GetListOfGalleries().ToArray
        Return g
    End Function</description>
		<content:encoded><![CDATA[<p>Firstly I try to format the dataset to string used the System.Xml.XmlDataDocument and this time the flash can output a string, but the flash datagrid still can&#8217;t read. The code show bellow:</p>
<p>    &#8216; _<br />
    &#8216;Public Function GetListOfGalleries() As String<br />
    &#8216;    Dim gallery As New Gallery<br />
    &#8216;    Dim ds As New DataSet<br />
    &#8216;    &#8216;Dim ar As Array<br />
    &#8216;    ds = gallery.GetListOfGalleries()<br />
    &#8216;    Dim XMLDoc As New System.Xml.XmlDataDocument(ds)<br />
    &#8216;    Return XMLDoc.InnerXml<br />
    &#8216;End Function</p>
<p>So i needed to find another solution. I only have one choice was web service export the array to the flash datagrid.<br />
So abandon the dataset use the generic list in the web service. Luckly the solution was the Generic List format to Array. And this time the flash datagrid was worded. </p>
<p>The follow code is show how to change the Generic List to Array:</p>
<p>     _<br />
    Public Function GetListOfGalleries() As Gallery()<br />
        Dim gallery As New Gallery<br />
        Dim ds As New DataSet<br />
        Dim g() As Gallery<br />
        g = gallery.GetListOfGalleries().ToArray<br />
        Return g<br />
    End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week 3 write the report about last two week by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/22/week-3-write-the-report-about-last-two-week/#comment-14</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Mon, 24 Mar 2008 01:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/?p=16#comment-14</guid>
		<description>Last week i use the dataset to solve the xmlserialize problem. After that i trid to use flash datagrid to connect the web service dataset i found the flash datagrid couldn&#039;t read the web service dataset.

And i found that:
The wizard has problems with any web services returning ASP.NET DataSets; therefore, services returning a .NET DataSet cannot be used with the wizard. Likewise, a web service won&#039;t be able to function with the Data Connection wizard if it only returns a numeric or simple string value.

The Data Connection wizard (and the DataGrid component itself, for that matter) is really only designed to work with a series of similar items, such as an array. Before using the Data Connection wizard, you need to be aware of the following conditions:

The wizard doesn&#039;t work in every situation. The target XML or web service must return an array for the wizard to work effectively. 

Reference:http://www.adobe.com/devnet/flash/articles/datawizards_06.html
</description>
		<content:encoded><![CDATA[<p>Last week i use the dataset to solve the xmlserialize problem. After that i trid to use flash datagrid to connect the web service dataset i found the flash datagrid couldn&#8217;t read the web service dataset.</p>
<p>And i found that:<br />
The wizard has problems with any web services returning ASP.NET DataSets; therefore, services returning a .NET DataSet cannot be used with the wizard. Likewise, a web service won&#8217;t be able to function with the Data Connection wizard if it only returns a numeric or simple string value.</p>
<p>The Data Connection wizard (and the DataGrid component itself, for that matter) is really only designed to work with a series of similar items, such as an array. Before using the Data Connection wizard, you need to be aware of the following conditions:</p>
<p>The wizard doesn&#8217;t work in every situation. The target XML or web service must return an array for the wizard to work effectively. </p>
<p>Reference:http://www.adobe.com/devnet/flash/articles/datawizards_06.html</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week2 Using the flash connect the web servers by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-13</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Sat, 22 Mar 2008 07:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-13</guid>
		<description>I trid to find out how to change the list to xmlserialize. But it was different to do it. 
Finally i change the list to dataset. and it was work.
The code show below:

 Public Function GetListOfGalleries() As DataSet
    Dim db As Database = DatabaseFactory.CreateDatabase(&quot;GalleryDatabase&quot;)
    Dim dbCommand As DbCommand = db.GetStoredProcCommand(&quot;GetGalleries&quot;)

    Dim ds As New DataSet
    ds = db.ExecuteDataSet(dbCommand)
    Return ds

    End Function</description>
		<content:encoded><![CDATA[<p>I trid to find out how to change the list to xmlserialize. But it was different to do it.<br />
Finally i change the list to dataset. and it was work.<br />
The code show below:</p>
<p> Public Function GetListOfGalleries() As DataSet<br />
    Dim db As Database = DatabaseFactory.CreateDatabase(&#8220;GalleryDatabase&#8221;)<br />
    Dim dbCommand As DbCommand = db.GetStoredProcCommand(&#8220;GetGalleries&#8221;)</p>
<p>    Dim ds As New DataSet<br />
    ds = db.ExecuteDataSet(dbCommand)<br />
    Return ds</p>
<p>    End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week2 Using the flash connect the web servers by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-12</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Wed, 19 Mar 2008 03:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-12</guid>
		<description>The web service connected the database i got the error message:

Cannot serialize member System.ComponentModel.MarshalByValueComponent.Site of type System.ComponentModel.ISite because it is an interface. 

Firstly i try to comment the: Inherits System.Web.Services.WebService.
And it was worked. And then i started the web siervice try to execute the web service and found out there were nothing message show in the XML file.

So i uncomment the &quot;Inherits System.Web.Services.WebService&quot;. and try to find out the reason of the this error.

I have tried to comment the GetThread and UpdataThread function only DeleteThread function left, and it was perfect word.

From the google i found:

CAUSE
This is by design. The DataTable, DataRow, DataView, and DataViewManager
objects are not serializable and cannot be returned from a Web Service. In
order to return less than a complete DataSet, you have to copy the data you
wish to return to a new DataSet.

RESOLUTION
You can resolve this issue by returning a DataSet instead of a DataTable.
DataSets can contain one or more DataTables.

Reference: http://www.dotnet247.com/247reference/msgs/4/21203.aspx</description>
		<content:encoded><![CDATA[<p>The web service connected the database i got the error message:</p>
<p>Cannot serialize member System.ComponentModel.MarshalByValueComponent.Site of type System.ComponentModel.ISite because it is an interface. </p>
<p>Firstly i try to comment the: Inherits System.Web.Services.WebService.<br />
And it was worked. And then i started the web siervice try to execute the web service and found out there were nothing message show in the XML file.</p>
<p>So i uncomment the &#8220;Inherits System.Web.Services.WebService&#8221;. and try to find out the reason of the this error.</p>
<p>I have tried to comment the GetThread and UpdataThread function only DeleteThread function left, and it was perfect word.</p>
<p>From the google i found:</p>
<p>CAUSE<br />
This is by design. The DataTable, DataRow, DataView, and DataViewManager<br />
objects are not serializable and cannot be returned from a Web Service. In<br />
order to return less than a complete DataSet, you have to copy the data you<br />
wish to return to a new DataSet.</p>
<p>RESOLUTION<br />
You can resolve this issue by returning a DataSet instead of a DataTable.<br />
DataSets can contain one or more DataTables.</p>
<p>Reference: <a href="http://www.dotnet247.com/247reference/msgs/4/21203.aspx" rel="nofollow">http://www.dotnet247.com/247reference/msgs/4/21203.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Week2 Using the flash connect the web servers by geforce2008</title>
		<link>http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-11</link>
		<dc:creator>geforce2008</dc:creator>
		<pubDate>Tue, 18 Mar 2008 21:18:34 +0000</pubDate>
		<guid isPermaLink="false">http://geforce2008.wordpress.com/2008/03/17/week2-using-the-flash-connect-the-web-servers-2/#comment-11</guid>
		<description>OK</description>
		<content:encoded><![CDATA[<p>OK</p>
]]></content:encoded>
	</item>
</channel>
</rss>
