Software Development Network Logo
  • .NET Development
  • Smart Device
  • SQL Server
  • Visual C#
  • Visual Studio
  • VS Team System
  • Microsoft ISV
  • Game Technologies
  • Visual Basic
  • Windows Vista
  • VS Express Editions
  • Architecture
  • Windows Live
  • Visual C++
  • Visual FoxPro

Software Development Network >> .NET Development

.NET Development

New Question

File name validation method
Error message TCPClient
Error using SqlDataSource on ASP.NET 2.0 Page when using Oracle VarChar2 input variable
StreamReader.ReadLine() problem
Using ADO with C++/CLI
How to read Bitmap from a file.
TableAdapter Update problem
.NET COM and Remoting
Can I Limit rows returned in native data grid in VS05 and SQL Server?
XmlCompiledTransform does not support "child table in two nested relations" schemas?

Top Answerers

mac314
ReneX
Neo77
e-an
ConradsW
imdqa
Vincent Josset
Joseph Karpinski
Edwin4GS
MmmBeer
Domitienda
Only Title

Answer Questions

  • gloranger Client IP Address

    Client IP Address Hi I am using VB.net to run a Server Client application through TCP/IP I managed to connect and transmit data. One probel I am finding is that I need to get the IP address of the client while accepting and compare it to a list in the database. If the IP address is not in the database, the connection will be terminated. Can someone pls show me how to red the Client's IP address. Thank you all Durga mentione ...Show All

  • Manu Kanwarpal is it possible to run bat from Web Application in C# ?

    Hi Guys,  Im trying to run a bat file from a web application. Is this possible i have tried running the same code in a windows application, and it works perfectly fine. But when i put the same code in web application, the system just hangs and nothing happens.  Below is my code Process proc = new Process(); proc.EnableRaisingEvents= false ; proc.StartInfo.FileName=@"D:\DirecType\temp.bat "; // proc.StartInfo.CreateNoWindow = false; ...Show All

  • Devrim wake up from suspend or hibernation with a timer

    Hi, With the win32 api I could wake up a machine from suspend or hibernation with the API call SetWaitableTimer. Does something similar already exists under .NET. Before I used the following calls HANDLE WINAPI CreateWaitableTimer( LPSECURITY_ATTRIBUTES lpTimerAttributes , BOOL bManualReset , LPCTSTR lpTimerName ); BOOL WINAPI SetWaitableTimer( HANDLE hTimer , const LARGE_INTEGER* pDueTime ...Show All

  • LucLuc How to decrease Form startup time?

    Hello, I have a .NET Form that displays the contents of a directory.  It works fine, but it can take 5 to 10 seconds to start and display.  If I close it and start it again, it starts faster.  How can the Form start time be decreased so the Form displays faster Thanks Mister T You could use an asynchronous method to run the directory listing while the for continues to load. Depending upon what ...Show All

  • igkmahesh (.NET 2) SSL Stream ans async write

    Hello, im using the new SSLStream class from the .NET framework version 2.0. My stream is using async functions BeginRead and BeginWrite. When i send multiple packets very fast with multiple BeginWrite calls then i get the following exception: "The BeginWrite method cannot be called when another write operation is pending" Is there smth i do wrong Shouldnt the stream itself take care about pending packets and queue them I never had problems ...Show All

  • Waqar Ahmed Control the order of calculation for fields with expressions

    c#, VS2005 My DataTable is having several 'calculated/expression' fields. Is there a way to control the order of calculation so that i would be able to use a calculated field in another, but be sure that field x is calculated before being used in field y. Kind Regards Harry No, i defined my calcutions in such a way that if he starts at the bottom of the tree they will be working. I just wanted to chec ...Show All

  • jetxx System requirements for VS 2005

    Does anyone know what the runtime requirements are for solutions developed in VS 2005 Thanks, Eyvind. Does anyone from Microsoft/the VS team listen in here I would sure be nice with a clear statement regarding this. Thanks, Eyvind. Sure, I am aware of that. But for a windows forms application, I was thinking more along the lines of  - will it run on Win95/98/etc  - ...Show All

  • Rufus Littlefield - MSFT How to create XmlTextReader object for a string stored XML content? Many Thanks!

    How to create XmlTextReader object for a string stored XML content Many Thanks!   Normally, we create XmlTextReader object using a filename parameter, such as  XmlTextReader my = new XmlTextReader(@"E:\Temp_WriteXMLToBookmark\1.xml"); but I have stored XML content into a string, how to create XmlTextReader object for the string stored XML content There is a stupid way, that is to save the string as a XML file first,then use XmlTextRea ...Show All

  • Dietrich Schaeffler can you programatically change a WebReference at run time?

    Is it possible to programatically change where a web service points to at run-time i.e. I have a Webreference pointing to "http://localhost/MAS/xfer/xfer.asmx", can I change this to e.g. "http://localhost/MAS/xfer/xfer_NEW.asmx" with a setting read in from a INI file thanks Hi! Just make it dynamic, not static. In Solution Explorer select reference and go to the Properties. Actual serv ...Show All

  • Alon * Compiled Regular Expression...setup during runtime...

    If one specifies that the regular expression should be compiled into the assembly, how does that affect a dynamic creation of the expression For example, the areas in red are specific to the string.format where a delimiter defined at runtime that is being inserted. Regex( string.Format ("( <= {0} |^)( :\") ( <Column>[\\w\\.\\- ]*)( :\") ( = {0} |$)", this.Delimiter ), RegexOptions.Singleline | RegexOptions.ExplicitC ...Show All

  • homeslick Comparing two data tables

    I have a form which has two data tables with the same schema. They have the following schema pk_Items  (Primary Key, guid) ItemKey (Integer)  Additional fields I want to remove from the first table any rows that have a matching item key in the second table. How can I do this   Thanks   Thanks that worked Run a loop, for all rows in DT2,   Find pk_items   Do a DataTable.Ro ...Show All

  • Thomas Petersen Open Data Reader Error

    Hello, I am getting an Open Data Reader Error in the Line myDataAdapter.Fill(myDataSet); The Code works fine and good in my local IIS. But when the dll is uploaded and accessed the Error occurs. Please suggest a solution. Thank You Anoop. H Could you please post more details of your source code Thanks Bei I would check and make sure you are closing all of your data reade ...Show All

  • thelovebadger asp2htm component?

    Hi all - I've previously worked on CMS web sites where we used a component called the asp2htm dll that converted asp pages into htm using a recordset. I understand, from a search on MS.com, that this is in the IIS 6 Resource Kit - I've downloaded the files from MS.com but that component is not in there and there is no indication it is in the in the books write up. Any ideas any one thanks frank why dont you tr ...Show All

  • rsf_05 System.Net.Mail: Method Clear() of MailAddressCollection leaves 1 element unremoved

    Visual Studio 2005 Version 8.0.50727.42 The task is to send an email to every recepient that is contained in a DataTable. After MailAddressCollection.Clear()   MailAddressCollection.Count changes to zero, but the next message sent still contains the first MailAddress added to the MailAddressCollection. This can be seen only if there will be no new MailAddress added to the MailAddressCollection - see below if column "EmailCC" is empty. ...Show All

  • Geoff Stockham Moving the file while it's still being created

    Hi everyone, I have the following problem. I use FileSystemWatcher.Created event to call a procedure that needs to move that file. Well, Created event should be called Creating, because it raises when file creation begins, and while it is being created. So, my problem is that I can not move the file until process that is creating the file ends. This is my solution: Dim Success As Boolean While Success = False Try Succe ...Show All

424344454647484950515253545556575859

©2008 Software Development Network

powered by phorum