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

Software Development Network >> .NET Development

.NET Development

New Question

Setup a VPN connection with .NET
Interop COM: SOMETIMES, com object become System.__ComObject.
How to throws sql25k reports from ASP .NET?
Xml and database
Serialize Data??
TableAdapters not visible when configuring ObjectDataSource
GAC references
How can I return an object with arguments using CodeDom
Inserting into two sql tables at the same time
Getting "The page cannot be displayed" page, even when the page is available n sevice is running

Top Answerers

cmcharly
Debabrata.debroy
msdate
NateRickard
Andrew-L
dano992
Javier Carvajal
richmtl
SivaS
dreameR.78
sitemap
Only Title

Answer Questions

  • Zero_ 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         Sorry, but you cannot. It is not possible to install IIS on XP Home. But you could install Cassini web server. (Look at the gotdotnet website). In VS 2005 you can develop websites/services without the need for IIS. Why do you and some others say that when so many have succeeded After all Windows XP Home is just a crippled version of Windows XP Pro. I installed IIS 5.0 on Windows XP Home using information I gathered from several sources on the internet. It is running fine so far. ------------------------------------------------------------ BTW, t ...Show All

  • gauls Objects and Structs - whats the efficiency different.

    Hi all, I know alot depends on exactly what properties are contained in the types, but is it more efficient to use structs where nessecary (I'm programming on a mobile device). Thanks Tryst wrote: But if I have a Class that is purely containing value types (ints), then it would be best to have this as a struct wouldn't it As with most things in software design/implementation: it depends. From a purely performance point of view, using a struct will force boxing and unboxing, regardless of what is in the struct. A class of only ints won't be be boxed and won't be passed "by value" as an argument to a method. If you're thinking of doing anything recursive or using it often as a method parameter, I would sugge ...Show All

  • Hsoros Thread.CurrentPrincipal -v- HttpContext.Current.User

    I have a .Net 2.0 web-service used by a WinForms app, with IIS set to Windows Authentication and anonymous access turned off. Within the web-method, I wish to retrieve the Windows login of the calling user. I've saw different articles suggest different ways to do this. Some say Thread.CurrentPrincipal, others say HttpContext.Current.User. Is there any difference, or do these reference the same principal object I'm accessing Thread .CurrentPrincipal.Identity.Name and HttpContext .Current.User.Identity.Name Also, if IIS has the web-service set to Windows Authentication, and anonymous access turned off, but the web.config doesn't have <authentication mode="Windows" />, what difference will that make Thanks, An ...Show All

  • Todd Jaspers WHERE Statement Fails. WHY!

    Private Function Check() 'CheckX10Alerts(ByVal X10_RecvCMD As String, ByVal sndDeviceAddress As String, ByVal typEvent As String) 'Prepare to look for matching alert database Dim int As Int32 bolAlertsEnabled = True If bolAlertsEnabled = True Then Using connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\Dot_Net_Projects\Visual_Basic\aiHome\Website\App_Data\aiHome.mdb;") Dim command As New OleDbCommand("SELECT strMedium, sndDeviceAddress, typEvent FROM x10_Triggers WHERE strMedium = AND sndDeviceAddress = AND typEvent = ", connection) command.Parameters.Add(strName, OleDbType.Char, 150).Value = "Movement - Front Porch" command.Paramet ...Show All

  • Warren13 Server connection timeout

    Hi guys, I am using the code below to connect to a server. This works fine on all the machines I have ever tried to connect to but a new server has recently been added on which it seems to timeout randomly. It would normally take 8secs to connect & retrieve information from a server but this takes 2 minutes on those random occasions. I believe that it may be the server timing out & responding a bit late as it might be busy or something.How could I possibly work around this and find out what is wrong I am using a third party SSH library to connect. I would appreciate any help StringBuilder output = new StringBuilder(); //SSH connection from 3rd party library (SSH2) //SSH Reader from 3rd party Socket s = new ...Show All

  • Fourge connection string to connect to a dataset?

    hi, how do i set up a connection string to get a dataadapter to read data from a data set into another datatable SqlConnection conn = new SqlConnection (); // ** connection string ** string selectQuery = "Select distinct ' " + tagValues[2] + " ' * from " + dSet[iDset] + "'" ; SqlDataAdapter f = new SqlDataAdapter (selectQuery,conn); dt[p] = new DataTable (); f.Fill(dt[p]); Thanks. the connectionstring is typically like this, for trusted connection (Windows Authentication) data source=( computerName );Initial Catalog= databaseName; Trusted_Connection=true; if you require a username/password: data source=( computerNa ...Show All

  • b-man Connection woos ...

    Just the other day I have not been able to connect to SQL Server 2005 Express Edition. NOTHING has changed. All I have noticed is that in the Surface Area Configurator the Local Connections only radio button it selected. So I try selecting the Remote radio button and Apply and Ok and then exit the Surface Area Configurator program and then come back in again and the Local Only is selected. Is this normal behavior Is Remote connections allowed or not How verify Thanks. Pinging the server name and ip address both work fine from all computers! What version of VS are you using My new and my old applications used to work remotely without problems. Both could conne ...Show All

  • happymozart How to unregister a COM wrapped .NET assembly?

    Hi All, I created a COM exposed .NET 2.0 dll and registered with my Windows 2000 operating system using 'regasm' and 'gacutil' Then I tried to call this component from my classic ASP page. It worked fine. But, I need to change the functionality of my assembly. I unregistered it again using  'regasm' and 'gacutil'  utilities and copied my new .NET DLL and registered again.  But for some reason, i still have a pointer to my old assembly and new calls to the DLL from ASP page are not working. Any Ideas   I appreciate any help. Thanks     Thanks everybody. I am doing my registration and unregistartion like this: Unregister: gacutil /u AHToIg regasm /u ...Show All

  • Xcel Always inherit from MarshalByRefObject?

    When using .NET remoting, it's obvious you must have some way of passing object values and refrerences to the remote server; but should you apply one of these practices always as a matter of course public class Password : MarshalByRefObject { ... } [ Serializable ()] public class Password { ... } I have noticed that the .NET framework inherits most (if not all) of it's objects from MarshallByRefObject. I seem to find myself now doing the same. Also, when is it best to use Serializable() instead of MarshallByRefObject I'm curious about this as well. DispatcherObject, hence DependencyObject, hence UIElement, hence almost none of the WPF components inherit from MarshalByRefObjec ...Show All

  • tr_sreedhar XML extraction form

    Hi ...I have used XPath to extract data relevant to a particular country,from my XML file..see below.. .c50HZ4 {color:#008080;} .c4ZSSG {color:#800080;} //country[@name = 'Albania' ] <country id="cid-cia-Albania" continent="Europe" name="Albania" datacode="AL" total_area="28750" population="3249136" population_growth="1.34" infant_mortality="49.2" gdp_agri="55" inflation="16" gdp_total="4100" indep_date="28 11 1912" government="emerging democracy" capital="Tirane"> <ethnicgroups name="Greeks">3</ethnicgroups> <ethnicgroups name="Alba ...Show All

  • Scionwest FileSystemWatcher.Created does not fire for files on a Unix NFS Share

    I have a directory on a Windows server that is also a NFS share (with Services for Unix). I created a FileSystemWatcher and configured for the .Created event. When i copy a file to that directory locally on the windows machine the event fires. When i copy a file to that directory from a unix box using the NFS share the event does not fire. The file does show up in the directory though. Here is the code I am using to create the FileSystemWatcher.      FileSystemWatcher filewatcher = new FileSystemWatcher ();      filewatcher.Path = @"C:\FromUnix" ;      filewatcher.Filter = "*.*" ;      filewatcher.Created += new FileSyste ...Show All

  • kawing0510 Object reference not set to an instance of an object.

    I have now got my xml reader working but only when i remove one of the lines from my resultant xml file < xml version="1.0" encoding="utf-8" > If I manually remove this line and then save my file it works ok. the scenerio: A user enters a reg no eg "D1ger" this is then passed to a string and converted into a Url. The information that comes back from the server then gets saved as an xml file. (3rd party subscription service). This then gets read through and placed into text boxes once the user agrees with the data is update to SQL Server. the following is an abstract of the code used: 'declare varibles Dim regno1 As String regno1 = RegNoTxt.Text Dim VRM1(1) As Str ...Show All

  • KirkAtCenterstance Using GetPrivateProfileSection() method in C#

    Dear friends i am trying to read .INI file using c#. istead of StreamReader() i need to use GetPrivateProfileSection() to get the values of a specified section. i am getting exceptions while using the method. it will be great if any suggetions on syntax of GetPrivateProfileSection() method in C# and how to do that. thanks ranadheer. The GetPrivateProfileSection function retrieves all the keys and values for the specified section of an initialization file. Reference to http://msdn2.microsoft.com/en-us/library/ms724363.aspx Hope it helps yo Figo, The question was asked as to how to use it in C# and not windows sdk try this instead [DllImport("kernel32", SetLastEr ...Show All

  • PravinD Exchanging binary serialized objects

    I have two (different) applications that need to share data between themselves. For this purpose they both talk to a database, and that works fine for most of the data. However there is some data that needs to be shipped back and forth as a collection of custom objects. To that end, I tried to serialize the collection using a BinaryFormatter. The problem comes when the other application tries to deserialize the package. Apparently the formatter tags the serialized objects with the originating assembly name, namespace, and version number. When the recieving application opens up the package, it tries to map that data to it's own assembly name, namespace, and version number and fails. Is there a way to avoid this and get the collection ...Show All

  • GregRoberts How to diplay web page inside another web page window?

    Hello, I would like to display small window with web page inside window of antoher web page. is it possible how to do this using HTML Thanks! cyberjoe Hi cyberjoe, The most simple solution for that is to use an IFRAME.... anyway I recommend you to look at http://forums.asp.net in where you may find more ASP.NET and HTML related Q&A. Regards, Rodrigo ...Show All

83848586878889909192939495969798990

©2008 Software Development Network

powered by phorum