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

Software Development Network >> .NET Development

.NET Development

New Question

need help with Anchors or PostBacks in ASP/VB
extracting subtree data from XML
System.TimeoutException:Thewritetimedout.atSystem.IO.Ports
Regular expression to extract two string
Net framework GONE!!
Adding column to a dbf file
FileSystemWatcher: how do you keep FSW running in a C++ app without an infinite loop?
How I can use COM-port if its uses by another process ?
Do I need the Microsoft Jet OLE DB Provider on XP SP2 (MDAC 2.8) via VB?
FileIOPermission ACL Question

Top Answerers

gafferuk
Sandyee
GSReddy
rectis
ITsAlive
soconne
Edward Smeathers
mxapacbell
Michael Covington
Geo725
sitemap
Only Title

Answer Questions

  • axelfxxx how to create .xml file using SQL query (SQL Server 2000)

    i'm using a datawarehouse from which i need to pickup huge data and show it using a grid on a web page. my thought is to create an .xml file suing SQL query and then create a dataset from the XML file and then bind it to a datagrid do any one have any better(best) approach for this   actually the requirement is like this: 1) Its a migration project from asp to .net with many enhancements in the application. 2) clients already designed the DB. we should not make any changes to DB. 3) i have a stored procedure which returns 26000 rows with 24 columns. This data needs to be populated in a grid for client's reference. that is why.. I want to create a .xml file from s ...Show All

  • wpf michelle Capicom and .NET 2.0 digital sign: different result files?!?!?!?!

    Hello, i'm using CAPICOM and .NET to digital sign files (here in italy are .p7m, but i think that are the same that the .p7s files). I have a strange behaviour while i sign documents with .NET 2.0. I obtain files that i can't read with other commercial readers (Dike and Signo here in italy). When i use CAPICOM i obtain exactly the same files that i obtain with commercial software. I check the dimension of the files and i find that the files created with .NET 2.0 have a smaller dimension (only some bytes). This is the code that i'm using: .NET 2.0 Version Public Function SignData( ByVal clearContent() As Byte , ByRef signedContent() As Byte ) As Boolean Try Dim contentInfo As New ContentInfo(clearContent) ...Show All

  • ChandraP XslCompiledTransform.Transform very slow

    XslCompiledTransform is taking more time to transform xml file using xslt files. XslCompiledTransform.Load() , loads and compile xslt faster, but XslCompiledTransform.Transform() is taking more time to transform then using XslTransform class. I have C# code in xslt files for data manipulations and sometimes xml files may be big in size. The memory consumption the Transform method has depends on the size of the XML input and the size of the transformation result, it builds an XPathDocument in memory for the source tree and transforms that to a result tree that is being serialized. I didn't. Can you please send it to: vascoveiga@hotmail.com Or post it on a website where i can grab it from --VV [MS] vascov ...Show All

  • DavidC#2005 Why does AppDomain.CreateInstanceAndUnwrap(..) work and AppDomain.CreateInstanceFrom(...).UnWrap doesn't?

    Why does AppDomain.CreateInstanceAndUnwrap(..) work and AppDomain.CreateInstanceFrom(...).UnWrap doesn't I'm trying to load an assembly in a AppDomain. The AppDomain.CreateInstanceAndUnwrap works but only when the assembly is in the GAC. I do not want to use the GAC so I've tried to use the AppDomain.CreateInstanceFrom and then use the ObjectHandle.Unwrap() to ge the Object but this fails when I try to cast it to my Object with: Unable to cast transparent proxy to type 'Configuration.CompileProxy.Compiler'. Here's the code: AppDomain ad = AppDomain.CreateDomain("Temp Domain"); // create a new try { //Configuration.CompileProxy.Compiler galaxyCompiler = (Configuration.CompileProxy.Compiler)ad.C ...Show All

  • Rick101 EnterpriseServices ObjectPooling and Tracing

    I've a number of EnterpriseService based object for the sole reason that it can do Object pooling. They run nice and fine but I need to be able to trace them to a file using the TextWriterTraceListener. What would be the proper location to call the System.Diagnostics.Trace.Listeners.Add() I've tried the constructor and the Construct method but I end up with as many trace listeners as objects in the pool, visible as multiple entries in the trace log file. Is there one single location to create and add the listener Jo It should be called once per process. So it makes sense that it gets called a second time when the new instance spun up in recycling takes over. I just switch off Applicati ...Show All

  • Holm76 Remote Event's handler in client application

    I am using C# with Singleton. on .NET framework 1.1 I want to call an event using delegate on remote object and want to handle it into client application. After building remote object 's project(Class library) I have copied that .DLL in client and added reference to it in client project. In server config file I have set typeFilterLevel to full . But I am not able todo that. It is showing Security exception. Do I need to write cusomized sink to do that or without that also It can be done. I need the simplest way to do that. If Source code of my apllication is required let me know... I will post that too... Thanks. Read that: http://dotnetjunkies.com/Tutorial/BFB598D4-0CC8-4392 ...Show All

  • Roy mm Interop Thread Leak?

    Hi, I'm hoping for a few pointers for tracking down a resource leak. I developed a VB 2.0 indexing application which is using FileNet's Capture COM objects and we're occasionally seeing a fairly serious leak. It doesn't appear to happen consistently (one user has never had one and I can't seem to reproduce it in my test environment), but it does occur regularly in production. I've been using various tools to poke around in a mini-dump (w/ full memory) and I've seen a few potential problem areas, but I can't seem narrow it down any further. Using PerfMon I found that the leak appears to be in private unmanaged memory. When I open the dump in WinDbg, I get this message: This dump file has an exception of interest stored in it ...Show All

  • WayneSpangler Updating Adds the same record to all rows in the Database instead of just one?

    Hello. I'm trying to update a single record in a database to add new data, but when I hit my update button and the event runs, it adds that record to ever record in the database overwriting the current data in the database. I'm not sure how to work around this problem. Any help would be greatly appreciated. Thank you. Do the SQL commands work if I'm using an Access database rather than using MySQL server Ok, just to be the crumedgeon that I am I have to say I'll never say ok to code that isnt' parameterized. However absent that, your logic looks ok - just remember this approach will only allow you to address one record at a time. Glad you got it to work though ;-) So I'm attempting to use Paramete ...Show All

  • Gess Man How to omit xmlns="" from the created node through XmlDocumentFragment?

    Hi, I am inserting some new nodes with the help of " XmlDocumentFragment" Object. Here is my Code; XmlDocument doc = new XmlDocument (); string path = Server.MapPath( "~/test.xml" ); doc.Load(path); XmlDocumentFragment docFrag = doc.CreateDocumentFragment(); docFrag.InnerXml = "<url><loc>" + "Here come Location" + "</loc><lastmod>" + DateTime .Now.ToString( "yyyy-MM-dd" ) + "</lastmod></url>" ; doc.DocumentElement.AppendChild(docFrag); doc.Save(Server.MapPath( "~/test.xml" )); This results as; < url xmlns = "" > < loc &g ...Show All

  • BJones82 Threading fun ;)

    Hello threading professionals, I have something "clean" and interesting for you... please help. I will appreciate it.. I want to solve the problem and (more so) learn about how this thing works.. very interested in the details. In my simple notes-taking simple, once in a blue moon it happens that the GUI stops responding.. I finally took the courage and attached a debugger earlier today when it happened again. With my newly acquired debugging skills I found out where the problem lies and what is happening. However I still don't understand WHY it happens. I imagine that it should be too hard of a challenge for someone with a lot of experience in this subject. Here we go: In my NotesForm, I use a System.Threading.Timer which fires every 20se ...Show All

  • epsilon_ro Remoting+Serialize Bitmap Object

    How to serailize Bitmap Object through remoting , So that I can read a *.bmp file into Bitmap object and retrun it back to the client through wire(Using .NET Remoting). You should be able to simply pass the object because it is serializable. Ya Its true but Its giving error while seralizing the Bitmapobject . Proxy exception is being raised by remoting framework. Its working fine when I serialize it into binary arry and pass to client .   I did like this Its working fine 1) Openthe file and read it into a bitmap and save it into memory stream 2)Read from memory stream and create a byte arry of memory stream 3)return the byte array to client   client side read the b ...Show All

  • Anarchy No error message available, result code: E_FAIL(0x80004005).

    hi friends i try to connect to ms excel in asp.net 2.0 protected void Button1_Click(object sender, EventArgs e) { DataTable worksheets; string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Spain_test.xls;Extended Properties=""Excel 8.0;HDR=YES;"""; using (System.Data.OleDb.OleDbConnection connection = new System.Data.OleDb.OleDbConnection(connectionString)) { connection.Open(); worksheets = connection.GetSchema("Tables"); } } but i got Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. ...Show All

  • flubla Instrumentation problems using latest Jan 2006 version of Enterprise Library

    Has anyone ever tried instrumenting a component using InstrumentationListener and InstrumentationProvider from the latest Enterprise Library I am following a sample code from the documentation but it fails during run-time when I try to raise OnDbConnect event from the code below. The error that I get is "Object reference not set to an instance of an object". I am sure it is an easy fix but I cannot seem to find what is wrong. ObjectBuilder is supposed to link an OnDbConnect event from the InstrumentationProvider with the function ConnectObserved() from the InstrumentationListener, but that is clearly not happening :-( Here is the code: public partial class Form1 : Form { public Form1() { InitializeComponent ...Show All

  • ajliaks Directory creation .....

    Hai, I want to create a directory in the system localharddisk through my Web application(C# Asp.Net) . I used this coding inside the button click event. System.IO.Directory.CreateDirectory("c:\\FolderName"); While running it creates a folder successfully in my system. When i try to run this same application from another system(client), the creation process is happening in server only. I want to create the folder in that particular systems harddisk(ie,client). In What way i can implement it... Give the solution......... Thanks...................... The server cannot create a folder on the client computer. Asp.Net code is Server Side code, which means the code executes on the serve ...Show All

  • clint 2 How to find COM file(dll) dependency at runtime?

    Hi Everyone, Can anybody please tell me how can I find COM dependency programatically Can you be more specific Technically, you can find out what DLLs are implicitly linked to the DLL or EXE by reading the PE import table.  That however only tells you half the story, especially with COM DLLs.  You can't tell what DLLs get explicity loaded with the LoadLibrary() API function and there's no way to find out unless you actually execute the code in the DLL. The DependencyWalker tool is crucial to reverse-engineer such dependencies... I have one COM file (dll) which is dependent on another c++ dlls. Now I want to find programatically that dlls..................by reading dll header or whatever I don ...Show All

787980818283848586878889909192939495

©2008 Software Development Network

powered by phorum