Devon Kyle's Q&A profile
.NET Development Basic Authentication usage resulting in System.Net.WebException: The request failed with HTTP status 401
Did you find any soultion for this issue I am having same issue right now. My case is slightly different though. I am calling a .NET web service from another .NET web service. Call succeeds some times and after keeping the browser open for some time, calling the method again creating this error. I appreciate any help. Thanks, Puttoju I have split this post out from another thread because they are really actually different issues. Here is the quote from the original thread that contains the answer... Puttoju wrote: Thanks for you response. It's all set now. Thanks for the people p ...Show All
Visual Studio Problem installing .NET Framework 2.0 Beta 2
Hello: I hope that I'm posting to the correct area... I'm trying to install Visual C++ 2005 Express Beta 2 and the installation process fails. The failure occurs after the download is complete and the installation of the .NET framework has commenced. No error information is displayed, other than the notificaton that the error has occurred. I've turned off Spybot, for what that's worth. Any ideas on how to proceed Thanks! Hi Dave Im hoping you can assist me too....except I'm not as PC savvy as the previous posters & you may have to direct me through to the logs. I hav ...Show All
Visual C++ vc2005: strcpy(char[100], CString); doen't work. Why?
Hi, Recently I updated to Visual Studio 2005 (from 2003) In VC++2003 this code worked: char SuperString1[100]; //m_supervar is a member variable associated with some Dialog Edit contron (CString) strncpy(SuperString1, m_supervar, 5); This does not compile in VC++2005... the same problem with strcpy... So question is how to convert CString to char in VC++2005 Thanks in advance Serhiy I am sure it compiles, but you are probably talking about the warning. In VC++ 2005, the CRT string functions have been deprecated. I'd suggest that you update your code to use the new secur ...Show All
SQL Server Virtual Labs - No Connection message
A couple of us are trying to use the SQL Server 2005 Virtual labs at http://msdn.microsoft.com/sql/ . We complete all the prelim steps successfully but when we click on "Start the Lab" we get a blank page with "No Connection" in the middle. The clock ticks and the system thinks we are doing the lab. How can we get a connection or is the server down or are there no available resources left Great news!! The next ActiveX control is coming out tonight. Please try Virtual Lab again and see if it fixes your problem. NOTE: When you login, it will seem as if you don't have ...Show All
Windows Forms getting the wrong sender
Hi, I have inherited the panel control to do a docking panel control. Now I have to test when the cursor leaves the panel so that I collapse it. Here is my code : Protected Overrides Sub OnControlAdded( ByVal e As System.Windows.Forms.ControlEventArgs) AddHandler e.Control.MouseMove , AddressOf CheckCursor End Sub Sub CheckCursor( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) If Not m_chkAnchor.Checked Then Dim pt As New Point(e.X, e.Y) &nb ...Show All
Windows Forms ClickOnce and plugin directories
Hi, I was wondering if it's possible to configure ClickOnce such that subdirectories containing other assemblies (such as plugins) are created in the cache. At present, I have a directory containing a number of plugins and because in the ClickOnce cache all assemblies seem to be thrown together in one directory, the app doesn't work. It tries to look for the plugins in a "plugins" subdirectory and it doesn't find it since it doesn't exist. Is there a way to specify the directory structure in either the deployment or application manifests Thanks in advance for any assistance anyone might be able to provide. Norman ...Show All
Windows Forms Comparing strings
Hi I have a class that loads up stuff from a database Basically if i want all the items from a column called "Categories" from the database I can type this For Each objCategory In myManager.MediaCategories ListBox1.Items.Add(objCategory.CategoryName)   ...Show All
Visual Studio 2008 (Pre-release) AllowPartiallyTrustedCallers and WCF assemblies
I am wandering why WCF assemblies does not allow partially trusted callers That is a feature that we didn't have time to complete for v1. The workaround, until we address it, is to use ASMX when you need to use partial trust. ...Show All
Visual FoxPro use the reccount
hello all I use "set filter to" and want to know how much record is match the filter condition. I use the "reccount()" but it return the result is not I want. it is all the record count This is how it works for me. Finally . Select * From Customers Where State = "NJ" Into Cursor NJ_Customers NOFILTER Then a second query can be taken, otherwise the runtime does not recognize NJ_Customers for anything but RECCOUNT() on NJ_Customers right after the Select statement. Select * From NJ_Customers Where City = "Trenton" Into Cursor CityCustomers Without the clause NOFIL ...Show All
Windows Forms windows interface freezes/hangs when processing
I have a simple c# window form, it's function is to validate url, it has a menu bar and 1 button, when I click the button, it will load an excel file, extract the url from it and connect to the internet to check if all the links are valid. There are about 3000 records in the excel. Whenever i click the button, the window seems to&nb ...Show All
.NET Development Calling .NET Components takes time in Remoting?????
.NET Components are written in C# and deployed in IIS. Interfaces and .NET Remoting is used. Presentation component calls Business component that resides in bin forlder of virtual directory. It takes 1-2 minutes for 1600 records. Thats the problem. 1. Execution of Query takes not even a second. 2. Presentation layer display of records in grid takes <=1 sec. 3. Data access logic takes <=1 sec - Coping data retrieved from database to custom component that is added to arraylist. The only time it takes is to get the records from the business component to the presentation component. App.config file has the f ...Show All
Visual Studio Tools for Office i need help creating a macro for a button
i am making a database and need help. i have created a form and want to be able to add data to another table by selecting a button. --- (e.g.) Item being purchased Amount of item Price customer ID --- i would like to have this information appear in a table on the same form, before the order is 'finished', but i doubt this is possible. is this possible if not could this appear in a different table, an existing one. thankyou Hi, I'm unclear as to your scenario here. Are you using Access to create the database Could you give some more background. Thanks, Ade ...Show All
Visual Studio Team System FxCop is not suitable for Web Applications?
We are implenting code analysis as a check-in policy. Recently we found an article indicating that FxCop (which is the base of the code analysis function) is not suitable for web applications. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=101038 Is this true If this is true, how do we indicate which projects should be skipped automatically We know for sure that it is not the case that web applications are automatically SKIPPED as we have been refactoring for some time to get our web services to comply without analysis check-in policy. Best regards, Jerry Nearly half of FxCop's analysis is dedicated to enforcing the Mic ...Show All
Visual Studio 2008 (Pre-release) how to support datetime datamember or I am on a wrong way?
First I define a datacontract: [DataContract] public class Order { private DateTime mTime; [DataMember] public DateTime ServerTime{ get { return this.mTime;} set { this.mTime = value;} } } Then in a service I use it like this: public service : IService { public Order[ ] GetOrders(){ Order[ ] orders = new Orde ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A question of desgin
This question isn't directly related to DirectX, but it's still strongly tied into the whole idea of game programming, so I'm hoping someone here can give me some direction. Up until now, developing my game logic hasn't been too hard. I have a World object, which contains Platform objects, Item objects, and one Hero object. With an object oriented design, this is insanely easy to implement, because all the basic attributes and drawing logic can be contained in each class. My problem comes when these objects have to interact with each other. When my hero's falling, he somehow needs to know if he's just hit a platform, so that he can sto ...Show All
