How to import PNG images in Lotus Notes 6.x and 7.x October 31, 2009
Posted by pierrekoerber in Uncategorized.add a comment
When trying to include png images, you will be stuck with these old clients… one simple workaround found on the www…
Lotus Notes does not support importing of PNG images into Rich Text by default but you can add that feature by adding the following line to your Notes Clients notes.ini file:
EDITIMP18=PNG Image,0,_IW4W,,.PNG,,8,
How to execute Visual Basic from JAVA ? – part 2 – autostart your VB… July 11, 2009
Posted by pierrekoerber in Uncategorized.2 comments
In our last article we have seen how to start word from JAVA. Now we will start word with a document in parameter and then we will put an autoopen marcro in our document.
JAVA – Code
String sCmd ;
sCmd = “C:\\Program Files\\Microsoft Office\\OFFICE11\\winword.exe ” + “\”c:\\Mes documents\\Doc3.doc\”" ;
try {
Runtime.getRuntime().exec(sCmd);
} catch (IOException e) {
e.printStackTrace();
}
This will start word with a special document.
The next step is how to autostart the VB code.
You can put in your document macro the autoopen, which will automatically starts when the document is launch
VB – Code in the document
Sub autoopen()
Load UserForm1
UserForm1.Show
End Sub
Ok, this is a simple way to starts VB from JAVA. Of course you can’t synchronise your programs and also you can’t pass parameters. This is not a perfect integration but it can helps you to reuse easily something which exists already on your system.
Of course it breaks the main advantage of JAVA to be multi-system, but the world isn’t perfect… for now.
Greetings.
A remain of the past – the dusty console July 5, 2009
Posted by pierrekoerber in Uncategorized.add a comment
After sometimes of laziness, (I’m too much playing with facebook and twitter) I’m back on my blog…
Which one of you is an old enough notes freak to remember the dusty old console which was the bread and butter of the dark age of the domino administration ? at this time to administrate a notes server you only need a strong knowledge of the domino directory and a simple console… old good times !
The old console remains in lotus notes today, and you can call it which a simple macro :
@Command([AdminRemoteConsole]) ;
Of course you need the rights to do it, it could be very useful when you are stuck with a “simple” notes client…
My virtual Lab November 22, 2008
Posted by pierrekoerber in Uncategorized.Tags: virtual PC, vista, wireless
1 comment so far
To improve my skills and to move forward, I just start with late to move on with visualization.
My workstation is a Windows VISTA, I know that I’m already cataloged with a big dummy sticker on my back but you know, I’m open-minded !
So to work set up my stuff I choose VIRTUAL PC 2007… you know what, it’s free ! (I know that I have already pay it to microsoft with all the craps I’ve bought to them indirectly)
One bad point is that Virtual PC doesn’t seem to enjoy ubuntu… so I’m using it with windows XP.
First problem, not enough memory on my vista computer… I bought 2 gigas of memory to have 4 giga… and you know what, VISTA 32 bit version doesn’t manage more than 3 gig of memory… thanks microsfot !
Second problem, impossible to address the virtual host from my pc because I’m using a wireless card. I found a nice blog entry which help me to fix the issue, let’s share with you :
http://www.tipandtrick.net/2008/how-to-bridge-virtual-pc-2007-to-use-host-computer-wireless-network-adapter/#comment-5793
And now everything is up, no big waste of time, no money waste ! who doesn’t think our world isn’t perfect ?
Stucked with a Page 404 idea ? here the link… March 5, 2008
Posted by pierrekoerber in Miscellaneous, Tech, Uncategorized.Tags: developpment, domino, html, lotus notes, martigny, page 404, switzerland, valais, web
1 comment so far
The link of the day is a great collection of 404 page…
You will probably find your happiness on this nice web site.
See you soon and keep’on blogging.
Pierre
How to get a system directory with domino console… February 27, 2008
Posted by pierrekoerber in Lotus Admin, Lotus domino, Uncategorized.Tags: console, domino, java, lotus notes, martigny, pierre koerber, switzerland, valais
add a comment
I’m a great fan of the domino java console… why ?
1. What I like is that it is independent of the notes client, so it is always available even if you notes client is blocked.
2. You can send native operating system command like : $dir mail*.nsf
3. You can log-on all your servers at one time.
4. You can customize the way it sends commands. You can schedule the command.
Tell me if you find other big advantages…
Linux… the wow start now ! February 11, 2007
Posted by pierrekoerber in joke.add a comment
Et une escarmouche de plus dans la bataille entre Windows et Linux…
