Jim Groark's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. loading mesh like mesh viewer
is there a way and if so how can one load mesh files like the mesh viewer loads them, I took just for kicks the tiger sample and loaded a mesh that a friend made and it dident load right, rotates right off the screen, I dont really understand VC++ much to find my way through the mesh viwer code I am using C#, and help would be great. I did both of those and maybe its not my lights, let me explain whats happening. when I load a mesh the texture color changes, it should be a rust color but shows up as a gray color what could be causing this ...Show All
Windows Forms Preventing user from changing rows in a datagrid
I have a datagrid that requires a value entered into the first column of each row. I can force the user to stay on that column using the currentcellchanged when they are tabbbin. The problem I have is when the user uses the mouse to click on datagrid. A new row is added. Does any one know of a way to prevent the u ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA framework for non C#
One of the great advantages of the .NET framework is that developers can work on the same project in different programming languages. As I'm reading about XNA, it seems that this will not be possible with the XNA framework. Will the only programming language that has access to the XNA framework be C# As you probably ran across in your research, the XNA Framework demos we showed were in fact written in C#. We're still in the process of evaluating what languages we'll support as we move forward with the XNA Framework. Was there a specific language you had in mind I'll be happy to make sure the rest of the team gets your feedback. ...Show All
Visual Studio strange file not found error..
I have the following in my .csproj file: < Target Name = " AfterBuild " > < Copy SkipUnchangedFiles = " true " SourceFiles = " $(TargetPath);$(TargetDir)$(TargetName).pdb;$(TargetDir)$(TargetName).xml " DestinationFolder = " c:\gsp\common\bin " /> </ Target > (We test the software in an other location than $(TargetDir)) And occasionally I get the following error, although I have verified several times that the file indeed exists. Error 1 Unable to copy file "C:\GSP\Library\GspLibrary\bin\Debug\GspLibrary.xml" to "c:\gsp\common\bin\GspLibrary.x ...Show All
Visual C++ VS.Net 2003 Project Configuration out of date after build solution.
I am moving an application from VC++6.0 to Visual Studio .Net 2003. If I build my solution, then immediately select Debug | Start, I get a dialog that informs me: These project configuration(s) are out of date: .... a list of most of the projects in the solution. Would you like to build them How do I identify why the IDE thinks the project configuration is out of date although its just been built Is there any way to get list of the targets that are not up-to-date Any suggestions would be appreciated. Unfortunately there is no easy w ...Show All
Visual C++ Matlab R13 .m file to VC++ library
Hi people ! I want to learn as how to convert Matlab .m files to VC++ library. My intention is to port functions like fft2 and dct2 to VC++. Can anyone give me an idea as how to compile using mcc ( I am confused with the numerous options mcc has !) Moreover ,once when I compiled the .m file and obtained the .hpp and .cpp files and added them to my project; while compiling it was givin lots of linking errors . So if someone has done it previously please let me know as what all directories need to be included It would be really nice if an example is taken to illustrate all this for example take the imread funct ...Show All
Windows Forms DataGrid / Combobox / Query
Hi there, i’m quite new on this VB2005 Coding, but there aren’t books in German language on this yet. So what i want to do: a DataGridView shows the content of my query, so far so good. Now i want to filter this DataGridView by a choice in a ComboBox, e.g. i choose "January" in the ComboBox, now the DataGridView should contain all Datasets from my table which contain "January" in the Column "Month". In VBA i know how to do it, but now i just don’t know how Hope someone can help me! Thank you guys! Michael Hi, If that's your situation then it would cause you some extra code. The Filter doesn't automatically skip empty values. Just par ...Show All
.NET Development dll file is getting locked even after the domain in which it is loaded is unloaded
hi, i am having a problem with dyanmic loading of assemblies.the problem is that the dll file is getting locked even after the domain in which it is loaded is unloaded.The code below shows a dll search being loaded in domain appdomain.then we get a specific type from the dll and unload the domain thereafter. Now if we want to replace the search dll or delete it ,it is shown as being used and hence can't be deleted. But unloading a domain should have made it free.Does anyone have a solution for this behaviour .please help.code is as follows =============================== AppDomain appdomain = AppDomain.CreateDomain("loader domain"); ...Show All
Software Development for Windows Vista Whats the differente with biztalk 2006?
Thanks Biztalk is designed to move messages from one place to another. It does this realibly etc... In a standard biztalk process (unless you have an orchastraion - which is basiclly the same thing as wwf) there are no execution phases - A message enters the system from an Import port and imdeiatlly flows thru to the appropriate output ports. WWF on the other hand is a execution engine. For example - once the message arrives at the output port what happens to it. For example what does the person deailing with it have to do before it can be sent for fullfilment etc.. You used to be able sort of to do thesew things wit ...Show All
.NET Development Capturing console window close event
Howdy, I'm writing a console application and I'm looking to get notified, either via an event or delegate, when someone closes a console window either by the system menu or clicking on the X. Thanks, Chris Call GetConsoleWindow to get the HWND of the window. Then call SetWindowLong to install a hook for that window and capture WM_CLOSE. ...Show All
Windows Forms Can smart clients be deployed without administrator rights
is it necessary for the user logged into the client machine to have administrator rights on the machine in order to deploy smart client thru a URL link or thru .NET framework update etc. so as long as the assembly to be deployed is already part of the trusted assemblies or the administrator has already set the machine trust levels&nbs ...Show All
Visual C++ Can I change bmp into transparent png file from GDI+ in visual studio .net?
Can I change bmp into transparent png file from GDI+ in visual studio .net Hi, I think that it worth looking at following article on codeproject: http://www.codeproject.com/bitmap/trans_cimage.asp Max ...Show All
SQL Server Secure .NET 1.1 application from users
Hi all. I am developing an distributed VB.NET 1.1 application with a TripleDES capable socket layer for communication with my server app. I need to secure the distributed app from the users within the organization I am developing it for (a franchise). I do not wish to store any encryption keys in the source code as these would be obvious to any seasoned hacker through decompilation of my binaries (even with obfuscation). I have decided to use the windows DPAPI (under machine storage mode) to secure manually entered (at installation) encryption layer keys in the registry. The salt values for this DPAPI mode also need to be secured, ...Show All
.NET Development Collection(Of Thread) - Store Thread objects problem
Hello, I have been struggeling for days with getting my application to work. It basically allows a user to download a file from a website, stop/resume the download and various other options. My problem is that i create a new thread for each file in the download queue. To keep track of all the threads created i store them in a Collection for later use. Example: dim MyThreads as New Collection(Of Thread) Now let's say MyThreads contains 3 threads. Let's abort the work on thread 1 (0-2) = 3 Dim CurrentThread as Thread = MyThreads(1) CurrentThread.Abort() How can i create a reference to CurrentThread so that it can attach ...Show All
Visual Basic Why the interfaces (from a reference) are not accessible ?
Hello everybody, I have created a simple . Net project. using Visual Basic ...Where there are two interfaces (A and B) and a class C. Interface A has been declared by myself in the *.vb file. Interface B is a COM interface, that I have obtained from a tlb reference. Class C implements both interfaces. The problem is that after: Signing with a strong name. Building. Registering and creating the type library (using regasm and gacutil). I can only see the methods of the B interface (from a VBA code that use the gen ...Show All
