Hardrock302's Q&A profile
Visual Studio Export Bottom, Can I get this event.
Hi, I need one help to get the event export for this control viewer Thanks ...Show All
Visual Studio Full text search in Sandcastle gerated CHM files
Hi, Would'nt it be nice to add full-text search to the CHM files generated by Sandcastle I've added <xsl:text>Full-text search=Yes
</xsl:text> to the ReflectionToChmProject stylesheet transformation. That works beautifully ;-) Ideally I'd like to see this line of code move to the standard distribution of Sandcastle, because I will start to pay idiot tax on it when new versions are rolled out (and I will need to continuously re-integrate that change) What do you think, folks WetHat Hi Anand, in my opinion the increased filesize for embedded full text search is a fair tradeoff for the much improved user experience. Greetings, WetHat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mouse Sensitivity / Speed in Full Screen Mode
I'm developing a Mouse based game - The user only has to position the mouse on the right place at the right time and click :-). I'm using a 800x600 screen. While debugging, I'm running the game in a window, and mouse feel is fine. When I switch to full screen mode (uncomment graphics.ToggleFullScreen() in my Game's c'tor) the game looks the same but the mouse is way too fast. It's like setting the "Pointer Speed" in the Console Panel/Mouse a few notches up towards "Fast". Is this intentional Is there a way to control the mouse speed that's specific to full screen mode Is there some settings I can use to change the sensitivity (and I'll have to revert it when leaving the game) I believ ...Show All
SQL Server Recovering dropped SQL database
I am in a big trouble , accidently i have issued a DROP DATABASE XXX command in the sql client, thinking its a local server....... The whole 4 months of database database is now dropped. Please help me , how can i recover the database .... thanks in advance If you don’t have a backup of the data, I will have to tell you, that there is no UNDO button for that. Sorry. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Express Editions Need help with a button on a form.
Hi there, I'm trying to get a button on a form to open a Microsoft Excel Workbook. My code doesn't seem to be working. I want it to open a file at a pre-defined path, some thing like: Open("E:\Work\workbook.xls") Anybody have any suggestions for alternative code Andy Hi, I think you need to do something along these lines:.................... Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Name = "maincal.xls" Dim Fprog = "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE " _ & """" & Name & """" Shell(Fprog, vbNormalFocus) ...Show All
Visual C++ Enabling Low Fragmentation Heap fails with GetLastError()=31
Sorry, another novel here. I'm writing a templated collection class that stores objects by string index as a potentially very wide and deep tree representing all the characters used in all the indices. The class is a rework of one I already have in my project that has been a candidate for optimisation for a while now, and now it's essential because of a significant increase in load through my app. The main problem will be that one of these trees is going to be grown and pruned across a wide range of indices on a very fast basis - probably up to 100-200 times a second at the normal rate of activity, whilst in highly volatile conditions it could go up to 500 or 600 times a second. I ran tests of my original code against std::hash_map ...Show All
Windows Forms Property value is not valid - PropertyGrid
Hi, I have got a propertygrid control. Now I want to replace the message box "Property value is not valid". Is this possible Any help would be great. Cheers, Franz Hi, I am interested in both scenarios - runtime and designtime. But most interesting would be to modify this in runtime. It would be great if you could help me. Thanks in advance Cheers, Franz ...Show All
.NET Development Finalizer
What is the core differnce betwenn destructor and Finalize() I took the question to mean "What is the difference between C#'s destructor and the .Net Finalize() method " To which the correct answer is "There is none". You have described the difference between the C++ destructor and a .Net Finalize(), which may well have been the OP's question! ...Show All
Gadgets when i press Enter in my gadgets textfield
when i press Enter in my gadgets textfield i add the code that controll key event .. below. if(event.keyCode == 13){ //do something.. } gadget is reduction to... width : 1cm height : 3cm... whats wrong ~ if you have above experiece~ feed any~ plz. thanks gentleman~. That is really strange. Unfortunately, I have only started adventuring into the world of gadgets, so I do not know. Good luck! ...Show All
Visual Basic How to access standard icons
How to access standard icons, like the "back", "forward", open and stuff i want to put then in my menus, the save etc can be accessed by inserting standard items but the IE "back" any eternal free sites Found this great site, all free icons. http://interfacelift.com/icons-win/artists.php ...Show All
Visual Studio Express Editions Help with "undeclared identifiers"
Hi there everyone, I am a final year student studying music technology. One of my modules is Virtual Music Systems, in which we must build a midi sequencer in VC++. The code we have been given works fine on the university computers (running Visual studio 2003). I have loaded VC++2005 express but for some reason the code causes all sorts of errors. I have asked my tutor for help but he does not seem to know what is happening! Ok I open a new win32 console app, and type this for example: #include "stdafx.h" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char anykey; cout << "Hello world" << endl; cin >> anykey; return 0; } Ok it should be all good. But for some reason every time I u ...Show All
.NET Development Behavior of LinkedList.Find method?
I want to use a LinkedList<MyClass> collection, where MyClass is a non-trivial class (multiple properties, etc.). I need the LinkedList.Find method to return the correct node based on how MyClass determines if an object matches the item being searched for. I can't see anything in the docs on what LinkedList.Find uses to determine equality between the item being searched for and the items in the list. Is it as simple as overriding MyClass.Equals() It seems like there should be a way to specify a delegate to the Find method which handles checking for equality for that particular invocation of the Find method (as a number of the other generic classes support). Thanks, Donnie A surprisingly obscure top ...Show All
SQL Server difficulty creating a calculated member
I've not been at this OLAP stuff for very long at all, so please bear with me. My cube has a Time dimension (created via the wizard) with both calendar and fiscal year information. My cube also has a measure "Amount". I want to add a new calculated member that is a running total of "Amount" by fiscal periods. My latest attempt went like this: I went to the Calculations tab and created a new calculated member with name "RunningTotal", parent hierarchy "MEASURES" and expression "SUM(PERIODSTODATE([Time].[Fiscal Month].[Fiscal Month]), [Measures].[Amount])". I'm pretty sure that the expression is not right, even in concept (for one thing, the running total should get reset at the fisc ...Show All
Visual Studio SandCastle See_Also Reference/Members Section
I'm using SandCastle December 2006 CTP with the SandCastle GUI and am trying to determine how to automatically create a help file with the "reference" section under the "See Also" section. An example of what I'm looking for can be found at: http://msdn2.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx Scroll to the bottom of the page, where the "See Also" section starts. Here, you can see the "Reference" section which contains a link to the class members. I'm trying to determine how to automatically create this section with Sandcastle. I don't want to add a "See Also" section for each C# class and link it to an external page -- I'd like Sandcastle to simply create t ...Show All
SQL Server Query on dataset
I have a dataset filled with data. I want to get a particular (row,column) value from the dataset. How do I query on the dataset if the query is firstname, lastname where employeeid='1234' Krutika: "Dataset.Select ()" looks to me like a member function; if that is the case this post probably ought to be place in another location to get a better response. Dave ...Show All
