neely's Q&A profile
Windows Forms Custom Control Transparent Background Image
I would like to create a custom control. Following the advice on: http://msdn2.microsoft.com/en-us/library/yah0tcw1.aspx I inherited from class Control http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.aspx My control will require two distinct and cooperative transparent items. The first is a background image which needs to display portions of a picturebox that is behind it on my windows form. In otherwords, my background image is not rectangular and needs to show through what is behind it sitting on the form. The second is the control portion needs to to be transparent by showing the background image where the OnPaint is not drawing. In otherwords, I have 3 layers. First is what is on the windows form (in m ...Show All
SQL Server Starting Full-text search on SQL Server 2005 Express Advanced Edition
I have upgraded a SBS 2003 MSDE database (instance MSSQL$SHAREPOINT) to SQL Server 2005 Express Advanced Edition. This worked without a problem even when I enabled all the options for the upgrade including Full-text search. I now want to have Full-text search on this instance of SQL 2005 with database name of STS_EVEREST_1. I first tried to use the T-SQL command of "CREATE FULLTEXT CATALOG BBVisionCatalog AS DEFAULT;" I now know that the original database was created under SQL 2000 and therefore I needed to use SQL 2000 commands. So I used the following script: USE STS_EVEREST_1 EXEC sp_fulltext_database 'enable' EXEC sp_fulltext_catalog 'BBVisionCatalog', 'create'; It produced the following ERROR messages: (1 row( ...Show All
Visual Studio Team System Creating a Project
Just starting with TS ...created a Project ...added a scenario and even managed to add some work items directly from MS Project, after much editing. At each stage of adding things I looked on the Project Portal - but this didn't seem to refresh in line with new things added. I've now got 98 Work Items in the project - and even after save & exit of Team Explorer - and refresh / reload of the portal - they aren't appearing. Is there an option in Studio / Team Explorer somewhere to 'publish' or send these to the portal Also - is there a SAVE that needs doing after each ADD of Work Item or Task - I am just exiting then selecting Yes to Save. Sorry for the basic Qs..but I'm following the book 'Studio 2005 Team System' which ...Show All
Visual C++ Dll error at debug
I am writing an MFC application that uses two DLLs (both custom built by me). So we have APP, GLOBAL_DLL & GAME_DLL. APP is the MFC application that will use both DLLs. GLOBAL_DLL is an implicitly linked extension DLL that contains all of the global data for any game dlls and the app itself. This includes networking, game objects/lists, etc. This dll is used by APP & GAME_DLL. GAME_DLL is an explicitly linked extension DLL that contains all of the game specific code and is loaded at runtime based on the game the user selects. This DLL uses GLOBAL_DLL as a reference to all of the networking, game objects, etc. that APP uses so that GAME_DLL is compatible with APP. So then, GLOBAL_DLL is implicitly linke ...Show All
Visual Studio Express Editions TreeView: unselect item when clicking outside of tree
Hi folks, this one eludes me... I have a treeview, with several nodes. If I click OUTSIDE the tree, I want the current selected node to be deselected, like Treeview.SelectedNode = Nothing. But I cannot find the event to trigger this... if I click in the white space, the currently selected node remains selected..... Any suggestions Thymen Hi ReneeC; I came up with this: Private Sub TreeView_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) _ Handles TreeView.MouseDown TreeView.SelectedNode = TreeView.GetNodeAt(TreeView.PointToClient(Control.MousePosition)) End Sub Guess your way is more efficient... Thymen ...Show All
SQL Server Could not register msxmlsql.dll under Microsoft SQL Server/90/Shared folder
Hi, I'm trying to silently(quiet mode) install Sql Server 2005 and our application.I created a custom wrapper and included all the files and folders extracted from SQLEXPR.exe. So when I execute this customized setup its throwing an error : Could not register Program Files/Microsoft SQL Server/90/Shared/msxmlsql.dll If I ignore the above error its throwing similar errors for almost all the files under Program Files/Microsoft SQL Server/90/Shared folder. kindly help me to resolve the issue. Thanks & Regards Krish Hi, have you tried registering this dll from Command line utility REGSVR32.EXE path\filename !!!! or alternatively you may create a Standard Visual Basic Package contai ...Show All
Visual C++ Edit and continue in VS2005
Hi, I just recently started to use VS2005. I am trying to use the edit and continue function, but for some reason it desn't work. I have it enabled in the project options (check mark). when I change the code during debug I get this message: "This source file has changed. It no longer matches the version of the file used to build the application being debugged." Then I have no coise but to click "OK" and forget about the change I just made What could be wrong Thanks! Thanks james and all, It was the project specific settings. I had some weird behaviour though: I created a function that does nothing but return true. Then, I set a breakpoint on the return tru ...Show All
Windows Live Developer Forums Pushpin z-Index
I would like to be able to control which pushpins are ontop of each other. I have tried changing the z-Index on the stylesheet with no success. And after looking at the javascript, the map.AddPushpin function actually uses a global variable for the z-index when it adds the pushpin to the mapcontrol. this.vemapcontrol.AddPushpin(GA.ID,veLatLongDecoded.Latitude,veLatLongDecoded.Longitude,25,25,"VEAPI_Pushpin",GA.GetContent(),Msn.VE.API.Globals.vepushpinpanelzIndex-1); Has anyone else came across this problem and came up with a reasonable solution besides just overwriting the map.AddPushpin method Nice. It appears to me that the order they appear in is the order in which you add them ie th ...Show All
Visual Studio Tools for Office Action Pane is disabled when I save the document and reopen.
Hi, Please any one can let me know what is the problem with Action pane when I save and reopen the Excel document. Action pane and its controls get disabled when I perform following steps. 1) Open Excel document,Populate some data and save to hard disk. 2) When I reopen and click on Action pane controls, all the controls gets disabled and no events are fired. Do I have to do some reinitialization for the action Pane Regards, Uma Kadagi. Alex, Yes, I am taking the original VSTO document form the web server and binding the dlls to the document. I got the reason why it was disabled. Since I was not using the Sheet2 and Sheet3 in my project and was deleting those two on workbook open event.Now I am just ...Show All
Audio and Video Development Blu-ray
Does it bring bad luck to ask this on this forum :) Anyone knows of documentation or sites about BD-J mode, HDMV is a bit limited. Peter Torr - MSFT wrote: Speed and The League of Extraordinary Gentlemen from Fox have BD-J support, but apparently they don't work very well on the Samsung player. I believe they work OK on the PLAYSTATION 3 and I'm not sure about the other players. [Added] Descent from Lionsgate also has BD-J, but fails to play in most players. I've checked out Descent from Lionsgate and it seems to work perfectly fine on PS3, I must say it's one of the most sophisticated menus developed in Java... I believe that still the hardware players fail to implement the fully functio ...Show All
Smart Device Development How to determine if phone has SMS capability?
Hi. I am using VS2005/VB.Net and CF2 to write applications for Windows Mobile 5 Smartphones. I'm developing an application that relies on the phone having the ability to send and receive SMS message. I believe (but I could be wrong) that in some countries, and/or with some network providers, that the ability to use SMS is something that must be "turned on" by the network provider and/or setup within the phone. Therefore, I would like my application to be able to confirm that SMS is enabled and working on the phone, and if not, inform the user appropriately, rather than the user thinking that my application isn't working as intended. So, is there a way to programmatically determine if the Smartphone has the ab ...Show All
Windows Forms Multiple Forms
I have multiple forms that get loaded, Can anyone correct this for me please private void fnLoadForm( Form frmM) { Cursor .Current = Cursors .WaitCursor; frmM frmS = new frmM(); frmM.ShowDialog(); } Are you passing a form instance to this function, or just its type In the first case you don't have to initialize your form in the function, just show it. Try: private void fnLoadForm(Form frmM) { Cursor .Current = Cursors .WaitCursor; frmM.ShowDialog(); } If its just form's type, you'll have to use Activator.CreateInstance(type) to instantiate your form by its type. Andrej ...Show All
Visual Studio Express Editions Showing "1 000" instead of "1000" in textbox.
OIkai, this might be very simple, but I have a textbox with "1000000" in it. And I want it to be shown as "1 000 000". There must be a way to get the data out and change it, and then put it back in the textbox again. Anyone know how And question 2, I found a old vb6 code: If KeyAscii > 26 Then If InStr("0123456789", Chr(KeyAscii)) = 0 Then KeyAscii = 0 Its for making a texbox accept numbers only, but it keeps giving me error on KeyAscii. How can I make it work in vb exp to get rid of the line after the control looses focus you can set the "HidePromptOnLeave" to true and "AllowPromptAsInput" = true....if this still does not give you the desired look then yes you will have to create a cusom mask with code ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DX10 and XNA
Hi. Are there any future plans for the XNA framework be upgraded to support DX10 features and retain compatibility with Xbox I read how radical the new API will be and it will not be backwardly compatible with DX9. Although Vista can still run DX9 games, it will be slower as it will be via a software layer. since DX10 will also need new graphics hardware too, that suggest to me that XNA may not ever access DX10 functionality. Unless a new Xbox is on the horizon. Thanks for the reply! It's great news that XNA will leverage the power of DX10 one day. You should announce that one in the f.a.q. I have heard from an unofficial source that vista uses a software emulator for DX9, 8 et ...Show All
Visual C# xml document file in vs2005 website
Hi All, I need help in generating the xml documentation file in vs.net2005 website, we recently moved from vs.net2003 to vs.net2005 and decided to create a website and migrate from vs.net2003 to vs.net2005 but the generation of xml file option which is used be in build option under the project properties in vs.net2003 is missing has any one come across this issue Thanks Shyam Out of the box the old VS2003 style of web applications isn't support in VS2005. Therefore there is no project file. You need to either install SP1 of VS (still in beta) or install the add-in released by MS. This will give you the option of a web service application which gives you the project file and options you're look ...Show All
