Rainer Queck's Q&A profile
Smart Device Development Unable to connect to the remote server
i have a simple webservice which i am using in my pocketpc app. and i am calling webservice from pocketpc app. but being error : Error is: An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional Information: Unable to connect to the remote server i am not calling webservice on pocketpc app..... can i do i have a simple webservice which i am using in my pocketpc app. and i am calling webservice from pocketpc app. but being error : Error is: An unhandled exception of type 'System.Net.WebException' occurred in System.Web.Services.dll Additional Information: Unable ...Show All
Visual Studio Package load failure in IDE - 'devenv /resetskippkgs' ?
I've installed VS2005 beta 2 - appeared ok, but in IDE I get lots of package load failures, and recommendations to skip package loading (and suggestion to use 'devenv /resetskippkgs' to re-enable). Having completely uninstalled and re-installed several times, nothing seems to work. Any suggestions Sounds similar to this: http://groups-beta.google.com/group/microsoft.public.vsnet.ide/browse_frm/thread/7ac44a69aef72ae0/2278abc3da86a3e1 q=%27devenv+%2Fresetskippkgs%27&rnum=3#2278abc3da86a3e1 This may due to the package information in the registry Please do the following First very the packeges are in ...Show All
Visual Studio 2008 (Pre-release) DataTemplateSelector and list that doesn't implement INotifyCollectionChanged
I have a list of objects styled using DataTemplateSelector. The list doesn't implement INotifyCollectionChanged (the list doesn't change) but the objects implement INotifyPropertyChanged. The problem is when I change a property of one of the objects the DataTemplate for the same object doesn't, even if it should (based on the conditions from the selector). Is this the intended behaviour or is it a bug It seems that even if the list extends ObservableCollection, the DataTemplate doesn't change. The only way to make it work is after the property change to manually fire CollectionChanged event with Reset action. ...Show All
Visual C++ Microsoft Visual C++ Runtime Library error question
I recieve this error when I launch Internet Explorer - version 6.0 OS Windows XP Home edition 2002 Service Pack 2. Error is as follows: Microsoft Visual C++ Runtime Library Runtime Error! Program C:\Program Files\Internet explorer\iexplore.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am not certain where to post this question and problem. Your assistance is greatly appreciated. Currently, I am using Firefox as my back-up web browser. had the problem with runtime error, removed google tool bar, ...Show All
Visual C++ How to handle header and footer in a report?
Hi, I must first say that I only have a couple months experience in Visual C++. I've been reading a lots of books on the subject. Unfortunately, most of the time, the examples I could have on specific item was very "general" if I can say. With the other languages I'm using, I'm able to make reports with header and footer repeating on each page of report as well as an auto-incrementing page number, subheaders, subtotals/subfooters, etc. In all the documentation I have on hand, I unfortunately couldn't find any example of how to implement such report format. I would really appreciate if someone could give me examples or even ...Show All
.NET Development How to un-format XML string using XMLReader & XMLWriter
Head+BrickWall I've got some xml with the xml declaration at the top that I want rid of, to leave me with basic bare XML. The XML is like this < xml version="1.0" encoding="UTF-8" > <Request ThreadID="763457"> <Authorisation> <CompanyID>999</CompanyID> <Login>LOGIN</Login> <Password>PWD</Password> </Authorisation> <DataStream Table="Manifests" Function="2" LoadID="111"> </DataStream> </Request> < xml version="1.0" encoding="UTF-8" > <Request ThreadID="763457"&g ...Show All
Windows Forms Confusion over when <File>.Designer.cs
I am slightly confused over when a <File>.designer.cs is created I was a Delphi prgrammer so quite like the idea of the form code being in another file. During my conversion from VS2003 to VS2005 none of these designer.cs files were created for me. However, the file is created when I add a new form to my project. If I inherit from that form then it appears that the designer.cs file is not generated ! Could somebody please advise on the following: 1) Should i be converting all my forms to use designer.cs and move the designer generated code into it 2) Should the designer.cs be created when I inherit fro ...Show All
Windows Forms how to get the relative location of the controls within a panel?
Hi, I am having a panel and the size grows dynamically. I have a horizontal scrollbar and a vertical scrollbar. How do I get the size of the complete panel. When I say panel.size it just gives me the size of the screen that can be viewed. I need to get the complete size of the panel. I also tried to append the panel.AutoScrollMargin.Width. But it is not giving me any value. How can I achieve this task I also want to know how to get the location within the panel where the mouse is clicked. Your help will be appreciated. Thank You. Hi SG, Thanks for the reply. But as I mentione ...Show All
Visual C++ Overriding System::Generics::Collections::IEnumerable
I've been banging my head all day trying to figure out how to return an enumerator using generics. I would greatly appreciate if anyone can help save my last few remaining brain cells I have 2 C++ managed classes, Parent and Child. Parent is derived from System::Generics::Collections::IEnumerable and has a member that is a Dictionary of type Child (ie. Dictionary<String^, Child^>^). I want to return an enumerator to this Dictionary when the GetEnumerator() method is called. My problem is that I get compile errors for all of the various combinations of syntax that I have tried. I have found quite a few (some contradicting, I migh ...Show All
SQL Server Default Values properties (table level) not working.
I am using SQL Server Management Studio Express (SSMSE) with SQL Server Express as my database tools/database to assign the ‘Default Value’ for a column at the table level. Going over the basics… using the database tools (SSMSE) and when inserting a new row; all rows by default have a 'Null' value. Ok. If a default value is assigned to a column (table level) using the database tools, the default value is inserted correctly if that column has a null value upon the creation of a new row. Ok. This works fine when I am working with SSMSE on tables (inserting, deleting editing rows etc.) within my database… But this doe ...Show All
Visual Basic Send a variable to a function
This goes along with another post I have. Again, I've only been programming in VBA for about a week, so my 's may sound a little elementary. I am reading in a 3 character string and want to send it to a function. The function is going to check for validity of the string by comparing it to a list in an Excel spreadsheet. But, it the function is going to be run multiple times throught my Sub with different data each time. So, I need to know how to declare my function to accept a variable's value and how to pass the value of a variable when calling the function . To make these even more difficult, I may be getting a string th ...Show All
Visual Basic "Ambiguous Namespace" problems in VB.NET 2003
I am writing a public class called StaffPost which sits within a namespace called Davnet (the name of the DB these classes control). Under this class are several public sub classes such as Post, People & OrgStructure. I'm pulling my hair out over this because it all works fine then suddenly gives me major grief. I tried adding a form to the class (as it was originally a class module) but changed it to a windows app, added the form and could test it. The next day I loaded it, I was getting "Sub Main() not found' and this wouldn't go away. When I didn't get that, occasionaly I'd get 'StaffPost is ambiguous in the na ...Show All
SQL Server Different Execution Plans -> Same Query, Same Database, Different SQL Server Install
Background: Same database, restored from development to production. Indexes up to date. Service Pack 3 on Production. Originally RTM on Development, upgraded to Sp4, Execution Plan remained the same. The query itself is not my concern, but that there is such a wide difference in performance between 2 boxes. Is there a setting on the Production that might be slowing it down My system seems to have selected a worktable, is there a way I can turn that off to mimic the server I want to optimize the queries to perform best on the Production server, which is hard to do if my server's chosing different exe ...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 described here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/directX/htm/hostingthevideocontrolinavisualbasicform.asp and here: http://msdn.micro ...Show All
SQL Server Error exporting a subreport to Excel!?
Hi All, I have a report sonsisting of two subreports. When I export it to Excel I get an Error!! I played around with it and I found out that if I use ReportItems in my page header it will cause this error! Does anyone have any idea why Is this a bug or there is some work around it! Thanks. In my situation there is no table! Just a simple sub-report. Anyhow, I ended up removing the header and any reference to the ReportItems from my report Footer to make it work! I believe this is the only solution to this MS bug! But, still love to see if someone come up with a solution for this glitch. Thanks. ...Show All
