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

Software Development Network >> .NET Development

.NET Development

New Question

ASP.net Web Site Administration Tool doesn't work at all
Can a Windows Service Return any value
Chunked transfer encoding problem
.NET remoting.....Multiserver........
Modifying the creation of WebResource.axd file
create custom property using ADOX?
GC
Function and argument matching with regular expressions.
Lightweight Activation method like Windows XP
Database Structure design and User Interface Design

Top Answerers

Chris Honcoop
Jarle Nygård
Milzit
Kevin Dente
lms07424
amendez
Michal Konecny
tomerlev
MaryOS
AJ Software
Web Mundi
Only Title

Answer Questions

  • AdamReith Thread-safety techniques for secure .net remoting

    I have overriden the client and the server channel sinks to encrypt messages on one side and decrypt the same on the other. I am using the lock statement inside the sinks to achieve thread-safety. However it seems that this technique makes the communication very slow. What are the other techniques that can be used to achieve thread safety Heres the sample from my application private bool ProcessEncryptedMessage(IMessage message,ITransportHeaders requestHeaders,Stream requestStream, out ITransportHeaders responseHeaders, out Stream responseStream) { // Encrypt the message. We track the id of the transaction so that we know // whether the key has changed between encryption and decryption. If it has, // we have ...Show All

  • adorer Serial Port Device Connected Event?

    Hi, I am new to Serial Port programming and have several questions: 1. Is there is any event sent by the operating system to .NET applications that tells the app that a new serial port device has been attached to a COM port. 2. Same question as #1 except if a serial port device is attached to the PC via a Serial to USB adapter, so that there is actually a USB "device" attached to the PC instead of a serial port. 3. Is there a way to know, at app startup time, if any devices are attached to any COM ports, short of trying to connect with all of the ports Thanks for any help in advance! Samy Abdel-Ghaffar nobugz wrote: You can use the Data Set Ready (SerialPort.DsrHolding property) to det ...Show All

  • Golohe [otp] SharperCV Compliances.

    We are a group of 3 students making a project Hand Gesture (Interpretation) Recognition for physically impaired .We (myself and group members) are accustomed to VB and C#,fortunately we came across SharperCV,though many of the posts in other topics helped us a lot,like,how to install and work with it. But we need to know how to perform image subtraction using it,there is some paprameter conflict,while we use it in VB.The problem is we got frames from the video,now in order to detect movements of hand,we thought of subtracting the corresponding frames,then deciding what action is to be taken...Please can anyone help us how to perform it in Visual Studio 2005(SharperCV's documentation does not provide that much help),I mean some other eff ...Show All

  • Zakary Connection String problem with MSDAORA.1

    Hi. I have two connection strings for my application, one using Microsoft ODBC Driver for oracle, and another using Oracle ODBC Driver. I am getting "Object not found error( ASP)" when I use MSDAORA.1. I am using oracle 8i. Thanks. Check also for the version of Oracle you are using. I think you cannot use OracleDataAdapter to connect to Oracle 8i, you have to use Microsoft OracleAdapter because OracleDataAdapter can only be used by Oracle 9i.  You can download the Microsoft Oracle Data Adapter (if you are using Oracle 8i) from http://www.microsoft.com/downloads/details.aspx FamilyID=4f55d429-17dc-45ea-bfb3-076d1c052524&DisplayLang=en For Oracle 9i/10g, visit http://www.oracle.c ...Show All

  • WV John system menu doesn't display

    Hi, In a certain application it's required that I can make use of the system menu. I mean the menu which usually pops up after a right mouse click on the top bar of a window and which lists options as: minimize, maximize, close etc. However on a certain form I don't get this system menu after right clicking on the top bar. Just nothing happens. I haven't made any click events or other events that could interfere. I also see no difference with other forms in which the menu DOES show show up after right clicking on the top bar. Any ideas They would be greatly appreciated!! It sounds really a strange behavior, Are you having this on all forms in your application or only one form Secondly try to compare pro ...Show All

  • DanBayley How to find the last occurence of <p> within a textblock tiltled <h2>??

    I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah</p> <p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah& ...Show All

  • robertje RS485 and SerialPort

    Can .NET SerialPort class be used to talk to RS485 I tried to communicate to RS485 serial port using .net SerialPort class but failed: I write data to the rs485 commport, the DataReceived event never fires. The same code works fine with RS232. Can anyone here help me out You need special hardware to convert the RS485 signals to RS232 signal levels. Do you use such hardware ...Show All

  • Amanda Jamin Modify System.Exception in SetILFunctionBody

    I am wondering if I can get some help on this. We have working "Proxy" that is invoked via insertion into methods and gathers all the calling arguments, etc. and passes to a handler. We are using the SetILFunctionBody during JIT compilation. It works fine for 1.1, but in 2.0 ONLY works when using LoaderOptimization other than SingleHost when hooking corlib methods such as the System.Exception .ctor. We are hooking many methods - all NON core methods work well. I have come to the conclusion that it has to do with Domain Neutrality of mscorlib (only) being in the shared domain. So, my questions are this: Other than the LoaderOptimizationAttribute OR the args to the CorRuntimeBindEx to load the CLR - how can one override the Loade ...Show All

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

  • Softwaremaker RSA Cryptography with foreign public key

    I must create application which will do next. I have console application(further APP1 ) which will read xml file, get needed node and decipher its value. Trouble is next. Console application should create par of public/private keys. XML file is created in another application(further APP2 ). APP2 uses public key from APP1 and private key from APP2. Q: how do i combine those two heys, so i can create ciphered text Q2. how do i import public key into RSAParameters object Private key should remain and all needed data for public key should be changed( i think they should). I tried this: RSACryptoServiceProvider RSAProvider = new RSACryptoServiceProvider(bitStrength); RSAParameters parameters = new System.Security.Cryptography.RSAParam ...Show All

  • rhansen active directory exeption :"Exception has been thrown by the target of an invocation."

    hi i see in any active directory code the use of invoke methoe such as below: DirectoryEntry de = new DirectoryEntry ( "LDAP://192.168.0.1/cn=Users,dc=soheila,dc=org" ); DirectoryEntry de1 = de.Children.Add( "cn=newUser1" , "user" ); de1.Invoke( "SetPassword" , new object [] { "newUser1" }); de1.Invoke( "ChangePassword" , "newUser1" , "newUser2" ); de1.Invoke( "Put" , new object [] { "Description" , "my first entry" }); de1.CommitChanges(); DirectoryEntry de3 = de.Children.Find( "cn=group1" , "group" ); if (de3.Name != "" ) de3.Invo ...Show All

  • eldiener Connection to Access

    Hi, I'm new to .NET and in need of help. I've tried desperately to connect to Access (without using the connection wizard - which does work) but I just can't get it to work. If possible has someone got a basic connection code that they know should work to start me off. Thanks in advance Richard Are you familiar with SQLite ( http://www.sqlite.org/ ) If so, how would I define the connection string to a directory within the project The SQLite database file is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine. Or, can we even use SQLite with C# Please forgive me if that is a stupid questions ... I'm trying to learn with "Bab ...Show All

  • pessi Object Already Exists error when trying to sign an assembly using a pfx file

    Hi, I'm trying to sign my assemblies using a pfx file. This was working fine, until I changed the file I used to sign it (I used to sign it using xxxx.pfx, and now I'm signing it using another xxxx.pfx, so the name is the same but the file itself is different). When I point to the new file on the signing tab and build my solution, I am prompted for the pfx password. When I type in the pwd and confirm, I get the error message "Error Importing Key" "Object already exists". For me, it is not clear what is going on. Could someone clarify what I should do to avoid this problem. I already tried to apply the workaround suggested here http://www.pcreview.co.uk/forums/thread-1325523.php , but to no avail. ...Show All

  • Murali Krishnan Dropped/duplicated elements in a Collections::Queue

    I would need to provide a large amount of detail to properly describe this problem so before I do that, I'd like to just briefly outline the nature of my problem with the hope that the problem is well known. I should begin with the fact that although I have many years of experience programming native code, I am new to .Net programming and I still do not have good understanding of its basic concepts, for example, how the garbage collected memory management model works. First, I should start by saying that I use Visual C++ 2005. In my project I use mixed code because ultimately the program will interact with a native process via shared memory, using OS synchronization mechanisms. That other process stores data in a filemap and sets an eve ...Show All

  • Igor Antunes .Net Framework 3.0

    Hi I am working in .net framwork 2.0. Anyone can explain about .net framework 3.0. Do the needful. Going through following should really help you http://www.netfx3.com/ ...Show All

8910111213141516171819202122232425

©2008 Software Development Network

powered by phorum