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

Software Development Network >> .NET Development

.NET Development

New Question

Capturing LogEvents using MDBG
Fill DataSet from Txt, memory doesn't like it
Desiging Data Access
SSL on non-blocking socket, please help.
VB 2005 Colletions Issue
What is the connection string to write for importing mixed data from excel sheet to data grid
Terminate Data Transmission pre-maturely when using HTTPS in Windows Mobile 5.0
XML - either ListBox or Array List
XML documents saves only after closing application
Unspecified Error - when retrieving data from recordset

Top Answerers

armie
bkejser
Shawn Rheal
Chang Chen
Troy Lundin
fddsfsdf
Kardi
GLutz78
WL_07
John123
A Programar
Only Title

Answer Questions

  • Latso Xml reference is Nothing in Framework 2

    Hi, I have a WebService at a server with Framework v1.1.4322 and retrives a xmlDocument. <WebMethod()> _ Public Function Save( ByVal AccountName As String , ByVal Password As String , ByRef xmlOrderDocument As XmlDocument) As Boolean At our new server with Framework v.2.0.50727 the xmlOrderDocument is nothing when it passes to the function. Does anyone has any idea why Rgds Cynkan (Moderator: Thread moved to this forum for better responses) One error which one might run into is a what version of .Net that ASP.Net is set to use on the server. For example when one upgrades to .Net 2, asp.might still be set to use .Net 1x. To check/change it to use v2 do this: ...Show All

  • bomberx25 Application using WebService

    Hi Have developed an application that is deployed using ClickOnce. Using WebService to access data on the server. All users tested running on the same machine, different logins and access rights, XP. When running from a user with administrator right everything works nicely. When running on a user with 'Limited account' right I get an exception: WebExceptionStatus.NameResolutionFailure. I have tried to change the users rights to 1) administrator and 2)added him to the group 'Power users' and my application runs fine. Setting the right back to 'Limited access' and the exception NameResolutinfailed is back. Is this problem due to some settings not properly set in ClickOnce Or, cannot users with 'Limited account' use Appl ...Show All

  • Myime looking for C# sample code that load a MSSQL Server table

    I'm just looking for sample C# code that takes a csv file and loads it into a MSSQL table. It would be great if the sample code could show the information in the csv file being split into different tables depending on the values in a row. Thanks! Does this need to be done locally or remotely If you can put the CSV file on or near the server you could try this . ...Show All

  • Jorge Gonz&amp;#225;lez FileStream doesn't release resources

    I have an application that is creating a number of images. After they have been created I try to FTP them to my webserver. This is done essentially by: Each image is saved by: 1. Create a filestream System.IO.FileStream fs = new System.IO.FileStream(Path + FileName, System.IO.FileMode.Create, System.IO.FileAccess.Write); 2. Save the image Image.Save(fs, System.Drawing.Imaging.ImageFormat.Jpeg); 3. Close the filestream fs.Dispose() fs.Close(); Now, when i try to send them to my webserver, i use a class that opens a filestream by input = New FileStream(FileName, FileMode.Open) But this produces an exception: IOException The process cannot access the file '<filename>' because it is being used by another process. If i create the images, ...Show All

  • Egyde Convert string to SystemColor?

    I have a string on database like this string stra= "System.drawing.Systemcolor.Red" (sorry if spelling not correct) And I try to make new Label lb=new Label(); and asigne lb.foreColor= new (SystemColors) stra; but it does not work , how can i correct this error because i want to store user's color setting into database so the next time the user uses my program has the color he chosed before. thank you for any reply DongMT You should not store enumeration names in the DB. This is a waste of space. Rather for colors you should store the raw RGB value (an integer). For red it'd be 0xFF0000. You then only need to convert your string to a number and then cast it to a color. lb.ForeColor = ( ...Show All

  • ruleDWorld XSLT problems with "cdata-section-elements" and "omit-xml-declaration"

    Hi All, Sorry, this is cross posted from the SQL server reporting services forum here: I'm using some xslt documents to transform the xml output of my reports in sql server 2005 reporting services, but have come across two curiosities where the xslt filter seems to behave unusually. Firstly, I need the final saved file to have an xml declaration, which I believe it should do by default. Even if I put omit-xml-declaration="no" in the xsl:output tag I don't get an xml declaration. At present we have a custom job that writes these declarations back into the xml after SRS has saved it. Secondly and more importantly, I need to have some of my output tags wrapped in CDATA sections. I've tried using the ...Show All

  • MadVax Connecting Forms app to remote windows service via tcp/remoting fails

    I am using .NET 2.0, Visual Studio 2005, and C#. I have created a distributed application that is based on several windows managed services (to be clear, they are installed as services and are started/stopped by using the service manager) and a forms application that allows interaction with the services and displays data that is collected by the services and sent to the forms app through events. Communication between services and the forms application is via .NET remoting using the binary formatter over a TcpChannel with the intent of allowing the forms app to be run from any computer on a local LAN. Each individual executing set of code uses both client and server channels instantiated by using the TcpChannel class. One of the services pr ...Show All

  • Lucas Cond&amp;#233; Failed to enable constraints. System.Web.Services.Protocols.SoapException

    Hello experts, We have a Winform tool that was developed in .Net2003 and migrated to .Net2005. It uses Webservices (developed in .Net2003 only and migrated to 2005) to communicate to an Oracle Database. There is a particular winform which lists partners of my company. Every partner has multiple tabs with fields, dropdowns etc and a Save button in every tab. One of these tabs called "PA" has some production assoication information. This tab opens up fine for 97% of partners. Its just 3% where I get the following error in Production:- System.Web.Services.Protocols.SoapException Server was unable to process request. ---> Failed to enable constraints. One or more rows contain values violating n ...Show All

  • Mark Hotton XSD.exe utility insights

    Hi, I used XSD utility in .NET framework 2.0 on a DLL, which has the following objects. class A { string name; string ID; } class B : A { int age; int year; } class C: A { int month; } and so on.. Now, when I create XSD, it includes class A as base object in both Class B and Class C, which is not, what I want. Is there any way that I could create XSD, so that the members of Class A are included in class B and class C Secondly, I couldn't figure out the logic behind "minoccurs" and "maxooccurs" numbers generated in XSD file. Thanks, -Brajesh Hi, - xsd.exe is designed to preserve the class hierarchy in XSD so you can' ...Show All

  • DegreeZ serialport unicode characters

    I use a serialport class to get information from a (serial) cach register. The problem is that it does not display unicode (greek)characters ,it displays some strange characters( A , E , N … ) instead . If i use the ReadExisting() method i receive symbols. When i run HyperTerminal it displays correctly the characters. This is a fragment of code that reads some data. String ^str; array <Byte>^byteArr= gcnew array <Byte>(50); for ( int i=0;i<50;i++) { byteArr = this ->serialPort->ReadByte(); Char c=System::Convert::ToChar(byteArr ); str+= c ; } MessageBox::Show(str); I dont know how to solve this. Thank you. th ...Show All

  • HariAdu 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

  • Ather. ThreadPriority to a asynchronous call

    Hi! Is there any way to assing a thread priority to a asynchronous call Now, i'm using in the target method: Thread.CurrentThread.Priority = ThreadPriority.Lowest; But i don't like this way. Regards. nobody Lowest was only like a example, to avoid Normal. I'm looking for a elegant way like "MyThread.Priority=ThreadPriority.Normal" , but if is the only way ... is the only way, thanks:D Regards.   < V.Tortola@discussions.microsoft.com > wrote in message news:f364e5ac-28c5-4d0f-8747-488f98e4f584@discussions.microsoft.com ... Hi! Is there any way to assing a thread priority to a asynchronous call Now, i'm using in the target method: Thread.CurrentThread.Prio ...Show All

  • Ahoapap DataRow-Exception "index was out of (array) range"

    Hi, i have the following problem: in my project i have a ProductDataSet.xsd-File including one table with 3 items: Id, Weight and Length. Further i have written the following code: ... private ProductDataSet.ProductRow m_Product; private int m_Id; public int Id { get { return m_Id; } set { m_Id = value; } } private int m_Weight; public int Weight { get { return m_Weight; } set { m_Weight = value; } } private int m_Length; public int Length { get { return m_Length; } set { m_Length = value; } } //codeActivity "GetProductData": private void GetProductData_ExecuteCode(object sender, EventArgs e) { ProductTableAdapter adapter ...Show All

  • Gage Can't start the exe file if compiled in Release mode

    I have a project for .net 2.0. There is a problem - I can start exe file if it was compiled in Debug mode, but can't start it if compiled in Release. There are no error messages or exceptions. The process shows for a second in Task Manager and disappears. But if I start release version from Visual Studio using F5 (start debug), it works ok. I've experimented with compile options and realised that I can't start exe file if Debug Mode is not "full" (i.e. pdbonly or none) or Optimize = true. I also tried to start exe file under WinDbg (windows native debugger). It shows that dlls are loading and then some exceptions occuring: ... ModLoad: 79060000 790b3000 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorjit.dll ModLoad: 7a44000 ...Show All

  • ahmedilyas which is the better data storage, XML or Excel

    Hi, I am developing a windows application that requires constant connection to data store. The data will then be used for calculation. I don't wanna use SQL database as i thought the retrival process could slow down the performance. Hence, I am thinking of using either XML or Excel as data store for retrival and calculation. Is there anyone know where I can find more information about how to choose the approperiate data store. any help is appreciated. Thanks!! Carol it certainly is an interesting healthy discussion :-) Connecting to databases is generally expensive but maybe cheaper when comparing with say Excel I would still use Xml simply because you get more flexibility with Xml - in terms of storing different t ...Show All

626364656667686970717273747576777879

©2008 Software Development Network

powered by phorum