Answer Questions
ManishDotnet Fill a shape
I have a shape like this shape , and I want to fill it with a color, can someone help me Greets, DIII Sorry, Christian. New MSDN Forum policy: the more recent answer counts the most. ;) Hi Christian, Sorry,I read the first portion of your post,where you said P/Invoke should be used and then set off to post.No offence meant whatsoever :) I think you should st ...Show All
Pavel S. XML documentation on generics
Hi, I've been searching the MSDN docs, Googling around and trying to search these forums, but yet have to find an answer to my question. How do you reference a generic class using XML documentation Obviously, <see cref="System.Collections.Generic.List<T>"/> doesn't work. I tried <see cref="System.Collections.Generic.List`1"/> - as that is how MSIL treats it, but that didn't work either. What is the correct syntax for doing this ...Show All
Danny_40 Can't release ?
form1: private void Form1_Click(object sender, System.EventArgs e) { this.Visible=false; Form f2=new Form2(); f2.Show(); } form2: private void Form2_Click(object sender, System.EventArgs e) { this.Close(); Form f1=new Form1(); f1.Visible=true; f1.Show(); } Why can't withdraw Where is the question lain in Thank you very much!!! What is the problem Do you get an exception, please give us more details. I see the scope of f ...Show All
Mikeymac How to download an video and audio?
Good Day! Im a newbie in using c#. I have a problem regarding how to download an video or audio. can any body help me or give some ideas how to make it God Bless....and thanx Hi, you can zip it if you want, just a temporary solution. Hello u can do this by using the WebRequest and WebResponse Classes. // Create a request for the URL. WebRequest request = WebRequest.Create (" any video/audio link" ...Show All
brizznady How can I add a new row at top of a dataTable
I intend to set datatable as datasoure of a combo box , add a row to datatable to have new item in the combo box , but its not work .Please help me , I would to have first Item value :Unknown Please help me, thank you try { DataTable dt = new DataTable(); string sql = " Select distinct ID from TABLE"; SqlDataAdapter m_DataAdapter = new SqlDataAdapter(sql,Connection); m_DataAdapter.Fill(dt); DataRo ...Show All
Paul Hill alphacomp Trigger not Firing
I have build a SQL Trigger that fires on the update of a specific column; this works perfectly when I test using SQL or even the SQL Server GUI but when I do the update from .NET it doesn’t fire. I have a dataset that gets modified and then I call sqlDataAdapter.Update(Dataset) - the row is successfully modified in the database but alas - the trigger isn't fired. Any help would be appreciated This is ...Show All
Frank J DeFalco running a process from memory (as opposed to from the file system)
I have an embedded exe (gpg.exe) in a class library I'm writing. my problem is I dont want to extract the executable to the file system, but instead would like to run the process from memory. Process / Start Info take a file system string path to start the process. any clues as to how I might be able to replace some part of that functionality so that I can load the executable from memory into that Process object am I chasing a le ...Show All
jt230050 VB.net verses C#. Which is used more. Which more popular
Does someone have any data on which language is used more and what the percentages might be of developers developing in Visual Studio Is C# used more or VB.net Is there a future trend Is one gaining in popularity over the other Any information on this would be appreciated. Does MS prefer one over the other I am a VB.net developer, contemplating a move to C#. It is no ...Show All
maheshbabui Any Fixes for Roaming Profiles with WDS yet?
Hi all - looking to implement WDS in an environment using roaming profiles. I've heard there should be a hotfix (or something) becoming available but I don't know an approximate date. Can someone here comment on how it might be possible to get WDS working with Roaming profiles Walk me through the steps etc.. Thanks! John, Just wanted to let you know that we released a hotfix for the roaming profile i ...Show All
Deskman How can I make datagrid display the caption instead of the name of datatable column?
I add my columns to my datatable in the following way: private static DataColumn AddColumn( DataTable dt, DataColumn dc, string name, Type type, string label, string def ) { dc = new DataColumn(name, type); //add name and type of datacolumn dc.Caption = label; //add label to datacolumn (what the users see) dc.DefaultValue = def; //add default value to data column dt.Columns.Add(dc); //add the datacolumn to the table return ...Show All
FraserOne FCKeditor as HTML offline editor in a c# application
Hi All The RichTextBox is a very powerful control,it has text formating and image embedding. I need to save the RTF with images into an HTML File , any advice is highly appreciated Hi, Im writing a c# rich client based on SOAP. I write articles on a text area and then I send it to a web page. until now I have used the http://www.codeproject.com/cs/miscctrl/htmlrichtextbox.asp class, but this dont support a lot of nice stuff ...Show All
Peawee C# API
I'm fairly new to C# and i'm having trouble finding C#'s API. I tried googling it and had no luck. Thanks Burnt1ce wrote: I'm fairly new to C# and i'm having trouble finding C#'s API. I tried googling it and had no luck. Thanks The free IDE for developing in C# is called "Visual C# 2005 Express Edition", and can be obtained here - note the big "Download Now" button on the right! ...Show All
Enz0 boolean expression evaluation
Hi, is there any better way to determine whether the expression is true than putting it into the DataTable and perform Select Currently solving like this, but seems quite expensive to me: string var = "2" ; DataTable eval = new DataTable (); eval.Columns.Add( "var" , typeof ( string )); eval.Rows.Add( new object [1] {var}); string expr = ">1" ; return (eval.Select( "var" + expr).Length > 0) ...Show All
TBJ Can not set value to variable...
Ok this problem is wird to me, so please help... I have an Struct... public struct PointStruct { public Point FirstPoint; public Point FinalPoint; public string Tipo; public string MuebleTipo; } [in my form] PointStruct [] Lista = new PointStruct [99]; // guide public string tipodibujo = "" ; public string tipomueble = "" ; then ...Show All
Devang Open new form when button is pressed
When i make several forms in the same projects, i want them to open when i press buttons in the forms. I double-click on a button to view the code-part, and I want to make a new object of a form that I want to pop up when that button is pressed. Say Form1 f = new Form. When I start typing Form1, VS will show a list of matching forms, but sometimes the forms i want to use doesnt show, and I cant make objects of them. Does anyone know why I have s ...Show All
