Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - QuickPDF Library & Visual Studio 2008...
  FAQ FAQ  Forum Search   Register Register  Login Login

QuickPDF Library & Visual Studio 2008...

 Post Reply Post Reply
Author
Message
cverhoff View Drop Down
Beginner
Beginner
Avatar

Joined: 03 Nov 05
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote cverhoff Quote  Post ReplyReply Direct Link To This Post Topic: QuickPDF Library & Visual Studio 2008...
    Posted: 21 Jun 09 at 4:43AM
Hey Everyone,
 
     I am starting to migrate my software applications from VB6 to Visual Studio 2008.  Has anyone made this transition recently?  I really count on QuickPDF in my applications and I am just trying to figure out what I can expect in the conversion.  I hope that there isn't too many issues...
 
Thanks,
 
Curtis Verhoff
 
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jun 09 at 8:49PM
Hi Curtis!

What i've thought immediately is ...
all int, longint, ... should be int32 (if it's vb) and UInt32 (if it'sC#).
It's not a really problem using QuickPDF in VS-projects.

Cheers, Ingo


Edited by Ingo - 21 Jun 09 at 8:50PM
Back to Top
cverhoff View Drop Down
Beginner
Beginner
Avatar

Joined: 03 Nov 05
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote cverhoff Quote  Post ReplyReply Direct Link To This Post Posted: 22 Jun 09 at 5:03PM
Ingo,
 
   Thanks once Again.  I will make sure the integer thing is correct when I transfer my code from VB6 to VS2008.  I just wanted to see if anyone else was using VS2008 with the QuickPDF Library and if they were having any issues.  I know that certain AcitveX(s) that I own are giving me issues with VS2008 and Vista/XP when the operating system has the whole DEP (Data Execution Prevention) thing is set to "On".  Anyways, like always you have been a real help.
 
Have A Great Day!!!
 
Cheers,
 
Curtis
Back to Top
cverhoff View Drop Down
Beginner
Beginner
Avatar

Joined: 03 Nov 05
Location: United States
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote cverhoff Quote  Post ReplyReply Direct Link To This Post Posted: 04 Jul 09 at 4:44PM
Back to Top
ray View Drop Down
Beginner
Beginner


Joined: 02 Jul 09
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote ray Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jul 09 at 5:27AM
We are using the old iSed library and vs 2008 (both vb.net and C#) as an active-x via the interop.Ised dll..
 
It works fine except for the unmanaged deployment aspects..
 
Hope this helps..
 
 
 
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Jul 09 at 6:41AM
Hi!

I don't see real problems in programming...
Attached you'll see sample code (C#) calling functions (string and numeric) from an unmanaged dll.

Cheers, Ingo

using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Commy_numeric_var2nentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Runtime.Intermy_numeric_var1Services;

namespace your_program_name
{
    public partial class Form1 : Form
    {
        string filename;
        UInt32 my_numeric_var1, my_numeric_var2, my_numeric_var2, my_numeric_var3;

        [DllImmy_numeric_var2rt(@"Sample.dll", CallingConvention = CallingConvention.StdCall, EntryPoint = "Your_numeric_function1")]
        public static extern UInt32 Your_numeric_function1(string filename);

        [DllImmy_numeric_var2rt(@"Sample.dll", CallingConvention = CallingConvention.StdCall, EntryPoint = "Your_string_function1")]
        public static extern IntPtr Your_string_function1(string filename, UInt32 my_numeric_var1t, UInt32 my_numeric_var2, UInt32 my_numeric_var3);

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            my_numeric_var3 = 0;
        }

        private void button1_Click(object sender, EventArgs e)
        {

            textBox1.Text = Marshal.PtrToStringAnsi(Your_string_function1(filename, my_numeric_var1, my_numeric_var2, my_numeric_var3));
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                filename = openFileDialog1.FileName;
                textBox2.Text = filename;
            }
        }

        private void button3_Click(object sender, EventArgs e)
        {
            textBox1.Text = Convert.ToString(Your_numeric_function1(filename));
        }
    }
}
 


Edited by Ingo - 06 Jul 09 at 6:43AM
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store