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

Software Development Network >> Visual C#

Visual C#

New Question

Using online content with iHD
Always visible on desktop but under all other windows, "widget"
Compiling a native C DLL for use in VC# using DllImport
Can't debug threads! Please, help!
Creating a Table Similar to that of MS-WORD's
timer problem
import external classes
casting object in uint
INullableValue removed from .NET 2.0 RTM??
Problem with build

Top Answerers

Diana Dee
rikimaruXP
Klayman
mblanke
Joel Holder
Adam Uebel
Arjuna Chiththananda
Gord M
Chris Baldwin - MSFT
PetePark
The Telegraph: Katharine Hepburn
Only Title

Answer Questions

  • ewhizz Raise event from IE hosted windows user control and catch it in the Web Form that’s hosting the control

    Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind. If possible, please send me a small sample project ( bozesan_mihai82@yahoo.com ). But, of course, I would appreciate any suggestions! Thanks in advance! Then go to the link I provided - it's exactly about accessing HTML butt ...Show All

  • Bill Griffis trouble using delegate in WndProc

    when i use delegate like this: ----------------- [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] protected override void WndProc(ref Message m) { delegate_ReplyFromDataProcess = new PrepareDelegate_ReplyFromDataProcess(ReplyFromDataProcess); delegate_ReplyFromDataProcess.BeginInvoke(m, null, null); } delegate void PrepareDelegate_ReplyFromDataProcess(Mes ...Show All

  • XWreckage Developing C# with Generics

    Hey, I'm trying to create an attribute called "QueryStringAttribute" and when it is on a property I want to grab the query string from the property, Run the query, and Set the value of the property. My Attribute is: [global::System.AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class QueryStringAttribute : Attribute { private string queryString; public string QueryStrin ...Show All

  • c#oder windows status bar

    Hi again! Is it posible to see what program are in the status bar of windows I suppose you mean the taskbar. I don't think .NET has implemented this function, so i would recommend the method EnumWindows from user32.dll using interop. More information and examples on EnumWindows can be found at pInvoke.net ...Show All

  • NinjaCross_MSDN Searching Directories?

    Im trying to search specific directories by file name (and maybe content), but have no idea hwo to do this There's no easy way to search inside the file, as the routine requires to determine the type of file between textonly and binary; searching textonly file would be easy, since we can simply open it using TextFileReader and read the entire content then perform the search. However, searching for patterns in ...Show All

  • dimwit rtf to image

    Hi, i need to transform the contents of a richtextbox (rtf) to an image. Any suggestions will be highly appreciated Thank you hi, if you just need to make an image from text, maybe this works for you.... http://www.thecodebehind.com/code/dotnet/aspnet/creating-an-image-from-text-with-c-and.aspx cheers, b. Hi, precisely, i need an image of a rtf text - wiht colors, different fonts, sizes, al ...Show All

  • Robert Kok How do you change the Z-Order?

    Now I know how to send things to the front of back, that's easy, my question is how to set the level of an item to an actual value, say (topmost-1) or (background level +3). Any help would be great, Thanks! Rob. So, I have tried using SetChildIndex(), and it hasn't been working for me, here is some code that i think might help <code> int x = 2; c1 = Controls[x] ; // c1 should now be ...Show All

  • Andrei Gradinari Can this be done?

    My question is: how do I change the color of a progress bar By color I mean that intense green used to draw the blocks of the bar. I found a property in .NET Framework 1.1 called ProgressBarColor that is supposed to do that, but I did not find it in .NET 2.0. Did the programmers overlook it on purpose or by mistake Well that looks nice but it is not what I wanted. ---------------------------------------- ...Show All

  • StefanPe how to modify .exe or .dll 'file's productName and comany

    hi: in every .exe or .dll 'file's property, there are productName and comany these attribe . i want to write C# program to modify these value, does anyone know is there any methods to do that thanks Good that your question does not mean changing others copyrights (I wouldn't help with such questions). To modify your own - go to Project properties, select first "Application" tab and cli ...Show All

  • Samir Khamisa reboot or shutdown os

    hi how i can reboot or shutdown os with dotnet framework library (without api) http://forums.c-sharpcorner.com/F_ShowMessages.aspx ThreadID=22968 thank you but this way only for windows platform , i want standerd way for all platform suported by dotnet Hi Here is a link http://www.codeproject.com/csharp/timercomputershutdown.asp ...Show All

  • VS Nublet DeSerialize a complex XML file

    I am trying to DeSerialize following config.xml file, but the sample code I used from internet does not populate the values of all the elements. Can any one please suggest a code - Best Regards, Pranav < xml version = " 1.0 " > < ConfigData xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = " http://www.w3.org/2001/XMLSchema " > < OrgUnit > < SheetName > ...Show All

  • sweetnlowe How can enable or disable mainmenu's items on MainForm from childForm ?

    When I click an item on menu on MainForm I set it's enable property is false to open a childForm. When I close childForm I want to set menuItem on MainForm is true to can choose it again but I couldn't do that. Please tell me how can I do like that Thank you very much ! You won't be able to access the menu from the child form, because the menu on the main form is marked as private. You should change the 'modifiers' property ...Show All

  • larsbg Bugs in .NET 2.0 ?

    Hi There Either I'm making an error or there are two bugs I have found in .NET 2.0 Beta .... private void button2_Click( object sender, EventArgs e) { toolStripStatusLabel1.Text = "Asterisk" ; toolStripProgressBar1.Value = 33; System.Media. SystemSounds .Asterisk.Play(); System.Threading. Thread .Sleep(750); toolStripStatusLabel1.Text = "Beep" ; toolStripProgressBar1.Value = 66; System.Media. SystemSounds .Beep.Play(); Sys ...Show All

  • Curtis Zeiszler loops

    Im a bit new to loops. Can anyone explain to me how its possible to use a loop to move items from a listbox to a textbox one item at a time(a confirmation message box will be displayed) what kind of loop is best for this for ( int i = 0; i < listBox.Items.Count; i++) {  // Lett the user confirm this action.     if( MessageBox.Show( this, "Are you sure you want to move " + listBox.It ...Show All

  • vtortola How to convert textbox.text to string?

    I have a couple of textboxes that I am trying to concatenate and I receive some error about that. Here's what I have. string strSummary; strSummary = txtFstName.Text + " " + txtLstName.Text; The error message is: Cannot convert from 'System.Web.UI.WebControls.TextBox' to 'string' Your help is appreciated. You're right. That wasn't the problem. It's something else. I got it fi ...Show All

97989901234567891011121314

©2008 Software Development Network

powered by phorum