Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm creating a desktop application with visual studio 2013 and l want to load shapefiles from the application using pgsql2shp. However, the cmd string l used is not returning any result

What I have tried:

here is the code
Dim Cmd As String = "-u" + userName + "-h" + Hostname + "-p" + "3128" + "-P" + pssword + "-f" + path + "\" + layerName + ".shp" + "" + dbname + "" + layerName
Posted
Updated 11-May-18 13:48pm

1 solution

It's not working probably because you have no spaces at all between your command line arguments nor their values.

You could have easily figured this out if you learn to use the debugger.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900