78 byte By
cabasm at 2007-11-25 10:38:54
How can I receive when all of a user control's controls finished loading?
1081 byte By
zhshqzyc at 2007-11-25 10:38:55
It seems to be a bug.https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=144156 I have struggled it for days. My software: Microsoft Visual Studio 2005 Academic Edition. I have started a project, and now when I open the project, I get a messagewhen I open the toolbox th...
371 byte By
DeepT at 2007-11-25 10:38:57
I have this C# application I wrote which runs fine on my computer. When I copy it to another computer (that has .NET installed) and run it, nothing happens. No errors or warnings. It momentarily appears in the process table and disappears.How am I supposed to figure out what is wrong if I do no...
1548 byte By
DeepT at 2007-11-25 10:38:58
I have been writting these SQL database query objects and decided to try and make a single base class for them all because they are 95% identical.The various methods use an array of structs that have a static initalization (there may be 100s of instances, but they table is the same for each kind of...
306 byte By
rossini at 2007-11-25 10:39:06
Is there a way to get the version # of a web service?I'm writing both the program and the web service and I'm not sure the best way to return the version # because the web service doesn't have an AssemblyInfo.cs file with the AssemblyFileVersion setting.thanks,John....
236 byte By
atuvy at 2007-11-25 10:39:07
I am writing an application in C# that needs to read and write into an sql7 database, I am looking for some code samples which show how to do that. If anybody has a link to a site which has such code samples please respond to this post.
236 byte By
Saeed at 2007-11-25 10:39:14
IHow do you collect a series of texts , values in a collection object.<br/>Each entity in this object may have up to 5 elements and the number of rows in the collection is UNKnown so static array is not a good idea.<br/>Cheers
1048 byte By
w0lfshad3 at 2007-11-25 10:39:18
I intended to display a control(picture box actually but i might manipulate it from the control it sits upon)not from the upper left corner but from its center. Since i cannot override Location property i planned to offset it like in the following code. I need to know wether is there a better way or...
391 byte By
shuvo at 2007-11-25 10:39:20
Design patterns have come up as a great obstacle in my career as a c# programmer, the more I read about them, i become more confused.Please can anyone suggest me any site or any book where common design patterns are explained with easy to understand examples in a easy language.It would be best if th...
321 byte By
Frank100 at 2007-11-25 10:39:36
Hi, I am a beginner to learn about API's. I am just confused about how to use skype api using C# programming langauge. Do i need to register any dll's. Can anyone help me regarding this issue. I would appretiate if any body has a small example and documentation of how to access SKYPE API....
172 byte By
djai at 2007-11-25 10:39:44
i'm new in c# and want to develop application using DirectX. i'm well versed in vc++. Can anyone please tell me exect approch about it.<br/>Thanks in Advance
I can,t obtain the ApllicationID of an ASP.NET applcation .NET 2.0
1254 byte By
architect at 2007-11-25 10:39:57
A mount and a half about, I work with c#, for now I read only MS Press c# 2005 book, and use google mostly, but one thing I cant find anywhere:- Whenever I make a program and post code to someone,that one give me a tons of critics about my code quality, and say "..you have a lot to learn.." and that...
2132 byte By
sarama at 2007-11-25 10:40:14
I am using VS2005 datagridview. I am programming in C#. The datagridview is bound to a table in a dataset.I have a column that has temperature units. The unit stored in the dataset table is in Kelvin, but users can choose their displayed units and the displayed values will change accordingly.For...
Hi All,Was looking through some documentation about image classes/bitmap classes and I can't seem to find any way of converting a bmp/jpg to TGA, or perhaps even saving as a TGA from the getgo. Is this possible?Edit: If not, does anyone know of any 3rd party dll's that have this functional...
764 byte By
Suzi167 at 2007-11-25 10:40:18
Hello everyone,I am working with C# and generics.I have a class called BaseType and three classes that inherit from it.For Examplepublic class BaseType{}public class A:BaseType{}public class B:BaseType{}public class C:BaseType{}then imagine I have an object and I want to determine if it is of type A...
298 byte By
RickyD at 2007-11-25 10:40:19
I am a college student studying c sharp this semester. One awesome thing about being a student is I get all of this software for myself through the MSDNAA program for free and keep. About 10k worth of software according to ebay prices<br/> http://img406.imageshack.us/img406/6177/msdnaary5.jpg
952 byte By
carrolls at 2007-11-25 10:40:21
Hi Folks,I have implemented a C# COM library object with a simple interface that seems to be working fine.The only problem is that I can't debug it using Visual Studio 2003. I have set a breakpoint at the beginning of the method that is being called.I am calling the C# COM component from a VC6...
Ok so my program is supposed to be a console application for this class im taking, but I kinda suck at it. The program is supposed to ask for 5 peoples' names, the grades for 10 assignments (2 per person), and then do a printout of the names, every grade, and the averages. SO yeah if anyone kno...
2864 byte By
DanDandy at 2007-11-25 10:40:36
Hi. I am using the code guru article. I think this code I have sends a string over the port. I don't understand it completely, but I need to be able to send an object, or other data besides a string. I've modified it a little but I can't figure out how to send an object. I want the cl...
2279 byte By
Saeed at 2007-11-25 10:40:38
public class DBInterface { private OleDbConnection connection; public DBInterface(string strcon) { connection = new OleDbConnection(strcon); } public DBInterface() { this.connection = new OleDbConnec...
Hello all, I want to create one application which keeps track of the IE running. when any new url is navigates.., it find in the database that the particular url is in database. if yes then the application should modify the back color, background image and font etc.. Currently what i th...
1939 byte By
w0lfshad3 at 2007-11-25 10:41:00
EDIT: solved @ MSDNEDIT: added whole project: http://www.filefactory.com/file/2e3287/ http://files.filefront.com/MyMoOrar/;8536933;/fileI have this array of picture boxes that hold bitmaps representings stars. I made a textbox that resizes itself as i type text in it or delete it(representing the name...
Hi,<br/>I have a .WSF file which in turn calls .VBS file and .WSF files. I am developing a UI for Windows Application. I want to call this .wsf in C#. Can anyone throw me some light how to go about this requirement. Thanks in advance.<br/>Thanks,<br/>Naresh KKK
Hi,<br/>I am new to C#. I have a tool with .WSF and .vbs which runs in command line options. I want to replace the Command line options with UI. Can any one tell me how to go about this requirement in C#? Thankyou<br/>Thanks,<br/>Naresh KKK
I have nextint[] TablaCuentas = new int[iMaxCuentas];... try { SqlCommand comando =new SqlCommand(consulta.ToString(), conexion); SqlDataReader reader = comando.ExecuteReader(); while (reader.Read()) { TablaCuentas[i]= (int)reader.GetValue(0); i++;...
771 byte By
JohnIdol at 2007-11-25 10:41:35
Hi All,I've been trying to figure this out, but no luck.I have an xml file with UTF-8 encoding.I am parsing it so my C# strings are showing the unicode (UTF-16) representation for the UTF-8 encoding.i.e. ['] instead of ['] Now, I am trying this:byte[] bytes;byte[] uniBytes; bytes =...
685 byte By
Suzi167 at 2007-11-25 10:41:40
Hi I am using reflection and I need to get the properties out of my typeBut I only want to get the properties that have both Get and Set Accessors.How can I accomplish that using the BindingFlags enum?Here is my code: foreach (Type type in assembly.GetTypes()) { foreach (PropertyInfo propInfo i...
382 byte By
skuanet at 2007-11-25 10:41:44
Hi all,when I try to connect the application to an Oracle DB I get this error (ORA-12560 ) but only if the DB is in a remote machine otherwise everything works fine.I am using System.Data:oracleClientIt seems that in the remote machine the Oracle Service doesn't start automatically...Did you ex...
Hias far as i know, execution of current thread stops as long a the user does not deal with the message box. However, my messageboxes keep on popping up. I got System.Windows.Forms.Timer firing every 100ms or so. I think the new Messageboxs appear in that "rythm". I dont understand this because i...
I'd like to build a suite of applications that individually perform a low level service and when brought together can perform a higher level service. For example, one application may go to a database and pull out details of some financial securities. Another may interface into and manipulate ma...
163 byte By
dahwan at 2007-11-25 10:42:01
How can i detect "lines" in a string? Like for instance:<br/>foreach("line" e in MyString)<br/>{<br/> StrWriter.WriteLine();<br/>}<br/>Thanks in advance!
I was looking for a way to dynamically find all forms in a project and add them to a combo box so they can be loaded when selected from the drop down list.I couldn't find anything good until I looked in Reflection. If this way is not very good then let me know. I'd like to know the best...
314 byte By
michig54 at 2007-11-25 10:42:18
I have a NotePad like program in which i am printing from a textBox. Everything works fine, except when it goes to print a string that contains a tab "\t", it just ignores it and doesn't do anything. The tab shows up in the textbox correctly but not on the printed paper. How can i resolve thi...
523 byte By
mickey0 at 2007-11-25 10:42:23
Hello, I'm a newbie and my problem is this://mainBuild build;build.childs.Add(new Build());build.childs.Add(new Build());Build TENTH = build.getTenthBuld();class Build { public ArrayList b = new ArrayList(); }public Build getTenthBuild() { if something() return (Build) b[10];...
403 byte By
Saeed at 2007-11-25 10:42:24
public DBInterface() { this.connection = new OleDbConnection("blaa blaaa.mdb"); } ~DBInterface() { // Destructor logic }in teh destructor i need to delete teh meory allocaed for connection.in C# what...
403 byte By
Saeed at 2007-11-25 10:42:25
public DBInterface() { this.connection = new OleDbConnection("blaa blaaa.mdb"); } ~DBInterface() { // Destructor logic }in teh destructor i need to delete teh meory allocaed for connection.in C# what...
Hello everyone, i have just started on a project at my new job, and i notice that when they check for null they useif (null != param)as i would useif (param != null) im just wondering if there would be a reason that they do this, or is it just a perculiarity of whoever originally wrote the app? i re...
2601 byte By
Vinod S at 2007-11-25 10:42:32
Dear all, i have created an application to send authenticated email with attachment. Now what i want is to include the attachment in the message body. can any one help me in this regard. i am sending the mail sending code with attachment. if (String.IsNullOrEmpty(sServerName.Trim()))...
How to create application like Flowchart?<br/>Can anybody help me?<br/>Is anyone have drag and drop functionality?<br/>Is anyone have resize and delete functionality on Visual Elements like ellipse, rectangle etc.?
The ability to determine the class of an object at run time is useful when extra type checking of function arguments is needed, or when the user wants to write special-purpose code based on the class of an object.So does C# provide the ability to determine the information of a class at runtime? If y...
solved @ MSDN: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2139978&SiteID=1&mode=1I've made a couple of attempts but they flicker and i wonder if there is a better way(as in disabling selection functionality altogheter). Also i wonder how could i implement SelectionChanged event just l...
916 byte By
david123 at 2007-11-25 10:43:01
Dear AllRegards! i m going to develop a Graphics Editor in C# and OpenGL, now i am going to display my drawing on a canvas, and the canvas display area variables r display_min_xdisplay_max_xdisplay_min_ydisplay_max_yand i m going to display using the following code for zooming------code-----...
302 byte By
Frank100 at 2007-11-25 10:43:02
I want to deploy my .NET desktop application through (setup and deployment).With in this deployment I want to merge SQLAdvace,DotNetframework,CrystalReport installers.I think am doing something wrong during merging files. Is anyone can help me out and can tell me the write steps to do that?...
How can i stop an user from deleting a file?We have an application which when saved will save the data to an XML file.The user again can open the application and before the process completes,can delete the file. This deletion has to be stopped. When i tried using FileSecurity,GetAccessControl and Se...
295 byte By
highton at 2007-11-25 10:43:10
Hi all, <br/>I working with form now, and had a problem with those forms. For example, I click the button, and the new form will appear, how can I make a restriction that people should close the new form before continuing work with the form that used to open the new form? <br/>Thanks.
How can i stop an user from deleting a file?We have an application which when saved will save the data to an XML file.The user again can open the application and before the process completes,can delete the file. This deletion has to be stopped. When i tried using FileSecurity,GetAccessControl and Se...
Hello Everyone I am trying to figure out how to enable this type of Event Sink connectivity between a C# application and VBScript. How do I configure my application to allow this? I will skip the explanation of why unless anyone is interested.Thanks for your time and ideasPatrickSet IExplore = W...
1646 byte By
DeepT at 2007-11-25 10:43:28
I have this run time error happening where it is saying:An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dllAdditional information: Collection was modified; enumeration operation may not execute.I figured that different threads might be changing the co...
61 byte By
dahwan at 2007-11-25 10:43:33
How do i stop a textbox from going "DING" when i click enter?