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

Software Development Network >> Visual C#

Visual C#

New Question

Exception Handling Application Block
i need help with basic things
non - public classes
Publishing My Project C# Express (August)
How can I give percentage values to the columns of a listview?
Printing text directly to a printer (NOT as a graphic)
Shared Memory: Another problem
WindowStyle = ProcessWindowStyle.Hidden; And back.
C# TO Excel HEADER ROW
ClickOnce Publishing Application to web site

Top Answerers

Varun Gupta
Martyn Lovell
Christian Nordbakk
HannesThor
Rxra
Sachin K. Singh
vutkuri
who_am_I
objecta
shakhawat adnan
Visual Parse++ 4.0
Only Title

Answer Questions

  • Josh Williams PGP encryption using Visual Studio 2005

    I want to encrpt a text file using PGP encryption. Can anyone help Try to find on codeproject.com or codguru.com . I 'd seen this problem solved there. 1. Go to google.com 2 Write query "PGP C# code" 3. select first, second or threed link the second for example is http://www.codeproject.com/csharp/sharpprivacy.asp df=100&forumid=15716&exp=0&select=573797 Try t ...Show All

  • Jesse Cheng Difference between MemoryStream Read() and GetBuffer().

    Any one tell me the exact difference between MemoryStream Read() method and GetBuffer(). I want an exact behavoiur of these two methods. Cheer. Hi! Read() will copy bytes into YOUR buffer, GetBuffer() will give you access to OWN buffer that MemoryStream use for itself. I don't think you can keep GetBuffer()-given reference too long, because when stream write something it can reallocate buffer. ...Show All

  • BenK_123 Internal Compiler Error - likely culprit is 'BIND' - C#.NET v1.1

    Hi All I'm using C#.NET v1.1 I am getting the following compile error, I'm having several if statements inside two foreach statements. And inside some of the if statements I'm having one foreach statement. This doesn't occurs only when I removed the last three if statement(newly added), I tried removing other if statements but its giving error, nothing spl in the last 3 if statement. why is it so anything I'm doing wrongly or i ...Show All

  • Joe F Ugly C# brace matching

    Why are there different styles of brace matching for C# and C++ Personally I prefer the C++ style and would like the option to use the same in C#... Everyone seems to have their favourite bracing style. In VS.NET 2003, you can change the default: for(int i=0; i<count; i++) {   // Do something } to for(int i=0; i<count; i++) {   // Do something } by going to Tools... Options... Text Editor... C#. ...Show All

  • Gerald Hinson We're sorry, but WDS has detected a problem...

    wiwth your desktop index and cannot continue. Please reinstall WDS here: ... So I goes to the toolbar.msn.com site - download it, and it (the installer) tells me that it is earlier than the WDS I have installed. WDS is not indexing Outlook (I have a connection to Exchange Server - but store emails in a pst file). I also have an archive pst file. Nothing in Outlook is, nor has been, indexed. I would like to remove WDS - but can't!! ...Show All

  • jntrobertsen query to excel file

    Hi veryone, I have a web app which curently executes a stored procedure (sql server) and fills a data grid... how can I send the query results to a excel file ( create a new file or apend data to an existing one, it doesn't really matters). Thank you. Any input is appreciated. Thanks Hi, Read this thread . It discusses on how to create an excel file.     cheers, Paul June A. Domag ...Show All

  • jcritt How to limit number of child form in parent form.

    C# 2005 beta I developd MDI form and I can not limit the number of child form. After opened the form and it can open again and again at the same page. I need to limit number fo the child forn in the parent form. I think what your asking for is a singleton class.  You want just one instance of a class to be able to be opened right Here is an example of how to implement a singleton class. Where ever the class is instantiated you would w ...Show All

  • Dan R 17 How to detect application/process start

    Hello, How can I detect the launch/start of new processes and applications I know I can get a list of running processes, but I want to be notified as soon as an application starts. A. Heuts You need to create a windows hook for that.  Here is a msdn magazine article about that. http://msdn.microsoft.com/msdnmag/issues/02/10/CuttingEdge/ ...Show All

  • Onomatopoetikon FileNotFound and Graphivs Error..

    Hi everybody,   I have problem the image file does exist in specified folder. But results in error as shown below. Here is part of my code. I change the file format to gif. There is FileNotFound error but it becomes different error - a Graphics Error. Thanks. Application.StartUp = C:\myself\projects\ImageProject\bin\debug\ Code: string filePath = Application.StartUp + "\\" + "vehimag.jpeg"; if (File.Exists(filePath)) {    Imag ...Show All

  • Josh D C# code to Display the number of days before your active directory password expires.

    I'm trying to find some code (c#) to display the number of days a user has before his/her password expires. We have several users that use OWA and do not log into the network at all. I'd like to create a page that they can hit to find out how long until their password expires. I've already developed an application for them to change their password and account information, I'm stuck on this last part. Does anyone know how or where I can get this ...Show All

  • PG1 Passing the managed class(with array of stuct as member) to unmanaged function

     I want to pass the managed class to the unmanaged function. The managed class contain the array of struct. Following is the class and struct declaration.   [StructLayout(LayoutKind.Sequential)] public struct first { public int One; public string str; } [StructLayout(LayoutKind.Sequential)] public class MyClass { private int test; private bool Boolean; private int Integer; [MarshalAs(Unmanage ...Show All

  • Bajju C# Checking whether a cookie exists or not

    I started off by trying to use the HttpCapabilitiesBase.Cookies Property ( Note: This property is new in the .NET Framework version 2.0) however it kept on returning true even when I disabled cookies in both FireFox and Internet Explorer. After a bit of googling I found that a lot of people were creating cookies, then re-reading them; obviously if they could re-read the cookie then they knew that the client's browser accepts cookies! Simple. H ...Show All

  • Simon Tian Nullable type testing against null

    I need to test if a Nullable<T> instance is null after it's been converted to an object. My current code fails using this: using System; using System.Collections.Generic; using System.Text; namespace TestNullable {   class Program   {     static void Main( string [] args )     {       System.Nullable< int > n = null ;     &nb ...Show All

  • GalGolan How To: get all the buttons from a form

    Hi, i'm trying to get all the buttons from my form in some sort of collection, array, ... Is it possible to get a certain type of control out of your form Greetz thankx it worked :) greetz You can iterate over all controls on the form and lookup of they match a specific type. Control[] textboxes = GetAllControlsOfType( typeof ( TextBox ) ); public Control[] Get ...Show All

  • simonw. dll

    hi, is there a way to see which dll's are used for the project. when i deploy my project t another computer i can not execute it. there is an system.dllnotfound error message. i am not sure if it is lookin for system.dll or another one. if it looks for system.dll (which system.dll). any ideas       make sure the .net frame work is installed on the computer you are trying to r ...Show All

2345678910111213141516171819

©2008 Software Development Network

powered by phorum