Forum Replies Created
-
AuthorReplies
-
No problem, glad to be of assistance.
Regards,
Advansys SupportSee the Visual Basic Scripting Guide which provides various Date functions. You can access the guide from GroupWise – Help – Formativ Help menu or from Formativ IDE – Help menu.
Sample code below uses FormatDateTime() funstion to access date & time, also uses Year(), Month(), etc function to extract part of the date.
msgbox FormatDateTime(iStartDate, vbShortDate) msgbox FormatDateTime(iStartDate, vbShortTime) msgbox "Year: " & Year(iStartDate) & ", Month: " & Month(iStartDate) &_ ", Day: " & Day(iStartDate) & ", Hour: " & Hour(iStartDate) &_ ", Minute: " & Minute(iStartDate) & ", Second: " & Second(iStartDate)
Regards,
Advansys SupportWebRequest in System.Net namespace, we are not sure whether you can use it in VBScript.
However, you can use HTMLDom object then use its methods to access URL. In Formativ, you can use “Utilities.HTMLDom” to acesss HTMLDom object, see the Formativ Language guide for more information.
Sample code below access the URL using Utilities.HTMLDom then use Document (IHTMLDocument2 instance) to get InnerHtml.
dim oHtmlDom set oHtmlDom = Utilities.HTMLDom if (oHtmlDom.LoadFromURL("http://mycompany.com")) then msgbox oHtmlDom.document.body.innerhtml end if set oHtmlDom = nothing
Regards,
Advansys SupportThanks for your post.
We haven’t tested Formativ 2.0.2 in Windows 7 shipping release, however, in theory it should work. It was tested with Windows 7 RC2 shortly prior to the final release.
Please restart the machine and run 2.0.2 installer. If issue continue, please rename following files in “C:windowssystem32” folder then try again. You will need to install as Administrator, right click the installer (i.e. formativruntime.exe) and choose “Run as Administrator” option.
1. Rename shgrsdrv.dll to shgrsdrv.dll.bak
2. Rename unvid32.dll to unvid32.dll.bakHope this helps.
Regards,
Advansys Support[This message was edited by Support 2 on February 07, 2010 at 10:53 PM.]
No problem. Please feel free to post an enhancement request to Novell or GroupWise Token API forum.
Regards,
Advansys SupportJanuary 14, 2010 at 3:16 pm in reply to: Help! personalizedalized Emailer 2.0 problem (1 on 2 email addresses from book skipped) #9078Our engineers found GroupWise APIs which cause skipping Address Book entries. We will report this behaviour to Novell.
We also found a workaround which seems to fix the behaviour. We have updated Personalized Emailer (2.0.31) which now in beta stage. We will release this version once beta stage complete. If you are interested to test the beta, please send a message to support (support@advansyscorp.com).
Regards,
Advansys SupportThanks for the clarification.
Browsers usually set to add title, date, page number and URL to any page printed from the Internet. You will need to change browser print settings. Link below shows steps to change print settings (follow the Internet Explorer 6 & 7 instructions):
http://www.mintprintables.com/print-tips/header-footer.php
Hope this helps.
Regards,
Advansys SupportYou can use Portal.HTML property to get the HTML source for each Portal. Setting the HTML property will render the page within the Portal. See Formativ Language Guide (Portal object) for more information.
If you use Portal.URL to set Portal contents then you can use example code below to extract Portal HTML, update contents and reset.
Set oPortals = GroupWise.PortalManager.Portals Set oPortal1= oPortals.Item("PORTAL1") If not (oPortal1 is nothing) then iHtml = oPortal1.html iHtml = replace(iHtml, "about:blank", "NewText", vbTextCompare) oPortal1.html = iHtml end if set oPortals = nothing set oPortal1 = nothing
Alternatively, if you use Portal.HTML to set page contents at the beginning then you should update it prior to set.
Regards,
Advansys SupportUnfortunately you can not provide parameters to WritingToolsTextLanguage() token.
You can try PrefEnvironment() token to set language but I am not sure whether it will set globally or only to draft message, you may need to set language to previous state once draft message complete.
Regards,
Advansys SupportYou may be able to change language using following GroupWise Token APIs.
WritingToolsTextLanguage()
quote:
Displays the Writing Tools Text Language dialog box.
Token IDBFTKN_WT_TEXT_LANGUAGE or 429
Syntax
VOID WritingToolsTextLanguage()
PrefEnvironment()
quote:
Sets the default Environment options.
Token IDAFTKN_SET_ENV or 611
Syntax
VOID PrefEnvironment( [ANSISTRING Language];
[ENUM AdvanceOnDelete];
[ENUM NewScreenOnSend];
[WORD UpdateRateSeconds];
[WORD UpdateRateMinutes];
[ENUM OpenItemAction];
[ENUM OpenAttachmentAction];
[ENUM Mnemonics];
[ENUM PromptEmptyFilter];
[ENUM PromptEmptyFind];
[ENUM AutoSpellCheck];
[ENUM LaunchNotify])
Formativ example code:
groupwise.WritingToolsTextLanguage()
Hope this helps.
Regards,
Advansys SupportGreat news, thanks for sharing the idea.
Regards,
Advansys SupportYou can access documentations from different location, see below some common access point:
– Formativ Runtime:
* In GroupWise client – Help menu – Formativ Help
* Start – All Programs – Advansys Formativ Runtime
* C:Program FilesAdvansysFormativHelp (i.e. runtime_guide.chm)– Formativ solutions (i.e Template, Stationery, etc):
* Start solution from GroupWise toolbar or message toolbar – click Help
* C:Program FilesAdvansysFormativHelp (i.e. sol-stationery.chm)In order to use the solution, see solution’s documentation “Quick Start” section.
Hope this helps.
Regards,
Advansys SupportIf you wish to include SmartFields for eDirectory/NDS fields in your stationery, then you will need to install these ActiveX controls. Please see Help – “Support for eDirectory/NDS Fields” section for more information. Place a check mark at “Do not show this message again” if you do not want this warning to appear again. You can always allow the warning to appear again – see the SmartFields settings.
Once you installed these controls, you will need to manually register it, see the post below for instrusctions:
http://www.advansyscorp.com/forums/topic/551104875/Regards,
Advansys SupportWe can provide the source, if you agree to provide us with any changes that you make to the source. If it is something we feel may be useful to other GroupWise users, we could consider publishing an update to the GroupWise Cool Solutions community.
Please send a message to support (support@advansyscorp.com) so that we can send the applet to you.
Regards,
Advansys SupportWe have reported this issue to Novell but haven’t heard any response yet. You can also post GroupWise Object API related questions into the following forum:
http://groups.google.com.au/group/novell.devsup.gwobjapi?hl=enIn regards to alternative approach, you could consider to use Token API to add attachment. See ItemAttachmentAdd for more information.
Regards,
Advansys Support -
AuthorReplies