We have a LOB application written in silverlight that currently shoots emails out through Outlook via:
Dim outlook = AutomationFactory.CreateObject("Outlook.Application")
...
This works great when the user has elevated permissions in the application. My question is, does anyone know how we go about doing the same with Lotus Notes? We have a customer that is requesting it.
Thanks
You can use Visual Basic to connect to Lotus Notes. See this IBM technote for an example: http://www-01.ibm.com/support/docview.wss?uid=swg21178583.
There are other ways such as using Java but in your case using Visual Basic sounds like the easiest way.
Can't LN use a SMTP interface? I don't know if IBM or third party has an adapter for Exchange, but they probably do.
If you install IBM Notes on the Server, where the application is running, you could use COM to to similar stuff to what you do with Outlook.
The more "stable" or "professional" way would be to send the mail via SMTP to a SMTP server (IBM Domino, Exchange, postfix, ...).
Please refer this site which use simple java program using the Notes jar,the jar will be available at where lotus note client is installed, in your system C:\Program Files (x86)\IBM\Lotus\Notes\jvm\lib\ext ,
java-lotusdomino examples
This could give you some ideas, how to send an email based on your needs.
Related
This is a hypothetical question that I don't seem to be able to find an answer to. In theory, could you write a desktop program which allows you to alter the database of a personal website? A simple example would be a blog, where instead of having to go online and log into Admin section of your website, you would have a desktop app where you could write a blog offline and once you have internet it would automatically update your website?
Would this theoretically be possible?
Yes, it is possible. However, probably not recommended as you would have to allow direct connections to your database through the firewall unless your desktop application made the same http/https pots that the website does when updating the database. At that point, you're just creating a new UI that calls the old UI to do the same actions.
If you are running Windows you could use the free tool Microsoft Live Writer for that. I am sure you can find other free tools for other OS out there.
There is not also an Open Source version of it Open Live Writer
May not be the best place to ask sorry if that's true.
I have worked on SQL and while I never worked on QuickBooks I am hoping it is possible to connect to it and just use it similar to a SQL Database. I am wondering I am wondering if it is possible to connect to QuickBooks using ASP. My purpose is to create simple forms and insert the data into QuickBooks similar to what is done on SQL.Occasionally I would just generate reports as well using web pages. All I am wondering is does ASP have the capability to connect to Quick Books and if so can I also run query's similar to SQL and is there any sources or reference available for research ? And what my options are for setting this up. If I have to use asp.net as a last resort that is fine too, though I would prefer to have to be without it.
Thank you
Update #1
While i am working on getting the Version of Quick-Books here is what information I have.
I plan on using ASP-Classic, and I want to develop web forms so this would be a website that can be accessed. This will not be a desktop application I plan on making but various webpage's where you can view Quick-books data, and insert records into Quick-books using forms, similar to what I do for SQL. And the Version of our Quick-Books is 2013 Enterprise Windows Desktop USA edition.
All I am wondering is does ASP have the capability to connect to Quick Books
Yes.
can I also run query's similar to SQL
Maybe.
QuickBooks itself does not provide an SQL-based interface. Communication with QuickBooks is via XML. However, QuickBooks Enterprise comes with something called QODBC which provides an ODBC interface to the XML interface QuickBooks provides, which might get you what you need.
One problem you want to watch out for -- there are times when you won't be able to connect to QuickBooks. e.g. it is not an "always-on" solution like a typical SQL database is. If you're in single-user mode in QuickBooks, or someone closes QuickBooks, or someone is doing a QuickBooks backup, or someone is updating QuickBooks, then you won't be able to connect. You'll have to plan for this in your application.
A better solution might be to use the QuickBooks SDK (specifically the QuickBooks Web Connector). If you download and install the SDK there is example code included. The SDK install also includes about 600 pages of PDF documentation on topics which you are asking about.
Striking out the below stuff since you've provided more details now: But unfortunately you didn't provide anywhere near enough information for anyone to actually give you a decent answer.
How about providing some actual details so that people can actually help you? Like, maybe:
Is this QuickBooks ONLINE, or QuickBooks for WINDOWS, or QuickBooks for MAC? (they are three entirely separate products, with entirely separate sets of capabilities)
What version/year/edition/country of QuickBooks?
ASP classic or ASP.NET?
Is this a website you're connecting from, or is this a desktop application, or...?
recently I have started working on how to query AD (Active Directory) in Lotus Notes - XPages. I came across a tool named LIZA (http://www.ldapexplorer.com/en/liza.htm), could anyone please let me know how do we use that tool? What is the tool all about and is it possible to integrate it with Lotus Notes. If not then what are the other ways to query AD using XPages.
JXPlorer and Liza are front-end applications. What you are looking for are not these droids is a (Java) library that you can call from XPages (most likely wrapped in a bean).
You can use the Apache Directory to do this. One nice side effect: the API is used inside the Apache Directory Studio - another front-end application. So you would use the Studio to try the connection and browse the AD (or other LDAP) and the know what query and connection strings you need.
The alternative is to do it "the Java way"™ and use JNDI to connect to an LDAP as suggested before by the Java guys.
I would use the Apache classes. Let us know how it goes!
Never used it myself, but could this been an alternative ? http://jxplorer.org/ Should be possible to use this with Java (agent, xpage, java) in Lotus Notes
I'm very new to web development but I will try to explain my question as best I can.
I am making a basic chatroom program (in C#) but I have never made my own online server before, and it needs to respond to tcp packets. I know how a server works, I just don't know how to implement my server and how people will be able to access it.
Hope thats clear. Thanks in advance.
Edit: Sorry I didn't mean to ask for examples of chat/server applications, I already know how they work. My question is how do i host an online server that is accessible to anyone?Are they written in php? asp?I dont want to be running an application on my computer that will be the "server". Thanks!
If you like to study some existing network applications, i recommend the twisted project; it contains a web server, numerous chat clients, chat servers, mail servers, and more.
Some example C# code for a chat client and server: http://www.developerfusion.com/code/3574/a-chat-clientserver-program-for-c/
You can take a look at Web Tornado.
They have a chat application sample, and it's basically a light, non-blocking web server. It is written in python.
if you are using c# then you can have a look on signal R as well. It is getting popular because of event based pull / push mechanism which may assist you in the development of chat room.
I'm working on integrating Bugzilla with HP Qc. I'm performing this by using perl script by directly manipulating the database using sql commands. I want to use the web services of Bugzilla. I have gone through the Bugzilla webservice API but tat wasn't enough to get started. I'm a beginner and this is the first project of my career. How do I go about this?
Check out the Perl script bz_webservice_demo.pl in Bugzilla's contrib directory, it shows how to talk to Bugzilla via XMLRPC.
There are a few things you could do:
Export defects from Bugzilla into a spreadsheet and upload it into Quality Center
Use the Open Test Architecture API (OTAClient.dll) to update defects in Quality Center
Use the HP Synchronization Server and build an adapter
Using the HP Synchronizer is probably the only "real" way to do it. Though you could potentially build your own sync mechanism, potentially using just OTA and a message queue.
There may be an existing adapter available from proficom-ag based on a presentation I found via a web search