skyhawk7ma's Q&A profile
.NET Development How to unregister a channel ?
I am runnning exactly in the problem described here . Basically, if I do Register a channel. Unregister a channel. Register the channel again. I got the Exception: "Only one usage of each socket address(protocol/network address/port)is normally permitted". Is this issue going to be fixed in .Net 2.0 What are the possible workarounds for .Net 1.1 Joannes Unfortunately, this behavior is not controlled by . ...Show All
Visual Studio Tools for Office How to get Office project type in MS VS 2005
Hi, I want to work with visual studio tools for office(VSTO). In the msdn website I saw that there is a new project type is added named " Office " which make the developer work. The office link can replace the VBA code, but when I install visual studio 2005 on my system I was unable to get the office project. I just windows, smart device, database, and starters kit only when I tried to open a new project. please help Thank ...Show All
.NET Development parsing method byte codes
Can anyone give me some hints about my question below The following delegate returns the further following byte codes (read on): Func < TestClass , bool > function; function = delegate ( TestClass test) { return test.Name.Contains( "my" ); }; 0 2 111 1 0 0 6 114 91 0 0 112 111 33 0 0 10 10 43 0 6 42 I found that code 111 is a callvirt, fin ...Show All
Visual Studio Tools for Office Action Pane clears clipboard!?
Hi All, I am having a strange problem with a VSTO (2005) and Excel 2003 (Pro Sp2) application. I copy a range in Excel, select view..task pane and select my custom application from my document actions. After a second, it appears, yet my clipboard is emtpy If the task pane is already present then I do not have any problems. I can copy and paste to and from ranges and other spreadsheets. The custom application in the document actions ...Show All
SQL Server Is this possible? How
hello guys, I want to create a report using a bar chart data region from a cube. The cube contains Date and Time dimentions. Here is my question: The catagory field (x-axis) value of the bar chart is dependent on the paramaters value(i.e.StartDate and EndDate). For instance if the difference between StartDate and EndDate is greater than 1 year, the x-axis value for the bar chart should come from the Date dimention and display the year value. ...Show All
Software Development for Windows Vista Lab 03 - Exercice 3
Hello, I am trying out the hands-on labs from PDC and I have a problem in Lab03-Exercice 3. In this exercice, we use a .config file to specify the services that are available in the workflow runtime. The System.Workflow.Runtime.Hosting.SqlTrackingService generates several exceptions, all of the same type (extract from the log file created in debug mode): Tracking Information: 0 : TrackingListener::ActivityStatusChange - Received Activity Status ...Show All
Visual C# HOW TO USE "FOR UPDATE" in DataAdapter
I am using DB2 Database. Due to the performance issues I want use "FOR UPDATE" to update the records in DB. Suggest me a way how to use “FOR UPDATE” in DataAdapter. Hi, As i know "FOR Update" is an optional clause in SELECT statement to check if the resultset is updatable or not. I think you need to write the sql command to check how you can deal with it. Any way using SQL commands is strightforward you shouldn't have any ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Could anybody help me with a problem of DirectX installation?
I want to silently install DirectX 90c and handle the return code, I decided to use DirectXSetup API instead of DXSetup.exe because there is no any doc talking about the return value of DXSetup.exe. I did this, and it seems have a problem when I run my program on a machine with XP sp1, it pops up a dialog showing the progress bar that I hate to see. I supposed the installing of using API is silent, ... Thanks in advance. ...Show All
Visual Basic Set Starting size for a child form
Is there any way to set the starting size for a child window in a mdi form. Whenever I open the child form it sizes it based on the size of the parent form, instead of using the size I set for it in the designer. I use Form2.Size = New Size(640, 480) . Is there another way Two things I don't know: What a "mdi" form is, and what causes your problem. But in normal windows forms, I have Not experienced your problem, where th ...Show All
.NET Development Convert MSXML2.DomDocument to XMLNode
Hi all, I have been trying to convert an MSXML doc to .NET system.xml.xmldocument in order to eventually get the document to a node. However I am not having any luck loading the MSXML doc to system.xml. Example: Dim xDoc As New MSXML2.DOMDocument() xDoc.loadXML("<Root><Element>Text</Element></Root>") Dim xDocNew As XmlDocument xDocNew.LoadXml(xDoc.xml) 'ERROR xDocNew.Save("C:\SAVED.xml") ...Show All
Visual Studio Express Editions Changing Disassembly text color?
Is it possible to change the color of the text in the disassembly window The Tools/Options/Fonts and Colors/ settings only affect source code text, not the disassembly (mnemonic) text. Thanks Ted for this reply. I guess with the move toward managed code and MSIL has diminished this under the hood setting. ...Show All
Visual Studio DateTime format in debugger displays
Is there a way to change the way DateTime objects are formatted in the Locals, Autos, etc. windows Currently, it's {m/dd/yyyy}, which isn't very helpful when I'm more concerned about the time of day than the date. (I'm in Visual Studio 2003.) ...Show All
Visual C++ BUG under Multithread Compilation
Hello there, I built a project which has an annoying problem. The DEBUG version works fine and the release version also works if I choose DEBUG Multithread as runtime library. However, it doesn't work if Multithread runtime library is used instead. I followed the code and found that release method of objects doesn't work. Can anyone give some hint why this happened Michael Sometimes bugs like this aren ...Show All
Visual Basic Checked List Box in VB DOT .NET - Checked items gets unchecked when used inside Tab Control and while tabbing
Hi If you are using a Checked List Box Control into a Tab Control on VB .Net application, then when you switch between tabs, the checked items gets disappeared. This bug is already listed in the Microsoft article. I figured out a way on how to avoid this error. Just by adding the checked list box in a user control and then using the user control in your tab control will not erase the checked items list. Please try. Thanks, CM i ...Show All
Visual Studio Team System Testing a Web application with Active X Controls
Is testing web applications with ActiveX controls supported, if so how would one go about doing this. The application being tested was not developed in house so we do not have any code just the application. We are trying to load test the application but ran into problems recording due to the Active X controls being used. To save a fiddler recording as a web test use the File->Save->Visual Stud ...Show All
