nick5454's Q&A profile
SQL Server PTS 9 redistributable location in RTM release?
Hi, For some reason, I am unable to find the PTS installer for Analysis Services 9.0 OLE DB Provider in the RTM release. Where can I find this I need to provide this driver to my Excel users. When I try to use the pts9 driver I have got from Sept CTP, I get this error when trying to refresh the Excel cube: Errors n Network layers. Error Code 0xc10D00008 External Code 0x0000000 Thanks, Philippe PTS is no longer included with the release - you need to get it here: http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en ...Show All
Visual Basic SetPixel() - URGENT!
Hi, I am loading an 8-bpp (bit per pixel) bitmap from a file and trying to set various pixels using the SetPixel method, but no matter what I do (I also tried locking the bits), i get an InvalidOperationException - "SetPixel is not supported for images with indexed pixel formats." After some research i understand that it's not possible to use the SetPixel method in the normal way or possibly not at all for *indexed* bitmaps. If someone could please tell me how to get around this, either somehow using LockBits, or if it really need be, how to convert the bitmap to a non-indexed format in order to use SetPixel(). Thanks in advan ...Show All
Visual C++ Managed Virtual method in Subclass IGNORED when parameter of Unmanaged type
Hello all, We are using Managed and Unmanaged C++ code, on Windows XP SP2, VC++ .NET 2003. In the SubClass we are trying to override a virtual method of the BaseClass that has an unmanaged type parameter. The problem is that the method call is always directed to the base class. BaseClass and SubClass are in two different managed DLLs, but same namespace. Map files were generated for both managed DLLs and the two methods have the same signature. Any help is appreciated. Thanks. public __gc class BaseClass { virtual boo ...Show All
Visual C++ Importing Derived Classes from DLLs
Im trying to export a derived class from a DLL, so the dll code looks like following: class __declspec(dllexport) DerivedClass: BaseClass { public: int classmember; } Im trying to import this class from a Test winapplication, but it seems to be that I need to include a header file where this class is described. I have included one writing just the same code as I wrote before, but I get an error saying that it does not recognize BaseClass. I have the BaseClass in another headerfile, which also include other classes that are in other headerfiles. However, I do not want to include 100 headerfiles in my project. The purpose ...Show All
.NET Development Minimal Payload Web Services - a good or bad idea. Comments Please
An approach to Web Service development has been proposed to me that basically restricts the payload, in all cases, to a single string. The string contains the actual payload as an XML document. The reasoning behind this is to place the burden of validating the XML on the provider. The downside is that the published wsdl doesn't contain the definition of the required payload. It becomes something that has to be managed/documented externally. What do you see as the pros and cons of this approach Regards, Rob rob james wrote: An approach ...Show All
Visual Studio How to build a project containing Reporting Service project
Hello, I'm working with a solution containing multiple projects, also one Reporting Service project. When I use MSBuild to build the solution, it fails with the following error: error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. If I do so and make it: <Project xmlns=" http://schemas.microsoft.com/developer/msbuil ...Show All
Visual Studio Crystal reports XI R2 and Visual Studio 2005 issues
Has anyone got this error after updating (fresh install) to Crystal Reports XI R2 with reports in Visual Studio 2005 I am posting here because I am not sure if it is a Crystal reports XI R2 bug or a Visual Studios 2005 problem. I thought it might be that my programming was wrong so I tried the samples that come with R2. If anything these should work since the people who developed the software wrote the examples. Even the examples gave me these same errors. Custom Tool is CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator I have these refernces: CrystalDecisions.CrystalReports.Engine - v2.0.50526 CrystalDecisions.Enterpris ...Show All
Visual Studio Express Editions Registering Express editions
Hi, Can I reuse my registration number for the Express Editions on more than one PC or do I need to register again Thanks The code that is provided at the end of the registration process is tied to the machine that you registered from. You must obtain a new code to unlock copies of Visual Studio Express installed on other machines. Apologies for any inconvenience that causes, Scott Currie DDCPX Program Manager Microsoft ...Show All
Visual Studio Team System VSTS Server can't be connected by error"underlying connection closed"
Our VSTS version is beta3, It is a single server, and run for al least 2 months well. But it can't be connected this morning. when I use VS2005 to connect the server, an alert" The underlying connection was closed" prompted. then I logon to the VSTS server. see the events, found below error, this error occured last night, after first one, then every minutes 2 same errors will be reported at events log. ------------- Event Type: Error Event Source: Tfs Event Category: None Event ID: 3000 Date: 2005-12-5 Time: 22:33:29 User: N/A Computer: SH1SDEV114 Description: ...Show All
.NET Development No connection cold be made.. Final resolution needed.
Now after all the technical issues are resolved, the socket is created, the parameters are set I am facing a fundamantal issue. I kind of suspected from the outset that this could be the case and now I actually hit the wall. I have a subscription to a stock information service which gives me an up to minute update of the market. I invoke this application which is a set of GUIs and try to tap into the actual PORT to divert the datagram tream to my database to process it my way. When the application is connected to the server (money.net in this case) and using, let say, port 2453 I CANNOT open a socket at this endpoint. I get an error mes ...Show All
Windows Forms Detect control movement in screen ???
yes, indeed we can use Control.Move event to know when a control moves. But, what if the control moves in screen because we move the form Yes, we can solve this by adding event handler to the form's Move event. But again, what if the control has multiple level of parenting i.e. control is contained within a panel then contained within a form ...Show All
Windows Forms how to set timeout for a thread
Hi, How canI set timeout for a thread, so that if it hangs for sometime the thread times out automatically and does'nt get hung forever. Thats my thread private System.Threading.Thread tPollMcastThread; tPollMcastThread = new System.Threading.Thread( new ThreadStart( this .DoMulticastTest)); tPollMcastThread.Start(); Hi, Take a look at the Join Method: Join Method(Int32) That allows for a timeout value to wait for a thread to terminate. Regards, Vikram ...Show All
.NET Development Multi-threading with UdpClient
Hi there, I am trying to implement a simple board grame which use UdpClient to play over a network. My problem is that the game requires all the network connection and traffic to be done in a separate thread. My approach is to use a main thread to do all the user interface and game logic and use another thread to do all the network related logic. However, I run into problem when I have to pass the status of the board from the main thread to the network thread and vice versa, since I don't know how to pass data from one thread to another thread. Because I don't have much experience with multi-threading application, I am not even sure my a ...Show All
Windows Forms draggable picture
Hi.. i am new to vb.net programming. I need a help in making a draggable picture. like moving a picture box or drag a picturebox. how can i make a draggable picturebox in vb.net. any help is welcome thanx OK. If you want to move a picturebox around a winform, you can use the picturebox.location property to drag it. But what if you&nb ...Show All
Visual Studio 2008 (Pre-release) anyone that can help me with this?
Hello, I'm experiencing the following problem for a while now. I'm not able to set the text of a textbox from another class in the same app. Can anyone tell me how I should do this. More details below... Window1-code: <Window x:Class="TestWindow.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="TestWindow"> <Grid> <TextBox Name="txtTest"></TextBox> </Grid> </Window> Class1-code: //Following is a method that is called from elsewhere public void SendRtlsEvent(string code, double x, double y, DateTime timeStamp) { / ...Show All
