nevelshute's Q&A profile
Visual Studio 2008 (Pre-release) Endpoints - from WSE to WCF
I've been using WSE for awhile now and I use uuid URIs for service endpoints with an HTTP via. In WSE it was easy to create such an endpoint: EndpointReference ep = new EndpointReference(uuidUri, httpUri); SoapReceivers.Add(ep, service); How would I go about the same code with WCF The Endpoint class only has one URI to configure... Do I have to set up the ServiceHost with the uuid and then make a call to AddServiceEndpoint with the htt ...Show All
Visual J# set image
Hell0 - me again :) Is there any way to set an image for an imagebox programatically Like, onLoad set image on picturebox1 to "hello.jpg" Thanks, Klaidas Hi, Can you elaborate your question a little more image control has imageurl property with which you can set the hello.jpg to image control.I am not clear about the imagebox control.Can you what kind of application you are using (web or windows) ...Show All
.NET Development Serialization of array of objects, containing array of another objects....
Hi all, This is my first post here , hope you know answer to this. I have a situation where webservice is returning array of object A which contains array of object B which internally contains array of object C. class A { [XmlElement] // this was added on later on and works fine B [ ] B_array } class B { //[XmlElement] // here does not work as in Class A above C[ ] C_array } class C { int i, string s } All classes and variables ...Show All
Windows Forms Assembly.GetTypes() call throwing exception
The following used to work: ISProject project = new ISProject(); Assembly treeAssembly = Assembly.GetAssembly(project.GetType()); System.Type [] treeTypes = treeAssembly.GetTypes(); Don't know what changed to the assembly that now causes the GetTypes() call to throw the following ReflectionTyp ...Show All
Visual C++ yet another c2248 error
I'm another user (paid ) getting this compile error message now that the project was converted from .net 2003 to .net 2005 this is a show stopper and I need a resolution of some kind so any ideas /help would be appreciated . C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(879) : error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' C:\Progra ...Show All
Visual Basic AnalogTVTuningSpace and MSVidCtl
I´m trying to develop a decent tv tuner/capture application (since there are no such apps, nowhere, I say) in Visual Basic 6.0. I´m using the MSVidCtl component together with the AnalogTVTuningSpace and IChannelTuneRequest object to achieve this, as desc ...Show All
SQL Server Database Mirroring: Cannot set the Mirror Server instance as the partner on Principle server
Hi, I’m trying to get database mirroring working but having problem when principal and mirror are not on the Domain. (I got it working once if both principle and mirror servers are on the domain.) Both servers have fully qualified domain names. Both have Windows server 2003 SP1 and SQL Server 2005 June CTP. I used Local System Acct/Mixed mode and follow the Setting up Database Mirroring using Certificates article i ...Show All
Windows Forms How do you intercept the Minimize button?
I want to send my application to the tray icon bar. Is not what i was looking for... but thank you. I was thinking a way to Override the EventHandler (Minimize, Maximize, Close buttons) of my Form I hope someone can helpme here. ...Show All
Visual Basic Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Visual Studio Team System Possible bug: Tools->Options->Database Tools->Database Connection->Instance option change doesn't affect until VS is restarted
subj Nick, Thank you for the feedback, I think it may be one of the known issues for CTP. Anyway, I'll look into it. By the way, there is a way to submit a bug or a suggestion directly to the team (bypassing a forum) at http://connect.microsoft.com . Best Regards, ...Show All
Smart Device Development ProgressBar in CF 2.0
Hi there, can anybody tell me what I have to do, to display a "Progress" in a ProgressBar-Control in CF 2.0 In CF 2.0 roughly 80 % of the well known Properties and Methods in the "big" framework are not supported! There is no Step-Property, no Style-Property, no PerformStep()-Method and so on! I have set the 3 (three) available properties Minimum, Maximum and Value and called the Refresh()-Method. All I can see on the scre ...Show All
SQL Server SSIS: error while trying to get set the table list
i have a SSIS package on a server that transfers 4 tables from one database to another. The pakage runs fine with an admin account who is the creator of the package. The package was created and imported to the server. A non admin user, is able to connect to SSIS and browse the packages but when he runs the pakage, he gets the following error: Error: An error occured while trying to get set the table list to transfer. "An exception ...Show All
.NET Development Show JPG image
Hi everyone, I first would like to warn you that I'm a newbie programmer. So if I have left out important code for you guys to determine what I'm doing wrong, let me know. I am making a PocketPC application using C# and an XML file as a database. I would like to display the corresponding JPG image in a PictureBox, or somewhere on the main page. A sample of my xml file. The bolded line is the picture reference. < fragenkatalog ...Show All
Smart Device Development WaitHandle (IDisposable)
This is more a question out of interest than an issue really. In the full framework and in CF 2.0 the WaitHandle hierarchy implements IDisposable but in CF 1.0 they did not. Was WaitHandles implemented different in the old Compact Framework You are right that in CF 1.0 the WaitHandle class did not implement IDisposable, but in 2.0 (to maintain compatibility to the desktop behavior) of this class we decided to ...Show All
.NET Development HttpWebRequest.BeginGetResponse - Why is TCP window size zero?
Hi, I have a server application that gets web pages from different web servers with HttpWebRequest.BeginGetResponse . The problem is that, after a while, one of my requests gets never answered. I've seen with the sniffer that the packet containing that request has a TCP Window Size of zero. This causes the server not to send the answer. Whan can be the cause for this Any clues Thanks, Fran ...Show All
