AnsweredAssumed Answered

vrf From String Error?

Question asked by VRFuser on Jun 8, 2004
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 10 (filtered)"><style><!-- /* Font Definitions */ @font-face     {font-family:Tahoma;     panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal     {margin:0in;     margin-bottom:.0001pt;     font-size:12.0pt;     font-family:"Times New Roman";}a:link, span.MsoHyperlink     {color:blue;     text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed     {color:purple;     text-decoration:underline;}p     {margin-right:0in;     margin-left:0in;     font-size:12.0pt;     font-family:"Times New Roman";}span.emailstyle17     {font-family:Arial;     color:windowtext;}span.EmailStyle19     {font-family:Arial;     color:navy;}@page Section1     {size:8.5in 11.0in;     margin:1.0in 1.25in 1.0in 1.25in;}div.Section1     {page:Section1;}--></style></head><body lang=EN-US link=blue vlink=purple><div class=Section1><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Hans-Joachim,</span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Brilliant…..thanks for the input ithas solved my problem. Where else can you post a problem, get a solution (andtest it out) within 15 minutes? Perhaps Microsoft?</span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks,</span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Paul</span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><spanstyle='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----
<b><span style='font-weight:bold'>From:</span></b> VEE User at ESF-GmbH[mailto:vee@esf-gmbh.de]
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Wednesday, June 09, 2004</span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> </span></font><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>6:24 AM</span></font><font size=2face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
<b><span style='font-weight:bold'>To:</span></b> Ross, Paul; VRF
<b><span style='font-weight:bold'>Subject:</span></b> AW: [vrf] From StringError?</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>Dear Paul,</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>I know this.Unfortunately this is a real VEE error which currently is evaluated at Agilent.This problem occured to me during the development phase of a big application.As I could not fix it, I disabled this function and continued with other parts.Finally I just activated again this function and it worked. One year laterafter successful usage of the VEE application, I amended the application bysome graphics functions, which I imported from a library. Just importing thelibrary activated the error again.</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>I found the followingwork around:</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>At the input to theFromString I inserted a formula object with the following formula:A+"
".</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>Hope, this helps</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>Hans-Joachim</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>ESF GmbH</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>Brennerweg 7</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><spanstyle='font-size:10.0pt;font-family:Arial;color:blue'>89143 Blaubeuren</span></font></p></div><div><p class=MsoNormal style='margin-left:.5in'><font size=2 color=blue face=Arial><span  style='font-size:10.0pt;font-family:Arial;color:blue'>Germany</span></font></p></div><blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:.5in'><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>-----UrsprnglicheNachricht-----
<b><span style='font-weight:bold'>Von:</span></b> Ross, Paul[mailto:paul.ross@thalescomminc.com]
<b><span style='font-weight:bold'>Gesendet:</span></b> Mittwoch, 9. Juni 200412:14
<b><span style='font-weight:bold'>An:</span></b> VRF
<b><span style='font-weight:bold'>Betreff:</span></b> [vrf] From String Error?</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Has anyone had problems with theFrom String object. I am using it to convert a time of HH:MM:SS AM/PM to a 24hour time without colons. For example I want </span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>7:23:59 PM</span></font><fontsize=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> to looklike 192359. The attached snippet of my program works as a stand alone programbut gets the following error when incorporated and run in my real application: </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>--------------------------------------</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>End of file or no data found</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>In Transaction number 1</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Object title : From String</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Object Type : From String</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Error number:701</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>--------------------------------------</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>In the real application the time isread from a text file and then feed to the ConvertTime function. If I look atthe input to the From String object it has "</span></font><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>7:23:59 PM</span></font><fontsize=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>". Ithought the From String object may have been corrupted and I deleted it and placeda new one...no luck. Any thoughts?</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Running VEE version 6.01</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Regards,</span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=2 face=Arial><spanstyle='font-size:10.0pt;font-family:Arial'>Paul </span></font></p><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'> </span></font></p><div><div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><fontsize=3 face="Times New Roman"><span style='font-size:12.0pt'><hr size=2 width="100%" align=center></span></font></div><p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><spanstyle='font-size:12.0pt'>This email and any files transmitted with it areconfidential and are intended solely for the use of the individual or entity towhom they are addressed. This communication represents the originator'spersonal views and opinions, which do not necessarily reflect those of ThalesCommunications, Inc. If you are not the original recipient or the personresponsible for delivering the email to the intended recipient, be advised thatyou have received this email in error, and that any use, dissemination,forwarding, printing, or copying of this email is strictly prohibited. If youreceived this email in error, please immediately notifyAdministrator@Thalescomminc.com.</span></font></p></div></blockquote></div><DIV><P><HR>This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Thales Communications, Inc. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify Administrator@Thalescomminc.com.<BR></P></DIV></body></html>  

Outcomes