Interaction with Visual Basic 2010

Finally worked... To be honest, I don't know why the others didn't work.

Here's the code

  if(Serial.available()>0){
    data=Serial.read();
    if(data=='<'){
      *tmp=Serial.read();
      steps=atoi(tmp);
    }
    else if(data=='>'){
      Serial.write(steps);
      motor1.step(steps,FORWARD,SINGLE);
      steps=0;
    }
    else{
      *tmp=data;
       steps=10*steps;
       steps=steps+atoi(tmp);
    }
  }

Thank you so much!