Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with multiple textboxes and coding
#10
Okay, well lets just assume that the textboxes are called capturebonus, normalbonus, and time.
Code:
if my.computer.filesystem.fileexists(my.application.info.directorypath + "/map.ini") then
     my.computer.filesystem.deletefile(my.application.info.directorypath + "/map.ini")
end if
dim writer as new system.io.streamwriter(my.application.info.directorypath + "/map.ini")
writer.write("Object TechOilDerrick" + vbNewLine + "ReplaceModule ModuleTag_04" + vbNewLine + "Behavior = AutoDepositUpdate ModuleTag_04_Override" + vbNewLine + "DepositTiming = " & time.text + "00" + vbNewLine + "DepositAmount = " + normalbonus.text + vbNewLine + "InitialCaptureBonus = " + capturebonus.text + vbNewLine + "End" + vbNewLine + "End" + vbNewLine + "End"
writer.close()


I think this is what you were looking for! <!-- sBig Grin --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="Big Grin" title="Very Happy" /><!-- sBig Grin -->
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: Problems with multiple textboxes and coding - by brandonio21_phpbb3_import2 - 12-28-2010, 11:27 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  multiple csv files add sql server tables via VB.NET secilsengul 1 9,974 04-16-2014, 10:27 AM
Last Post: brco900033
  Problems with dividing a string brco900033 6 23,470 10-26-2013, 07:31 AM
Last Post: brco900033
  How to write string query on multiple lines kismetgerald 1 8,960 08-29-2012, 04:01 PM
Last Post: brandonio21
  VB.Net Query Builder Problems. Moldraxian 2 12,538 08-17-2012, 05:33 AM
Last Post: Moldraxian

Forum Jump:


Users browsing this thread: 1 Guest(s)