I need to access the backend classes of Lotus Notes from a vb.net Application. Actualy I want to get the COM interface. I could easely do it in c++:
...
NOTESSESSIONPtr itfNotesP;
NOTESDATABASEPtr itfDatabaseP;
...
try
{
hrNotesSession = itfNotesP.CreateInstance(__uuidof(NOTESSESSION));
hrNotesUiWorkspace = ptrUIWP.CreateInstance(__uuidof(NOTESUIWORKSPACE));
}
...
but in vb.net I'm running out of solutions to acheive the samething with lotus.NOTESSESSION and lotus.NOTESUIWORKSPACE from Notes32.tlb
Does someone know what I am missing?
Thanks!
Have you read this? It's a bit old, and there's at least one important thing it doesn't mention, but I think it shows you enough to get started.
The thing it doesn't mention, which might be important for you or not, is that the Domino COM classes are not supported on Win64. (See this IBM technote.) You will find a few questions here on StackOverflow from people who have had difficulties, and there are answers to get you past the specifi issue in that technote. And in fact, most of the classes can be made to work, but a few methods in some of the classes simply do not work. And apart from community help, you're on your own because IBM won't answer questions about stuff that isn't supported.
Related
I need to program something in LibreOffice Basic, but I've never done that before. I just have the basis in python, so it's really new for me.
I didn't find any recent documentation, so I'm reading the basic guide from 2010.
But there is a point I really don't understand, They speak about various interface but I don't succeed to understand their interest and when I should call it.
If you can explain it I would love it.
Thank you !
Don't go deeper, no need. To write working code in Basic, you do not need additional information - you just need to know the list of methods of each object, no more. Which interface provided this method to the object shouldn't bother you.
See chapter 3.6.4. Interfaces in Pitonyak's book. The list of available methods is easy to obtain using the MRI or Xray tool extension. MRI is convenient in that after an in-depth study of the object, you immediately get a piece of code ready for use.
(Unfortunately, this extension works extremely unstable with the latest versions of LibreOffice)
Update Video on YouTube
Python is very good when working with LibreOffice. See http://christopher5106.github.io/office/2015/12/06/openoffice-libreoffice-automate-your-office-tasks-with-python-macros.html.
You'll still need MRI or XrayTool and Pitonyak's book as explained by #JohnSUN. Also you'll want APSO and a reference such as https://wiki.openoffice.org/wiki/Python/Transfer_from_Basic_to_Python.
For a single small project though, Basic may be better as there are more examples available.
I am kinda of a new user here and don't have enough reputation points to comment/ask on this question: IDE support for Hack Lang.
So, I am hoping that since the last entry provided by Themis Beris someone has been able to get PHPStorm working properly with Hack. I followed the 3 steps described in the post I mentioned, but still get compile-time errors on the classes I've written using Hack. <?hh is not recognized, for instance.
Any suggestions as to how to get PHPStorm playing nice with Hack?
I have no idea what Themis Beris is talking about on the linked question. (He seems to be saying something about PHPUnit, which is a completely separate issue.)
JetBrains has a feature request open for Hack support and last I heard was very actively working on it. But as of this writing (Feb 2015) it's not released yet.
Is there any way in visual basic to display any of this information about memory(like in the link below)?
Something like Module Name,Serial Number,Module Type,Memory Speed,Timings etc. ?
As Damien_The_Unbeliever stated your best bet would be to look at the Win32_PhysicalMemory WMI Class. You can experiment around WMI by downloading the WMI Code Creator from Microsoft, it will generate code in C#, VB.Net and VB script which you can run through the program and see what the results are.
I believe what you are asking is how to retrieve information about hardware components (namely main memory) using VB.
Please see this thread on VB forums on some example of accessing hardware information.
You might also be interested in this a bit more as it seems to cater to your needs a bit more.
Good luck.
I noticed the other day that the Zune PC Software exposes a type library (ZuneCore.dll). It seems to be related to the WMPLib API in some way but I can't figure out how to use it either from VB6 or C#.
Has anybody tried this and had any luck?
Dave
May be an old question, but this link might help: http://zunelcd.codeplex.com/ If you download the source for this project one of the class libraries is a decent API for communicating with the Zune Software.
i just found out about this -> http://soapitstop.com/blogs/fleamarket/archive/2008/03/03/read-the-zune-collection-in-net-from-zune-s-own-api.aspx but it seems a bit outdated Initialize method now takes some parameters and i dont know what to put there!
Try adding a reference to it from a .NET project in Visual Studio. Perhaps this namespace will appear magically: MicrosoftZuneLibrary
I'm trying to write a game with support for Joypads as well as mouse/keyboard. I've tried finding information about that, but it's either outdated or not portable enough.
Does anybody know of any good, lightweight libraries that can abstract Joypad reading? I want to use the 360 controller, but I would like support for more than that.
I'm primarily going to be writing on Windows, but I really don't want to use DirectInput/XInput, in case I ever wish to port my code.
Have you ever tryied OIS (Object Oriented Input System)? An efficient and light weight library.
I am very satisfied with it.
I have never tried with the 360 controller, but it should work fine.
This maybe an older question and is already answered but..
Someone on tigsource made a lightweight cross-platform gamepad library
that you might find useful.
You can view the post on it here.
What about SDL?
Maybe it's not what you mean by lightweight (it has the graphic and audio subsystems too), but it's very portable.
I know this thread is very old and by now you might have gotten what you need, but im answering this just in case someone stumbles on it and needs help as well.
I stumbled upon this library gainput and it seems like it makes alot of sense. You can try it out, if it helps.
Gainput is a lightweight c++ library, that enables you use the same interface for Joypads, macs, pc, linux as well as mobiles, and it is very easy to integrate to your project.
A link to gainput can be found here (http://gainput.johanneskuhlmann.de/)
Have you looked at XNA game framework?
There is also
Allero
http://www.talula.demon.co.uk/allegro/
GarageGames
http://www.garagegames.com/
Try that out