The graphic ports in the laptop are usually for graphic output only.
A workaround might be (depending on your location) to borrow a monitor from a friend. Once you got the operating system install you can access your PC remotely with your laptop until you can buy a external monitor.
Or get an old monitor. At least in Germany you can get old DVI monitors almost for free. But make sure the graphic card of your PC supports it's connection (even the mainboard does not have an VGA plug in most cases you can use an adapter - check it in the mainboard's manual).
Another suggestion would be to connect it to a TV. "New" TVs usually have some graphic connections like HDMI etc.
There are several more solutions they depend on your particular situation, without more information it's difficult to give you better suggestions. Maybe you could elaborate on the three suggestions first, so we get a little more input.