473,386 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Calling a PowerBuilder object in ASP.NET

pa
I'm calling a PowerBuilder 6.5 object in an asp.net page
and am having some perfomance issues.
Here's the code:

dim pb as object
dim g_objPB as object

pb = CreateObject("Powerbuilder.Application")
pb.LibraryList = "c:\web\power.dll"
pb.MachineCode = False
g_objPB = pb.createobject("m_class")

The code executes appropriately, however the line:

pb.LibraryList = "c:\web\power.dll"

takes at least 15 seconds to process.
when i make these calls from a windows project they are
almost instantaneous.
my thinking is it's a security issue but am not exactly
sure what that issue is. I've tried anonymous access
and
windows integration with no change in performance.

my workaround is to call a separate thread that executes
the above code and puts the object into a global
variable,
although that's not my desired solution.

The operating system is windows 2000 server.

any help would be greatly appreciated.

thanks
pa

Nov 17 '05 #1
0 1082

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sanjay Minni | last post by:
We have mostly client-server apps with large scale database usages (Oracle / SybaseSQLAnywhere,...). Apps are delivered 1-to-1 specific client as well as some are sold as off the shelf. All have to...
3
by: Pino | last post by:
In our company we are developing new products (distributed applications) using .NET and SQL Server. However, there are some persons who continue to work with PowerBuilder and Sybase ASA (Adaptive...
0
by: Gerry | last post by:
Hi, I am not quite sure where to place this question, by Powerbuilder or MySQL as I guess it is a communication glitch between the two platforms. I am trying to convert a Powerbuilder...
9
by: Norm Goertzen | last post by:
I've posted a previous question about IDEs and got some good feedback, thanks, but it does seem that everyone has their own favourite IDE -- in other words, no IDE was repeatedly recommended. ...
2
by: Vakkaas | last post by:
Hi, I am trying to create a dll to use in PowerBuilder. My concern is that i want to create a few function in C# code that i want to use in PowerBuildre. Anybody knows how i can do this? ...
5
by: benc | last post by:
Hi Can some good soul help on this. I need to call jscript functions from C#. I have hosted a web control and displayed an html page successfully, but just can't find a way to call jscript...
2
by: LC | last post by:
I am beginning to learn C#. net after being in Powerbuilder for over 10 years. For those C# gurus who know Powerbuilder I have a couple of questions: Does a datawindow relate to a datagrid or is...
2
by: agus liem | last post by:
Hai.. I introduce myself, my name : Agus, from Indonesia. Im develop application using POwerbuilder 7 and postgresql 7.3. I have serveral error, and cannot solve yet. Anybody help me? This is...
5
by: =?Utf-8?B?Q2F0c0NyYWRsZQ==?= | last post by:
I have to prove .Net technologies over PowerBuilder of all things. Powerbuilder is OOP, has a .net interface with the DataWindow.net. Thats about all I know. It's a shootout between my group and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.