4,588 Topics
| |
Please Explain me the code A a = b as A; Iam confused with it public class A { public virtual void One(); public void Two(); } public class B : A { public override void One(); public new void Two(); } B b = new B(); A a = … | |
Alright guys I need some assistance with this. Ok In a few days I will start my project but I need to how to do something, Read Below: I need to find out how to display a Users specific table within My MySQL database for example here is a picture … | |
hi all, Im working with a asp.net c# application and using sql server, as my database and using stored procedures. And i've to generate dynamic check box and button's.which is users can click the checkbox and when user can submit at the time i have to get checked checkbox values … | |
I have a Java code block like following: public TcpConnection(TcpSocket socket, long alive_time, ITcpConnectionListener listener) { init(socket,alive_time,listener); start(); } For the conversion in C#, When I try to replace the `start()` method with `System.Threading.ThreadStart()`, it gives an error. How can I start a thread in C#? | |
I have created an application which compress & convert a file in .rar or .zip format.But it can't be open and give error that the file is damaged!!! string filetocompress = txtSourceFilePath.Text.Substring(txtSourceFilePath.Text.LastIndexOf("\\")+1); MessageBox.Show(filetocompress); FileStream sourcefile = File.Create(txtSourceFilePath.Text); FileStream destination = File.Create(txtTargetFilePath.Text + filetocompress + ".gz"); byte[] buffer = new byte[sourcefile.Length]; … | |
I'm looking for an easy way to be able to post to all of the main social networks including: Twitter, Facebook, Google+, Delicious, Stumbleupon and Pinterest (the first 3 being the most important to me). I'd like to be able to perform this functionality from a C# desktop application that … | |
A bit of background information: Im running Windows Server 2008 R2 Standard, on a virtual server. The program is a service with a service installer. The service has a couple of performance counters to show the data performance. To be able to do this I need to create a category(I … | |
could you please help me we're doing our independent study about visual c# 2008 could please teach ne how to connect mysql to C#? thanks for the help:) | |
Hi guys! can anyone help me with my problem? I'm making my project regarding I.D. System and I need to connect this Bamboo digital pen and touch, to use it as the signature for the I.D. Thank you in advance! :) | |
I'm currently working in a java to c# conversion project. In one part I got this Java code snippet. public CustomType someMethod(Message msg) throws IOException { byte[] data = msg.toString().getBytes(); } to my understanding, data contains the byte representation of the string *msg.toString()* But when I try to write it … | |
Hi i created class a and b is it's child (a:b) public class a { string text = "class a"; public void alert() { MessageBox.Show(text); } } public class b : a { string text = "class b"; } b myb = new b(); myb.alert(); but when i call alert() … | |
Hi all, Can u plz tell me as how to upload images. I am developing an web application similar to picasaweb album. I need to know as where the images to be saved(is it in database directly each image or just image path in database and files in application folder) … | |
what ide can i use for c# programming? except for visual studio? thank you :) | |
Hello All; I'm not a student nor is this a project I am beginning a programming project of my own and redoing some of my personal lessons to refresh my understanding of C# and I couldn't believe how rusty I am until I hit this issue...... using System; using System.Windows.Forms; … | |
I am learning C# there I came across two programs they both, get the users' input at the run time. The first program is using **int.Parse()** method to convert the string to int and the second program is using the **Convert.ToInt32()** to do the same task. Now my question is … | |
I need help with the usage of Perfromance Monitor, but the code that I tried to go with did not work. I ended up with this Sysmon( System Monitor ) and added it in a Windows Form Application. I need to learn how to track performance. Does anyone know how … | |
Hi all, i am developing web application in asp.net backend MS-Sql.<br/> i have to retrieve a particular table values for example table name "costomer" and its fields are "c_id,c_name,c_contactno" like that and when i retrieve this values, it should be bind the checkbox for UI. now i've code for generate … | |
Hi all! Are there any available C# projects that is used in VS2010-CS2012 that you guys know about? I need a really large project that has multiple assemblies for example. Thanks | |
I am using C# to create a word document from a template (Word) that contains several bookmarks. My application generates different tables and paragraphs at specific bookmarks. However, there is a blank page created in the end of the document which I am not sure how to get rid of. … | |
Hello, I am currently trying to develop a window form application whose content is added dynamically. What I am trying to do here is to display a number of panels with different sources across the screen horizontally. I am getting the data from a DB and depending on the number … | |
Hello dears. I need to play a music in my projects background. I did such below but it does not work. what is problem please? [CODE] class PlayMusic { private string cmd; private bool isOpen; [DllImport("winmm.dll")] private static extern long mciSendString(string strCommand,StringBuilder strReturn,int iReturnLength, IntPtr hwndCallback); public void Close() { … | |
I have created a setup in windows application using C#. In the Installer class I have overridden the Uninstall method as I wanted to perform some custom actions. But, while uninstallation I am getting error as **Unable to load one or more of the requested types. Retrieve the LoaderExceptions property … | |
I an developing a Multilevel Marketting Website. I have enterd data in sql table (MemberDetail) columns(Member_Id, LeftChildMemberId, RightChildMemberId,TreePosition). Now in asp.net form I have to display Member_Id in form of Binary Tree. How can i do this? | |
This is strange, I looked it up and by default C# should pass parameters by value but I've always had them get passed by pointer. ie [ICODE] public class foo { public foo() { derp = 123456; } public int derp; } public static void dontcare(foo z) { z.derp = … | |
How to overlay two images in c#? Thanks | |
In java this is how a DerivedClass can implement it's BaseClass's constructor. public DerivedClass extends BaseClass { //some properties public DerivedClass(param) { super(param); } } I have learnt C-Sharp's *base()* does the similar thing, but when I replace *super(param)* with *base(param)*, it does not gives what I'm expecting. How can … | |
Is it possible to have a auto-tracking event or something similar to track the database when it changes? For an example: If the database gets a new insert value from another application that I currently have: then My other application will notice it and fetch that data instead of getting … | |
I have been working on a conversion project for last few days where I need to convert a Java library to C#. At one point I came to java's certain feature called [Exceptions Thrown by a Method](http://docs.oracle.com/javase/tutorial/essential/exceptions/declaring.html). Here is a little glimpse of it: public boolean isRequest() throws NullPointerException { … | |
plz provide me design n source code in C# with asp.net | |
In the conversion process of a java to c# project, i have come to java's ***indexOf()*** function in ***string.java*** class, which takes in two integers (int ch, int fromIndex) and return some integer value for a char (i'm guessing its an ASCII value). I need to know if there is … |
The End.