Answer Questions
Rinaldi WebProxy.GetDefaultProxy() is now Obsolete, is there any alternative for this in .Net Framework 2.0?
WebProxy.GetDefaultProxy() is now Obsolete, is there any alternative for this in .Net Framework 2.0 Thanks Micael. I will check it out. The documentation says to use the proxy returned to you by default. I assume that it means by calling WebProxy.Select (). This is suppose to have all the same settings. Hope this helps, Michael Taylor - 11/11/05 Hi, i did not experience this "def ...Show All
Sandeep Arora Attachment problem
I have an asp.net application. This application will be generating a lot of Html files( Content as stream, and Html Name). I have to email these file to respective client. After testing it i happen to get the The attachment content in the Body of the mail.I want to get it as a different file( Attachment file). Please help this my code MailMessage Mail = new MailMessage(mFromEmailAddress,mToEmailAddress,mEmailSubject, mEmailBody); Mail.Attachment ...Show All
Anthony Whalley Error: Specified cast is not valid
Hi, I am retrieving data from access table having one of the column data type as oledb object type. Follwing is the code to retrieve image from the database. I am getting follwing error when i execute the code(Line causing the error is highlighted with yellow color). Regards, Ram Error Information An unhandled exception of type 'System.InvalidCastException' occurred in ReadingWritingBLOBSamp.exe Additional informatio ...Show All
deathack setspn and delegation
I am having problems getting delegation up and running using a service account running IIS 6.0. My test scenario calls from a XP client through to a webservice on server iis1, through to another web service on iis2, both web servers runing win2003 SP1. The Domain is at a functional level of win2003. Both web services have windows auth and impersonation set, ping methods to the individual webservices do work ok. I have setup 2 ser ...Show All
Andres Aguiar picture box basics?
I need to design a program to draw lines/arcs/circles in a view. I was thinking about adding a picture box control and drawing to it. But I'm new at this and was wondering if someone could point me in the right direction as to how to draw a line on a picture box control Thanks, Devin this is my new code: using namespace System::Drawing; Graphics* g = space->CreateGraphics(); Pen* p1 = Pens: ...Show All
jgurgen Howto create a read/write application setting?
Hi! I'm trying to create a writeable application setting with VS 2005 Express beta-2. When I open the Settings tab in the application properties I have a designer that allows to create a new setting (say "MySetting" of type String). I can specify a default value and I can use the properties window to enter a description etc. In the code file Settings.Designer.cs a property "public string MySetting .." is generated automatically. But this pr ...Show All
stibitz Anyone have experience with WebDrive and VB.NET?
Hi all, I am trying to use a product called WebDrive (by South River Technologies) to map a drive letter to a secure FTP site. WebDrive works great, except that when I do things in VB.NET such as Directory.Exists("Q:\") or File.Exists("Q:\Test\Test.doc") both calls fail (return false), even though the WebDrive drive letter is mapped to Q and the file Test.doc does exist in the Test directory. Anyone have any ideas about this Cheers, Chris ...Show All
TFolsom Missing Files in Microsoft.NET\Framework\v2.0.50727
Norton System Works' WinDoctor has found the error of C:\Windows\Microsoft.NET\Framework\v2.0.50727\ missing files and I believe Windows should address the issue. When I run Norton WinDoctor on my home PC, the following problems appear, with no repair capabilities: Missing program files (10 Problems): C:\Windows\Microsoft.NET\Framework\v2.0.50727\AppLaunch.exe C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet.reiis.exe C:\Windo ...Show All
Qaser VB.NET SQLDataReader
I'm not sure if I'm using these functions right. 1] I've got this function: Public Function CreateReader(ByVal sTableName As String, Optional ByVal sOrderColumn As String = "", Optional ByVal sOrderDir As String = "ASC") As SqlDataReader Dim dbConnection As New SqlConnection Dim dbCommand As New SqlCommand ...Show All
Aneesh Assign strong name to third part DLL
Hi, I am using third party dll like companentart.web.ui.dll which is not assigned as strong name. I can't have any code for modification so how can assign strong name to third party dll. So please help me by providing solution for third paty strong name. Thanks Nimit! This is exactly what I needed! See the documentation on the Strong Name Tool (Sn.exe): http://msdn.microsoft.com/library ...Show All
svaddi Massive Membership changes in RC? How to open a beta 2 website in beta3?
So I have a project we've started in beta 2, I've just installed the release candidate on a lap top luckily (so we still have a working version) copied the project over, went to compile. Fixed a few things that the new version doesn't like such as declaring using System.Windows; tried again. Compiled and I though great. Only no ..... All the login functionality appears to have changed For instance the aspnet_Membership ...Show All
lzeca String encoding
Hi all, I use a webservice by mobile calling it. in the mobile I enter data and send it as a string to the webservice. The mobile deal with the data as UTF-8. when I send the string to the webservice I recieve marks. what can be the problem What is the encoding method in the webservice side The string in the mobile looks like: "\u12EA\u23SE..." How can I check the encoding method. Please help... ...Show All
Cameron Zawalykut DataSource and DataSourceView
The Beta2 sqlDataSource and sqlDataSourceView are great. But it would be real nice to get the data type of the column, like the DataColumn collection in the DataSet. Does anyone know if this functionality is likely to be added OK I have it figured it out, but it is not easy. I guess I could make my own control......... Dim args As New System.Web.UI.DataSourceSelectArguments("SomeSortExpress ...Show All
Ot2 Using VS as an XSL IDE
I am evaluating VS 2005 as an IDE to develop a .net project using MSXML 4 as the XSL processor. We have 4 developers working with the XSL alone that have no interest or knowledge of the back end process producing the XML. Nonetheless because VS 2005 offers debugging functionality for MSXML 4, we would like to try to use it as our development environment. I see you can easily create all sorts of projects in VS 2005 but it's not clear ...Show All
Akheiran Getting WebException on every other attempt to UploadData
Hi, I am trying to POST data to webpage. My code below works fine the first time, and I am able to read the response. But on the second execution of the same code, I get an error that says: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. When in debug mode, the exception occurs and it stops on the line: Dim res As Byte () = web.UploadData(strWebpage, "POST" ...Show All
