<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Sybase Anywhere connection String in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842281#M4873124</link>
    <description>&lt;P&gt;OMG!Thanks Jeff. It worked. I checked the dbsrv11.exe on my PDA and then added this parameter and worked in 1st shot. I spent 5 whole hours digging-in here and there and finally your response saved  me. Braveo! and again thanks  a lot. Syed&lt;/P&gt;</description>
    <pubDate>Wed, 05 Dec 2012 14:01:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-12-05T14:01:53Z</dc:date>
    <item>
      <title>Sybase Anywhere connection String</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaq-p/13842279</link>
      <description>&lt;P&gt;Hi There: I have a .Net application that I run on a PDA Handheld. When I try to connect to a System.Data.SqlServerCE, I use this connection string:&lt;/P&gt;
&lt;PRE&gt;Dim connection As New SAConnection
Dim connectionString As String = String.Format("UID={0};PWD={1};DBF={2", userId, password, Caseman_db_file)
connection = New SAConnection(connectionString)
connection.Open()
&lt;/PRE&gt;

&lt;P&gt;Everything works fine Except that when connected it opens up a Sybase window that shows:
Different status like Running Windows CE, 600 K memeory, Database sevrevr stopped etc.
Ques: How can I hide this Sybase window on my PDA when I connect to this iSQL. This DB file is on my PDA. What connection parameter do I need to hide this screen. I would prefer to add another paramter that would hide this screen. I built my code, deploy it on the PDA and then on the PDA I am running my application that connect to the Sybase DB(On my PDA). &lt;/P&gt;
&lt;P&gt;Thanks
Syed Zaman&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 11:39:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaq-p/13842279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-05T11:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Anywhere connection String</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842280#M4873123</link>
      <description>&lt;DIV class="codehilite"&gt;&lt;PRE&gt; &lt;SPAN class="n"&gt;Dim&lt;/SPAN&gt; &lt;SPAN class="n"&gt;connectionString&lt;/SPAN&gt; &lt;SPAN class="n"&gt;As&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Format&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"UID={0};PWD={1};DBF={2}"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;userId&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;password&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;Caseman_db_file&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;You will want to add the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/startlineparameter.html"&gt;&lt;CODE&gt;START&lt;/CODE&gt; connection parameter&lt;/A&gt; to point to the server executable and pass the &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/dbserver-s-6270173.html"&gt;server switch "-qw"&lt;/A&gt; (hide the main window, keep the system tray icon) or &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/dbserver-s-6255667.html"&gt;"-qi" server switch&lt;/A&gt; (hide the window and system tray icon).&lt;/P&gt;
&lt;P&gt;i.e.&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt; &lt;SPAN class="n"&gt;Dim&lt;/SPAN&gt; &lt;SPAN class="n"&gt;connectionString&lt;/SPAN&gt; &lt;SPAN class="n"&gt;As&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Format&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"UID={0};PWD={1};DBF={2};START=\\Program Files\\SQLANY12\\dbsrv12.exe -qi"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;userId&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;password&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;Caseman_db_file&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Dec 2012 13:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842280#M4873123</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2012-12-05T13:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Anywhere connection String</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842281#M4873124</link>
      <description>&lt;P&gt;OMG!Thanks Jeff. It worked. I checked the dbsrv11.exe on my PDA and then added this parameter and worked in 1st shot. I spent 5 whole hours digging-in here and there and finally your response saved  me. Braveo! and again thanks  a lot. Syed&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 14:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842281#M4873124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-05T14:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Anywhere connection String</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842282#M4873125</link>
      <description>&lt;P&gt;Ok Jeff. I found it takes some time to connect to the Sybase DB file on my PDA by using the above string. I tried all possible ways:
START=Program FilesSQLANY12dbsrv12.exe -qi
START=Program FilesSQLANY12dbsrv12.exe -qw
START=Program FilesSQLANY12dbsrv12.exe -q -c 3M&lt;/P&gt;
&lt;P&gt;But in each case, it takes a noticable time. Why when both dbsrv11.exe and the db file , all remain on the PDA?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2012 14:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842282#M4873125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-05T14:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase Anywhere connection String</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842283#M4873126</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;I found it takes some time to connect to the Sybase DB file on my PDA by using the above string&lt;/STRONG&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How much time, exactly? Now that you have "START" line in-place, can you add after the &lt;CODE&gt;-qi&lt;/CODE&gt; / &lt;CODE&gt;-qw&lt;/CODE&gt; switch, a console log output switch to generate a log to record what's happening at start-up?&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;Dim&lt;/SPAN&gt; &lt;SPAN class="n"&gt;connectionString&lt;/SPAN&gt; &lt;SPAN class="n"&gt;As&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt; &lt;SPAN class="o"&gt;=&lt;/SPAN&gt; &lt;SPAN class="n"&gt;String&lt;/SPAN&gt;&lt;SPAN class="o"&gt;.&lt;/SPAN&gt;&lt;SPAN class="n"&gt;Format&lt;/SPAN&gt;&lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;"UID={0};PWD={1};DBF={2};START=\\Program Files\\SQLANY12\\dbsrv12.exe -qi -o \\console.txt"&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;userId&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;password&lt;/SPAN&gt;&lt;SPAN class="p"&gt;,&lt;/SPAN&gt; &lt;SPAN class="n"&gt;Caseman_db_file&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Be careful that the database is not undergoing &lt;A href="http://dcx.sybase.com/index.html#1201/en/dbadmin/automatic-recovering-backup.html"&gt;automatic recovery&lt;/A&gt; if 
the database server was forcibly shut down during its last run.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2012 13:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-anywhere-connection-string/qaa-p/13842283#M4873126</guid>
      <dc:creator>jeff_albion</dc:creator>
      <dc:date>2012-12-10T13:25:53Z</dc:date>
    </item>
  </channel>
</rss>

