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

Software Development Network >> Visual C#

Visual C#

New Question

Displaying files in Firefox
How to get the Name property of an Image Resource?
System.Web.HttpUtility
How to get instance ID of object
How to create the object of the class present in the dynamically loaded Assembly(DLL)?
Two clients, server and TCP
How do you define Generics?
Event Count vs. Transaction Count
Challenge here
Paint

Top Answerers

ASMerlin
ueqt
Dadis
radzio
Anonymous Date
pg.owfg
Claus Kessel
gra_serra
thedawn
ianagui
Cetus Links: Internet and Intranets
Only Title

Answer Questions

  • Alessio Montagnini Who is referencing this object?

    Hi all, Before disposing an object I'd like to know if there are other objects referencing it, because otherwise it will not be destroyed by garbage collector. Any idea Thanks in advace Andrea Thank you Hi Andrea, Hope the following link will answer you. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbconReferenceCountingGarbageCollectionOb ...Show All

  • ken1234567 Convert seconds to minutes+seconds?

    Sorry for the elementary question, but I am new to C & C#. I need to convert seconds (upt to 3600 seconds) to minutes & seconds. For example I need to convert 90 seconds to 1 minute and 30 seconds. I'm struggling with how to get and manipulate the remainder after I divide 90 by 60. Your patience is appreciated...;) Duh.... Thanks! Gotta love google. Thanks! ...Show All

  • maddog0 How do I access the application Form Name?

    Please excuse this question.  I'm currently learning C# "on my own".  My application is an MDI with several child forms and I want to enable/disable the buttons on the active form by calling a method that will accomplish this for each form that calls it.  I created a test app and thought I had the solution; however, I am at a stopping point and can not figure out how to solve this.  Can someone please show me what I am ...Show All

  • ilife who the hell started the animation ?

    Hi, Check out the snippet: /* DoubleAnimation animation = new DoubleAnimation ( 0d, 1d, new Duration ( TimeSpan .FromMilliseconds( 1000 ) ) ); animation.Completed += new EventHandler ( animationCompleted ); Rectangle rectDest = new Rectangle(); rectDest.BeginAnimation( Rectangle .OpacityProperty, animation ); */ private static void animationCompleted( object sender, EventArgs e ) { // how ca ...Show All

  • Frank Buckley Accessing the .exe project from .dlls

    Hi folks A raw newbie question. I can't figure out how to make accessors in forms within the .exe project visible to class libraries in the same assembly. For example, I'd like the .dlls to be able to set status messages on the main form. I'm pretty sure I've set suitable access levels. What am I missing Thanks Geoff Hi Bruce Thanks for laying out the options - useful for this issue and more generally. Sorry ...Show All

  • Lincoln McCulloch Pagebreaks in asp:repeater

    Is there any way to, say, every 20 items, insert an HTML page break in to a repeater document   I'm told there's some kind of internal row counter I can check against, but I'm not sure how to get at it. Please repost this on the http://www.asp.net/forums . Thanks! Karen ...Show All

  • philipsh Form StartLocation

    Can someone explain to me how to make the form open in a certain location using the xy axis in the Point method. For example, in the bottom left corner of the screen. yes .. thats quite simple first on the properties windows on the form object set the StartPosition tab to manual the on the form load or anyware you want set this.Location=new Point(200, 287); Happy Coding.. hi, form have start location property that use default, yo ...Show All

  • V Batishchev Handling exceptions.

    I'm having difficulty determining which exceptions I should catch, and I'm wondering how others manage this. For example, my app lets the user specify a database from which data is retrieved. Lets say he accidentally picks a database with which my app is not familiar. The app calls OleDbDataAdapter::Fill() to retrieve data from the database. For this method, the docs say: " If a command does not return any rows, no tables are added to ...Show All

  • BradFarris It's possible to implement Enum.Parse<T>( string )?

    The API for the RTM is the same as it was in 1.1, but generics can be leveraged to improve this. Thanks, I was looking for a solution that does not requires casting :). I would suggest that you make a suggestion for this to be implemented on Product Feedback Center . Michael's solution is probably the best way you could implement this in C#, although if you didn't need to parse nullable enums you could add a struct constraint: ...Show All

  • Toerag web forms or html forms

    hi,     i may sound so stupid but i really want to raise this question.  i'm using visual studio .net and C#. i am doing a web page and i noticed in the toolbox the Web Forms and HTML which contain some same controls. what should i use does the controls in WebForms have big differences with the controls in HTML thanks. thanks. what are the advantages and disadvantages of using the web ...Show All

  • RiskSWDeveloper_WorkEmail P2P Protocols

    I have been making some research for an upcoming project of mine (LAN Messenger) and I cannot find any library which support any kind of known protocols .. I already seen JXTA which sounds like a really suitble for my project buy I didnt find any .Net implementations .. Suggestion for another protocol which has an implementation will be welcomed :) Thank you, Shimi. Well, Microsoft has this thing call Microsoft ...Show All

  • SonalMS It is posible to display decrypted text in datagrid cells (from encrypted data source)????

    I'm developing a C# winforms application, often I send some encrypted information to the database and it's saved as well. When I get the encrypted information, there isn't problem to set up the text property to a textbox control (txtControl.Text = objEncryptDecrypt.Decrypt(dbValue)), but I have a lot of problems to display the same decrypted value in a datagrid cell, and why That's why: private void createTableStyle() {    &nbs ...Show All

  • Chris Richner RAM in servers?

    In the hardware editor I can specify the type and number of processors, the type and number of hard disks as well as the use of RAID sets. What about RAM RAM recommendations are only provided by the Model Wizard. These recommendations are determined by a high level heuristic based on best practices. RAM recommendations are not updated as a result of changes made in the Model Editor. Therefore, memory is not ...Show All

  • Bob Eaton API Problem

    I want to write a programme to reboot my computer with VC# 2005 beta2. The code in form is: [DllImport("user32")] public static extern long ExitWindowsEx(long uFlags, long dwReserved); const long REBOOT = 2; long dwReserved = 0; long sh; The code in button is: private void btnReboot_Click(object sender, System.EventArgs e) {sh = ExitWindowsEx(REBOOT, dwReserved);} But when I run this programme and press the button, nothing is happened. Who c ...Show All

  • firehorizon what is the shortest and safest way to encrypt a file in c#?

    Is there any built in function to excrypt a file in c# I have made an application that stores some confedential information in that file i want to encrypt that file so that the content remains safe and i dont want the file to be deleted by others help me with this!! System.IO.File.Encrypt(string filePath) You cannot prevent someone with the necessary privileges from deleting a file. ...Show All

798081828384858687888990919293949596

©2008 Software Development Network

powered by phorum