<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        Thanks Justin,&lt;br&gt;&lt;br&gt;That&apos;s a clever idea. It seems to work pretty good. It seems like a little slower frame update rate than the RR application itself, but workable.&lt;br&gt;&lt;br&gt;Thanks for the idea Justin, I think I&apos;ll go with it!&lt;br&gt;&lt;br&gt;Gary&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Gary,&lt;br&gt;&lt;br&gt;I encounted some of the same problems as you with getting an image update from RoboRealm to my vb.net application.&amp;nbsp;&amp;nbsp;So I decided to cheat and instead of using a picture box, I used a WebBrowser object from vb.net and and set RoboRealm to transmit it to a webpage that I could call up in VB.&amp;nbsp;&amp;nbsp;&lt;br&gt;&lt;br&gt;It&apos;s not as pretty as a picturebox solutution (I&apos;d still like to see that work) but it transmits video nicely to your app.&lt;br&gt;&lt;br&gt;&lt;br&gt;First you need to add a WebBrowser object to your app and name it: webRoboRealm &lt;br&gt;&lt;br&gt;&lt;br&gt;Then create a new class in your project named: WebBrowserControls&lt;br&gt;&lt;br&gt;This is the code for the class:&lt;br&gt;&lt;br&gt;Public Class WebBrowserControls&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Private _NavigateUrl As String&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Public Property NavigateURL() As String&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Get&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Return _NavigateURL&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End Get&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Set(ByVal value As String)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Me._NavigateUrl = value&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End Set&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End Property&lt;br&gt;&lt;br&gt;End Class&lt;br&gt;&lt;br&gt;&lt;br&gt;This is the code I used in my app for the web browser object:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dim wbControls As New WebBrowserControls&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;wbControls.NavigateURL = &quot;http://localhost:8080/index.html&quot;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Me.webRoboRealm.Navigate(wbControls.NavigateURL)&lt;br&gt;&lt;br&gt;&lt;br&gt;Make sure robotrealm is set to transmit to that webpage by going to Options (in RoboRealm) click the webserver tab and make sure Active RoboRealm web server is checked.&lt;br&gt;&lt;br&gt;-Justin Ratliff&lt;br&gt;&lt;a href=&quot;http://www.trcy.org&quot; target=&quot;_blank&quot;&gt;www.trcy.org&lt;/a&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks Norris, &lt;br&gt;I did have the rr server turned on and I have registered the RR_COM_API.dll file. I had not added a reference to the rr_com_api.dll, but now I have. On the demo file I downloaded there is a little different declaration of the rr api. &lt;br&gt;When I run the program with the &lt;br&gt;&lt;br&gt; rr = CreateObject(&quot;RoboRealm.API.1&quot;) &lt;br&gt;&lt;br&gt;declaration the image width and height variables are correct and I can pass variables fine, the GetImage line seems to get something, then the savePPM line saves a file, but the file is empty.&lt;br&gt;&lt;br&gt;When I run the program with the&lt;br&gt;&lt;br&gt;Dim rr As New RR_COM_APILib.API_Wrapper&lt;br&gt;&lt;br&gt;declaration the width and height variables are not correct and the program locks up on the getImage line.&lt;br&gt;&lt;br&gt;&lt;br&gt;Are these two declarations trying to do the same thing? Is saving the file as a .ppm and getting an empty file a symptom of a GetImage problem?&lt;br&gt;&lt;br&gt;Thanks for any help,&lt;br&gt;Gary&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17992_1.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17992_thumb_1.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17992_2.jpg&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17992_thumb_2.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ok just checking the basics did you start RR and have the &quot;Active RoboRealm Server&quot; checked under the API tab and did you add a reference to the com object; see attached image syou should see RR_COM_APILib in your reference folder.&lt;br&gt;&lt;br&gt;Nomis&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17990_1.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17990_thumb_1.jpg&quot;&gt;&lt;/a&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/17990_2.JPG&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/17990_thumb_2.jpg&quot;&gt;&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hello Norris,&lt;br&gt;&lt;br&gt;Thanks for the link. I think I&apos;m one step before the part where I need to convert the bitmap from RGB to BGR. I&apos;m not sure how to get the image. I&apos;ve tried using:&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;Dim pixels(230400) As Byte&lt;br&gt;&amp;nbsp;&amp;nbsp;Dim width, height As Integer&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rr.GetDimension(width, heigt)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rr.GetImage(&quot; &quot;, pixels, width, height)&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rr.Saveppm(&quot;C:\\test\\TestImage3.PPM&quot;, pixels, width, height)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;But The file that gets saved has no data, or the program just stops. Any Ideas?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Gary&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Hi Gary,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; Take a look at the following post it was done in C# but it should be easy enough to convert it to VB.Net (http://www.roborealm.com/forum/index.php?thread_id=2928#2) You should be able to use a C# to VB.Net converter (http://www.dotnetspider.com/convert/CSharp-To-Vb.aspx). Please post you code if your having difficulties converting it.&lt;br&gt;&lt;br&gt;Nomis        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>API Image display in VB.Net</title>
        <description>
        Hello,&lt;br&gt;&lt;br&gt;I am trying to connect a VB.net applicataion to RR through API. I can get the variables passed fine but I am having trouble displaying the processed image in a picturebox in the VB.Net application. I downloaded the example files and it seems to lockup on the GetImage call. Is that even the way to do it? I tried writing an image in the .robo file and then reading that image from VB.Net app, that seems to work ok if you don&apos;t want the image to continuously update at a reasonable frame rate.&lt;br&gt;&lt;br&gt;I found another example in the C++ examples about displaying a Bitmap in a picturebox, but I&apos;m not a C++ guy and can&apos;t really see what&apos;s happening. &lt;br&gt;&lt;br&gt;Is there an example of how to get the currently processed image to continuously display in a VB.Net picturebox?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Gary&lt;br&gt;         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=2974</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=2974</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
