XNA Rockstar's Q&A profile
Visual C# Example of a C# windows Service with an MMC interface?
I have been kinda digging around the net for an example of a C# windows service that has an MMC interface. Im a network administrator and the dev team around here writes a lot of application which means my servers need to be logged in with their programs running. not only that but they all need access to login to the server with PC anywhere, or they need key card access to get in to the server room. both of which i am not pleased about. considering how simple it is to make a service this blows my mind. I would like to be able to hand them a good example of a windows service that has a MMC interface (once again, i dont want them on my servers) thanks for the help guys! Justin You'd have to hav ...Show All
Visual Studio Sandcastle: How do I create seealso links to external Hxs files
I am creating help for a set of libraries that extend a library provided by a third party (actually MS in this case but the Hxs files are not part of the standard SDK stuff they are an additional add-on) I need to add see also links to the base classes which are not part of my help conent but are part of the other content. DocumentX! has a means of doing this via the seealso doc comment element (cref=!:ms-help:...) and I can't seem to find any way to do it with SandCastle. No matter what I try it ends up as just bold text. THe XSL files all transform seealso tags into an undocumented <referenceLink> tag but I have no idea how that tag gets transformed to the final HTML seen in the help. Any idea or pointers on how to make a link to a ...Show All
.NET Development Hook desktop redrawing.
Is there any way (other than global hooking, which is disabled in .net) to catch events for desktop refreshes Has anyone ever tried this and managed a workaround to the global hook problem Or maybe someone could divert me to a C++ 2005 project that can do this for me.... Please ;) BTW I see ahmedilyas is the new king of the hill! Nice one ;) AndrewVos wrote: Any application. My program is being drawn using DC's over the actual desktop. It would be much more efficient if I didn't have to constantly redraw! Hmmm, Dont think that you accept event through C# that which Window is Redrawn at what time. Anyhow best of luck, If you get solution also share with us. Thanks!!! Best Regards, ...Show All
Visual FoxPro Microsoft Visual Foxpro 6.0 - Help menu
Hi From the Help menu, the following help features such as MS V F Help Topics F1, Contents, Index, Search, Technical Supportare disabled. It is quite troublesome for me to use another software - MSDN Library Visual Studio 6.0a when I need help. Is there any solution to enable these features Do I have to install full version in order to get the Help features Thanks in Tools\Options, "File Locations" page, what do you see as "Help File" Double-clicking "Help File" item, is "Use Help File" checkbox checked Bye, Giulio ...Show All
.NET Development force english exception messages
On my development machine I want to force the exception messages of thown excpetions to always be in english language. I have installed the english Visual Studio 2005 but the exception messages appear in german. How come Does that mean I have installed a german language pack for the .Net Framework If so, can I configure the Runtime to always show english excpetion messages without having to uninstall that german language pack If not how can I uninstall the german language pack The problem is that if we change the CurrentUICulture of the current thread to english, the whole userinterface (wich is localized for english and german) and a lot of other things that rely on the UI culture in our application will change to english too. What ...Show All
Windows Live Developer Forums Multiple Tile Layers and zoom on double click issue
Hi, I'm loading 3 tile layers and a VEcollection into my map at http://thecascadian.com/ for the murky waters blog entry. That all works fine, but when you select the S Whidbey Isle layer in the dropdown, and then double click on that tilelayer, it zooms to the highest detail view instead of just one step "in". I'm not capturing that event in any way in my scripts; it's doing it "out of box". In my introductory entry I have 2 layers and I don't seem to see that effect. Also I don't seem to see that effect in my other 2 layers in the murky water entry map. Any ideas, thoughts on this. I'm guessing I my need to "hijack" the double click and force an incremental zoom( ). Thanks for any input on this! Sor ...Show All
SQL Server get dates NOT between x and y
Hi. I hope this is the write place to post this, I hope it is. basically, I want to be able to return me a query of giving me available dates in a table. What I mean is that, if I have a table with fields including start date and end date, I want to return me the dates which are NOT listed/stored in the table. kind of like a booking system, where you store the room reservation dates and obviously you don't want to double book that room, so I would like all the available dates to be returned back. is this possible how can I go about doing this Thanks! Just another question if I may.... This all works great. now, since there will be many rooms, each room obviously has a booking date. No ...Show All
SQL Server DTS to Excel, $0
I am exporting some data from a view to an excel file though a DTS. $0 amounts come as -0, what is the reason for that an dhow can I fix it Jim, When I try a straight export with money data equalling zero or '$0' as strings, either from SQL Server 2005 or 2000 (using the Import/Export Data wizard in both cases), I get $0.00 or $0 in the Excel file. Can you be more specific about what you are seeing What is the view definition Is the problem column a table column declared as money/smallmoney in SQL Server, an expression, or what Are you using a wizard or another method to do the export When you select from the view in SQL Server, do you see .0000, or something else You haven't given us much to go on. Steve Kass ...Show All
Visual Studio Com Add-in creating custom events for keyboard Shortcuts
Hi, I have written a COM Add-in for Office 2003 using C#2005. I have sucessfully added custom events to most of the menu items and tool bar buttons, but, if the request is done via the short cut (F7-Spell check for example), then, my newly created event doesnt fire. I still want to access the shortcuts, but want my event to fire first. Is this possible Thanks in advance We have an application that generates a word XML template, and we are allowing users to fill in parts of document. As a result we want to lock down most of the word functionality, and only allow functionality that conforms to our strict guidelines, but still have as much flexability using word that people are used to (but this ...Show All
Visual Studio Express Editions Programming in Unicode
hi... I have this code in Main.cpp: Michael Kaplan of Microsoft has started blogging an example of how to convert a project to Unicode. He begins by setting up his code so that it will compile correctly either way, using the macros and types that are defined by the Platform SDK for precisely that purpose. This, along with lots of searching of MSDN on some of the fine points should be very useful in understanding the A, W, and "T" models that Microsoft supports. Check it out at Sorting It All Out: Converting a Project to Unicode . - Dennis ...Show All
Visual Studio F1 not going to correct topic or can't find page
My MSDN help is messed up, it used to work fine. But now when I hit F1 it reports that if can't find the topic, though it's in there when I search. I also reports wierd topics, like I look for 'printf' and end up with HTML Designer Is there any way to correct this problem, I've tried re-installing MSDN that didn't work. Do I have to fully take down my dev system to get this back up and running. Thanks for reporting this. We have been experiencing instability of the OnlineF1 service for a period of time now. The operations dpt at Microsoft was actively troubleshooting the issue this morning. And it should be resolved. Please let me know if you still having trouble using F1 feature. Sergey, MSDN team. ...Show All
Smart Device Development prob in inputting text to PPC emulator
Hi, I've a prob in inputting text to PPC emulator. I've recently upgraded my CF1.0 app to CF2.0. With VS2003 emulator i was able to input text to any textfield in my app directly typing it from the keyboard. I did'nt need to use input panel. But this is not possible right now. Its accepting input only from the input panel, not directly from the keyboard. For few runs of the app after upgradation, i entered text directly typing it on the PC keyboard. But suddenly it stopped working. Any idea why this is so Is it the prob with VS2005. Right now my app is under testing. And using the input panel every time to input is time-consuming. Plz tell me how to enable input from the keyboard. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Request: Direct3D 10 Layer for Direct3D 9
Direct3D 10 Technology Preview Engine Abstractions / Separation Applications, including Games, that wish to support both Direct3D 9 and Direct3D 10 at the same time need to have the rendering layers abstracted from the rest of the code base. There are many ways to achieve this but key to all of them is the design of the abstraction layer for the lower level Direct3D device. All systems should communicate to the hardware through the common layer which is designed to provide GPU resource and low level type management. Maybe it’s only me but this is a step back in Direct3D usability. As much as I am like the idea of “No more caps” the price that especial small developers have to pay for it is high. I am sure we al ...Show All
Visual Basic Generate midi song from VB.net
I use VB.net with Framework 2.0 How to generate a midi song from the code and save it as a *.mid file I am a beginner, so would be most rateful for simple enough instructions. The song should be polyphonic (max. 2 notes at the same time). I should be able to set the pitch and duration of the notes. The code should support rests (= pauses in the song or kind of a "empty notes") and I should be able to set the tempo of the whole song. Is this possible at all Also a simple midi piano would solve my problem. There are many for VB6.0 but I haven't found even a single one for vb.net! (User mms wrote here an interesting piece of code: http://www.xtremevbtalk.com/showthread.php t=36582& this should be enough for me, but it should be transla ...Show All
Visual Basic How to disable a key in the keyboard!
I want to disable a key in the keyboard. Ex: key Backspace. I want it's only a signal for me to execute my function. It can't delete a character as normally. How can I do Thanks for any help. Private Sub Form2_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load Me . KeyPreview = True End Sub Private Sub Form2_KeyDown ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyEventArgs ) Handles Me . KeyDown If e . KeyCode = Keys . Back Then MessageBox . Show ( "User Pressed Backspace" ) e . Handled = True End If End Sub ...Show All
