Print Page | Close Window

Problems with Samples

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1701
Printed Date: 15 Jan 26 at 4:58PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Problems with Samples
Posted By: MikeL
Subject: Problems with Samples
Date Posted: 08 Jan 11 at 4:55PM
I am attempting to use the trial version of this product. I downloaded, unzipped and and installed it. I then wanted to check out the ''visual-basic_dll_sample.zip'  Sample.
 
When I attempt to open the sample solution 'visual-basic_dll_sample.sln' in MS Visual Studio 2005 I get this message box.
 
"The selected file is a solution file but was created by a newer version of this application and cannot be opened."
 
I am running XP Pro and I use VB.NET Primarily
 
I have attempted to take the code from the examples an put into an existing applcaition, but cannot get the DLL's to load up in in References so I can use them.
 
Do I have to be using a newer version of Visual Studio to try these demo's out. 
 
I need to develop applications that can process PDF's.and I am very intested in this software.



Replies:
Posted By: Ingo
Date Posted: 08 Jan 11 at 6:06PM
Hi Mike!

Here's the beginning of a form1.vb (VB2008 Express) from one of my samples.
Hope it helps.

Cheers and welcome here,
Ingo

Public Class Form1
    Friend MyParam1 As String
    Friend MyParam2 As String
    Dim MAP As String = My.Application.Info.DirectoryPath
    Public Declare Function MyFunctionX Lib "MyDLL.dll" (ByVal MyParam1 As String, ByVal MyParam2 As String, ByVal Page As Int32, ByVal Dpi As Int32) As Int32
    Public Declare Function MyFunctionY Lib "MyDLL.dll" (ByVal FileName As String) As Int32

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Text = "PDF Sample with MyDLL.dll"
        For Each foundFile As String In My.Computer.FileSystem.GetFiles(MAP & "\archiv", FileIO.SearchOption.SearchTopLevelOnly, "*.pdf")
            foundFile = My.Computer.FileSystem.GetName(foundFile)
            ListBox1.Items.Add(foundFile)
        Next
    End Sub



Posted By: MikeL
Date Posted: 10 Jan 11 at 2:34PM
Thank You for your input. 
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk