# How can i stop script when its automatically open in solution explore?

When we open visual studio then in solution explore script document is automatically open and when start running code then in solution explore page of our project moving toward upper side. for stopping this we have always always select scop to this.

##### Post Metadata
- Posted at: over 6 years ago
- Author title: senor Software devloper 
- Net upvotes: 1


## Comments
### Comment 1

if your script are in function then you should use on button click then your script are not open

##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Software Engineer at Alphonic network solution
- Net upvotes: 1



## Related Product
[Visual Studio](https://www.g2.com/products/visual-studio/reviews)

## Related Category
[Java Integrated Development Environments (IDE)](https://www.g2.com/categories/java-integrated-development-environments-ide)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: almost 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: almost 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: almost 13 years ago
  - Comments: 4


