Hello Julian,
Thanks for using Microsoft Newsgroup Support Service, this is Ji Zhou
[MSFT] and I will be working on this issue with you. I am sorry for that
you are suffering from the unflagged issue.
As to the issue, I have tested with a few of machines on my side. The
result is quite different and strange. The following is the detailed,
Reproduced environments,
*Two machines with Windows Server 2008 SP1, Office 2007 SP1
*One machine with Vista Enterprise SP1, Office 2007 SP1
*One machine with Vista Enterprise, Office 2007 SP1
No Reproduced environments,
*Two machines with Vista Enterprise SP1, Office 2007 SP1
*One machine with Windows Server 2003, Office 2007 SP1
This issue seems to be OS environment related. And as you know, for the
Office application and FM20.dll symbols are not provided, it is hard to
debug and find what the problem is there. But I have already consulted the
Office Product Team to see if anyone can help to investigate this issue. Of
course, I am still doing future more research on this.
And currently I have found that the error only happens when we are trying
to set the Curline property to 0. If we are setting the Curline property to
1, the codes will work correctly. So may I suggest the following approach
as a workaround at this time. And if I have got a reply from the product
team, I will inform you as soon as possible.
------My Workaround-----
Replace the following line,
Me.TextBox1.CurLine = 0
with
Me.TextBox1.CurLine = 1
SendKeys "{UP}"
So when the Form is opened, the cursor will locate at firstline.
Hope this helps more or less! Have a nice day!
Best regards,
Ji Zhou (
[email protected], remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.