|
I have writen an app that uses DirectX for 3D graphics. It runs fine on my system but the 3 people i have given the program to, to run have all had errors like this:
process id=0x1c8(456), thread id=0x774(1908)
I have made sure they have the latest .NET framework and DirectX.
But as far as i can understand it only work on my system.
If any one is intrested you can download the executable and the source form this page:
http://www.monkeycmonkeydo.co.uk/Stage4/hm.htm
Any help wiht this would be great.
MAny thanks
|
|
|
|
|
The most likely source is different graphics cards, I would have thought.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
|
Is managed DirectX installed on all other machines?
'A programmer ist just a tool which converts caffeine into code'
|
|
|
|
|
Is there a difference between the "End User" versions of managed DirectX9 and DirectX9?
I tought DX9 covered it all?
|
|
|
|
|
If you install Dx9, managed Dx is only installed if the .NET Framework 1.1 is already installed on your machine.
Take a look at the Microsoft.NET-folder in C:\Windows. Is there a folder called "DirectX for Managed Code" with some dlls? If yes, managed DX is installed.
André
'A programmer is just a tool which converts caffeine into code'
|
|
|
|
|
Hi,
I have this string, ",(None Active),1.0.0,1074005504,AL2000000,1_271005132951,ALLTEL,ripItem_271005132951,BREW Application,Operater Managed Item,27-OCT-2005 13:30:00;"
and I run this regex against it, "([\w\s]+)*,([\w\s]+)*,1\.0\.0,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*"
When ever I run my code, or run the expression in Expresso, the regex engine freezes up or something and doesn't stop searching. Is there something wrong with my regex? Is there a way to modify it to make it more efficient?
What it basically needs to do is ignore anything that's in between a comma (,) as you can see by the example, it ignores every value in the string excepts for the "1.0.0"
/\ |_ E X E GG
|
|
|
|
|
Hi,
this regex should do the match:
([^,]*,){2}1\.0\.0,([^,]*,){7}
/cadi
24 hours is not enough
|
|
|
|
|
I found out what the problem was... I was using grouping (...) unecessarly. When you use grouping the regex engine creates a sort of variable (slowing things down), when I wasn't even using the grouping.. I just copied it from some example I saw.
My whole regex opperstion only takes 9 seconds now, compared to never ending.
/\ |_ E X E GG
|
|
|
|
|
I forgot to mention that I also need help on how to open a mysql database in C#. Any source code would be greatly appreciated.
|
|
|
|
|
The tutorial you google will include that as well.
|
|
|
|
|
This article[^] describes how to use the System.Data.Odbc classes to connect to and manipulate a MySql database. A searche for MySql in the search window at the to will reveal many others that might be useful.
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
How do I upgrade a mysql database that is tied to visual c#? How do I make a loading page using visual c#? How do I take the value in the database and utilize it in visual c#.
|
|
|
|
|
use the dataAdapter class and the setup wizards provided in visual studio. If you are not familiar with ADO.NET, I suggest you google mysql and C# and look for some tutorials.
|
|
|
|
|
Hi,
I have this product which is speech related one, i have to redistribute bunch of .MSM files , and one .exe ( all the dll's i merged using ILMerge into an .EXE), All this i can using visual studio setup wizard which generates a final .MSI file which works great, however what should i do to generate .EXE as my final result instead of .MSI
thanks in advance
Samar Aarkotti
|
|
|
|
|
You want your installer to not be a .msi ? why ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
one reason is i am too lazy to write a code protection (trial version) i have tried lot of way's like XML digital signatures , but still it can be broken, so i have finally decided to make 2 version's trial(with limited features) and full .
there are many softwares i can buy who does this kind of licensing and versioning, but all of them require .EXE file to wrap their code around i guess. that is the reason i was asking.
|
|
|
|
|
I don't get it. Surely the exe that these products want to use is the actual program, not the installer ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Not to mention that most exe protectors don't work on .NET apps.
--
Joel Lucsy
|
|
|
|
|
Hello everyone. It's me again, and on my project teh user is suppose to press a button, and then when the post back occurs I check what the user entered in in the dynamic text box, and if it is less than a certain number it should put a different number that is valid in. Let's say the user enters in 10, but the minimum number to enter in is 15, it should put that number in the text box. I tried Request.Form.Set() but that is apparently read-only so that did not work. Thanks.
Sincerely,
The Major Rager
|
|
|
|
|
Are you having trouble checking the value? If so, use the RangeValidator class, you can set the control for it to validate, maximum value and minimum value. If the value of the text box is outside the range, you can set the value of the text box to the minimum. I would do this in the page_load section in an if block "if (Page.IsPostBack)"
ex
if ( Page.IsPostBack )
{
rangevalidator.ControlToValidate = "textbox1";
rangevalidator.MaximumValue = "100";
rangevalidator.MinimumValue = "15";
if ( rangevalidator.IsValid )
{
// do your thing
}
else
{
textbox1.Text = "15";
rangevalidator.ErrorMessage = "whatever you want to tell the user";
}
}
|
|
|
|
|
Hi, thanks for replying to my message. I actually used this
<br />
<br />
((TextBox)(Page.FindControl(identity)));<br />
<br />
where identity was the name of the text box
and I was able to get and cast the control as a text box
and then manipulate the data in it. Thanks a lot for replying however!
Sincerely,
The Major Rager
|
|
|
|
|
I wanted to do some TAPI programming. I want to make applications like answering machines, phne recorders, etc. How do i go about this? Is there some kind of TAPI class in .NET, else where should I look for information to get me started?
|
|
|
|
|
Mridang Agarwal wrote: I wanted to do some TAPI programming. I want to make applications like answering machines, phne recorders, etc. How do i go about this? Is there some kind of TAPI class in .NET, else where should I look for information to get me started?
There is no TAPI class in .NET.
Your best bet is this here[^].
TAPI and .NET aren't the best of bed-fellows. The Tapi3 COM object has problems when used via COM Interop. I still prefer to write C++ COM objects that do the telephony interaction via TAPI 2
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
How can i display three state checkboxes in a treeview. When I set the Checkboxes property to True in a treeview, i get a two state checkbox next to each item. But what i was looking for was a three state checkbox?
|
|
|
|