4,588 Topics

Member Avatar for
Member Avatar for pseudorandom21

Is there any reason I'm missing as to why not many languages let a programmer create a table of constant information at compile time? Something like: [code] public const Dictionary<string,decimal> SOME_DICT = new Dictionary<string,decimal>( {"A", 1.9}, {"B",2.3}, {"C", 4.4444} ); [/code]

Member Avatar for thines01
0
132
Member Avatar for DeathEater

hey guys. i need advice and guidance for a new project i want to start. imagine a company with some subsections that each one has a program and a separate database on sql server 2008 express. what i want to do is unit these apps so that all of them …

Member Avatar for Ketsuekiame
0
217
Member Avatar for Sokh

Hi everyone,Can you please help me? I want a C# code for taking time and date from a site and import this time in my program,can you pls help me.

Member Avatar for Sokh
0
273
Member Avatar for morfious90

HI developers I'm new in c# .. i want to make periodic table .. but prob is i don't know how to make that periodic chart .. :( .. i i even dont know which section should i read to learn how make that chart ... i want to place …

Member Avatar for MORFIOUS
0
2K
Member Avatar for csharp_user

Hi, Im new at C# and im trying to make a booking system where i have a combobox on the first form. From that form i have to choose 1 out of 3 items. Depending on which item i choose i will come to another form. How can i get …

Member Avatar for csharp_user
0
161
Member Avatar for vegaseat

Is it Mother Date and Father Time? Any way, getting all the different date and time displays working can be imperturbably perplexing at times. You take a look at it in this Windows Console Application.

Member Avatar for Tsawm
0
953
Member Avatar for dd2308

Hello Everyone , I have developed a windows application with mysql database server. i have installed it to client machine also. Now,the problem comes when i restart mysql server or server computer. After i restart server,client application can not able connect to server . if i disable network and enable …

Member Avatar for dd2308
0
159
Member Avatar for Zarl

How would i make my program a .exe so people can run it, i made a simple calculator and i want to share it with some people so they can test it out.

Member Avatar for thines01
0
81
Member Avatar for lianpiau

I wan develop a program which is detect database got new record, then it will pop out message such as MSN login & logout status at right hand side below. or detect record status and pop out message box to tell user

Member Avatar for VIeditorlover
0
79
Member Avatar for kothaisaravan

I have created a .NET windows based application in c#. Find the attached screenshot of my application. Java web service is already created and maintained. Now I want to send the values from windows application grid view to java web service. Is this possible? If so how? Am newbie to …

Member Avatar for thines01
0
211
Member Avatar for itslucky

Hi Friends, I am working on such project in which I have to transfer the control to a specific resource (which is a Camera thru 3G). I just don't want to transfer the control, I want to forward the same IP address (on which the ASP.NET WebAPP) is running. because …

0
59
Member Avatar for visored23

hi, i'm new to c# programming and i have this problem that i encountered while trying to create a database browser. Here is my code: [CODE]private void button1_Click(object sender, EventArgs e) { string search; search = searchbox.Text; if (search == "") { MessageBox.Show("You have not entered anything. Please enter the …

Member Avatar for visored23
0
191
Member Avatar for mementomori

Two applications, two different problems. Both of these applications worked perfectly in the test environment with SSL authentication turned off. Now that we've moved to a live environment, the applications can no longer connect to the client company's ActiveMQ messaging queue. using dlls from Spring.Net version 1.3.1. Connection string uses …

Member Avatar for mementomori
0
2K
Member Avatar for tendaishava

Hello Team i am a newbie in c#, i have was asked to come up with a program that extracts information from websites and stores in txt, or any other readable format. now i managed to do the program. my problem now is i am extracting information from a site …

Member Avatar for gusano79
0
666
Member Avatar for priere

C# Linq to Entities - Reference.EntityKey Now that I have built a database and here is the corresponding SQL code: [url]http://www.mediafire.com/?f4a0d74j7qe7a1f[/url] Visual Studio 2008 SP1’s ADO.NET Entity Framework has generated an Entity Model like this: [url]http://postimage.org/image/lulmehljv/[/url] I have created some methods as follows: [code] private void buttonAddPatient_Click(object sender, EventArgs e) …

Member Avatar for lolafuertes
0
341
Member Avatar for smepperson

Hi Everyone, It has been some time since I've posted here but I am truly having trouble seeing the forest for the trees so to speak. I have changed my code so many times I missed the time it worked because I want it to do more. Upon Exit btn …

Member Avatar for smepperson
0
1K
Member Avatar for ChaseRLewis

Alright I've been writing C/C++ code for a few years but recently got into helping make an indie game with a few guys. We are scripting in C# but i'm just a bit lost on how to do some stuff without pointers. Its a generic class that holds the non-work …

Member Avatar for ChaseRLewis
0
252
Member Avatar for gsting_88

How to verify email address whether exist or not in asp c#? I have search google about it, but there are no one clear's solution.. I need all help!!! Thank You.

Member Avatar for Mitja Bonca
0
298
Member Avatar for berwick53

Hi I currently have a winform inside a MDI like the one in the picture to the left, how can I get it so that it looks like the one on the right with all the bars and icons removed [URL=http://imgur.com/F134B][IMG]http://i.imgur.com/F134B.png[/IMG][/URL] cheers sam

Member Avatar for mazzica1
0
75
Member Avatar for MARKAND911

I have two classes named [B]ROAD[/B] and [B]PATH[/B] [CODE] public class ROAD { public string getData() { return "Marlton Road"; } } public class PATH { public string getData() { return "Tagore Path"; } } [/CODE] Also i have a function named FETCH() in my Static Void Main FETCH() contains …

Member Avatar for Mitja Bonca
0
3K
Member Avatar for james6754

So in C# I can create an array of n elements: [CODE] int[] myArray = new int[n]; [/CODE] I have looked and it doesn't seem as though I can create an array like this in C++ (using new). Could anyone please explain why I cannot use new to create an …

Member Avatar for james6754
0
86
Member Avatar for VasquezPL

I have a serious problem, I read 100+ articles all over the web about tis exemption, and I cannot solve my problem... [CODE] String query(string groupuser, string parametr1, string parametr2) { try { string connectionPrefix = "LDAP://" + domain; DirectoryEntry entry = new DirectoryEntry(connectionPrefix); DirectorySearcher search = new DirectorySearcher(entry); if …

Member Avatar for VasquezPL
0
378
Member Avatar for noobprogrammerr

Hi, i would like to know to retrieve out the date and time from my database to show on the wcf test client and for eg, after choosing a certain date, how to do the coding in order for the events to show that's happening on the date i choose …

Member Avatar for noobprogrammerr
0
172
Member Avatar for skootles

I have a C# program that I run on a Windows PC and a camera app running on a Windows CE6 terminal. The two are connected using Activesync 4.5. From the PC app, I want to be able to do the following. 1. Launch the terminal app 2. With the …

0
148
Member Avatar for AndrewConroy

I started a programming course about a month ago, recently we started learning about using different code outside the main string and using them in order to pass data to each other I really got lost and didn't understand a word, wonder if anyone could help explain how it works, …

Member Avatar for Akill10
0
125
Member Avatar for TylerVo

Is there a htm, html, or php code that I can add to a htm or html file on my website that runs a c# program when I visit it? I want to do this because I have a phone application that I want to run automatically when users visit …

Member Avatar for skatamatic
0
97
Member Avatar for ganil_22

Hi, I am new to C# and looking for the below helpful links, which contains 1. All the C# builtin classes and their description Example: string : to perform operations on string Convert : To convert from one type to another type 2. Tutorial on Visual studio development environment 2010 …

Member Avatar for Mitja Bonca
0
144
Member Avatar for NargalaX

I've tried this in the past, but never got it to work. How would I set specific keys to run functions, whether I am on the current form or not? Thanks!

Member Avatar for Greatis
0
700
Member Avatar for compulove

I am trying to connect to a sql database and read from a table to determine if a username is valid upon a user entering in theirs. To just give you a background of the program: 1. The user needs to enter in their username and ID number. I already …

Member Avatar for Ketsuekiame
0
355
Member Avatar for deebi

I've planned to do my final year project on neighbor discovery in sensor networks... I wanna know if simulation of sensor nodes is possible in C# and .net? reply me ASAP. thnx in advance

0
96

The End.