8,298 Topics

Member Avatar for
Member Avatar for GeekByChoiCe

Heya guys, I have a very small snippet that drives me crazy right now. [CODE=csharp] int arg1; int expr1 = arg1 = 16; [/CODE] That silly online translators giving me the following output [CODE=vb] Dim arg1 As Integer Dim expr1 As Integer = InlineAssignHelper(arg1, 16) [/CODE] Great but what should …

Member Avatar for GeekByChoiCe
0
269
Member Avatar for caseyl89

So I have this code so far to parse some values from many XML files. What I can't figure out is how to declare the folder that i need it to open. I need the code to open up a folder on my c:\ that has lots of xml files …

0
77
Member Avatar for Mullaly

Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it would be [CODE]<Persons> <PersonName1>XXX</PersonName1><Subscriber1><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><two>123456</two>....<twenty>20</twenty></Numbers></Subscriber1><Subscriber2><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><tow>123456</two>....<twenty>20</twenty></Numbers><Subscriber2> </Persons>[/CODE] Like …

0
107
Member Avatar for bhagawatshinde

I use the app.config file to store some values (Security key). These settings are used at runtime now i am making the exe of my project. but i will get an error showing security key doesn't found. I am adding app.config file in application folder is it correct? Can anybody …

Member Avatar for nick.crane
0
155
Member Avatar for c#dezire

i want to create a code using array in which i can store the month name by a button named ADD and use other to view month name . my code was following but the problem is it is holding last value only not all values [code] using System; using …

Member Avatar for kvprajapati
0
265
Member Avatar for Jack1312

So I have a class file. Inside the class is a void which is started in the Program.cs. I used 'LavaSurvival.Init("properties/lava.properties")' in the Program.cs. I'm only pretty new to coding, so it's probably something I didn't know XD. The problem is that I continue to get this error: Type: IndexOutOfRangeException …

Member Avatar for nick.crane
0
250
Member Avatar for RvSon

hello all, i got project on online examination i want to fetch data dynamically from database. it must be like that once student loged in. he must gives answer for 1st Q. to go next Q. when they click on any of the buttons. next Q. must be fetch dynamically …

Member Avatar for Singlem
0
164
Member Avatar for shrutipopat

i have to use FLV file in my project so how to implement FLV files in windows form c#???

Member Avatar for shrutipopat
0
88
Member Avatar for shandoosheri

Hi i need to create about 100 files in a numbered sequence like : file1.txt,file2.txt,file3.txt . so how can i create these files using c#.

Member Avatar for shandoosheri
0
165
Member Avatar for kumar2884

Hi I am engineering student, currently working in image processing. I have big issue in understanding few basic concepts in programming. To be frank I am beginner, so my question will look silly, so please tolerate with me and if anyone can help me it would be much use full …

Member Avatar for naveenture
0
546
Member Avatar for oscargrower11

I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure …

Member Avatar for Momerath
0
197
Member Avatar for Hajira Khanum

i have tried to write a code, but i have a problem with the play() module where the message "one Row Completed" is not being displayed. Please help me with this:icon_confused: [CODE=c++]#include<iostream.h> #include<conio.h> #include<stdlib.h> class bingo { public:int a[5][5]; void input(); void check(); void play(); void comp(); }; void bingo::input()//input …

Member Avatar for tajendra
0
244
Member Avatar for lianpiau

Hello! any expert can help me. Please. I'm design a form with click Search button to search date and display data in datagridview. but when I set my access database OTDate column as Date, It will cause data mismatch problem. however, set OTDate column as Text is fine. But it …

Member Avatar for Momerath
0
643
Member Avatar for chandnigandhi

my project is on education with fun so i want to add sound API for alphabets for example:if alphabet a is pressed then in picturebox image of apple is diplayed and we can hear a sound that is "a for apple"....how to do so????

Member Avatar for ddanbe
0
125
Member Avatar for chandnigandhi

i want to draw a rectangle in windows form in c# with the help of mouse by clicking on button line should be displayed on panel and if first rectangle should not b disappeared... plzzzzzzzzz rply soon........

Member Avatar for chandnigandhi
0
155
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with the help of mouse and by clicking on line button it should allow me to draw a line on form or panel as in paint it allows us to do so and while drawing the 2nd line first …

Member Avatar for shrutipopat
0
74
Member Avatar for reactivated

I'm using Visual C# Express 2010, on Windows XP SP3. I took pain to define the var collBlock in the class directly, however, when I try to use it, it works once and then NOT. Google searched all and tried a lot of solution. Error stil comes up. The code …

Member Avatar for reactivated
0
327
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with d help of mouse....by clicking on button line should b displayed on panel or form.....nd d first line should nt b disappeared..... plz rply soon.....

Member Avatar for Narue
0
99
Member Avatar for sirknieghf

hi i got a problem when try to use pointer and struct..somehow ive manage to compile my coding but the main prob is that the output is not what ive keyed in.. [CODE]#include <iostream> #include <conio> #include <string> #include <stdlib> void printtable(); void input(); void calculate (); void scorecard(); void …

Member Avatar for sirknieghf
0
392
Member Avatar for pxndx

Ok so i have this little problem, i have to find all the elements in an array that are duplicates ex:{1,1,1,2,2,3,4,5,6} 1 repeats it self 3 times and 2 two times things like that this is what i have so far... [CODE] static void Main(string[] args) { int contador = …

Member Avatar for thines01
0
2K
Member Avatar for caseyl89

Hi so i'm working on a project in c#. I have hundreds of xml files and I need to extract 6 values from each of the xml files and somehow display them on an excel datasheet. Here is an example of the xml file: [code] <XAxisCalib> <Max>288.93</Max> <Min>-48.08</Min> <MaxS>200</MaxS> <DfTHt>0</DfTHt> …

Member Avatar for caseyl89
0
1K
Member Avatar for ibthevivin

I'm having trouble with my C++ assignment because when I run the program I can't type more than one word on the "Enter your street name" line or it won't work. My teacher said something about "getline" but he really lost me. Here is what I have. Please help! [code] …

Member Avatar for Narue
0
295
Member Avatar for nblackburn

Hello, i have made an attempt at this to show im not lazy, but this currently doesnt work, it would mean the world to me if someone could help me finish this code asap, thanks again. [QUOTE][B]NOTE:[/B] Im trying to make this into a DLL for one of my projects[/QUOTE] …

Member Avatar for vijayan121
0
350
Member Avatar for cyberdan123

Hello community, I am pretty new to c# and i have decided to use COSMOS to build a basic operating system, However, all my code compiles correctly but there is one problem, when i type shutdown, the system hangs, it does not shutdown and the white cursor continues flashing but …

Member Avatar for cyberdan123
0
1K
Member Avatar for JDoggieIII

I am attempting to use a WebBrowser control in C# to display a webpage. I would like my C# application to know when a Javascript function is called within the loaded webpage. Is there anyway to do this? I can't seem to find an event handler for it.

Member Avatar for JDoggieIII
0
389
Member Avatar for jayuma

Am new to socket programming.Can you please help me with this issue I need to connect two computers which is already under some network using C#. After it gets connected I need to know the details of the "Task Manager" of the connected computer - (If any pogram/file is running …

Member Avatar for Ketsuekiame
0
267
Member Avatar for jesminya

I'm new here, but it looks like an awesome place to get some help. My assignment is to write a recursive function that determines the value of a unit of Pascal's triangle given the row and column, then use that to display the triangle with n number of rows. It's …

Member Avatar for Onlineshade
0
1K
Member Avatar for Aties

sir i have one json i want deserlize this json how will i do iam try out but "Type 'System.String' is not supported for deserialization of an array." error coming here is my code : in cs file [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using …

Member Avatar for Aties
0
1K
Member Avatar for techlawsam

Alright back with the same but different example problem but this time I think it requires some "formating" and knowledge of "escape characters". As a novice programmer this is the caliber of trouble I am going through lol. Does this need knowledge of escape characters as well ? ("\t") would …

Member Avatar for techlawsam
0
241
Member Avatar for BarisD

Hello everyone, I'm not a very advanced programmer and here is my problem: I'm trying to write a hangman game and I want to use online dictionaries as database. I created a windows form application to do that. Is there a better option to achieve my aim? I could find …

Member Avatar for makman99
0
536
Member Avatar for Heioingi

Please, please please someone help me. This might sound a little pathetic but I cannot figure this out for the life of me, it compiles just fine but i get the complete wrong output. Here is all the code I have. The problem: Write an application a that calculate the …

Member Avatar for Heioingi
0
1K
Member Avatar for MrAppleseed

I recently wanted to get involved in C++0x (Native, OS independent thread support?! Heck yes I want that!), and it seemed as though my compiler supports it. So, I added it in Code::Blocks, under Settings >> Compiler and debugger.. >> Global Compiler Settings >> checked "Have g++ follow the comming …

Member Avatar for mike_2000_17
0
187
Member Avatar for sachintha81

I have a WPF C# program where I attempt to delete certain characters from a text box at TextChanged event. Say, for instance, the dollar sign. Here is the code I use. [CODE] private void txtData_TextChanged(object sender, TextChangedEventArgs e) { string data = txtData.Text; foreach( char c in txtData.Text.ToCharArray() ) …

Member Avatar for Momerath
0
1K
Member Avatar for bhagawatshinde

Hi Guys, I want to set background image for the MDI form at the runtime (form load) i tried this, [CODE] this.BackgroundImage = Image.FromFile(Application.StartupPath + "\\Images\\OTS_mockup_slice.jpeg"); [/CODE] but its not working.... any idea Thanks in advance.

Member Avatar for bhagawatshinde
0
97
Member Avatar for Gaving30

Hi All, First time asking so go easy :-) I am doing c++ a few weeks now, i am doing questions in Project Euler to hopefully improve my coding, But as you will prob see below i am still very new and "Nieve"... Question is: The prime factors of 13195 …

Member Avatar for TrustyTony
0
444
Member Avatar for pxndx

Hey does anyone know where i can find a list of projects like for school?

Member Avatar for Obadiah1
0
96
Member Avatar for lily_itech

Hi every1 I'm working on my first visual studio and c# app ..... I wanna deploy my winform app (which contains sql database) and sql server express as one bundle... 1. I did a backup for my database . how to insert it into my app ? and what do …

Member Avatar for kvprajapati
0
148
Member Avatar for werdna347

[CODE] cout<<"What HTH level are you (1,2,3): "; cin>>hthLevel; switch(hthLevel){ case 1:out<<"Hand to hand level= 1"<<endl;break; case 2:out<<"Hand to hand level= 2"<<endl;break; case 3:out<<"Hand to hand level= 3"<<endl;break; default: cout<<endl<<"Incorrect"; }[/CODE] Need to know how to loop this so if 1,2 or 3 is entered it continues but if an …

Member Avatar for Cross213
0
290
Member Avatar for anglerman247

Hi I'm new to this forum and I am looking for a little help. I was wondering if someone could provide some code that allows someone to enter a message into a comment box, hit submit, and then that message is sent to an email account. I also have two …

Member Avatar for tej kharka
0
501
Member Avatar for hamzamuradkhanh

Sir, I want to click "Google Search" button of google.com in Internet Explorer api through C# code.Is it possible?

Member Avatar for expresscasket
0
170
Member Avatar for pivotcity

I have been looking at tutorials in regards to isNullOrWhiteSpace to validate user input of a string. but i am unsure how to initialise the method. This is just a code snippet and all i am trying to do is place this in a loop to ensure if user presses …

Member Avatar for pivotcity
0
296
Member Avatar for AhMing46

Hi, i was working on an application which is quite similar to winRAR or other compression software. at the moment i facing prob with the progress bar. my idea was that whenever i click on the button to compress the progress bar will load and ended when the compression complete. …

Member Avatar for lolafuertes
0
242
Member Avatar for krulex

I have made a following program that will convert lower case letters in to upper case and upper case letters will remain same and that will be done Realtime (as character is typed). [CODE]#include<stdio.h> #include<conio.h> void main(void) { char ch; printf("Type a sentence: "); while (ch!='\r') { ch=getch(); if (ch …

Member Avatar for krulex
0
455
Member Avatar for sraj44

[code] <%@Language=VBScript %> <!-- #include file = "connectOracle.asp" --> <%if trim(session("UserName"))<>"" then%> <% Response.Buffer = true SET con = server.CreateObject("adodb.connection") con.open "DSN=VTSDSN;UID=vtsplop;PWD=vts@123" set rs = server.CreateObject("adodb.recordset") set rsdest=server.CreateObject("adodb.recordset") rs.ActiveConnection = con Set ORACON = server.CreateObject("adodb.connection") ORACON.Open "Provider=MSDAORA.1;User ID=SAPVTS;password=VTSSAP;Data Source=prd;Persist Security Info=False" tdate = date() fdate = date()-1 VEHMOV=trim(request("VEHMOV")) trans_code = …

Member Avatar for Atul Dhiman
0
237
Member Avatar for C sharp

hi all can u suggest to me some of books for learning C# and cover every simple word in that language and easy to understand and can make me professional in it thanks in advance :)

Member Avatar for darkelflemurian
-1
138
Member Avatar for pivotcity

just asking for assistance with the menu items as they are set to uppercase M, R, C, X in the case statements how can this be modified to accept 'm' or 'M' as valid input. [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace PracticalTest5 { class …

Member Avatar for Singlem
0
3K
Member Avatar for ddanbe

What polar coordinates are is explained [url=http://en.wikipedia.org/wiki/Polar_coordinate_system]here[/url]. I wanted to draw some polar functions myself, so I changed my [url=http://www.daniweb.com/software-development/csharp/code/217204]plotting class [/url] a bit and added a polar struct to a new project.. Just posted code for the Plot class and the polar point structure here. You can find an …

2
1K
Member Avatar for kiran.madke

can one give me a link or code for forum. i am doing a project and i want to add a forum in my website so user can interact with other i want a perfect c#.net code and back end is sql server 2005 can any one help me pls?

Member Avatar for niyitanga
-2
175
Member Avatar for satish4206

hi this is my first qery here.i joined a software company.my stream is .net i am from a maths background,id dontknow any thing at allabout c and c++.i joined a crsh course in c and completed nearly 60%.what topics should i stress in c and c++ so that i can …

Member Avatar for RvSon
0
181
Member Avatar for PratikM

Hey Guys, I was just making a program with music running in the background and whenever I tried to run the .exe file of the program, the music wouldn't play. Extra Info: I'm running Windows 7 and Visual Studio 2010 Express. Here's my code if you need it...(beware: it is …

Member Avatar for raptr_dflo
0
309

The End.