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

Software Development Network >> .NET Development

.NET Development

New Question

System.Diagnostics.Process Namespace question
tell windows to run C# app when scan button on scanner pressed
developing webservice on Dev server
{"Object must implement IConvertible."}
how to return a socket connecting time?
sent and received data size!
ObjectDataSource Bidirectional ControlParameter - is it possible?
StDev returns NaN
Regex get last number in string
.NET CLR with console app

Top Answerers

Ala Kushlaf
MotteKarotte
LasseJ
Aleniko29139
kbdaemon
AlanKohl
Laurent87471
Jafar Bhatti
justme2005
ebeofrei
sitemap
Only Title

Answer Questions

  • Jmedeira Inheriting from DataRow

    Is it possible How do i create my own class which will be inheriting all the features of DataRow so I can expand it to have a Tag property Thank you! Yep, check my example code below.  You must create a DataTable companion with an overloaded NewRowFromBuilder method.  As the DataRow must be created via NewRow:  /// <summary>  /// Pop3 message header  /// </summary>  public class Pop3MessageHeader : DataRow  {   Pop3MessageHeaderTable parent;   /// <summary>   /// CTor   /// </summary>   /// <param name="rowBuilder">Row builder object to use when buil ...Show All

  • anydobbo Reading Excel worksheet

    I'm trying to get the contents of a single cell in excel and display it in a textbox. How do I do this Do you have access to the Excel Interop tools If not, you can do it using OLE. Everything you need should be here http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnadonet/html/odatanet2.asp . If you've got questions about implementing it I can probably help, as I've been doing a lot of this lately. You also need to be careful in a case if you need to read dates. In many cases you could get double precision number that represents the date instead of the actual date. In some cases you could also get NULL value for the cells where provider is not able to identify the proper dat ...Show All

  • WebService4Ever DataTables and SQLDataAdapter events can trigger eachother causing additional hits to the Database

    I've noticed when doing inserts and updates to a SQL database from a DataTable, the SQLDataAdapter will AcceptChangesDuringUpdate and AcceptChangesDuringFill. This is a great feature, except when the data values come from the database such as a Primary key for a new row or default values when no value was specified by the end user, then this causes another RowChanged event to fire and the Update back to the database is called because the RowState is set to Modified when the DataTable Row is updated with the new values from SQL. I'd like to be able to halt notifications on a DataTable under certain circumstances such as while I'm executing an SQLDataAdapter.Fill(dt) or on some other unknown occasion... Is this currently possible or wi ...Show All

  • Darko01 WSDL/XSD/.Net Serialiation Questions

    Ok, I'm hoping someone can clarify some behaviour for me. I'm attempting to start with WSDL & XSD file to perform contract first style development in VS 2005/.NET 2.0. The web service contract is SvcReponseType svcResponse Execute( SvcRequestType svcRequest) The xsd created and referenced by wsdl is: < xml version = " 1.0 " encoding = " utf-8 " > < xs:schema xmlns = " http://www.ipdsolution.com/ultera/ipd/2006/10/xsd " xmlns:xs = " http://www.w3.org/2001/XMLSchema " targetNamespace = " http://www.ipdsolution.com/ultera/ipd/2006/10/xsd " elementFormDefault = " qualified " attributeFormDefault = " unqualified " > ...Show All

  • FC-Shiro IPHelper in VB.NET 2005

    Hi All, I'm trying to apply IPhelper APIs to VB.NET (VS 2005). In particular, I need to change NIC's Admin Status: toggle it Up/Down. On GetIfTable call I got value 87 (instead of 0). All that works perfect in VB6. Any ideas on using that stuff in VB.NET Thanks, Greg Your call to GC.Free in VarPtr() doesn't look good, you'd want to keep the pinned pointer around until you're done using it, after the call to GetIfTable(). If it still complains, consider using Marshal.AllocHGlobal to allocate the buffer and Marshal.Copy to copy the data into buff(). You mean the function return value is 87 If so, that means you have an invalid parameter. Most likely it's the pdwSize parameter (the seco ...Show All

  • BrandonFogerty how can i keep sockets server alive in asp.net web application

    Hi , i have created a c# asp.net web application that acts as sockets server. i create server.cs class that handles all the sockets server processes ( start , listen , recieve , handle incoming msgs ,....) and one aspx page that call the start method in the server. the problem now is : at the session end ( after session timeout ) the server is closed and throws ThreadAbortException . my question is how can i make the server still alive , i don't want it to stop after the session timeout. i appreciate any help Thanks, Mayoosh What is this socket serever is doing Is the ASP.NEt application and the Socket Server are in different processes Are they in the same process What is the purpose of this socket serve ...Show All

  • ZhangZJ IIS on Windows Xp Home

    hi,   can any one help me out in installing IIS on Windows XP home edition, I tried a lot but was unable to do so. thanx         Step 1 says: You will need the installation CD of Win2000 Professional or Server ( winXP Pro CD WILL NOT work ) or a trial version of Windows 2000 Server So I think without these cd's you're lost. If had this problem a while ago. I tried several "solutions" on the net but none were satisfying. Reading the newsgroup I found Cassini: http://www.asp.net/Default.aspx tabindex=6&tabid=41 When you install VS 2005 you'll notice that the built-in Web Server looks a lot like the Cassini webserver. Sorry, but you cannot. It is not possible to install IIS ...Show All

  • Amde Shutting down network computers?

    I suspect that I once again have someone leeching of my Wireless router again and I can't connect and lock it for some reason. So I thought perhaps I could shutdown the computer who is leeching off my network As a lesson :P There are probably a lot of software out there that could do this but it would be nice to learn how I could create such software. Error 1 The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference ) C:\Documents and Settings\Deru\Lokala installningar\Application Data\Temporary Projects\WindowsApplication1\Form1.cs 8 14 WindowsApplication1 I have included the "using System.DirectoryServices" though it ...Show All

  • Sarath. SMTPMAIL error (bare LF)

    Hi I got this error went using SMTPMAIL, "System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040211): The message could not be sent to the SMTP server. The transport error code was 0x800ccc6a. The server response was 451 See http://pobox.com/~djb/docs/smtplf.html." Can someone on how to end the email Thanks in advance. same problem with plan text. I can't install ethereal in the hosting server, and if i try to send using my development pc, the mail server reject my connection : (... I think the only way for me now i ...Show All

  • NoEgo web services

    Hi all, i want to create a web service in vb.net which would communicate with another web service developed in java. The java developed web service will be running on jboss server. my main idea is to create a web service which would communicate with the jboss server ... please help me in this... thanks in advance srichand hi, Nathan Anderson i hope this works .. i will try to do this first and then inform you. any how thanks for your help... bye srichand The JBoss web service should expose a wsdl, with that you can create a VB proxy with either wsdl.exe from the SDK or with Add Web Reference from a VS 2005 project. That proxy should be enough to get started communicating with the web service ...Show All

  • mnfisher interop with events

    Could someone help me out on this For brevity I will try and keep this initial post short - cut right to the problem. Further detail will be added as requested. The problem I figure is a simple one, but one i cannot seem to crack....yet. I have a simple .NET control, the code is given below, and is self-explanatory. Simply cut and paste it into a new VS2005 Visual C# Windows Control Library project - call it ...say... XDotNetControl To make this control COM-accessible go to the project's property --> Application tab, click Assembly Information and check "Make assembly COM-Visible". Then on the Buid tab, scroll to the bottom and check "Register for COM interop". Now build it - it will have entered all the ...Show All

  • Tryin2Bgood How do I test whether I have permission to read a file?

    I am trying to test whether I have the ability to read a specific file, without actually reading the file or any exceptions being generated. I'm looking for the equivalent of the -r operator in shell script or Perl. File.GetAccessControl() doesn't meet my needs, as it requires permissions to get the access control list, and provides no simple way to determine what permissions the current user has to the file. Thanks, Kevin The only reliable way to know whether you have permission to open a file is to try to open it. Even then it is subject to variations, e.g. you may be able to read C:\myfile.txt but not \\127.0.0.1\c$\myfile.txt so the same file may have apparently different permissions dependent on the path. It's not ideal, a ...Show All

  • emadigon Setup Error When Installing .NET Framework 3.0 in Windows XP SP2.

    I'm trying to install .NET Framework 3.0 on my computer with Windows XP SP2. When I go to install it is cut short because of a setup error, then it wants me to run a file called dotnetfx3setup.exe which does nothing for the install. Any help would be greatly appreciated. Please elaborate as much as possible. The error log states the following: [02/26/07,01:40:25] Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603 [02/26/07,01:40:52] WapUI: [2] DepCheck indicates Windows Communication Foundation is not installed. [02/26/07,01:40:52] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. [02/26/07,01:43:13] Win ...Show All

  • softwarejaeger How to get .Net 3.0 to work with VS2005?

    I am running WinXP SP2. I downloaded and then tried running the .Net 3.0 redist package from this location: http://www.microsoft.com/downloads/thankyou.aspx familyId=10cc340b-f857-4a14-83f5-25634c3bf043&displayLang=en It bombs every time with a generic failure message. All I want to do is ty to get .Net 3.0 to work with VS2005 (not Orcas) and do some work with WCF. I'm seeing quite a few posts on the confusion of what exaclty to install. I'm not sure why this has to be so complicated, especially if .Net 3.0 is supposed to have been released. Can anyone point me to a clear series of steps of what to download, and where it can be found Have a look at this thread. http://forums.microsoft.com/forums/ShowPost.aspx PostID=10833 ...Show All

  • Bianca J. Print string to a printer

    I developed an application that works with a thermal printer .For opening cash drawer I need to send a control character to printer.I tried to send my character by printdocument object but it seems this object change my text to grafic that I don't want.So what can I do hi I want to send a line like followed for my printer: print "a" , font("FontControl",8.5) How should I do that Several threads on these forums talk about this, check out the results of this query . Hoping your printer using COM1 or LPT1, just open the port and write the bytes. Have a look at the following namespace: System.IO.Ports ............................. ...Show All

252627282930313233343536373839404142

©2008 Software Development Network

powered by phorum