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

Software Development Network >> .NET Development

.NET Development

New Question

Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)
Packaging applications
How do i generate an HTML email and send it using the SMTP mail class
Remoting from GINA
Obtaining ModuleID
How to Fire onChange event in javascript in case AutoComplete is set on.
Embedded pdf's not displaying
Membership provider doesnt connect to sql server.? RC1
[OneWay] behavior at runtime instead of compile-time
Moving from CDO to System.net.mail, cdoanonymous?

Top Answerers

getyourbone
bY73-_-j0b
Anupriti
AA2e72E
gradley
Rob Reis
bcshivley
JRHudnutt
lmp8874
Hugh Burton
Stage2hosting
Only Title

Answer Questions

  • Fred Bernstein .NET 2.0 Interop: What does MarshalAs want from me?

    I have an application that has been happily hosting the web browser component and sinking it's interfaces for quite some time now. I finally got Visual Studio.NET 2005 and, rather than getting to experience all the incredible new productivity gains, all I've been is hobbled by new backwards compatibility issues. Here is what one of my current interfaces looks like:        void ShowUI( uint dwID, ...Show All

  • Yuriy T app.config for a DLL

    Hi all, I'm developing an add-in for Outlook 2003. My output is a DLL file which is hosted by Outlook. I'm using Microsoft Application Block called Updater which needs to read app.config file. The problem is that it gets the Office path and not the dll's. I tried to set: AppDomain.CurrentDomain.SetupInformation.ConfigurationFile = @"C:\Temp\AddIn\App.config"; But it didn't help. Any suggestions Thanks. Hi, D ...Show All

  • Brian Schmidt Process.start not behaving as expected

    This bit of code produces a blank message box : Dim MyProcess As New Process Dim startInfo As New ProcessStartInfo( "notepad.exe" ) MyProcess = Process.Start(startInfo) MsgBox(MyProcess.MainWindowTitle.ToString) Any sebsequent attempt to access any MyProcess property comes up with nothing. This produces a message box with the expected text: Dim MyProcess As New Process Dim startIn ...Show All

  • Utkarsh Check if a path is a folder of file

    Hi! Simple question: Is there a way to find out if a path contained in a string variable corresponds to a folder or a file Using simply the string format, no.  A directory can contain all the same characters as a filename and vice versa.  The only way to tell is to actual check to see if the file or directory exists using either File.Exists or Directory.Exists.  If you need to determine this without going to the file syste ...Show All

  • vbvc Using ActiveDirectoryMembershipProvider to authenticate against ADAM

    Hi there, I've searched all over the internet and found more developers with the same problem, but no solutions at all. I'm using the June CTP of VS.NET 2005 on WinXP SP2 and want to use the ActiveDirectoryMembershipProvider to validate my users against ADAM. My web.config contains the following parts (where CDomain\MyUsername is a local administrator that is also member of the administrators-group in the ADAM-instance): < connectionStr ...Show All

  • tculler the root element is missing

    Hi, I keep getting this exception when I do: ds.ReadXml(stmReader) here is my xml file : < xml version="1.0" encoding="utf-8" > <Settings>  <UserSettings>   <Server>192.168.0.1</Server>   <UserName>sorcererdev</UserName>   <Database>NewWorld</Database>  </UserSettings>  <UserSettings>   <Server>192.168.0.1</Server&g ...Show All

  • srjing2 Web Service works locally, not remotely

    All is ASP.NET 2.0, C# I have a web service that works exactly as expected when on the host machine, invoked in a web browser. When I try to consume it from my client application, it fails, and fails oddly. When the service gets called from the application, I get a SQL Exception that for the parameterized query I don't provide a value for the parameter '@SITE' . In the code I clearly set this parameter. When I consume the service from my c ...Show All

  • laMenAcquired .NET Runtime

    I have an application that I distributed to a windows 2000 server machine with only the .net runtime on it.  The application would not even start.  I created a quick form program with a label where the text was just "Hi".  Built the installation, installed it on the server and it wouldn't start.  I downloaded the .NET SDK to the windows 2k machine, installed it and the aplications ran fine.  What am I missing in the inst ...Show All

  • firewalker When to call dispose when using SqlConnection and SqlCommand?

       What is the best practice when running code as follows: //### code start #### SqlConnection conn = new SqlConnection("xxxx"); SqlCommand cmd = conn.CreateCommand(); //...do the necessary processing cmd.Dispose(); conn.Close(); conn.Dispose(); //### code end #### calling Dispose on the cmd and the connection seems redundant.  Additionally, if I am disposing hte connection should I first explicitly call Close()   The sh ...Show All

  • Philippe Dansereau hwo to set to avoid the SecurityException ...?

    ************** Exception Text ************** System.Security.SecurityException: Request for the permission of type System.Windows.Forms.SafeNativeMethods.IFont.GetHFont()    at System.Windows.Forms.Control.ActiveXImpl.get_AmbientFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows.Forms.Control.GetParentFont()    at System.Windows.Forms.Control.get_Font()    at System.Windows ...Show All

  • swfisher OOP and VB/ASP.NET

    OK, I asked this in a separate post , but I'll see if I can rephrase it. I'm trying to make my app more OOPish. My interface (that is, the HTML, the datagrid on it and the associated VB code) has objects that I want to expose to other classes & procedures. To do this, it seems to me that my interface should be its own class, which I instantiate once and then refer to from my core code. Where do I place this core code I on ...Show All

  • heallven Find a record

    Hello all; Is it possible to find a specific record by using Datatable.Rows.Find(), or i have to use SQL statement instead. Thanks The Find method you're referring to requires that you set the PrimaryKey property on the DataTable to an array of DataColumns that constitute the primary key.  You then pass the value for the primary key column (or array of values for a multi-column primary key) to the Find method, which returns the de ...Show All

  • Serena3838 Starting one proccess from another while a third is locked up

    I am programming in VB.NET (2005) I do not seem to be able to start process B from process A whilst process C is locked up waiting - as it happens - for process A to tell it that process B has started. From some other behaviours I am guessing that the new process B can not start while another process (C in this case) has not returned from processing a windows message. I think there is some way for process C to process m ...Show All

  • NPrinsloo Best method to format and convert database??

    I’m writing an application that needs to be able to pull information from a Foxpro database, format it, and then store it into an Access database.  At the moment I'm using a For Next Loop to pass through each field in a dataset loaded  ...Show All

  • NameDon Encryption Decryption in VS2005-Coverting Byte array to string.

    Coverting Byte array to string. Hi, I have written a peice of code for encrypting and decrypting using the triple des algorithm. The ecrypt part of it works fine. It take value from a textbox, converts it to a byte array and passes it to the EncryptMessage method. The method returns a byte array which i convert back to string so that the cipher can be displayed in a label. The problem occurs while decrypting. I m taking the value ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum