Antarctica's Q&A profile
.NET Development Referencing Assemblies Through Code
How can I reference an assembly through my code, I don't think it can be part of a project, this is related to my previous thread about 3 days ago, but I prefer to keep different questions in different threads. Anyways, Upon running my game, it will build a .exe, from the contents of a .cfg file, I need the .exe that it outputs, to be able to reference my main Game, I need it to be able to change variables and stuff, they are mostly all set to public and what not... Two ways to do this. You could let your main form generate events, install event handlers when you load and initialize your dynamic assembly. Or have a class in your assembly implement an interface. ...Show All
Visual Studio 2008 (Pre-release) Orcas and TFS
Hello! Does the Orcas CTP Oct2006 work together with the Team Foundation Server Regards CSharpNewbie22 Yeah, the Beta 1 has everything included Thanks CSharpNewbie22 ...Show All
SQL Server fyi - broken link (Project REAL: Enterprise Class Hardware Tuning for Microsoft Analysis Services)
On http://www.microsoft.com/sql/solutions/bi/projectreal.mspx is a link to a useful article: Project REAL: Enterprise Class Hardware Tuning for Microsoft Analysis Services http://download.microsoft.com/download/4/1/F/41F09116-19B3-40FE-9D54-D1E9B7AF9E82/REAL_Ent_HW_Tuning.doc The link is broken, in case anyone on the MSDN side might be able to fix it. A google cache is available here: http://66.102.9.104/search q=cache:KnpD0fuGHyIJ:download.microsoft.com/download/4/1/F/41F09116-19B3-40FE-9D54-D1E9B7AF9E82/REAL_Ent_HW_Tuning.doc+REAL:+Enterprise+Class+Hardware+Tuning+for+Microsoft+Analysis+Services&hl=en&gl=uk&ct=clnk&cd=2&client=firefox-a ...Show All
Smart Device Development Using a cdb database with evc++ 4.0
Hi there, I'm quiet new at this stuff (former VB6.0 programmer) and now i'm trying to build an apllication wich should access a database with 5 table's. This application should be running under windows CE 5.0 and therefor i chose the *.cdb database. This is how far i'm right now, i don't have enough background in evc++ or c++ to fully understand the info from the MSDN. Has anybody got an example for me to get me on the way the fact i choose this dBase is that *.edb hasn't proven itself yet, and i'm aware of VB.net but the problem is i'm programming extra functionality to an existing application. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Code4Fun Framework Timer compile issue
Hi, I am attempting to make use of the QueryPerformanceCounter timer, as detailed in the Coding4FunTutorial. After following the steps, add a new folder, copy the dxmutmisc.cs file to the project. I get 133 errors most saying "The type or namespace name DirectX does not exist in the namespace Microsoft( are you missing an assembly reference )" ANy direction would be appreciated. Thanks Jeff Hi, I am wondering if there is anything else I need to install to use DirectX besides the SDK I am pretty much going in circles here trying to resolve the compiler errors. They all point to the.cs files, add a file to the project to get rid of one error and another crops up. Has anyone ha ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is physics???
XNA Framework = MDX Where is game library ! Actors, Scenes, Physics, Reactors, Particles, AI, etc... There's a port of Opal (brilliant C++ high-level physics framework without pluggable physics middleware) to C#/XNA out there: http://www.codeplex.com/Wiki/View.aspx ProjectName=xnadevru It currently runs on Ageia PhysX (aka Novodex) and Ode (through Tao.Ode I believe), there's also an announcement from the developers that they're working on supporting the Bullet Physics Engine (which was created by an ex-Havoc developer). I think this is the closest thing to a DirectPhysics or XPhysics you can get at the moment. -Markus- ...Show All
.NET Development Stripping diacriticals from string?
Is there a .Net string method that will strip diacriticals from strings That is, what can I replace ToNoDiacriticals with to get the following to work: string foreign = "Bia owie a"; if (foreign.ToNoDiacriticals().Equals("Bialowieza")) System.Console.Writeln("Works!"); Thanks Peter, 100% .Net code is even better! :) I wonder why the RemoveDiacritics does not work with the string "Bia owie a", the ending result will be "Bia owieza" instead of "Bialowieza". FoldString manages to fold the character correctly. Debug shows us that: " ".Normalize(NormalizationForm.FormD).ToCharArray() = { ' ' } Is this a bug on the Normalize function :| I don't know wh ...Show All
Visual Basic Saving TreeView Changes to Database
Hi all, I have a treeview control in a VB.NET 2005 form that shows item category/subcategory, so root elements are all categories and child elements are all subcategories. I pull the data off the database using code (no wizards), actually from two different tables. The user can add/change categories and subcategories. No deletions are allowed, user can only mark them inactive. To tie the categories to the subcategories I use a relationship between the two tables of the Access DB. That all works perfect. My question is on how should I save the changes back to the two tables. What would a good practice be I thought I could delete both tables (categories and subcategories) and traverse the treeview to save record by record but I do ...Show All
Visual Studio sandcastle and frame
Pls not use frame in index.html I'm trying to copy index.html in a content page and i can't for frameset. So i replicate my master adding a frame for header/menu but the horizontal menu doesn't open over second frame! Another suggest: change js: window.parent.frames[index] with window.parent.frames["name"] for easy development. If you're referring to the website output of the help file builder, I'm open to suggestions for an alternative method that supports the table of content. You can drop the frameset and table of content if you like. The member pages have a breadcrumb trail at the top of each page for navigation to the class/namespace pages. However, you'd lose access to any additional content ...Show All
Software Development for Windows Vista Filter-Pipeline run on the MultiThread ?
Filter-Pipeline seems to run on the MultiThread. In two filters, the thread that calls IPrintPipelineFilter::StartOperation put out seems to be different. Property-Bag(IPrintPipelinePropertyBag) has whether it is necessary to think about synchronization. It was thought that Property-Bag was able to be used easily more. Is it correct in such recognition The property bag is multi thread safe, so you don’t need a lock around AddProperty/GetProperty/DeleteProperty. InitializeFilter is called on the same thread for every filter, so there is no need to for any synchronization in the filters. StartOperation is indeed called on different threads. You may have to use synchronization if you have 2 or more ...Show All
Internet Explorer Development IWebBrowser2:Navigate() Err under IE7
Hi, This is an IE7 specific issue since it's been working fine so far under IE6. If I try to use a URI using http or https protocols on a C++ app using the Navigate method, I always get the same error: Cannot find "https://domain/path" Make sure the path ot internet address is.... Note that using the file schema works just fine (ie file:///c:/test.html) Any help would be much appreciated, Thanks in advance, For me, this problem only appears when calling Navigate() from a thread other than the main thread. Is this what you are experiencing If you move the Navigate() call into your main thread, it should function normally. However, when calling Navigate() from a spawned thread, IE6 works but IE7 f ...Show All
SQL Server #Error in total fields
I am getting a #error in my subtotal and total fields, I have data in a field (on a table) as follows which displays 0.00 if there is a zero in the divide by field, otherwise it performs the divide and gives me a percentage difference from the two fields. This works fine =iif(Fields!REPCYINC.Value=0,0,(Fields!REPCYINC.Value) / iif(Fields!REPCYPROD.Value=0,1,Fields!REPCYPROD.Value)) * 100 Yet when i try to get this in a total field by doing an AVG it fails, and gives #error, please help, no matter how many iifs a wrap aroun dit it doesnt help. This is the statement that #error's =round(avg(iif(Fields!REPCYINC.Value=0,0,(Fields!REPCYINC.Value) / iif(Fields!REPCYPROD.Value=0,1,Fields!REPCYPROD.Value)) * 100) ,2) Brian Weckler's blog ha ...Show All
Windows Forms Prevent Access to Alt-Tab Menu
Does anyone know how I can prevent access to the Alt-Tab menu when a specific form is in focus There are lots of ways other than Alt+Tab to switch away from your program and access the forbidden fruit. The Windows key or Ctrl+Esc works, Ctrl+Alt+Del, Task Manager is the ultimate escape hatch. You need to lock down the PC with a limited user account. ...Show All
Software Development for Windows Vista Multiple NTVDM.exe
I work for a corporation(TimeManagement Corporation) that uses a 16 bit application that runs in the virtual dos machine. Two years ago Microsoft released a security patch(MS04-012) that caused each new 16-bit file to open in it's own ntvdm thus not allowing our 16-bit application to communicate with other files that it calls. We contacted Microsoft about this but it was not taken care of until we posted on a forum. They then released a hotfix(KB841559) to fix this issue. We are now having the same problem with MS Windows Vista and would like to know if we can get a fix for this issue to allow our program to be compatable again. Hello I thought I would get a 3rd party view of the issue, so managed to gr ...Show All
SQL Server Regarding Parameters
Hi everyone I have 3 questions regarding Parameters. When building reports in BI. 1 How can I change the way that my Parameters sort in the drop down ie: Ascending/Descending (The drop down you see when running the report) 2 How do I type in a Parameter in-stead of Selecting from a dropdown 3 Can I access a Multi-selected Parameter from custom code (If yes, How ) Because I need to display all selected Parameters.. Any help regarding this will be much appreciated, even if you can answer just one. Thanks in advance Gerhard Davids This is my problem: One of my parameters displays the wharehouse to select, this is an extremeley long list in the dropdown. Now my user would prefer to select the wharehouse(s) b ...Show All
