Re: VB2005 Primitives and text problem.
- From: "Galen Somerville" <galen@xxxxxxxxxxxxxxxx>
- Date: Thu, 15 Mar 2007 08:41:15 -0700
My real problem is, all the examples seem to be in C# and I'm using VB2005.
I have two requirements for this UserControl. I need to draw lines and text.
The lines are actually traces like the ECG traces you see on bedside
monitors at a hospital.
On this trace I will place small vertical markers with text displaying the
amplitude or latency.
That's why I choose Primitives.LineList. I do not have to use Manager. I got
that from a C# example.
What I really need is some VB2005 code to set up the Directx device, setup
the Primitives and finally Render to screen.
The Font.DrawText seems simple enough.
The screen can be PictureBox or Panel.
Galen
"Galen Somerville" <galen@xxxxxxxxxxxxxxxx> wrote in message
news:OLfOk3wZHHA.4720@xxxxxxxxxxxxxxxxxxxxxxx
Imports Microsoft.DirectX.Direct3D lists Manager but Font does not
include DrawText.
Imports Microsoft.DirectX.Direct3DX does not have Manager.
If I reference both dll's and regardless of Imports, either Manager will
fail or Font will fail.
Galen
""WenJun Zhang[msft]"" <wjzhang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:J$v4t1uZHHA.4088@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Galen,
What is the detailed error info after you add both
microsoft.directx.direct3D.dll and microsoft.directx.direct3Dx.dll as
references?
We say most objects in microsoft.directx.direct3DX.dll and
microsoft.directx.direct3D.dll are both under Microsoft.DirectX.Direct3D
namespace. So Imports Microsoft.DirectX.Direct3D should be ok.
Look forward to your update.
Thanks.
Sincerely,
WenJun Zhang
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to:
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
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://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: VB2005 Primitives and text problem.
- From: "WenJun Zhang[msft]"
- Re: VB2005 Primitives and text problem.
- References:
- VB2005 Primitives and text problem.
- From: Galen Somerville
- RE: VB2005 Primitives and text problem.
- From: "WenJun Zhang[msft]"
- Re: VB2005 Primitives and text problem.
- From: Galen Somerville
- VB2005 Primitives and text problem.
- Prev by Date: Re: VB2005 Primitives and text problem.
- Next by Date: Re: Problems with depth-buffer
- Previous by thread: Re: VB2005 Primitives and text problem.
- Next by thread: Re: VB2005 Primitives and text problem.
- Index(es):
Relevant Pages
|