Measurement Studio for .NET Languages

取消
显示结果 
搜索替代 
您的意思是: 

Example Text not Visible

When I am using the examples for DAQmx in Visual Studio .Net 2003 (Specifically in VB), when I run the examples, none of the text on the forms is visible.  This is not true when I make my own forms.  Any ideas on what property I am missing to make the text visible.  Just to be more clear, the text on the forms includes the buttons, dropdown boxes, etc too.
 
Joe
0 项奖励
1 条消息(共 19 条)
5,877 次查看
I'm not sure I understand the problem. What version of DAQmx do you have installed? Could you include a snapshot of what the example looks like when it runs?

Thanks

Bilal Durrani
NI
0 项奖励
2 条消息(共 19 条)
5,856 次查看
I was originally using DAQmx v 7.4, then I upgraded to v8.  I still have the same problem. I am attaching a picture of one of the DAQmx examples that came with Measurement Studio 7.1.    As you can see, there is no text on the different controls on the form. If I were to click the dropdown box, there would be no text there, either.
0 项奖励
3 条消息(共 19 条)
5,851 次查看

Hi Joe,

You're screenshot doesn't appear to have been posted correctly.  Can you give this another shot?  Thanks.

0 项奖励
4 条消息(共 19 条)
5,832 次查看
Ok, lets try this again.  Here is the screenshot.
0 项奖励
5 条消息(共 19 条)
5,826 次查看

This is weird. Could you attach the project that built this? The same example looks fine on my machine. I'm attaching the example project i have on my machine. See if that has the same problem. I have DAQmx 7.5 installed.

Bilal Durrani
NI
0 项奖励
6 条消息(共 19 条)
5,817 次查看

I tried yours.  It gave me an error that was blank as well.  Here is the code I was using.

 

http://tallulah.kennesaw.edu/jfw1701/vb.zip

0 项奖励
7 条消息(共 19 条)
5,811 次查看

The example runs fine on my machine. A couple of questions.


Does this happen with any VB.NET project or is it just the DAQmx shipping examples?
What is your current OS regional setting?

Thanks
Bilal Durrani
NI
0 项奖励
8 条消息(共 19 条)
5,809 次查看
This only happens with the included examples.  All other code I write on this machine shows up correctly.  The regional setting is set to English(United States).
0 项奖励
9 条消息(共 19 条)
5,807 次查看


Im not sure what might be happening here. The example i got from you is identical to the one I have here. Both your example and the one I have is working fine. Perhaps you have a missing font? If you can see the text in desginer, try selecting another font for the labels and see if that shows up. I'm assuming that you're using DAQmx 8.0 and that the text shows up in the designer for you.



Bilal Durrani
NI
0 项奖励
10 条消息(共 19 条)
5,798 次查看