chionhhm's Q&A profile
Visual C# Why is fixing runtime bugs expensive?
I am a novice C# programmer. In the title “Learning C#,” the author states that it is much more expensive to fix a bug at runtime than at design time or compile time. I am wondering if it would indeed be as expensive as he says if the application goes through an SQA cycle before it is deployed. Whether you catch it at design or compile time, or rather at runtime, why would there be more or less cost involved Please shed some light on this. I think you're missing the point, TAG. Lets say there is a logical flaw in the design that would cause the resulting program to behave incorrectly in some cases. Lets say that, in order to fix this error, it would require that we change a number 10 functi ...Show All
SharePoint Products and Technologies List
hi, I'm creating a Custom list and now adding a cloumn to it.... after performing above two steps......I want that the display name of the custom column should be different from what I entered above... I cannot recreate the above data as I have already created arnd...15 lists and written arnd 1000 loc based on this.... Can tghe display name be changed...if yes from where Any help would be highly appreciated Thanks Manu ...Show All
Visual Studio Tools for Office Printing from Word Query
We are producing an application which in the fullness of time will be producing and outputting large numbers of Word documents. I have heard that Microsoft recommend you don't instantaite copys of word for printing purposes from a scalability point of view. What is the recommended way of printing large numbers of documents without requiring Word itself to be installed and instatiated Regards Jer Hi Jer Note that this forum is specific to VSTO technology questions, although you can get some help related to the application object models. The more appropriate place to ask general questions would be http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.automation&lang=en&cr=US Ther ...Show All
SQL Server IE7 and SSRS Document Map
The contents of document maps do not appear since I upgraded to IE7. They still appear for users on IE6. Reporting Services version is SQL2000. Have looked all over - this problem has been reported in a number of places but there seems to be no response / fix / work-around from MS. Can anyone help or at least comment Have you got a reference to a Tech Article or the hotfix id as our local support did not know about this and I cant seem to find a Q Article number for it. ...Show All
Visual Studio Tools for Office axspreadsheet
does anyone know were i can get code or samples or even a book that explains how to use the axspreadsheet componet in VB.net This is the Office web component You might try in the OWC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.web.components&lang=en&cr=US ...Show All
SQL Server Quick question on VB
Hey folks, I am trying to run a batchfile or a external process ( exe ) from within a Script Task and read the process status returned by the process. Is there a sample VB script code that does this that you guys can share What modules do I have to Import Thanks -chiraj This should do the trick. To test this, create a batch file in C:\temp called test.bat. Simply put "foobar" or something invalid in the batch file to create an errorlevel. Copy the code into a script task, run the package. It will show you the errorlevel in a message box. Imports System Imports System.Data Imports System.Math Imports System.Windows.Forms Imports Microsoft.SqlServer.Dts.Runti ...Show All
SQL Server HTML Rendering
Has anyone come up with a way rendering HTML in reporting services yet I am trying to generate reports based off a Project Server 2007 installation and it is filled with HTML strings... Thanks No, there is no option for that, since now I don’t see any functionality for that on the radar. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
SQL Server Excel add-in: invisible measures
I've a cube in Analysis Services 2005 with two measuregroups. Each group contains about 4 measures. Those measures are only used for making some calculated measures. Only the calculated measures have to be visible to the user. Whenever I put the property 'visible' on false for al the normal measures in the two measuregroups, the retrieval of the measures (selecting measures in dimension-tab) in excel-add-in takes too lang (more then one minute). The retrieval of the measures works fine in other front-en tools like proclarity. Does anyone knows about this problem and knows a solution or a workaround Thanks, ADL The excel 2003 add-in for analysis services supports perspectives, but that gives n ...Show All
SQL Server 'dbo' problem
We've one windows user account, which is directly associated with 'dbo' user. What I mean by the above is: When you look at the logins you would see this user as 'Domain\siva' when you look for this user in the database user list, you won't find this windows account there. When you double click 'dbo' from the user list, you would see it's associated with the 'Domain\siva' login. When you go to login properties for this account and grant access to that particular database (under User Mapping), ther 'user' column shows 'dbo' rather than 'Domain\siva'. Even if you type 'Domain\siva' in the 'user' column, it gives an error saying, "Rename failed for user 'dbo'................. Cannot alter the user 'dbo' (error 15150) I want t ...Show All
Internet Explorer Development IE 7 print preview when printing vertical text
Hello everyone, I like the new IE 7, especially the print preview, but ( as always there is a BUT) I'm trying to rotate a text to a vertical position with this code: style = "writing-mode: tb-rl; filter: flipv fliph; " The problem is when I Preview the text ... the number of pages generated is not stopping to grow(so I guess will generate more than 1,000 pages for 2 pages text... Maybe is a way around it that I don't know, any way the code is working fine in ie 6. If you know haw to fix this please let me know. Thank you, Cornel T. PS I tried to narrow down the problem and now the text is rotated to 90 degree but is not flipped in print preview, here is the code that is generating the problem: <html&g ...Show All
Visual Studio 2008 (Pre-release) A Schema-first question
I have a question regarding the serialization infra-structure on the WCF. I want to design a service contract using an already built set of schema types. I’ve followed the following algorithm: 1) Create a set of CTS types corresponding to the schema types, using xsd.exe. The schema types are not compatible with the DataContractSerializer (DCS), so I had to use the XmlSerializer (XS) instead. 2) Annotate the service contract with the XmlSerializerFormatAttribute so that the WCF uses XS and not DCS. Apparently everything run ok, however when looking to the generated WSDL I noticed that the messages types are not equal to the original schema types. This is due to the fact that the xsd.exe generated ...Show All
Visual Studio VB.NET XML Comments File Name
Using VS2005, for C# projects you can specify the file name for XML comments in the project properties. For a VB project you can only turn on the generation of XML comments, but not specify the file name. This would be fine if VB would use the /doc compiler switch, but it uses the /doc:filename switch and specifies a truncated form of the the assembly name. For example, my assembly name is MyCompany.MyBusinessUnit.Assembly1.dll and the file name that ends up being used for the XML comments file is MyCompany.MyBusinessUnit.xml. This causes a problem when trying to build the help using SandCastle for a multiple assembly solution where there are assemby names like MyCompany.MyBusinessUnit.Assembly1.dll, MyCompany.MyBusine ...Show All
Visual C++ New Thread can't update edit box
I have a simple MFC dialog app with one dialog. I have 3 buttons and 3 edit boxes. When I click each button I start a new thread which increments one of 3 global variables - 1 counter for each edit box. I want to see the counters being incremented in the edit boxed but I have a problem. In the 'thread' function I cannot seem to get SetDlgItemInt to work: like so: UINT Thread1Proc( LPVOID Param ) { while (1) { count ++; SetDlgItemInt(IDC_EDIT1,count); } } The 'SetDlgItemInt(IDC_EDIT1,count);' works elsewhere but not in the code for the new Thread. I keep getting compile errors like error C2660: 'SetDlgItemInt' : function does not take 2 arguments etc... Why is this and how can this be resol ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rants on XNA 1.0
This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All
Smart Device Development How can i get RIL instance from TAPI?
Hi, I have used TAPI for my PocketPC application. But for some purpose i want to use RIL API for particular call. Now for that how can i get instance of RIL for that call. As TAPI internally use RIL APIs so, can I get instance from TAPI ...Show All
