WaaZ's Q&A profile
Windows Search Technologies WDS 3, Add-in for UNC/FAT, and Indexes on the server
I thought i read previously that with Vista you can access documents that are indexed on a server via the servers index rather than reindexing over the network. If all our clients were indexing over the network this would obviously be a problem. I have not seen any documentation that indicates how to use a remote index. Is this possible or is it automatic somehow Thanks. ...Show All
Visual Studio Installation of Security Update (KB925674) fails with VS 2005 Professional Trial
I have downloaded the image of the Visual Studio 2005 Professional Edition Trial and now it is not possible to install the Security Update (KB925674) from Microsoft Update. I read that one has to insert the DVD into the drive but trial users who have downloaded the image don't have DVDs. Is it not possible to install the update with the trial image Thank you. Thank you again for your reply. But I have searched my computer for the wmiscriptutils.dll and found it. Therfore I have to update my trial. ...Show All
Visual Studio Express Editions Turning my program into a useable one.
I cant figure out how to turn this program I made into a useable program by other people. Do you mean you want to make the application into an executable file If so, just go to Project > Build Project, or the like. It's called 'compiling'. (I've never used VC++Express, so I wouldn't know the exact menu(s) to go through.) ...Show All
Visual Studio 2008 (Pre-release) DataBinding vs Static classes
Working on May CTP... I'm trying to bind to a static class : public static class MyCommands { public static RoutedCommand ClearAll; static MyCommands () { InputGestureCollection ic = new InputGestureCollection(); ic.Add(new KeyGesture(Key.P,ModifierKeys.Control)); ClearAll = new RoutedUICommand("ClearAll", "clear", typeof(Window1),ic); } public static string Name { get { return "ok"; } } } And trying to use it on a Menuitem <MenuItem Name="mi1" Command="c:MyCommands.ClearAll"" Header="x:Static c:MyCommands.Name}" /> Everything works fine if i remove static operator on classe definition, any idea why You're right, probably is my installation that's fault ...Show All
Windows Forms Wrapping listview size to number of items
It there a way to wrap the length of a listview object to the number of items in the list You need to know before hand how many rows you are going to have. You can use this formula to programatically set the listview height. listview.Items.Count * listview.Items[0].Height + listview.ColumnHeaders[0].Height ...Show All
.NET Development Manually disconnect from network?
Is there a way in C# to disconnect from the current network Thanks, What exactly do you mean by disconect from the current network Could you please be more specific If you are wondering if there are APIs to do such things are change the wireless AP you are connected to or disable/enable a NIC the answer is there are no such APIs exposed in the framework for that ...Show All
SQL Server Query much slower on 2005 compared to 2000
We have a database developed using SQL Server 2000. We are in the process of testing it on SQL Server 2005. So far i've not done much testing but it has become apparant quickly that quite a lot of queries are performing much slower in SQL Server 2005. I am currently trying to figure out why a particular query is not performing well. One SQL Server 2000 it runs in around 6 seconds. On SQL Server 2005 it takes around 50 seconds. The query is this... SELECT StartBase, StartPoint, PickupPoint, PickupInstructions, SingleJourney, Destination FROM vwJobs WHERE StartDateTime BETWEEN '2006-09-01' AND '2006-09-23' vwJobs is a view in our database. The view includes many UDF's and also has a UNION which combines two seperate table structures ...Show All
Windows Forms Localization loaded from file...
I want create localization for my program, but I want to put resource (.resx) files into Language folder so I need a code of how can I dynamically load .resx file(s). For example, my resource file is called Language.en-US.resx and I want to load it into ResourceManager and to use it like I would if the resource is embeded into my application. How can I achieve this Thanks in advanced. took me a while to figure out also: private ResourceManager manager = new ResourceManager ( "projectnamespace.foldername.filename" , Assembly .GetExecutingAssembly()); where resx = Texts.en.resx my folder = Translations projectnamespace.Translations.Texts ...Show All
SQL Server RS2005 on Win2000
I've followed a couple of threads on this, but still haven't quite resolved the issue. RS 2005 is installed on a Win 2000 Server. The service seems to be running perfectly, but when I navigate to <localhost>\ReportServer, I get: Reporting Services Error -------------------------------------------------------------------------------- The report server has encountered a configuration error. See the report server log files for more information. (rsServerConfigurationError) Access to the path 'D:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\RSReportServer.config' is denied. -------------------------------------------------------------------------------- SQL Server Reporting Services I've manually c ...Show All
Visual Studio 2008 (Pre-release) TabControl and XmlDataProvider
I have templated TabControl and want to display in content part of it the value of data attribute of Item element from XmlDataProvider. But it seems that something wrong in my sintax. < UserControl.Resources > < XmlDataProvider x:Key = " TabSource " XPath = " TabControlItems " > < x:XData > < TabControlItems xmlns = "" > < Item name = "Tab 1 " data="TabData1" /> </ TabControlItems > </ x:XData > </ XmlDataProvider > < ControlTemplate x:Key = " TabControlTemplate " TargetType = " {x:Type TabControl} " > .... < ContentPresenter ...Show All
Visual Basic Is it possible to change the method body of a parameter's methods (SET or GET) within the current assembly.
I would like to change the method body of a parameter's methods (SET or GET) within a class defined in the same assembly as my application program. Is this possible Hi You cannot directly change the code within a type once it has been compiled. What you may be able to do (depends on the class definition) is inherit from the base class and override the properties setter/getter. You can put whatever code you like in your inheriting type. Shout if any of that sounds feasible and you need some help. Richard ...Show All
Visual C++ MFC and IJW
I have not been able to mix unmanaged C++/MFC code with managed C++ code using IJW. For example, the following code compiles but generates an exception when run: #include "stdafx.h" using namespace System; int main( array <System::String ^> ^args) { CFileStatus oFS; BOOL bStatus = CFile::GetStatus( _T( "test.tmp" ), oFS ); return 0; } What happens is the function 'AfxWinMain' is called, gets a pointer to the main thread but this pointer is NULL. I've spent 4 days working on this and I am at a loss as to what needs to be done. My questions are as follows: 1) Are there any examples or available solutions (.sln) files that illustrate how to mix unmanaged MFC with managed C++ code ...Show All
Visual C++ Hiding console window by switching main to WinMain()
Hi all, I have a console applaiction that gets called like this: query_file.exe "file_name.txt" "string of items to find." I want to be able to call it from a wndows appliaction and hide the console. How can I do this Renaming main to WinMain doesn't work as they are different functions with different arguments. Yes, you need to change linker option from /SUBSYSTEM:CONSOLE to /SUBSYSTEM:WINDOWS. This prevents showing Console window. After changing this option, possibly you need to change /ENTRY option to tell to the linker that your program has main and not WinMain entry point. Playing with these options, it is possible to hide console window in console application, or add console windo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Should I use Object Oriented programming for games?
I am really confused whether or not to use object oriented programming for game development. I know that using classes correctly will help keep my code organized but I am confused about the performance. I have searched the web and I haven't got the exact answer.. not even close. Some people say, object construction and destruction (among others) is a performance degrader in OO programming (especially when it is repeated many times per frame). OO proponents say that it is not, if OO is used in the 'right way'. The problem is, I am not sure I know much about that 'Right Way'. So, can you please help me figure out what's best for my game Should I use classes or not Thanks! Have to add my "Go with OOP" recomme ...Show All
.NET Development Update statement
why isit i am still able to get a successful update for a row when there is not such a row. ie try to update a row where id=10, but there is no id10 and im still able to get a success reply. what is wrong How do you know the row is updating if the row doesn't exist I think you're expecting an error of some sort. Unless you code a condition that checks for the row before updating, you will never know if the update occured. If the row doesn't exist, nothing is updated, and there is no error so you will not know either way. Please post your query. Adamus ...Show All
