4,588 Topics

Member Avatar for
Member Avatar for Karan_4

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 = …

Member Avatar for ddanbe
0
97
Member Avatar for Pilot122x

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 …

Member Avatar for Pilot122x
0
271
Member Avatar for raajsj

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 …

Member Avatar for raajsj
0
5K
Member Avatar for mesbahuk

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#?

Member Avatar for ddanbe
0
279
Member Avatar for jaimin4829

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]; …

Member Avatar for shadyreal
0
2K
Member Avatar for liveland

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 …

Member Avatar for shadyreal
0
158
Member Avatar for shadyreal

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 …

0
82
Member Avatar for fhau013

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:)

Member Avatar for ddanbe
0
88
Member Avatar for jasfer

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! :)

Member Avatar for ddanbe
0
181
Member Avatar for mesbahuk

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 …

Member Avatar for mesbahuk
0
264
Member Avatar for valipour

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() …

Member Avatar for sepp2k
0
242
Member Avatar for sireesha.c

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) …

Member Avatar for kavita Tambe
0
481
Member Avatar for fhau013

what ide can i use for c# programming? except for visual studio? thank you :)

Member Avatar for fhau013
0
234
Member Avatar for Dashien

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; …

Member Avatar for deceptikon
0
260
Member Avatar for Varunkrishna

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 …

Member Avatar for kvprajapati
0
184
Member Avatar for shadyreal

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 …

Member Avatar for shadyreal
0
270
Member Avatar for raajsj

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 …

Member Avatar for raajsj
0
2K
Member Avatar for khiemkim.xuan

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

Member Avatar for ddanbe
0
86
Member Avatar for fredw300

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. …

Member Avatar for lolafuertes
0
272
Member Avatar for johang_80

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 …

Member Avatar for ddanbe
0
406
Member Avatar for funfullson

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() { …

Member Avatar for Sri Harsha
0
337
Member Avatar for Victoryy

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 …

Member Avatar for Ketsuekiame
0
353
Member Avatar for abhinavashish

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?

Member Avatar for JorgeM
0
56
Member Avatar for VilePlecenta

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 = …

Member Avatar for zadkielmodelre
0
223
Member Avatar for serkan sendur
Member Avatar for mesbahuk

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 …

Member Avatar for Ketsuekiame
0
266
Member Avatar for shadyreal

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 …

Member Avatar for shadyreal
0
445
Member Avatar for mesbahuk

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 { …

Member Avatar for Ketsuekiame
0
304
Member Avatar for me.sapna
Member Avatar for mesbahuk

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 …

Member Avatar for mesbahuk
0
658

The End.