No it will not work with a VGA monitor.
If it is specifically marked as RS-232 (or with a string of one’s and zero’s), then it is a serial port for things like serial mice.
If it on the other hand, it is marked with Mon. or a rectangle, then it is a DE-9 connector for CGA or EGA monitors.
VGA monitors use a special D-sub 15-pin connector (DE-15F) and cannot be connected even with an adapter because the pinouts are completely different (because VGA is analog and works very differently from the older, digital CGA and EGA standards). You could try looking for a converter, but I for one have not seen or heard of any such thing, and would imagine it would be expensive anyway.
Your best bet is to check the local classifieds (especially online ones such as Kijiji or eBay Classified) to see if anyone nearby has a 9-pin monitor collecting dust in the closet. You could also put your own ad specifically asking for one.
Update:
Seeing your photo and the model of the motherboard, it is most definitely a serial port. The P4C800 does not have a 9-pin monitor connector (or even onboard VGA).
What you see is a generic bezel not specific to that motherboard. Cases used to come with several bezels of common variations, but because these days, motherboard backplanes come in a wide variety, they don’t and instead, motherboards come with a bezel specific to the board that can be snapped into a case. The one you see has both icons because it can be used for different motherboards and on some, instead of a serial port, there is a 15-pin VGA connector there (which has the same physical dimensions of a 9-pin serial port).
In summary, no, a serial port is not a video port and there is no way to use a monitor of any kind with it (even a 9-pin monitor, let alone 15-pin one). Since it does not have onboard video, you will need to install a video-card.

What is this 9-pin VGA-like connector in my electrical cabinet?
old hardware adaptation - 9 pin D-sub to VGA or USB - Retrocomputing Stack Exchange
9-Pin VGA to HDMI Help
Possible to use VGA port as serial port?
No it will not work with a VGA monitor.
If it is specifically marked as RS-232 (or with a string of one’s and zero’s), then it is a serial port for things like serial mice.
If it on the other hand, it is marked with Mon. or a rectangle, then it is a DE-9 connector for CGA or EGA monitors.
VGA monitors use a special D-sub 15-pin connector (DE-15F) and cannot be connected even with an adapter because the pinouts are completely different (because VGA is analog and works very differently from the older, digital CGA and EGA standards). You could try looking for a converter, but I for one have not seen or heard of any such thing, and would imagine it would be expensive anyway.
Your best bet is to check the local classifieds (especially online ones such as Kijiji or eBay Classified) to see if anyone nearby has a 9-pin monitor collecting dust in the closet. You could also put your own ad specifically asking for one.
Update:
Seeing your photo and the model of the motherboard, it is most definitely a serial port. The P4C800 does not have a 9-pin monitor connector (or even onboard VGA).
What you see is a generic bezel not specific to that motherboard. Cases used to come with several bezels of common variations, but because these days, motherboard backplanes come in a wide variety, they don’t and instead, motherboards come with a bezel specific to the board that can be snapped into a case. The one you see has both icons because it can be used for different motherboards and on some, instead of a serial port, there is a 15-pin VGA connector there (which has the same physical dimensions of a 9-pin serial port).
In summary, no, a serial port is not a video port and there is no way to use a monitor of any kind with it (even a 9-pin monitor, let alone 15-pin one). Since it does not have onboard video, you will need to install a video-card.

A 9 pin serial port is a communication port and CANNOT be used for a monitor. VGA is 15 pins and 15 pins only. Is what you have perhaps a DE-9 (also known as serial) connector? I do not believe there is an existing adapter for that type of conversion.
2 rows 9 pins D-SUB 9 (or Cannon 9) connectors were used on PC for serial COM ports (RS232) and in even older days also for IIRC EGA/CGA monitor connection.
My bet is that it's the serial port (you can check with multimeter if GND is on the right place - IIRC pin 5). Serial port uses male Cannon 9 connector on the PC side and female connector on the cable (or device if plugged directly) which matches your description.
Nowadays machines do not usually have RS232 any more, so in such case you need a USB to RS232 or USB 2 COM port adapter first which might be a big problem on W9x with drivers for it and also the cheap ones might not work at all with your device... there were also ISA alternatives. Any decent IDE card had RS232, GAME and LPT on-board but again having ISA on modern machine is luxury (even PCI these days) unless you have a developer machine style motherboard (these are quite expensive but have "all" the old stuff onboard).
Now if you run W9x program on Win7 it means you have 32bit OS version (on x64 you can not run 16bit apps any more) which is fine but problem is W9x drivers are not compatible with win7. And also RS232 does not have any notion of VID/PID so you have to select/install correct driver manually. NEVER USE automatic driver install for it - Windows will almost always choose wrong driver.
If your device is old and discontinued and not very common you will have most likely no chance of getting win7 compatible driver (there are online driver writing services out there just for these cases, but it's not for free. IIRC it was called driverguide or something like that; formerly it was database of old drivers so if you are in luck it might contain what you need already).
So I would try some emulator or virtual machine similar to DOSBOX to run Win9x virtually inside your Win7 (beware that MS Virtual PC does not work on Win7 correctly; it was my favourite up to XP as it was really simple small and free, but after they ported it to Win7 it's unreliable and crashes a lot). There are quite few of them out there like WMware; just google it. After that run your app inside it with the old drivers installed there too. It should work normally as on real machine if the emulator supports COM port forwarding...
If all fails, you could try to reverse the communication protocol yourself as RS232 COM port serial communication is pretty easy (just file access - you do not even need a driver). However you would need some stuff about the device yourself (ideally capture the data between old machine and device during usage) and then either create your own app for using the device or somehow inject the data into the Win9x app (similar to what DOSprint does). However you never described what the device is ...
The fact that Windows thought it was a mouse is a really good sign, and likely means that things are nearly working properly.
First of all, there's no way that Windows would mistake a USB serial port device for a USB mouse. What's happening is, it's detecting the serial port (step one complete!) and automatically running its mouse detection routines. Those work by sending certain control signals and looking for a mouse-like response. Unfortunately, there were a number of serial mouse protocols, and a random non-mouse serial device will often unintentionally send data which will fool the mouse detection. But that means you're receiving serial data from the device (step two complete!).
So the only thing currently going wrong is the mouse driver squatting on your serial port. See this SO question for how to stop that from happening. With that resolved, the host program (which is successfully installed - step three complete!) should be able to configure the port and communicate, with no need for any additional drivers or OS-level configuration.
As others have mentioned, heedlessly plugging a random DE-9 into a no-name USB-serial bridge was a really bad idea. But you got lucky. Nevertheless: That connection is not hotplug-safe. Do not plug or unplug the serial cable while the computer OR the device is turned on or sleeping, or you may actually seriously break something (possibly your computer).