BryonR Posted November 11, 2008 Share Posted November 11, 2008 (edited) Not quite sure what I'm doing wrong here. If BitAND(IniRead("c:\test\test.ini", "Ticket", "sale", "Not Configured"), 1) Then $db_sale = GUICtrlRead($input_sale) If BitAND(IniRead("c:\test\test.ini", "Ticket", "sale", "Not Configured"), 0) Then $db_sale = "|" I'm trying to do the following logic. If ini bit = 1 then read gui else | Bryon Edited November 11, 2008 by BryonR Link to comment Share on other sites More sharing options...
Valuater Posted November 11, 2008 Share Posted November 11, 2008 (edited) There is no need to make it complicated, nor read the same file twice... If IniRead("c:\test\test.ini", "Ticket", "sale", "Not Configured") = 1 Then $db_sale = GUICtrlRead($input_sale) Else $db_sale = "|" EndIf 8) Edited November 11, 2008 by Valuater Link to comment Share on other sites More sharing options...
BryonR Posted November 11, 2008 Author Share Posted November 11, 2008 Got hung up on the BitAND. Thank you Link to comment Share on other sites More sharing options...
Valuater Posted November 11, 2008 Share Posted November 11, 2008 (edited) Got hung up on the BitAND.Thank youWelcome!!Seems, I have helped you before.... Did you see may last post on yout last thread?... Apparently you have been a man on a mission...http://www.autoitscript.com/forum/index.ph...ult_type=topics8) Edited November 11, 2008 by Valuater Link to comment Share on other sites More sharing options...
BryonR Posted November 17, 2008 Author Share Posted November 17, 2008 (edited) Welcome!!Seems, I have helped you before.... Did you see may last post on yout last thread?... Apparently you have been a man on a mission...http://www.autoitscript.com/forum/index.ph...ult_type=topics8)Yes I did, thank you! I'm working on refining a helpdesk ticket tracking solution. Thus far it has email and database entry.It also has customization through ini edit.-Bryon Edited November 17, 2008 by BryonR Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now