Ed15's Q&A profile
Software Development for Windows Vista WlanSetProfile() returns "Element Not Found"
I am working with the Vista 802.11 Auto Configuration APIs for my UI. (Vista Beta 2, Build 5308) When I call WlanSetProfile() with the parameter, bOverWrite = TRUE, and my XML profile is as following, the API returns 1168, Element not Found. But the Reason Code output by the API is "The operation succeeds". And, when I call this API with bOverWrite=FALSE, the API returns 87, ERROR_INVALID_PARAMETER. Is my XML profile format incorrect Or Is this API ready to be used or not Any suggestions or ideas for this issue Appreciate! < xml version="1.0" > <WLANProfile xmlns= http://www.microsoft.com/networking/W ...Show All
Visual Studio Team System Error during setup
It seems I'm getting one error after another... my newest is the error 29112. -- Dialog -- Error 29112.Team Foundation Report Server Configuration: Report Server is not properly configured or the Reporting Services Web site could not be reached. Use the Report Server Configuration tool to confirm that Report Server is configured properly and that the Reporting Service Web site can be found before running the installation again. For more information see the Team Foundation Installation Guide. -- Part of MSI-log file -- 02/23/06 14:11:09 DDSet_Status: Commandline: "c:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools ...Show All
Visual C# where is the code analysis tab ?
I had installed the vs 2005 RTM version. I can't see the code analysis tab in the project properties windows. where is it Code Analysis only comes with Visual Studio Team System. It does not come with Visual Studio 2005 Professional and below. What version do you have installed ...Show All
Windows Forms Bug in BindingManagerBase - PositionChanging
The .NET 2.0 documentation defines event PositionChanging, however it is undefined and unavailable in Visual Studio 2005 Beta 2. This is a critical event which we need in order to validate the data record prior to navigating to a new record. Please advise! Thanks Chavdar Angelov To remove this Event is a crime and these excuses are ridiculous. By removing it you pack the complexity back onto the shoulders of thousands of developers instead of providing a bullet-proof solution in one defined place ... once and forever. I would prefer to wait some months longer for the final version ONLY to get this absolutely crucial feature !!!! Come o ...Show All
.NET Development Dropdownlist not being populated with a query string paramter.
Question 1: I have two web pages, Page1.aspx, and Page2.aspx. From Page1.aspx I'm passing a querystring "Page2.aspx State={0}" with the State selected in page 1. On page 2, the State is being received as I display it in a label. On Page2.aspx I also have a dropdownList with a sql "SELECT ... WHERE @State=State" associated with control. I want to be able to show items in the dropdownlist as soon as I enter Page2. I have tried binding in code using ExecuteReader, but no luck. This might be a very basic question, but I don't know whats happening. Any suggestions Try checking the generated SQL statement after you have po ...Show All
Windows Forms Changing control's property -> Repaint!
I have a problem. If I change control's property (for example, Location, Size, Region, etc), I shall have twinkling. I need the following code: void Freeze() { // PLEASE CODE HERE } void Unfreeze() { // PLEASE CODE HERE } ... ... Freeze(); Location = someLocation; Size = someSize; Region = someRegion; // etc. Unfreeze(); ----------------------------------- Example of twinkling is here - http://www.davincitechnology.ru/out/FlickerDemo.rar Ruefully, nobody know about it :-( How can I manage flow of WinAPI messages Even if fo ...Show All
Visual Studio Express Editions How do I test for null date in SQL table?
Visual Basic 2005 Express: SQL won't permit null dates in a table. I would like to test for this condition and replace the null date with a DefaultDate (01/01/1901). How do I test for a null date in an SQL table The following code gives an error saying that DBNull is a type and cannot be used in an expression. If PatientBindingSource.Current( "BirthDate" ) = DBNull Then PatientBindingSource.Current("BirthDate")=DefaultDate End If The isdbnull method in VB.Net seems to do the trick. If Isdbnull( PatientBindingSource.Current( "BirthDate" ) ) Then Pat ...Show All
Visual Studio Express Editions Cannot connect to server
I can download the ~3mb files, but when they are run and they are trying to download and install everthing, it says that the transfer rate is 0, then goes to say that it is trying to re-establish it's connection with the server. It can't do this, and when 5 attempts to do this fail, it exits. Any ideas It happened to me too. The setup thing downloads, but running that it tries 5 times to download and then says it failed. I'll try downloading the .img or .iso files manually. Thanks ...Show All
Visual Studio Debug with external program extremely slow in VS2005
Running in debug mode via an external program is incredibly slow. This is true wether I use the debug property "Start External Program" or try to attatch to a running process. Using a bare-bones basic test dll designed to be loaded and run by NUnit I find that "Run without debugging" (or running the program from outside VS2005) runs in seconds, whereas "Start debugging" takes 5-6 minutes. And thats not even to get started on how slow things go if I try to debug an actual project with content... I've loooked at the various "VS2005 debugs slow" threads, and I have already tried, in various combinations a ...Show All
SQL Server Watching an incoming directory for files to process
Here's the senario: We have 3000 stores each sending detail sales data polling files to our FTP site. Most of these files arrive between 10 pm and 4:00 am, with stragglers coming in all day. We receive several different files from each store, containing different types of data (payroll, order header, order detail etc...). Detail files could be up to 5000 rows per store. We have built several test SSIS packages that will process these files using multiple flat file connectors to load each file thru to one or more destination tables in our data warehouse. My question: What is the best way to execute the ...Show All
Visual Basic Complex Numbers
Is there a complex number type as part of VB.NET 2005 Makes me wonder, if not, why not No there is not an intrinsic complex number type http://www.vb-helper.com/howto_complex_number_class.html http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchUseClassStruct.asp are links on how to create your own complex type/structure to achieve this and a simple web search on "complex number" and vb will reveal a number of third paty libraries which have this. As to why - I would say its a mathematical function which probably has limited general use and can be i ...Show All
.NET Development how do datacolumn.readonly and datacolumn.allowdbnull gets set using a DA?
I am using a DA to connect to 4 SQL Server SPs for select, insert, update and delete. The 4 command objects of the DA are set and each command object has the correct parameters. I have some columns which are only in the select and should not be inserted or updated. I have excluded these from the insert and update SPs. Unfortunately, when I call FillSchema, the datatable seems to set these columns as required, even though they are not in the insert/update SPs. I have a timestamp column that gets set correctly as readonly though. So, how do these properties get set in the datacolumn and how do I make these columns readonly/allowdbnull Do I hav ...Show All
Architecture Online/Offline mode, abstracted
We are planning an enterprise app. The basic setup will consist of a winforms client that will connect via remoting to a centralized app-server over a vpn. We must be able to provide basic functionality even in the event of a network outage. The plan is to have a local database that is a stripped down version of the main database. The local database will get updated periodically so it stays roughly in synch with the main database. The client will be able to switch between online (main database over remoting) and Offline (local database via direct mdac). My initial design is to go with a layer of service interfaces, and implement it twice ...Show All
.NET Development Modify the properties of the RDL objects at run time.
I want to modify the property of the objects of RDL file at run time. For that I am trying to use the setProperties method and set the values to the property of the object of RDL file. I have added a webreference for ReportingService2005 and for ReportingExecution2005. http://msdn2.microsoft.com/en-us/library/microsoft.wssux.reportingserviceswebservice.rsmanagementservice2005.reportingservice2005.setproperties.aspx # On executing the code I get the error as mentioned below: Error: A first chance exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll Code Sample Public Sub setProperties_S ...Show All
Visual Studio Open From Source Control problem
When I do this with my provider I get this error The source control bindings for this project do not match the bindings reported by your source control provider. This solution, or part of it, may have been forked or branched. To update the projects source control bindings use the Change Source Control on the Source Control menu. If I click OK and let VS reload everything is fine. But I can't figure out where this is coming from. I've even diffed all the files before and after this error. The only difference is the .suo What is the mechanism that causes this error Thanks, JD Hi I sus ...Show All
