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

Software Development Network >> .NET Development

.NET Development

New Question

Convert XML to Excel spreadsheet using XSLT
FQDN
SQL Server does not exist or access denied
Exposing a collection class to COM
Problem with InternalsVisibleToAttribute
Error 25015 while installing .NET Framework 2.0
Accidently deleted .Net Framework 1.1
Opening a new window
Need Help! Common Language Runtime Debugging Services error
SQL Question

Top Answerers

Dev Null
Domino7
Daniel Ch. Bloch
palakanand
MDFirdouse
Scott Allen
Fabio Pagano
Seán1970
Robert Hartley
NitinNetaji
RocketCart
Only Title

Answer Questions

  • Rajiv Roopan I want to confirm this about AppDomains.

    Hi, In my application I create a secondary AppDomain and load assembly "Foobar". Shortly after, I call: foreach( Assembly a in AppDomain.CurrentDomain.GetAssemblies( ) ) { Trace.WriteLine(a.FullName); } And wouldn't you know it, the "Foobar" assembly appears in the *current* app domain. I didn't think this assembly would be present because it should be in the secondary app domain. If you hold the mouse over CurrentDomain, t ...Show All

  • Roosevelt Sheriff - MSFT net remoting problem

    Hi! I have a remote object that was runing fine over iss, but active directory was installed on the server and now the remote object is not available anymore. I get the next error:   System.TypeInitializationException: The type initializer for "System.Net.IPAddress" threw an exception. ---> System.TypeInitializationException: The type initializer for "System.Net.Sockets.Socket" threw an exception. ---> System.DllNotFoundExcep ...Show All

  • Need_Helpss <.Net Remoting> Can I define an event in Remote Object and sink the event in the client?

    I have tried to define an event in remote object and add an event handler in the client code after I get remote object. It threw exception. I wonder if it is workable Scenario . Henry You need to create a proxy of the remote object and then it is possible. http://dotnetjunkies.com/Tutorial/BFB598D4-0CC8-4392-893D-30252E2B3283.dcik ...Show All

  • Arbu Bizarre GC behavior (while testing a WeakDictionary)

    I am encountering a bizarre GC behavior while testing a dictionary that I have designed. The designed dictionary is a WeakDictionary. That is basically a Dictionary where all values are kept through a WeakReference. The WeakDictionary does not prevent the values from being collected if they are not rooted elsewhere. Here below is the NUnit code that I am using to test the WeakDictionary. As you can see there are lines with REQUIRED. If those l ...Show All

  • bbastiaensen The partner transaction manager has disabled its support for remote/network transactions

    Hi People, I developed a .net 2.0 windows applications using TransactionScope. Client applications access a MSDE database on server via LAN. The program works fine when I tested on my own computer where database is on the same machine. But when I deployed database to the server, I got a message "The partner transaction manager has disabled its support for remote/network transactions Exception from HRESULT: 0x8004D025". I did some ...Show All

  • TennisGeek Possible to Cast from String representation of Type?

    I am loading an xml file that contains both the type and value of an item. EG: < ListReturnItem itemName =" TargetID " itemType =" int "> 23 </ ListReturnItem > < ListReturnItem itemName =" TargetState " itemType =" PublicTargetState "> Enabled </ ListReturnItem > PublicTargetState is a predefined unumerated type. I need to be able to create a new object based on the xml value of itemType, which is a string ...Show All

  • Ralph G Loading a Type with the Type's Fully Qualified Name

    I haven't done this in a while so it's giving me troubles. I know it's possible just can't seem to get it going. I have a class library which has a fully qualified name: "GreyEagle.Northwind.Data.DataAccess.Sql.SqlDataProvider, GreyEagle.Northwind.Data.DataAccess.Sql, Version=1.0.2222.29395, Culture=neutral, PublicKeyToken=null" I am trying to load the type with reflection but I can't remember how to pass do it without j ...Show All

  • Motley StreamReader-> Search And Modify inside textfile

    Hi there, I need some help pertaining to a text file. No use explaining, I'll do it as I go along. Here is an example of my text file: Sasko Sam Seedloaf 800gr [6.86] #3## Elite Gouda Cheese 500gr [32.90] #5## Wholegrain [5.00] #6## Wholewheat [6.00] #7## Coke [7.00] #0## If i break it down, using the first line as an example, each line contains: A product: "Sasko Sam Seedloaf 800gr" A price: "6.86" A qua ...Show All

  • sanjayjoshi29 Uploading image through web service

    Hi all, I', trying to upload an image from the mobile to the remote server using web service. I'm sending the image to the web service as a string , then in the web service method I'll convert the string back to bytes array and create the image. The image size is often 20K size. The problem : I used a software to check the data comes to the server from the mobile, and I see the mobile sends the strings perfectlly to the server but th ...Show All

  • Nobody you know ExecuteNonQuery hangs

    Hi All, I posted a question some days ago, but didnt get any response. I guess I didnt word it properly. I'll try my best this time.... This is what I did: Create Command(connection, myTransaction) Set TimeOut property Try myCommand.ExecuteNonQuery() myTransaction.Commit() Catch ex as Exception myTransaction.Rollback() End try But the app hangs at myCommand.ExecuteNonQuery() statement. So, I tried to do it differently: I try to run the Exe ...Show All

  • //ph SQL UPDATE - "No value given for one or more required parameters"

    I've used this structure in several other C# database programs with success, until this app.  Now I'm receiving this: "No value given for one or more required parameters." The key is SAMS_ID. The data is text, no numeric fields.  The code I used is below.  I've tried removing the single quotes from around the date field and also from around any fields that contain numbers but still receive the same error. Anyone know w ...Show All

  • andy72 Keeping Unmanaged DLL Used by P/Invoke in Memory

    I use a 3rd party DLL, written in C++, that I call via P/Invoke (C#.NET 1.1). Problem is this DLL takes about 3 times as long to call the first time it initializes that it does subsequent times. Calling it via P/Invoke seems to cause it to load everytime. How do I keep it in memory so I do not get the initialization overhead everytime I call it. Mattias is correct.  When you use interop it effectively does a LoadLibrary on the DLL.&nb ...Show All

  • patricef How to use Serialport in VB?

    I've search for exemple of how to use Serialport, but all my search ended up with c# examples... Any example in VB Thanks Nico I've tried the example above but with no results, the event Datareceived is never invoked. I have another application that reads the port fine, I have put in the same properties to the port as in the application that is working (Com1, 9600, 8 bit, parity none, stop bit 1 with a timeout ...Show All

  • Pascal Geuze Update connect not working..

    Hi all, I am trying to save changes to a dataset in an MSDE database. First I get data from an Interbase database and fill in a dataset with it via a DataAdapter. next I use a dummy edit to mark them and changed. Next I popullate another dataset with data from my MSDE database using another DataAdapter. Then I merge the Interbase DataSet into the MSDE DataSet then do an update...... System . Data . Odbc . OdbcDataAdapter adapter = ...Show All

  • Broken XML-RPC

    Hi, I have XML-RPC request to be run on Sun Solaris 9. My realtime example goes like this. Can anybody suggest me how can i parse this XML request and handle the reposnse. What is best tool in Windows environment to parse XMl-RPC requests [ POST BEGIN ] POST /VoucherAdmin HTTP/1.1 Content-Length: 286 Content-Type: text/xml Date: Mon, 30 Aug 2004 13:17:39 MEST Host: ws2258:10010 User-Agent: IVR/2.0/1.0 Authorization: Basic dXNlcjpwYXNzd29yZ ...Show All

888990919293949596979899012345

©2008 Software Development Network

powered by phorum