I have a couple of questions pertaining the I/O programming in VB.2010. To start i was wondering how to detect the device when it is plugged in using VB, I have been successful using VB to communicate with a very basic sketch but the port needs to be defined each time, no good if i want to compile down the road. Also wondering if I can use Marlin, or Teacup firmware and just have a simple program that uses a .txt file containing G code or M code, to move X,Y,Z, nothing else. If I can, how do I modify the firmware, and how do I send packets to the Arduino, should it be line by line? If this is unreasonable how do I predefine the "G" code and create a library? Any help would be greatly appreciated, I am very new to all this.