<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I can initiate it using...</div><div><br></div><div>Valentina.Init(10*1024*1024)....and all runs fine...</div><div><br></div><div>However this makes the app run with the database demo timer enabled...ie: 10 minutes I believe..</div><div><br></div><div>I am looking for how to add my registration to the init line....</div><div><br></div><div>I have looked at the examples and tried to add my registration in the initValentina method..in init_shutdown example but the method doesn't need nor want the registration...as in too many parameters when I add m registration to the init Valentina method</div><div><br></div><div>After more experimentation I added the initValentina method to my app and edited the method as follows....</div><div><br></div><div><div> </div><div> // if you want to run this example as LOCAL database then set gClient = false. </div><div> // if you want to run this example as CLIENT database then set gClient = true.</div><div> // </div><div> // In the last case you must have VServer running. </div><div> // VServer should have use with name "sa" and password "sa".</div><div> // Or you need change login parameters in the MakeNewDatabase() method.</div><div> // If you want to use SSL connection - just set gSSLEnable to true.</div><div> // </div><div> gClient = false</div><div> </div><div> if( gClient ) then</div><div> Valentina.InitClient( 10 )</div><div> else</div><div> Valentina.Init(inCacheSize,strV,"") 'also used Valentina.Init(inCacheSize,strV)</div><div> 'if Valentina.CacheSize = 0 then</div><div> 'MsgBox "Valentina was not initialized!" </div><div> 'end if </div><div> end if</div><div> </div><div>These all faiiled...<img id="107ee838-ab06-47a1-b64b-58d4aa11b394" height="99" width="320" apple-width="yes" apple-height="yes" src="cid:D46D440D-61AB-4FB6-BC1B-A998DED244EF@gv.shawcable.net"></div><div><br></div><div>So how does one init the database with my registration?</div><div><br></div><div> </div></div><div><br></div><div>On 2010-12-27, at 3:59 PM, william humphrey wrote:</div><br class="Apple-interchange-newline">Sorry, that was for LiveCode but it should be similar.<br><br><div class="gmail_quote">On Mon, Dec 27, 2010 at 7:58 PM, william humphrey <span dir="ltr"><<a href="mailto:bill@bluewatermaritime.com">bill@bluewatermaritime.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">Use<div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal 'Lucida Grande'; "> <span style="color: rgb(142, 146, 14); "><b>get</b></span> Valentina_InitClient( <span style="color: rgb(30, 0, 144); ">10</span> * <span style="color: rgb(30, 0, 144); ">1024</span> * <span style="color: rgb(30, 0, 144); ">1024</span>,<span style="color: rgb(30, 0, 144); ">"V4R</span><span style="font-size: 12.2222px; color: rgb(30, 0, 144); ">"<span style="color: rgb(0, 0, 0); ">,</span>"V4REV",)</span></div><div><div></div><div class="h5"><br><div class="gmail_quote">On Mon, Dec 27, 2010 at 6:55 PM, Charles Cohen <span dir="ltr"><<a href="mailto:rwc1717@shaw.ca" target="_blank">rwc1717@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">Hi Ruslan:<br> macAir...OSX 10.65...rb2010r5<br> I was using V4RB v4.7 using the following code..<br><br>Valentina.Init(10*1024*1024,strV,"")<br><br>strV is an obfuscated version of my registration number/letter<br><br>It fails...<br><br>If I leave off the ,strV,""...it runs....<br><br>How do I initiate valentina with my registration?<br></blockquote><div><br></div></div></div></div></div></blockquote></div>Thanks<br><div>
<div style="font-size: 13px; ">Harry & Chuck</div><div style="font-size: 13px; "><br></div><br class="Apple-interchange-newline">
</div>
<br></body></html>