Connecting Tech Pros Worldwide Forums | Help | Site Map

Accessing platform developped by PHP with VB

RandyTh
Guest
 
Posts: n/a
#1: Dec 19 '05
We are building the platform for document management system with PHP.
Now, in order to attract more customers, we want to have the addins
tool to access our system to automatically load these documents by a click
from the toolbar in office applications. The question is which programming
language i can use to achieve this feature.

Shinya



Erwin Moller
Guest
 
Posts: n/a
#2: Dec 19 '05

re: Accessing platform developped by PHP with VB


RandyTh wrote:
[color=blue]
> We are building the platform for document management system with PHP.
> Now, in order to attract more customers, we want to have the addins
> tool to access our system to automatically load these documents by a click
> from the toolbar in office applications. The question is which programming
> language i can use to achieve this feature.[/color]

Hi,

Well, if you want office-apps to fire some action, use VB. That is the
natural language for office.

Next question is how do you want to set it up?
If you want VB to just send some info to some server, do it.
Like:
http://www.yourphpsite.com/admin/dos...vatethisorthat

etc.
Just urlencode all relevant information into the url.

Maybe you should also send some username/passwordcombi.

Then get the url.
Maybe let the script return something like: 'succes' or 'failure' back to
the VB-function, so you can tell the officeuser that it did or did not
work.

But what was your question again?

Regards,
Erwin Moller
[color=blue]
>
> Shinya[/color]

R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#3: Dec 20 '05

re: Accessing platform developped by PHP with VB


RandyTh wrote:[color=blue]
> We are building the platform for document management system with PHP.
> Now, in order to attract more customers, we want to have the addins
> tool to access our system to automatically load these documents by a click
> from the toolbar in office applications. The question is which programming
> language i can use to achieve this feature.[/color]

So, you want to send the content to the server and have the
processed content returned back to the client? If so, you can possibly
create macros to do that. Google for macros and how to send content and
get processed; IIRC, you may need to fiddle with XMLHTTP activex
object.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Michael B. Trausch
Guest
 
Posts: n/a
#4: Dec 20 '05

re: Accessing platform developped by PHP with VB


On 2005-12-20, R. Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com> wrote:[color=blue]
>
> So, you want to send the content to the server and have the
> processed content returned back to the client? If so, you can possibly
> create macros to do that. Google for macros and how to send content and
> get processed; IIRC, you may need to fiddle with XMLHTTP activex
> object.
>[/color]

Agreed. Have the office application gather the information (such as in
Excel or something), and then from there, have the application send the
request as an XML POST to the application. You will need to create
probably an application module to handle that, but that shouldn't be a
big deal. Then have it return an XML response. There is some samples
for just that sort of thing on the Internet. The last time I ran across
a need for it, it was using Microsoft Office and ASP, but you can just
as easily parse and generate the needed XML stuffs using PHP on the back
end.

Google is your friend. :)

Regards,
Mike

Closed Thread