Christopher Bennage's Q&A profile
Visual J# J++ to J# Conversion Lots of Questions
Greetings, I'm a developer for a large open source project ( http://immunesoft.sourceforge.net ) that was written in J++. Hats off to J++, at the time it was picked to start the project it was a very pleasant system to develop with J/Direct that allowed me to access system-level functions. This is very important for a security-centric system that needed to interact directly with the operating system and still be friendly enough for rapid development. I've pushed J++ pretty much to the limit, but its time to move on. I've been working on converting the Agent component over to J# 2003 (that's 1.1) but its taking a LOOONG time. At this point, I'm still seeing thosands of errors although I've made a lot of progress. I've got a pile of qu ...Show All
Architecture web client software factory
hi everyone, can any one tell me what is the purpose of web client software factory... thanks for your valuable information Hi, its the framework which helps in building web clients in terms of providing a basic infrastructure which all clients need, applying best practices etc. Microsoft has recently released the web client software factory which you can go thru following link : http://www.codeplex.com/wiki/view.aspx projectname=websf http://DotNetWithMe.blogspot.com vikas goyal ...Show All
.NET Development Creating a object without type information
Hi all, Is there any way i could create an object in a server application and send it to the client which doesnt have type information Thanks, Suresh. You shouldn't pass MBR object references between client and server. You should have a proxy to a well known object on the client and call it through an interface. This way you won't have any business on the client, just metadata. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. pop up box? in game
Hi newbie problem, i am trying to create a few options for the player to choose from like: 10 x 10 = 100 10x10 = 1000 10x10 = 10 i was going to do this as images as i cannot think of a better way of showing on screen is there an easier way then if the person clicks on a certain versinity like x = >10 it will display a message if wrong box selected explaining the answer how can i do this can anyone help thanks If you just want to show some text, there are a few different libs available: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1142823&SiteID=1 ...Show All
SQL Server Restoring Backup from MS SBA 2007 to MS SBA 2006.
i was using a MS SBA 2007 trial edition and i have barely six days for it to expire. So i bought a new MS SBA 2006 and intend to restore previous backup from 2007. But when i am performing the restore task, the following error comes up "The following database error occured the back-up database has on-disk structure version 611. the server support version 539 and cannot restore or upgrade this database. RESTOREFILELIST is terminating abnormally.' Can anyone help me as i have lest than 6days to restore backup to another location. Thanks, Olajumoke Toriola ...Show All
Visual C++ HELP! Enigmatic LNK2005 error defies solution in C++ project
Hello, I am getting the following error on attempting a release build. The Debug build compiles AOK. Error 1 error LNK2005: ___@@_PchSym_@00@UwlxfnvmghLzmwLhvggrmthUxxUnbLwlxfnvmghUerhfzoLhgfwrlLCAAFUkilqvxghUghwkkPehUghwkkPehUivovzhvUwzgzvovnvmgOlyq @ already defined in dataelement.obj dataset.obj I have dealt with LNK2005 errors before, but normally the text of the error is more helpful. How do I decode this so I can find the error I went through all the project setting differences between the release and debug builds, changing the release setttings to match one by one. It did not help. I hand searched my code for the usual LNK2005 suspects to no avail. I was getting stdafx.h not included errors which I solved by adding ...Show All
Visual Studio Team System Adding a previously deleted directory
Hi, We've come up with an interesting issue with TFS that I'm hoping to find a workaround for. We had a directory named 'Core' (with a number of sub directories) in source control which was deleted. Sometime after this a directory with the same name, and existing at the same position in the directory structure, was added rather than undeleting the old directory. This has caused the old deleted directory and previous structure to not be viewable in Source Control Explorer - the only way to view them is by syncing back to a change before 'Core' was readded. This causes a number of problems, such as not being able to undelete the old structure (due to the existance of the new directory) and not being able to view the old source without pri ...Show All
Commerce Server Shipping Rates.
We need to display the prices of shipping methods with the name of the method on our UI. Is there a way to handle this We do not want to run pipeline for each shipping method and compute the result and present it to user. Thanks To get the details of the shipping rate method, you will need to get a ShippingMethod using the ShippingMethodManager. The rate details are stored in ShippingMethod.ShippingRates. As mentioned above doing this in a runtime app is not recommended. -David ...Show All
Windows Forms "Cross-thread operation not valid" exception inside the Control.Dispose()
Hello, I'm converting an existing application from .NET1.1 to NET 2.0. The app. has a form and a custom container control with many children controls on it. The form, container control, and all children are created in the main thread. At some point a user clicks a button on the container control and the following happens: 1. A new container control gets created and added to the form (in the main thread) 2. A new thread starts to load data for the newly created container control. 3. The old container control is disposed by a direct call to Dispose() from the main thread. 4. One of the old container's children control's Dispose method fails: System.InvalidOperationException: Cross-thread operation not valid: Control 'CCity' ...Show All
Visual C++ Linker Problem: Import Library from DLL missing symbols in DLL?
Hey there, I'm using Visual C++ 2005 Professional and am currently in the process of porting Python 2.5 to Mobile 5 (native, as opposed to using the PythonCE build). I have succeeded in building the DLL and an executable shell, both of which have passed a number of the standard Python test scripts. However, having just the basic library built, I set out to also compile in several standard libraries that are built as seperate DLLs (such pysqlite, ctypes, etc). While all of these have successfully compiled, when attempting to link them against the import library (.lib) deposited from the Python DLL, I am experiencing consistent linking issues. To avoid pasting a huge log, let me post just a couple of examples of the unresolved symbols: 1&g ...Show All
Visual Basic does form exist?
Is there a way to check if a specific form exist from code Davids Learning To check if an instance of a specific form type exists There is an Application.OpenForms property, I believe, you could iterate through them all and use the is keyword to see if any of them is of the type you're looking for. ...Show All
Visual Studio Team System FileVersion automation
I have been looking into team build recently and I have a question that I dont have an answer yet. Our project has this requirement that the fileversion of the assembly be updated during the build process. I found an easy solution with the help of a few online posts from gautam goenka. Now the problem is that if the code base hasnt changed and if a build is issued on the project we would like to retain the same fileversion on the assembly. Essentially, the assembly file version should be updated only if the code base has changed and be ignored if the codebase hasnt changed. Can this be done in anyway easily Thanks much. Suren. You should be able to use MSBuild's built in dependency ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Skinning in BasicEffect
The ModelMesh is loaded with verts of the correct format, so if our file uses blend weights then it has the blend indices and weights. How are these blend weights being used in the BasicEffect Is the shader using a Matrix Palette or is it ignoring the skin info Changing the transforms on the models bones seems to do nothing, which leads me to believe it is doing the latter. Also, if we are using our own matrix palette shader and want our ModelMeshParts to be grouped by the number of blend weights per face, how can we use your Model class The ModelMeshPart collection is immutable :( the animate thing in hlsl put in number of bones,------------------ in your x file look it up (this is curent set ...Show All
Visual Studio Team System SMPT Server name in Team Foundation Server Installation
Hi All, I installed Team Foundation Server, and missed specifying SMTP server name. Now my installation is completed and is working fine, and I want to mention SMTP server information to it- since I want to send emails via 'Project Alerts' now. Can someone suggest me how can I mention SMTP server information on my insalled server. (I tried sending emails using Project Alerts but they did not work.) I would really appreciate help in this regard, Kavya PS: Here is the documentation which specifies where I was supposed to enter the SMTP server name: On the Specify Alert Settings page, select Enable Team Foundation Alerts , and type the following information: In the SMTP server box, type the name of the server that you ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to draw an arc between two points
Im trying to make an application in C# to draw an Visio Drawing. The problem is that I dont know how to implement the ElipticalArc statement in the .vdx file. Is there a way to draw an eliptical arc between two points and thru a control point with direct3d Yetti helped me to solve the problem in a math forum. http://www.mathlinks.ro/Forum/viewtopic.php p=644880#644880 ...Show All
