Save Visual Basic Form in C:\My File as PDF

I need to Save the results from my form in Visual Basic 6.0 as a PDF in a specific folder. I'm pretty sure the error is coming from this code. It doesn't always send a attachment

Dim lWidth As Long, lHeight As Long

[login to view URL]

Call keybd_event(VK_MENU, 0, 0, 0)

Call keybd_event(VK_SNAPSHOT, 0, 0, 0)


Call keybd_event(VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0)

Call keybd_event(VK_MENU, 0, KEYEVENTF_KEYUP, 0)

On Error Resume Next

[login to view URL]

If Width > [login to view URL] Then

lWidth = [login to view URL]

lHeight = ([login to view URL] / Width) * Height


lWidth = Width

lHeight = Height

End If

[login to view URL] [login to view URL], 0, 0, lWidth, lHeight

[login to view URL]

Skills: Visual Basic

See more: net image resize save visual basic, visual basic net read excel file access, draw line mouse save visual basic, visual basic net create excel file, visual basic create progress bat file, visual basic input output text file, visual basic column count text file, code save visual basic link access, visual basic print post script file network printer, visual basic 2008 multilingual resource file, visual basic net read xml file, visual basic net parse csv file, free example visual basic extrac data access file, image save visual basic, save visual basic project, populate pdf form data save visual basic, visual basic excel example read file, visual basic net 2008 modified file date, visual basic 2008 export sql file

About the Employer:
( 1 review ) Crestview, United States

Project ID: #31042559

7 freelancers are bidding on average $24 for this job


VB developer experience over 4 years I can start working immediately. Let's discuss details in chat. Thanks

$20 USD in 2 days
(0 Reviews)

Hi There...! Note : I give you 25% off on my all services. So grabs this special limited discount offer. Let’s get to the Project. I came to know that your Looking a developer which have rich knowledge about visua More

$10 USD in 1 day
(0 Reviews)

Hi, Bro I have read your requirement and screenshots very carefully so I am very confidence and interested in your project I have rich experiences with VB form application. I can finish your project successfully in tim More

$25 USD in 1 day
(0 Reviews)

Hi, It seems a very interesting project for me. I have a deep understanding and experience in the areas of VB. form. pdf... ********************************************************************************************** More

$30 USD in 1 day
(0 Reviews)

Hi, how are you doing now? I am good with VB. I have read you with care and assure that I can do it. Hope to meet you. Thx.

$50 USD in 1 day
(0 Reviews)

Hi Sir, I have attentively read your job and I will do this job because it's very easy for me. I'm professional in data entry, copy-paste. I am a professional, full-time freelancer and can finish a job within the neces More

$15 USD in 1 day
(0 Reviews)

I have worked with VB and for 5+ years. I have wrote a number of projects processed data and generated files in different formats.

$15 USD in 7 days
(0 Reviews)