I ran it again using ucount and have this segment working.
I had already tried that change previously , cannot pinpoint why
it didnt work prior.
Sorry for the last post and thanks again
Search found 41 matches
- Tue Apr 11, 2006 5:20 pm
- Forum: Beginners
- Topic: trouble with code
- Replies: 4
- Views: 6675
- Tue Apr 11, 2006 5:07 pm
- Forum: Beginners
- Topic: trouble with code
- Replies: 4
- Views: 6675
No it really doesnt make sense because I replaced the variable %g% with a constant for each group and read back properly from the ini file. Also I had already tried the same code using ucount instead of usercount, and the code still failed. So the code works if I manually type a number in place of %...
- Tue Apr 11, 2006 3:24 pm
- Forum: Beginners
- Topic: trouble with code
- Replies: 4
- Views: 6675
trouble with code
Let>g=0 Label>FindFirstGroupThatHasUsers Let>g=g+1 ReadIniFile>iniFile,Group%g%,UserCount,usercount let>count=%usercount% If>count>0 Let>RadioGroupString=%g% Goto>TheOtherGroups Endif Goto>FindFirstGroupThatHasUsers In this segment of code I beginning a string for a radio button group. There seem to...
- Tue Apr 11, 2006 12:47 pm
- Forum: Beginners
- Topic: How to store a %CRLF% in an ini file
- Replies: 2
- Views: 4925
- Mon Apr 10, 2006 10:33 pm
- Forum: Beginners
- Topic: How to store a %CRLF% in an ini file
- Replies: 2
- Views: 4925
How to store a %CRLF% in an ini file
I am trying to store a text string in an ini file which will be retrieved as the TEXT for a memo box. When I write it to the ini file the %CRLF% forces a new line, so that when the string is read back from the ini file it is no longer correct for the memo box. How can I stored the %CRLF% literally i...
Dick I modified the code eliminating the CRLF as you suggested and it now executes. //extract the number of Users for each group Let>c=0 Let>g=-1 Repeat>c Let>c=c+2 Let>g=g+1 DDERequest>Excel,ExcelFile,R39C%c%,return,60 StringReplace>return,CRLF,,return EditIniFile>iniFile,Group%g%,UserCount,%return...
Yes that makes sense. I am modifying the code now to retest it. I figured the code lines would help, to refer to the exact problem line. I just editted the code I posted. I decided to change a variable name before posting to make it more readable, then failed to make all the neccessary changes befor...
- Mon Apr 10, 2006 1:49 pm
- Forum: Beginners
- Topic: save the value of an edit object in a dialog
- Replies: 14
- Views: 16432
stumped
111//extract the number of Users for each group 112 Let>c=0 113 Let>g=-1 114 Repeat>c 115 Let>c=c+2 116 Let>g=g+1 117 DDERequest>Excel,ExcelFile,R39C%c%,return,60 118 EditIniFile>iniFile,Group%g%,UserCount,%return% 119 Let>CountForUserGroup_%g%=%return% 120 Until>c=20 121 122 123 //extract the Users...
- Mon Apr 10, 2006 12:03 am
- Forum: Beginners
- Topic: save the value of an edit object in a dialog
- Replies: 14
- Views: 16432
- Sat Apr 08, 2006 12:08 am
- Forum: Beginners
- Topic: LibFunc>imglib,CompareBitmaps, match,d:\screen1.bmp,d:\sc
- Replies: 25
- Views: 27998
- Fri Apr 07, 2006 6:48 pm
- Forum: Beginners
- Topic: LibFunc>imglib,CompareBitmaps, match,d:\screen1.bmp,d:\sc
- Replies: 25
- Views: 27998
- Fri Apr 07, 2006 4:02 pm
- Forum: Beginners
- Topic: need help with OnEvent command
- Replies: 8
- Views: 10113
I'm also running xp (pro) and I don't have anything unusual running in the background. As a matter of fact when I am working my way through learning the program outside of a firewall it's the only program running. This violation will occur when I have the main window of MS open rather than minimized...
- Fri Apr 07, 2006 3:10 pm
- Forum: Beginners
- Topic: need help with OnEvent command
- Replies: 8
- Views: 10113
Problems still do resurface with this code . With the Wait it executes as expected most of the time but the violation messages still apprear on occasion. I have cranked up the Wait to various times and that doesn't seem to effect the occassional violation messages. Is there any possibilty that this ...