Software Development Network Logo
  • SharePoint Products
  • Audio and Video
  • Windows Vista
  • Visual FoxPro
  • VS Team System
  • Game Technologies
  • .NET Development
  • Visual Studio
  • Windows Forms
  • Visual Basic
  • Visual C#
  • Smart Devicet
  • IE Development
  • Visual C++
  • Microsoft ISV

Software Development Network >> .NET Development

.NET Development

New Question

WebClient with Progress bar
HttpListener BeginGetContext does not seem to handle more than 2 request simultaneously
Trying to get access to Access DB from VB.Net application
SQL Server Connection : Security
"Path Format not supported" exception
E-Mail Program
xmltextreader and digg.com rss' feeds
Data provider could not be initialized
Adding an X509Certificate to an X509Store
create a copy of an XMLTextWriter which write to a new stream

Top Answerers

WestyManBC
Amanda Jamin
Eric Lindahl
Sumit Bhatnagar
Hossam Abdel Wahab
Fariba Ahvaz
search and deploy
devinr
Z.Z.C
Robert L. Stinnett
sitemap
Only Title

Answer Questions

  • Julian Ladbury Speech sdk 1.1 error

    Hi, I insalled speech sdk 1.1 but am using .net 2005. th problem is speech sdk is asking for .net2003.. how to use that in visual studio 2005.. its showing error when am asking to install .net speech tools.. Speech SDK is now up to version 5.1 , you might have missed a few versions. But, it is a rapidly developing technology, typical for something that just doesn't work out of the box (Dragon Speaking, arrrrrhggggh). Anyhoo, it's primary interface is COM, you'd need to add a COM reference to your project to use it. Read about the COM interfaces available to you here ... ...Show All

  • Raymundo Chapa94595 Need to do Form Based Authentication from VB.NET

    I've searched a LOT here and elsewhere and can find nothing to help me. I need to logon to a MS Exchange server that uses Form-Based Authentication (with SSL of course). I know it can be done as there is a commercial product (WebDAV .Net for Exchange) that can do it.   I've tried POSTing via HttpWebRequest, but when I get to the:      MyWebResp = LogonWebReq .GetResponse() I get a WebException. Last one is:      "Cannot handle redirect from HTTP/HTTPS protocols to other dissimilar ones." However, that's just the latest roadblock. I've done forms posting before (from other languages), understand headers, URLEncoding, and such, but I just can't make this work. Has anyone out th ...Show All

  • RichLeyshon Generic Methods and List<T>

    How do I create a method which returns a generic List based on the type I provide as a parameter E.g. For the following method, how do I add objects of the parameter's type to the List public static List<T> GetList<T>(T t) { List<T> retval = null; switch (t.GetType().ToString()) { case "Employee": retval.Add(new Employee(1)); //Throws casting error break; } return retval; } Thanks alot. Seems so obvious now . add a constraint that enforces T to be a class and cast the new object to T. public static List <T> GetList<T>(T t) where T : class { List <T> retval = null ; switch (t.GetType().ToString() ...Show All

  • jls Acessing an Excel Sheet from a .Net web application

    I have a requirement where i need to import Excel data into a web application. The catch is I don't know in what format the data is i.e. either the columns can represent fields or the row represents fields. In case the column represents fields I can access the data. However in case the rows represents fields I am unable to do so. Any idea how I can handle a situaltion like this I believe you need to query data as is (where fields are columns) and then implement pivot functionality in a client's application that transforms DataTable into new one. When you look at the data in Excel, what is the difference between the two formats The requirement of the application is not an excel which has a f ...Show All

  • arvin88 Profiler adding a new type field via IMetaDataEmit::DefineField results in "_CorExeMain failed"

    m trying to add two new fields (one of type bool and one of type string) to System.String and System.Text.StringBuilder; I'm targeting .NET 1.1 and this is what' I'm doing : 1. in ICorProfilerCallback::AssemblyLoadFinished if the assembly name is mscorlib get main module 2. locate the types using IMetaDataImport::FindTypeDefByName 3. for each type call IMetaDataEmit::DefineField with the following signatures: COR_SIGNATURE sig_bool[2] = { IMAGE_CEE_CS_CALLCONV_FIELD, ELEMENT_TYPE_BOOLEAN }; COR_SIGNATURE sig_string[2]= { IMAGE_CEE_CS_CALLCONV_FIELD, ELEMENT_TYPE_STRING }; The fields seems to be added OK (there is no error) but later when the main application assembly is loaded I get the following error: "Could not ru ...Show All

  • RodneyJ Just not understanding the transition from old AxMSWinsockLib to .Net

    Ok, I'm just not getting it...I'm totally missing something. The 101 examples haven't helped me at all. I've got an app that was written in VB6. I used AxMSWinsockLib My current load looks like this: udpSocket.Bind(LocalPort) Then, I have an event driven sub: Private Sub udpSocket_DataArrival( ByVal eventSender As System.Object, ByVal eventArgs As AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent) Handles udpSocket.DataArrival Dim Stn As Short If eventArgs.bytesTotal = 1 Then Exit Sub End If Do While eventArgs.bytesTotal > 0 udpSocket.GetData(Packet) [...snip] Here's what I don't understand. How do I go from udpsocket.bind to .Net where ther ...Show All

  • Jweige Errors using the UploadFile method

    I'm attempting to write a .NET 2.0 web service to upload a file using a specific user ID and Password. I would like to avoid using the ASPNET machine account for security issues. Here is my exact code snipet: My.Computer.Network.UploadFile("C:\sample.log", " http://localhost:3477/wsFileUpload/Uploads ", "testuser", "testuser11") I'm receiving the following WebException error: The remote server returned an error: (405) Method Not Allowed Further error trapping reveals: Status=ProtocolError Sometimes I am receiving: The underlying connection was closed: An unexpected error occurred on a receive. Status=ReceiveFailure I am attempting to run this on my local PC. VWD 2005 Express created a \WebSi ...Show All

  • SimonS_ VB.NET: Order XML Files

    Hi there, I'm working a bit with XML files (Since .INI files got old :O) and I got a small question. I'm writing a Media Player which holds playlists, these playlists are saved in XML-files (so the XML file holds where the program can find a specific file). I would like to know whats the best way to move around elements and attributes. Say i have a playlist like: <playlist> <file location=C:\test.mp3 name=test /> <file location=C:\test2.mp3 name=test2 /> <file location=C:\test3.mp3 name=test3 /> </playlist> Now, I want to reorder it a bit, so I place "test3.mp3" on top of my playlist (in the program). The same has to be done by the program in the xml file, could someone explain me h ...Show All

  • John Lieurance Is it possible to calculate a column value in a DataTable using managed code in .NET 2.0?

    Hi, I have a requirement to populate an asp.net 2.0 GridView control with data, with some columns directly retrieved from a SQL Server 2005 stored procedure and others calculated from those columns using .NET method calls. I thought I could achieve this by using an ObjectDataSource calling a GetData method in a DataSet created using the DataSet Designer, then hooking into an event where I could calculate the values for the required extra columns of data, so that these would appear in the GridView. However, I can't find an appropriate event to hook into to do this. Does anyone know how to achieve the effect I require Setting DataColumn.Expression looks like it ought to do this, but that does not allow anything except SQL express ...Show All

  • ASL Decimal - trig and power support for System.Decimal?

    I want to ask when support for System.Decimal might be expanded Specifically, it'd be nice if the power function and trig functions of System.Math would natively support System.Decimal (a big change from not at all). This has been done in some commercial and non-commercial libraries, so it is do-able. I really need the extra Accuracy and Precision afforded, but cannot sacrifice the power and trig functions. IEEE 754 revision one link to check out would be http://www2.hursley.ibm.com/decimal/ Anyhoo, I did some more searching on VS2005 Product Feedback. The sequel to VS2005 (Orcas) will not have a higher precision floating point type, ...Show All

  • EJLindsay Convert 'Windows Application' to 'Windows Service' .... imposible?

    Hi all! I want run my server application as system service, but i starts the project as 'Windows Application' ... how to convert it now to 'Windows Service' :S I try to add the component "Windows Service", and change the "Application type" to 'Windows Service', but i can't select 'Service1' as my "Startup Object", then when i register de service and launch it from the "Services" magnagement mmc ... die at 30 seconds because the services mmc can't comunicate with it :( Nevertheless, if i create a new project like 'Windows Service' runs ok. Regards. Nice !! A lot of thanks ! Now i can launch the app like service but ... i do: Protected Overrides Sub OnStart( ByVal ar ...Show All

  • Prabagarane <?xml-stylesheet type="text/xsl" href="whatever.xsl" ?>

    Hi all, In my XML file, I have the following line for transformation: < xml-stylesheet type="text/xslt" href="whatever.xsl" > Is there a way to replace the whatever.xsl with a variable name so that during runtime, I can assign a value to the variable so that I can use the WebBrowser to transform my XML document differently. For example, it would be nice if, instead of hard-code the whatever.xsl, I would like to use a variable, as shown below: < xml-stylesheet type="text/xslt" href=@varFileName > Thanks Not this way. I assume that you use IE 5 or higher. You can use XSLT that generates you very simple page that has nothing on it but simple JScript that executes o ...Show All

  • djchapin WriteXML pbm

    hi, I'm facing a strange pbm while converting excel file to xml. If excel file has decimal datas, then some of the decimal datas will be appeared in converted xml file as shown below < xml version="1.0" standalone="yes" > <NewDataSet> <Attendance> <Mas>M</Mas> <CustG>X</CustG> <PT>0</PT> <R1>11</R1> <R2>20</R2> </Attendance> <Attendance> <Mas>M</Mas> <CustG>X</CustG> <PT>1</PT> <R1>10.8</R1> <R2>10.9</R2> </Attendance> <Attendance> <Mas>M</Mas> <CustG>X</CustG> <PT>2</PT> <R1>10.6&l ...Show All

  • Jonny Neil Stored Procedure parameters

    Hello friends. I am a software engineer working for a software company. Recently I have developed a software for vb.net and sql server which reads database metadata, stored procedures, foreign keys, stored procedure parmeters and generates full featured data access code for vb.net and sql server. It generates full, bug free and highly optimized code for playing with database tables, stored procedures, etc. Now I am extending this software to support Oracle database. I am able to read table metadata, read oracle stored procedures but " not able to retrieve parameter information from stored procedure in oracle ." DeriveParameters of CommandBuilder class is also failing to populate parameter information from Oracle Database ...Show All

  • andryuha System.COnfiguration in C#2.0

    I tried to add a new key value pair in app.setting System.Configuration. Configuration config = ConfigurationManager .OpenExeConfiguration( ConfigurationUserLevel .None);config.AppSettings.Settings.Add( "ModificationDate" , DateTime .Now.ToLongTimeString()); config.Save( ConfigurationSaveMode .Modified, true ); config.SaveAs( "New" ); // Force a reload of a changed section. ConfigurationManager .RefreshSection( "appSettings" ); But i can't see the change being reflected in the file.... IS there any method in ConfigurationManager .OpenExeConfiguration ...by which we can update keyvalue pair in config file... ...Show All

171819202122232425262728293031323334

©2008 Software Development Network

powered by phorum