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

Software Development Network >> .NET Development

.NET Development

New Question

Sockets, 2 bound to same port? How to find free port?
Table adapter.update problem ? please help !
Creating Subdomain
Check Network Connectivity - VS2003
Delay in invoking webservice call
Skip JIT?
How to send the SMS using vb.net
How to pass the command to the other executable file?
Send Image difference to Web Service
SMTPMAIL error (bare LF)

Top Answerers

Alex2200
Sweeps78
Martin Hellspong
Sonia G.
Tryst
Scionwest
snuffnit
Kyle Leitch
Sarah21
Larsenal
Topix: Logistics
Only Title

Answer Questions

  • George2 wse910 error

    This query is regarding wse3.0 hands on lab security I've written code based on WSSecurityUsername sample app, but it doesn't want to work! When I try to call a service method (which simply return a "Hello " + param string), WSE gives me following exception: WSE910 In system logs I see the followiing two errors (service and client are running on the same machine): ------ An error occured processing an outgoing fault response. Details of the error causing the processing failure: System.InvalidOperationException: WSE2011: In UsernameForCertificateAssertion, encrypted key token cannot be retrieved from the request message. Encrypted key token from the request is required to secure the response message from the service. ------ Sys ...Show All

  • Chidu xml file for dataset

    Hi, I want to read data from xml file into Dataset. So if i have 2 tables in dataset, then how to list data for both tables in one xml file Is this possible I listed data in single file like <tables> <ATable> <Table1> one row <all columns data for table1> </Table1> <Table1> one row <all columns data for table1> </Table1> </ATable> <BTable> <Table2> one row data </Table2> <Table2> one row data </Table2> </BTable> </tables> But it is not loading data in second grid. Please help as early as possible. Thanks Vrushali I'm not sure off the top of my head how your XML example will get loaded. But if you want to see ...Show All

  • MyoZaw SmtpClient.Send() problem results in "An established connection was aborted by the software in your host machine"

    Hi, I'm having problems with SmtpClient.Send() where I end with an "An established connection was aborted by the software in your host machine" type error. My infrastructure people tell me that I should have access to the Smtp server so things should just work. I've been googling and searching forums but have yet to see a complete answer to what this error is trying to tell me. Oh and I've tried this in both a Web and a WinForm app on .Net framework 2.0 running on a clean install of XP Pro. Any opinions Thanks Scott. This is the code (massaged for security): protected void SendEmail() { MailAddress addressFrom = new MailAddress("sender@domain.com"); MailAddress addressTo = new MailAddress("recipient@domai ...Show All

  • SB1 The type or namespace name 'SqlClient' does not exist in the namespace 'System.Data'

    Hello I am trying to compile a simple c# program that gives the following error: Error 1 The type or namespace name 'SqlClient' does not exist in the namespace 'System.Data' (are you missing an assembly reference ) C:\Documents and Settings\hadjichambis.y\My Documents\Visual Studio 2005\Projects\Ermes\Ermes\Form1.cs 8 19 Ermes This is caused by the line using System.Data.SqlClient; Why is this a problem I am using visual studio 2005. Kindest regards, Yiannis. goto the project solution explorer--> references --> right click --> Add Refrences--> Select System.Data.dll now try to include using System.Data.SqlClient; The thing is that when I write t ...Show All

  • thomaskremmel .NET 2.0 Real Time Requirements

    Hi. Probably .NET 2.0 and realt time requirements shouldnt be on the same sentence. I'm trying to control a machine that set's me some real time requirements, the machine fires events,  inside those events I have to do some processing. On one of them I have less than 200ms to performs the work that I need. 200ms is already very thight I cant waste more than 180ms. Per minute I have fired at least 120 of these events I have to handle all of them and can't stay on them for longer than 180 ms. My question is, is the .NET Framework suited to this kind of work Another thing that I must say to help on the discussion, if I waste more than 180ms the machine stops, and that can't happen I really have to meet the time!!! Even if ...Show All

  • Rocco Mastrangelo Connecting to Access Database

    Does anyone know how to connect to a access database using vb.net I created the database in access and added the Odbcdataadapter and was able to preview the contents of the database. I have a text box with a next button and a new button. Each time I click next i want to see the names that i have in the database appear. When i click new i want to be able to enter a new name in the textbox and it gets written to the database i already have with the names. Any thoughts Thanks!! OK, I am not quite understanding all this. What all that just did was place a datagrid on my form and display a table from my database. What i want is: I have a button that says next and a textbox. When i click next i want the info ...Show All

  • weirdbeardmt Looking for a way to determine if the return value is used in a ComVisible method invoked through the CCW IDispatch interface

    I've been tasked with replacing an existing unmanaged COM library with a class library written in C# that can be accessible via the CCW to unmanaged applications or referenced directly from managed applications. The main goal for the new class library is to mimic the behavior of the unmanaged Type library being replaced so existing COM\OLE clients can use the new managed type library with minimal conversion steps. Things have progressed smoothly, until I hit the following road block. There are a set of methods exposed by the library that are documented to behave in one of three ways depending on how they are called (from a scripting environment): 1. object.WaitForString ( Text [, Timeout] ) - or - 2. ...Show All

  • gon_no1 How can I have one and just one copy of my application running in the same time???

    How can I have one and just one copy of my application running in the same time I did somethign similar a while ago; doing something like this is so popular that I blogged about it here: http://dotnet.org.za/ernst/archive/2004/07/20/2887.aspx What makes it neat is that, if an existing instance of your application is already running, it will bring it to the foreground and maximize it. With the inspiringly named "helper" class (linked to from this blog-post) you're able to write: public static void Main() { bool firstInstance; Mutex mut = new Mutex( true , strSystemMutex, firstInstance); if (firstInstance) { try { Application.EnableVisualStyles(); Application.Run(new frmLogin()); } catch (Exception ex) { Exc ...Show All

  • Merie Cockrum Determine the name of the method being called

    Is there anything in the .net remoting infrastructrue that would allow me to be able detemine what method name was being called for all objects running on a server - basically we have requirement to log when specific methods on the appserver are executed (driven by a database) and I want to see if we can do this without having to modify every one of our business object methods to call some sort of helper method. Perfect ! thanks for the info ! Hi mark, You can implement a custom IServerChannelSink which will sit right on top of your formatter. Then in its ProcessMessage() method you can cast the IMessage coming in as IMethodMessage and access the MethodName property off it. This will give you the method name that the message ...Show All

  • Paul_wa Send Mail

    Hello. I tried to send mail with NET Framework 1.1 SmtpMail class like this MailMessage Message = new MailMessage(); Message.To = "mymail@yahoo.com"; Message.From = "compname@localhost"; Message.Subject = subject; Message.Body = body; try { SmtpMail.SmtpServer = "127.0.0.1"; SmtpMail.Send(Message); } catch(System.Web.HttpException ehttp) { } and get nothing no mail no exception. I only want to send mail from my local IIS. Can You help me hith it SmartHost is empty can is it true Now i receive message to my yahoo account but can't receive to my local mail in the Virtual Machine Can anyone help ...Show All

  • Kondas Displaying and manipulating pixels of a non-standard image

    Language: C# I have written a (small) library of image processing functions that work on a System.Drawing.Image object. Works fine for BMPs and JPEGs and PNGs and the like. Yesterday my boss told me the next step is to be able to handle proprietary formats that some of our clients use. All of them follow a basic principle: some header, then pixel values. So to get started the first file format is simply pixel values as raw data. The pixels are stored as 16-bit unsigned words. So I've read a file in through a filestream and converted them to a byte[] the length of the file stream. This works for standard images (like BMP) fine; However I cannot just create an image object from the array of raw pixels. I will need to take my pixel values an ...Show All

  • rgreene62 How Load a XML file with a XSD file into a DataSet

    Ok im in trouble! this night i drink some weird stuff with some friend's and i cant think straight and simple i dont understand... "plus" i never work with XSD files so... i sucks today! Any help would be great!! Thanks. Thanks a Lot!! now i got my data set with the Xml Structure. Could you givme a hand again   i need to pass the DataSet Estructure into a Tables in SQL. there is some easy way to do that P.S.: I was trying to get the Column name and the value like this : foreach (DataTable dataTable in dataSet1.Tables) { TableName = dataTable.TableName; for (int I = 0; I < dataTable.Rows.Count;I++) { for (int X = 0; X < dataTable.Columns.Count; X++) ...Show All

  • Jon Braganza How can I synchronize two MS Access tables?

    Hello, I have 2 MS Access databases, In each database I have a table called catlog. What I want to do is to check the catlog table in database (B) and pass over each row to see if it (the row) exists on table (A). If the row doesn't exist, I insert it as a new row, if it does exist I update the existing row. I want to do that at the runtime of a C# program. Your help would be greatly appreciated. I have a table(tableDb1) in database1 and another table(tableDb2) in database2 .I would like to select records from tableDb1 which is not there in tableDb2. The table tableDb1 has a Compound Key. I am using inner join but it is giving error "Syntax error in FROM clause." SELECT * FROM [ta ...Show All

  • Cygon4 Querying dataset created without connection to database

    I'm building a DataSet in memory with DataTables that are populated with data from an external source (from a COM interface). I'd like to be able to perform queries with a JOIN from the DataSet. Is this possible or does the DataSet need a database behind it to process the query Thanks. The DataTables are populated with data from an external source that is not a database, and then the external data source is released. So the JOIN needs to be performed on the DataTables in the DataSet. It's normal stuff... one table has a UserName and UserID, another table has a UserID and 'other information'. I want to display the UserName with the 'other information'. I just know if the DataSet itself can process ...Show All

  • ZhayTee Displaying system directory in treeview

    i need to display all the files and folders of c:\ drive in treeview using asp.net, can anyone guide me how to display it. thanks with regards basith When you say ASP.NET, do you mean that you want to be able to query a drive from within a web browser ASP.NET is meant to work on the server not on the computer the browser is on. Or, do you mean that you want to use VB or C# to query a local drive from a managed app. That's doable. I don't know the modules off hand but there are modules to use for reading files and directories. - Dan. The forums at http://forums.asp.net are better able to answer UI questions. Thanks. ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum