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

Software Development Network >> Visual C#

Visual C#

New Question

How can i know where instance of class was created?
Can't reference dinamicly created web controls
How can I post HTML contents with HttpWebRequest?
Session Maintainence
Dynamical casting with Hashtable
sending query via page other than msn.com
Replace char in c#
Difference between DLL and TypeLibrary
HashCode generation of local and remote object is different.
sgen.exe failed

Top Answerers

Krishna Murthy
Me!!!!
bynars99
MSJaggi
Technoverma
pccoder
gnikolaev
Tamer229
VladAll
Steven Rosenthal
Processing
Only Title

Answer Questions

  • Peter D. Falco Jr. webBrowser

    Can is save the webpage from the webbrowser i mean with all his images not links to the imagest Like Ms Word does in Internet explorer Do you want to save a web page it's content thanks .. but can you explain please the code add COM reference to Microsoft Internet Controls. . . use this code: SHDocVw. InternetExplorer ie = (SHDocVw. InternetExplorer ) webBrowser1.ActiveXInstance; ...Show All

  • David in NZ Detecting mouse clicks

    How can I detect mouse clicks outside of the application and then read the coordinates I'm trying to create an application which pops up menu when clicked right edge of desktop with the right mouse button. Hi, Well, you could do that by creating a mouse hook in your app. Here's a document that provides an sample on hooks in C#. http://www.codeproject.com/csharp/NetWin32Hooks.asp cheers, Pau ...Show All

  • Kirill Osenkov authentication

    hi,    i don't know if this is the right forum for my problem.     i am making a web form(authentication). In my front.aspx i have 2 textboxes which ask for username and password. i also have a button(Login).  if the user presses the button it will go to a page login.aspx. however, i am having difficulty passing the data from two textboxes to another page since in my login.aspx it will validate the username and pass ...Show All

  • stronghold get value of an element

    i created a class1 that has 2 properties (x and y) and i added items to a hashTable-> hashTable1.add("key1",new class1()) now i want to get to x of an element in the hashTable, how can i do that thanks ppl1, Use "key1" to access the specific class you added to the hashtable. object f = hashTable1["key1"]; Then you can cast f to be off the type class1 and access x on it. int f = ((class1)f).x Thanks Sha ...Show All

  • Robert Barlow How to programmatically set FocusedItem of Listview

    Dear all    The following code does not work in VS2005    ListView.Items[0].Selected=True;    //But the FocusedItem  still is null    ListView.FocusedItem    I want to programmatically to control ListView.FocusedItem thank you listView.Items[0].Focused = true;   ...Show All

  • Pradnya Where does C# come in

    I was wondering what are the most important features that engineers use to for C# is it OOP Interfaces, Inheritance with method access..or window applications, web forms, ASP.Net Which is the most frequently used by C# Hi Dpowes, I would say all of the above which you have mentioned.   C# is a pure object oriented language which caters to the needs of a modern day applications and allows developers to build applications in ...Show All

  • Maf cross threading help

    Hi! Sorry, was no sure if i should post this question here or on the .NET General forum. I apologise! I am having some trouble grasping threading in .NET 2.0. I am trying to update a UI control (progress bar) from a thread created within the application. Of course, when directly changing the progress bar value from this thread created, VS.NET picks up that you are "cross referencing"... which is one of many AWESOME features! :-) Now, i have been ...Show All

  • MarkusEilers How to create the object of the class present in the dynamically loaded Assembly(DLL)?

    Hi All, I have DLL (Assembly) say the name is test.dll . This dll has one class say Math, Math contains two functions Add () and Mul (). I am loading test.dll at runtime Assembly *** = Assembly .LoadFrom(xml[0]); I am getting all the types in that DLL using Type [] types = ***.GetTypes(); With this piece of code I am able to execute the function inside the code, foreach ( T ...Show All

  • Dan Thomas - DAGWare Generics Question

    Hi there, Suppose I have the following class: public class CacheItem<T> { public T Data { get { ... } } public bool IsExpired { get { ... } } //other properties } How would I go about iterating over a collection of cache items where T could be different for each cache item In other words, how do I get this to work: foreach (CacheItem< > cacheItem in Cache.Items) { if (cacheItem.IsExpired) { ... } ...Show All

  • Junni Changing webbroswer Url

    I have a group of radio buttons, and a web browser. The buttons each have this code: WebBrowser1.url = Http://example.com Http comes up as an undefined variable so I put " around it. Then it says it cant convert system,uri to string. So, what do I do I'v done this before but I cant remember how. Thanks zapacila. Can anyone answer this for me How do I get a notify icon to bring form1 to the fr ...Show All

  • Basic How to get a client's IP Address

    I have a web app that need to get the client's IP Address. I have attempted several different methods without success. I have pasted the code below. strDNS = Dns .GetHostName(); Session[ "UserIP" ] = Dns .GetHostEntry(strDNS).AddressList[0].ToString(); I believe this will retreive the Server's IP address. strDNS = HttpWorkerRequest . GetRemoteAddress. ToString (); I believe something along these lines should work ...Show All

  • Brachole Newbie Question

    Okay, I have decided to learn C#, so I created a basic form in Visual Studio C# 2005 (Not Express). What is the code to show Form2 For example Form1 has a button when the user clicks the button in Form1 it shows Form2. What is the code to do that public partial class Form1: Form { Form2 f2; public MainWindow() { InitializeComponent(); f2 = new Form2(); f2.Visible = false; } ...Show All

  • MXQBear C# compiler...

    I am working through a C# Tutorial and it tells me to type: csc DrawingObject.cs Shapes.cs ect... however everytime I type csc it returns in cmd that csc is an invalid internal or external command. I have download and installed the .Net SDK, for I was under the understanding that this will allow a user to compile code in the command prompt. How can I get the SDK to compile or is there a free compiler out there that I can use for C# I would d ...Show All

  • Martin G STA MTA issue: handle returned is IntPtr.Zero when in MTA mode

    I'm writing a multi-threaded application. When I call IntPtr hInterface = mySimCan.CanOpenWCS( "CAN1" ); in the main-function of the application the hInterface contains a valid handle because the main-function has a [ STAThread ] attribute: [ STAThread ] static void Main( string [] args) { But when I call it in one of my threads the returned value is IntPtr .Zero The method CanOpenWCS is located in a ...Show All

  • NOX MCAD Question?

    Hi. I am very new to programming , but I am very  motivated about learning everything I can about it. I bought a book called "C++ in easy steps" and am working through it at a reasonable speed. All the concepts are very new to me , but I do understand it, although I find it hard to make up my own programs, I have to use the templates in the book.       The thing is I recently decided to get qualified in MCAD/MC ...Show All

242526272829303132333435363738394041

©2008 Software Development Network

powered by phorum