So go on and try it :)
Sunday, April 25, 2010
New version of Skytus 0.2.0 is available for download !
The major changes are installation and unistallation. Now this is MSI installation (before it was NSF, and I have to say I do not liked it). Now it will be more native for user to install and uninstall Skytus. There are also some changes/updates for functionality.
Tuesday, April 20, 2010
open view into another database using outline
If you want to open view form another database into current one using outline -> use URL approach.
here is short instruction:
- open property of your outline an select one Entry
- select type URL and make result like this:
"notes://" + @Name([CN]; @ServerName) + "/" + DBReplicaID+ "/" + "myview?OpenView"
- do not forget to choose Frame (target)This is actually very easy but some people asked me long time ago how to do that, so I would like to share this and help to anybody.
session.SendConsoleCommand returns error: 'You are not authorized to use the remote console on this server'
Got subj. issue tonight.
I wanted to run console command from server-A on server-B.
If you look in the Google you will find IBM article about 2 possible solutions for this error:
http://www-01.ibm.com/support/docview.wss?uid=swg21178432
I wanted to run console command from server-A on server-B.
If you look in the Google you will find IBM article about 2 possible solutions for this error:
http://www-01.ibm.com/support/docview.wss?uid=swg21178432
Tuesday, April 06, 2010
Old staff: Switch tabs/rows programatically
It is known thing but not VERY VERY known :-] , so it can be useful to anybody.
If you use tabs/rows on your forms and want to switch tabs/rows programmatic don't think that it difficult, it is very easy, couple clicks and couple lines of code.
So let's start, 'go go go' as we say :) !
1) Go to the property of table, open 'Table Programming' tab (the last one) and give the name of the whole table (Name/ID tag), also please give the name to all rows you want to switch using your code (Row Tags, Name)
2) Now let's go to the property Table Rows and select "Switch rows programatically" (otherwise it will not work, even if you cast magic), also enable 'show the tabs so user can pick row'.
3) Add field to the form with name = Name/ID tag and add prefix $. (f.x. if you called your table MainTable, field should be $MainTable, the purpose of this field is to contain name of row we need to show).
4) Now do your code, here is example of button/event
FIELD $MainTable := "Content";
@Command([ViewRefreshFields])
That's all.
If you use tabs/rows on your forms and want to switch tabs/rows programmatic don't think that it difficult, it is very easy, couple clicks and couple lines of code.
So let's start, 'go go go' as we say :) !
1) Go to the property of table, open 'Table Programming' tab (the last one) and give the name of the whole table (Name/ID tag), also please give the name to all rows you want to switch using your code (Row Tags, Name)
2) Now let's go to the property Table Rows and select "Switch rows programatically" (otherwise it will not work, even if you cast magic), also enable 'show the tabs so user can pick row'.
3) Add field to the form with name = Name/ID tag and add prefix $. (f.x. if you called your table MainTable, field should be $MainTable, the purpose of this field is to contain name of row we need to show).
4) Now do your code, here is example of button/event
FIELD $MainTable := "Content";
@Command([ViewRefreshFields])
That's all.
Monday, March 29, 2010
RefreshDesign of NotesDatabase using NotesAPI
Here is an example how we can do refresh design using NotesAPI.
I'm really interesting in approach without NotesAPI, but did not find any good. If somebody know better approach, please share it :)
I'm really interesting in approach without NotesAPI, but did not find any good. If somebody know better approach, please share it :)
Function RefreshDesign(sourceDb As NotesDatabase, refreshServer As string)
Dim destPath As String
Dim rc As Integer
Dim hDb As Integer
If sourceDb.Isopen Then
'sourceDb could be local or server
If sourceDb.server = "" Then
destPath = sourceDb.filePath
Else
destPath = sourceDb.server & "!!" & sourceDb.filePath
End If
' Open the db in the API and get a handle to the open db
rc = W32_NSFDbOpen(destPath, hDb)
' Return zero on success, non-zero on failure
If rc = 0 Then
rc = W32_DesignRefresh(refreshServer, hDb, 0, 0, 0)
Call W32_NSFDbClose(hDb)
End If
End If
End Function
Saturday, March 27, 2010
Tuesday, March 09, 2010
We made new version of Skytus 0.1.15. it is available for download now !
What do we have in new version?
- fixed issues we found in last build (0.1.14).
- added some more stability to LN when it does not have Skype installed on it.
- we made many tests with this add-on so it should be much more stable.
So if you still did not try our tools, do it now: Skytus !
We will be happy for any comments/suggestions!
- fixed issues we found in last build (0.1.14).
- added some more stability to LN when it does not have Skype installed on it.
- we made many tests with this add-on so it should be much more stable.
So if you still did not try our tools, do it now: Skytus !
We will be happy for any comments/suggestions!
Tuesday, February 23, 2010
Cannot create automation object when we use RunOnserver
I had situation where my agent1 (I run it on server like agent1.RunOnserver).
Agent1 create OLE object (WinHttp.WinHttpRequest or MSXML2.ServerXMLHTTP or it could be another OLE object without Quit/Exit method). As these objects do not have Quit/Exit method Domino continued to keep these objects in memory(?). So next time when I run agent I gave an error:
"Cannot create automation object"
I found workaround for this. It is strange, but it works.
I created new agent and called it on server instead of agent1 (f.x. agentNew.RunOnServer) This new agent called agent1 locally (f.x. Call agent1.Run). There is also article on IBM about solution for error Cannot create automation object
Funny, right?
Agent1 create OLE object (WinHttp.WinHttpRequest or MSXML2.ServerXMLHTTP or it could be another OLE object without Quit/Exit method). As these objects do not have Quit/Exit method Domino continued to keep these objects in memory(?). So next time when I run agent I gave an error:
"Cannot create automation object"
I found workaround for this. It is strange, but it works.
I created new agent and called it on server instead of agent1 (f.x. agentNew.RunOnServer) This new agent called agent1 locally (f.x. Call agent1.Run). There is also article on IBM about solution for error Cannot create automation object
Funny, right?
Saturday, February 20, 2010
Action failed, document has been deleted
Problem was because I used profile document (and somebody re-save/re-create it).
So Actually profile was in database but LS was unable to get it.
as solution I just re-save it and it started to work.
So Actually profile was in database but LS was unable to get it.
as solution I just re-save it and it started to work.
Subscribe to:
Posts
(
Atom
)