8,298 Topics

Member Avatar for
Member Avatar for CzechRock3

So I am programming a binary to decimal conversion program... But the twist is, I want to Convert my input string to a const char, and from the const char I want to convert it to an integer... Because I can not just convert a string directly to a integer. …

Member Avatar for CzechRock3
0
403
Member Avatar for apachex

[COLOR="Green"]ERROR : [/COLOR] [COLOR="Red"] System.Data.SqlClient.SqlException: Implicit conversion from data type sql_variant to uniqueidentifier is not allowed. Use the CONVERT function to run this query. [/COLOR] I made a admin side for editing roles and user passwords if necessary.. But since the default ASPNETDB,mdf have UserID and Password in 'Unique Identifier' …

Member Avatar for blackdragon1027
0
151
Member Avatar for NicAx64

Hi all, I got a idea! if you have open source project ideas please share them on this thread. There are many tons of open source projects out there in the internet. what here expected is fresher level complex code-bases. :TODO: requests are welcome. so the final year students who …

Member Avatar for mrnutty
0
189
Member Avatar for ujwaliyer

i want to insert rows one by one into a database in the sql server 2005. the problem is that i have tried all possible but the rows just dont get added to the database, i get an exception on executing this code, i get this exception Unhandled Exception: System.IndexOutOfRangeException: …

Member Avatar for safe2010
0
271
Member Avatar for srikanth2321

Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] …

Member Avatar for PierlucSS
0
1K
Member Avatar for Stony

[COLOR=#000000]:sad: My teacher is killing me, he just graduated from Yale, and he hasn't been teaching long that is very apparent. I don't know, but I think this has something to do with the complexity of his assignments for this, the first class you take for Computer Science, C++.[/COLOR] [COLOR=#000000]In …

Member Avatar for dusktreader
0
244
Member Avatar for DemiSheep

I have never programmed in C and have not programmed in C++ for a little while and either way, I am still learning. I am writing a program in C and am converting a MATLAB program to this C program. I have a lot of variables from MATLAB that are …

Member Avatar for Ancient Dragon
0
129
Member Avatar for anitha10

i hava retrieve the data from database to text box but i am getting only one row from the table i want to retrieve all the rows of a table in the text boxes how it is possible please help me sir.

Member Avatar for taylby
0
105
Member Avatar for ticktock

Hey all, I am currently fiddling around with SQL/Access statements in C# and created a very simple dictionary program that will search for the words depending on the length of each text entered in one text box. So when the user presses the search button it the program will search …

Member Avatar for Fezzer
0
463
Member Avatar for hardikp.001

i havae made circuit which we can operate from computer. i know c++ but hoe can we programme hardware using c++. any books or links or suggestion regarding to it please reply

Member Avatar for mike_2000_17
0
349
Member Avatar for Usmaan

Hi Folks, I'm making a Calculator on Visual Studio (Nope, it's not a College or University assignment). I'm at the part where I have added code to all of the number buttons but now need to see how the program is going to calculate sums of x amount of numbers. …

Member Avatar for Geekitygeek
0
198
Member Avatar for Vani3863

Hi All, I'm a relative newbie having trouble completing a program that is required to read the text character by character from a .txt file and to then encode certain characters to something thing else. It is then supposed to be output to a separate .txt What seems to happen …

Member Avatar for Vani3863
0
162
Member Avatar for srujanac#

I wrote the code for fileupload control such that when i click browse the path of the file is being stored instead of that i need to store the uploaded file in a floder under solution explorer and the name of the file should be stored in the database.can anyone …

0
60
Member Avatar for brainbox

Hi Everyone could anyone help me with the event handling behind a checkbox, which is one of the columns in datagridview. First of all i am adding this checkbox column to dataTable dt, which is the source of DataGridView1. However, i cannot make the checkbox to work, i.e. ifi click …

Member Avatar for Geekitygeek
0
417
Member Avatar for anitha10

i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question

Member Avatar for anitha10
0
204
Member Avatar for ia2196

HI, I am trying to make a GUI A that has many rows of data. I right click on gui A and open GUI b that edits the row in GUI A i clicked on. Then i click save on GUI B . and changes are reflected in GUI A. …

Member Avatar for ddanbe
0
100
Member Avatar for SeekAnswers

Good day, I have been trying to add a new record to the Access Database that has already been connected to the Visual Basic Application (Using Visual Studio 2005) that I have been developing, using the DataSource and the DataAdapter objects, though I'm able to add an Insert query and …

Member Avatar for kei1412
0
543
Member Avatar for vihrao

I want to create a rsa key in c# and export the container. I am having difficulty. I create container like this: [CODE]CspParameters cspParams = new CspParameters(); cspParams.KeyContainerName = "XML_ENC_RSA_KEY";[/CODE] The msdn example says I can export the container with this syntax: aspnet_regiis -pa "XML_ENC_RSA_KEY" "NT AUTHORITY\NETWORK SERVICE". This does …

0
76
Member Avatar for geek1

data compression in c++. this is a text compression eg: gggghhnnnmmmmm would give us: g4h2n3m4 thank you

Member Avatar for Aranarth
0
91
Member Avatar for Ved_TheOne

Hello everybody, I am having problems in connecting dbf file using C# Actually, what i want to do is as follows: 1. on GO button, the code connects to dbf file saved in my local hdd ie at d:\dbase 2. the file name is billingsample.dbf of type IV 3. the …

Member Avatar for ckhong
0
1K
Member Avatar for hitro456

Hi everyone, I have Javascript function (say hello()) in page (abc.aspx) I want to call this function from (abc.aspx.cs) In .cs file I have a function say fun1() { - -- if (var==1) call javascript function here } how can I call javascript function from IF condition?? I dont want …

Member Avatar for dnanetwork
0
125
Member Avatar for chuck577

Hello, I asked this question in the c++ forums but I've since moved the small program that I was working on over to C# Forms. have a current file that I am opening. Each line of said file looks like this: D40001~10997~811~DANIWEB~555-555-5555~7.70~I~2111 There are around 5000 lines with different DXXXXX …

Member Avatar for Geekitygeek
1
376
Member Avatar for s.moosavi

hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in …

Member Avatar for s.moosavi
0
96
Member Avatar for letheredge

Hello, I am having trouble getting my c:param working. I've looked all around the web for a solution. Here's some of the code that I have: test.jsp <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" errorPage="" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> </head> <body> <c:import url="test2.jsp" > <c:param name="testVar" value="0" …

Member Avatar for ~s.o.s~
0
352
Member Avatar for rishabbbh

[B]Can anybody tell me whats d problem..????[/B] [CODE] #include<iostream.h> #include<conio.h> void main() { clrscr(); int l,b,r,a; char ch,t,x; cout<<"******************----MAIN MENU----****************** \n"; cout<<"\n 1.Area of rectangle"; cout<<"\n 2.Area of square"; cout<<"\n 3.Area of circle"; { cout<<"\n Enter your choice"; cin>>ch; } rec:cout<<"\n Enter the Length and breadth"; cin>>l>>b; a=l*b; cout<<"\n Area …

Member Avatar for mike_2000_17
0
145
Member Avatar for poolz50

Dear c# Community, I am seeking general advice from those with more experience. My problem is this: I have written c# code that computes several X,Y data sets. I now wish to plot these as a scatter graph. Nothing fancy, just simple plots that pop up at the end of …

0
114
Member Avatar for anitha10

i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question

Member Avatar for Nick Evan
0
100
Member Avatar for zack_falcon

I am doing a Quiz Generator / Viewer project, which requries the use of a database for the numerous questions the teacher has to put in, as well as the user names, passwords, etc. I used Microsoft Access (2000, I think) because I found it easier to use. For the …

Member Avatar for zack_falcon
0
143
Member Avatar for blaisemcrowly

I am trying to take in inputs from the user for one of my projects. [CODE]cout<<"Enter Event Name (enter 'exit' to quit) ::"; gets(dat.evnm); cout<<"Enter Type Of Event (eg: Dance, Music, 'exit' to quit) ::"; cin>>dat.type; if(strcmp(dat.type,"exit")==0) return 0; cout<<"\n";[/CODE] here the line[CODE] gets(dat.evnm);[/CODE] will not execute, and the program …

Member Avatar for blaisemcrowly
0
252
Member Avatar for tamayoclarisa

#include<iostream.h> #include<conio.h> #include<fstream.h> #include<stdio.h> #include<string.h> #include<dos.h> #include<stdlib.h> void display() { clrscr(); cout<<"press: " ; cout<<"\n 1:ADD RECORDS \n 2:RETRIEVE RECORDS \n 3:READ RECORDS \n 4:quit"; } void main() { clrscr(); display(); char choice; cout<<"\nEnter your Choice:"; cin>>choice; switch (choice) { case '1':addrecords();break; case '2':retrieve();break; case '3':readrecords();break; case '4':break; default: cout<<"Only …

Member Avatar for Ancient Dragon
-1
134
Member Avatar for shaqtus

OK, so in Visual Web Developer, I've created a master page that has 2 textboxes (one for a user name, one for a password), and then I have a content holder (note that the 2 textboxes are outside of the content holder.) I also have a web form that is …

0
59
Member Avatar for jackandjill2010

Hi i have a simple question i was wondering how to display the existing data in C# objects like Textbox, combobox or labels. At the moment a sql database file, one of the tables data is currently displayed in the datagridview control just fine. But what i would like to …

Member Avatar for jackandjill2010
0
390
Member Avatar for Stefano Mtangoo

I'm looking for if I can add C# to my toolbox. However there is something which is not clear. I know C# is interpreted language, but can't get it when it comes to learning It. I would like to learn Mono, but then, how does it differ with M$'s? Where …

Member Avatar for ddanbe
0
97
Member Avatar for LevyDee

Hi guys, as the title suggest, Im new to c#. I have a text file with 5 lines of text in it. Im trying to read each line and throw it into an array of string type. But Im having problems. [code] private void button4_Click(object sender, EventArgs e) { songs …

Member Avatar for Lusiphur
0
168
Member Avatar for psathish2

dear all , i was getting values x and y axis from joystick using c# and after getting the joystick values into pass the opcserver ..plz replay me any logics and codings..any have opcserver connection and how to pass the values code send to me ..... thk

0
71
Member Avatar for MatejM

Hello everyone, First of all sorry for my English. How can I rename headers in dataGridView? When I press on Find button all works just fine. I get the information wich I want. But headers of columns in dataGridView have names just like in database (PersonID, Name_Person,... ). I would …

Member Avatar for PierlucSS
0
458
Member Avatar for senpark15

hi Everybody, I am new to SIP and C#. Now i attempting to create video conferencing Using SIP and C#. But i dont know how to create SIP server and how to stream video . Could you please tell me how to do that? or Give me some links about …

Member Avatar for adas123
0
41
Member Avatar for khrizanne

is there someone who can help me? i need a c++ program of any sales system. badly need it. asap ! for my case study any1 there willing to help. thnks a lot guys !

-1
31
Member Avatar for Loadstone

(This is a repeat post from C# section since I just found this section and thought it might apply.) Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as much information as I can, and I'm sure I'm leaving something important out anyway. …

Member Avatar for Loadstone
0
326
Member Avatar for Loadstone

/edit: I found the Windows Servers forum section and posted there as well, but if you have any input I'd appreciate any help I can get. I'll be checking both threads for replies. Hi guys, First I want to apologize for such a lengthy post. I'm attempting to give as …

Member Avatar for Loadstone
0
251
Member Avatar for UniqueMan
Member Avatar for endoExpert

I have this code in a C# application that is automating a Web app. I want to execute the javascript function and would like to SEE the results, however when running the app I get an exception "Specified cast is not valid." on line 2 below. mshtml.IHTMLDocument2 doc2 = (mshtml.IHTMLDocument2)ie.Document; …

0
22
Member Avatar for dipti_611

hi everyone i have two problems in the above code- 1. on click of update button of gridview, dropdownlist of subcategory should take null value and should display none which is not happening. 2. on click of edit button of gridview subcategory dropdownlist is not displaying the selected value instead …

0
44
Member Avatar for techick

Hi...next semester I will be taking advanced programming in C++. I would like to know any good up-to-date books that I can buy and read ahead to get a head start so I can be prepared for the class

Member Avatar for khusro.iqbal
0
112
Member Avatar for belometer

Hello there, I'm in the process of learning C# and windows forms. What I'm trying to do is adapt some scripts I have already made using PHP and MySQL to work in a windows environment and GUI. I previously wrote it using PHP because I was already familiar with the …

Member Avatar for belometer
0
179
Member Avatar for MaiHunDown

Hi I have done C# but that is not enough Please tell me what should I do for more.... Thanks

Member Avatar for euroazn
0
87
Member Avatar for PsychoCoder

C# code snippet demonstrating how to set the status of a specified Windows service. Provide the name of the service and it's value (it's an integer value described in the comments)

0
769
Member Avatar for PsychoCoder

This is a snippet that will get either all the child controls of a form (other other control) or controls of a specified type. This is for C# 4.0 as it utilizes an optional parameter.

0
3K
Member Avatar for brettspark

Here's the intro: My current code sends and receives packets of data. I'm needing a way to filter out unnecessary data (for what we're wanting to plot) and plot the data that is received in real-time. I do believe that we have access to MATLAB, so maybe that would be …

0
36
Member Avatar for sana_moi

hellow need your help there is my code i try to get the text from combobox & put it in request but when i wont to ut the result of the request in other texbox i figure out that the value is empty : [code]HSTMT hStmt; char* nbnk; int ret1; …

Member Avatar for sana_moi
0
101

The End.