Chrismanster's Q&A profile
Visual Studio 2008 (Pre-release) How to get my nodeID?
How to get my nodeID without customer resolver CreateHost... OpenHost... CreateChannel... PeerNode pn = m_Channel.GetProperty<PeerNode>(); String str = pn.InnerNode.NodeId;// I want to get my nodeID here! compile error CS0117: 'System.ServiceModel.PeerNode' does not contain a definition for 'InnerNode' unser debugmode, through "QuickWindow" I can find pn.InnerNode.NodeId Please help! Any other way ok, thank you! I don't know if it's the safest way, but I noticed that if you call pn.ToString() you'll get the nodeID (you'll need to do some simple parsing). InnerNode is not a public property of PeerNode. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Weird backface glitch
I'm not sure what's going on here; I wouldn't be surprised if it's just my video card. But has anyone seen this before cellphone_rendering_bugs.jpg That's a series of screenshots I took as the model rotated... the original model in Maya has all its normals facing the right way. I exported it as an FBX200611 model. I'm (unfortunately) using a Compaq Presario with an NVIDIA GeForce 6150 LE video card. I thought it might have been a matter of the near/far draw limits being too far apart and the Z buffer lacking the precision to draw this relatively small area properly, but I turned it down to 1.0 -> 100.0 and it still happens. Any thoughts I'm using code from a tutorial... this is all pretty new to me, b ...Show All
SQL Server SQL SSRS 2005 SP2
Just wondered if anyone has an update on when SP2 for SSRS2005 is likely to be released. Have seen a post which suggests CTP1 is already out there. Is this the case, and if so is there any latest hot off the press news as to when can we get hold of it. It may have been concerning SSRS2000 though, as I don't think it was specific enough. ...Show All
Microsoft ISV Community Center Forums adding a routine/event to a control during execution
Hi to all, I'm writing a macro in Excel, and just added a commandbutton to a form during its execution, but i'm not able to assign an execution code/routine to it! i've tryed the help on line and haven't found anything usefull, may you help me This is the code i wrote: Private Sub UserForm_Initialize() Dim CButton As Control Dim X, Y X=8 Y=16 Set CButton = frmDiametri_e_Spessori.Controls.Add("Forms.CommandButton.1") CButton.Left = X CButton.Top = Y CButton.Caption = "OK" End sub Now i want to add some code to the CButton control so that, when clicked, it apply the changes i've done in the form Thanks Pierpaolo ...Show All
Visual Studio Tools for Office Working with submenus in Outlook 2003
how to Create Command Meun with two childs there is what i need Send By: -email -SMS msdn was not clear for me and it was creating menu bar . and what i need is a command menu. t how to learn the basic meaning of the argument for "(Office. CommandBarButton )sendByPopup.Controls.Add( Office. MsoControlType .msoControlButton, 1, missing, missing, true );" ...Show All
Visual Basic To make characters in the text of TextBox ReadOnly.
Hi All !! I am new to VB.NET... I want to make the characters in the text of TextBox control read only... That is, to make those characters should not be replaced by any other character, or can not be editable... So is there any property or method that can be implemented to the charactres/text(string) of textbox's text Responses are welcome Thanks, Prodigy201 I came across a similar need with a text box. I used the keyPress event to ignore any keystrokes that I didn't want. To keep the format on the text box I used the textChanged event. Just some suggestions. Johnny ...Show All
Architecture MOSS2007 used as an application platform?!?
Hi. I've been doing a fair bit of work with two large clients using SharePoint. The scenario is rather typical - SharePoint must host applications that accesses network-based resources such as databases, directory services and files. Some of the application services must be exposed as web services so that they can be consumed by other applications, devices and services. So pretty standard enterprise app stuff. In both cases senior architects and SharePoint architects and developers suggest using SharePoint exclusively. As an example, lets say an app needs to capture customer data, and customer orders. I'm being told that customer and order information should be stored as lists, that web parts should be created to host workflows ...Show All
Visual Studio Express Editions How can i create a tooltip for button control?
How can i create a tooltip for button control Take a look at this article: http://www.codeproject.com/buttonctrl/tooltipressourcebutton.asp ...Show All
SQL Server Data migration from MSAccess to SQL Express 2005
Hi , I have a requirement to migrate the data from an existing MS Access database to a newly designed SQL Express 2005 database . Need less to say the table structures in both are totally different.I would like to know how can i handle a scenerio where i want to map table A in access to table B in SQL express (the schema of both different and the number of columns can vary too) , how do i migrate the data from table A in Access to Table B in SQL express using SSMA Also i would appreciate if some one can tell me is SSMA the right tool for this , or should i use the upsizing wizard of MS Access. The constraint here is that the data needs to be migra ...Show All
SQL Server Truncation error when importing from ODBC to flat file
I am having problems reading from and ODBC conncetion from Oracle RDB into SSIS. I am using a DataReader source which uses a ADO.NET odbc connection to an oracle RDB database. I am having that write to a flat file. When I read integers from the source, it works just fine. When I read character data (char(48) for example), it gives me trucation errors. Is the DataReader source capable of reading char data from an odbc connection Here is the errors I receive: SSIS package "Package.dtsx" starting. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Information: 0x4004300A at Data Flow Task, DTS.Pipeline: Validation phase is beginning. Information: 0x40043006 at Data Flow Task, DTS.P ...Show All
SQL Server Request for feedback - Aliases have been deprecated for some time and will be removed soon
As documented in SQL Server BOL, aliases have been deprecated for some time and we are planning to remove them from the product in the next release. We will greatly appreciate any feedback or comments regarding this change. We would like to know how our customers will be affected by this change and analyze if there is anything we can do to help you to make the transition easier. Thanks a lot, -Raul Garcia SDE/T SQL Server Engine Alias were superseded by roles in SQL Server 2000, for more information you can visit the following BOL pages: · Deprecated Database Engine Features in SQL Server 2005 (under “Features Not Supported in the Next Version of SQL Server” ): http://msdn2.mic ...Show All
Visual Studio Express Editions app control
After I have found the handle of a button i want to control from my aplication with spy++then what do i do with that number or i will have to just fake a mouse click at x position like this person did... I have found the eqivelent to what i am trying to do accept it is in visual basic 6.0 code so i dont know how to do a conversion. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=144808&SiteID=1 tell me if you have any ideas... Average Joe Reneec code looks like VB.Net code to the unmanaged API's - she quite explicitly states its VB.NET code and has been tested and I have no reason to doubt her as she is a moderator with lots of .NET experience. http://www.pinvoke.net is an extrem ...Show All
Visual Studio Interactive sorting & Asyncrendering = "false" doesnt work
Hi, I am using report viewer 2005 control to display remote reports which contain interactive sorting. I have observed that when Asynrendering = true, sorting works and when it is false, sorting just reloads the unchanged report again. Is this a known issue with report viewer control Any work around for it I do want to use Asynrendering=true as it gives me ASP Session expired error on web server. TIA Tanmaya I am having a very similar issue. I am creating a web site using C# .net VS 2005 SP1. I am using SQL Server 2005 reporting Services SP2. The application starts with a level 1 Report RDL displayed in the reportViewer control. I Drillthrough the report to Level 2 RDL. The L ...Show All
Visual Studio error MSB4018: The "GenerateResource" task failed unexpectedly
I have a Smart Device application that is generating the following errror when I attempt to build. I would appreciate any feedback in how to debug this error, or what might be a typical cause of this problem. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: The "GenerateResource" task failed unexpectedly. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.RethrowUnlessFileIO(Exception e) C:\WINDO ...Show All
SQL Server Blocked transaction problem
Hello, I am trying to execute next query, but when doing it, TABLE1 locks and it does not finish. SERVER2 is a linked server. BEGIN TRAN INSERT INTO TABLE1 SELECT * FROM SERVER2.DATABASE2.DBO.TABLE2 WHERE TAB_F1 IS NULL COMMIT TRAN I have same configuration in other 2 computers and it works ok. What is the problem Thank you!! This should not lock your transaction. But depending on the server you are using it can be that all data will retrieved from the linked server first to do a filter on the calling server. That will take more time than just doing the Select on the remote server. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
