8,298 Topics
![]() | |
Hi, Our project is based on bluetooth technology . the PDA is communicate with PC via bluetooth. So that what should do for write code in PDA as well as PC. | |
Hi all, I'm pretty fluent with C#, but I was wondering what everyone's recommendations would be as far as an intermediate level book for C#. I pretty much have a grasp on the language, there's just some small details that I need to enhance my knowledge on: some interfaces, class … | |
hi, can you help me in making my program ,employee log system program and it is password protected program ^_^ ..... | |
[I]<< Forked from [url]http://www.daniweb.com/forums/thread40942.html[/url] >>[/I] [QUOTE=Narue;196586]>But after printing the last word, it just hangs like as if expecting another string too. Probably because it's expecting another string. A newline is whitespace too, and unless you're terminating the loop with Ctrl+Z (or a read error occurs), it'll just keep asking you … | |
Hi, I want to have a tree view control with tables as treenodes instead of labels that. For this I cant use third party controls even though they r free So I want write Owner drawn treecontrol can anyone give me the links to any tutorials that explain this concept … | |
hii... :-/ can u plz get me out of the problem..!!!!1 m using visual studio 2005. whenever i click an update button to update values of a particular column of a gridview, all the columns gets updated with the same values. eg. if the 2nd column of 1st row with … | |
Hi, I need to create two tables in a Ms Word because I have two gridviews. But the output became "table in table". How can I "separate" them ? [CODE] Word.Table wt1 = oWordApp.Selection.Tables.Add(oWordApp.Selection.Range, GridView1.Rows.Count + 1, 2, ref missing, ref missing); Word.Table wt2 = oWordApp.Selection.Tables.Add(oWordApp.Selection.Range, GridView2.Rows.Count + 1, 7, … | |
Hello, I am attempting to create a minfilter, or possibly something else. I will explain the problem and hopefully someone will be able to point me in the right direction. I need something that will intercept requests to a certain harddrive from windows, weather this is through windows explorer, or … | |
We have a c# program that when you type in a word or whatever it finds it in the database and opens up in an accordian. In the text that it opens up which is the description, we need to have other links within that text that you can click … | |
int main(int argc, char *argv[]) { int mobile, pond; float a; cout<< "input mobile price:"; cin>>mobile; cout<< "input 1 pound how many BTH:"; cin>>pond; mobile+pond==a cout<<a; | |
I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object … | |
I have a message Box with two options, Retry or Cancel. Upon clicking cancel, I want to close the MessageBox and then load the main Form. Any idea how to do that? This function is already within a button_click function and I want to get out of this function and … | |
i want to have view query in C# kindly let me know it | |
I am using Named Pipes to transfer data from a client (C++) to a server (C#), the client does the following: [Code] struct MESSAGE { char cCommand[8]; string sParameter; }; MESSAGE msg; strcpy(msg.cCommand, "COMMAND"); strcpy(msg.sParameter, "DO SOMETHING"); DWORD dwWrote = 0; WriteFile (hpipe, &msg, sizeof(msg), dwWrote, NULL); [/Code] Then, at … | |
[code]include<stdio.h> #include<conio.h> void main() { char u,pp; printf("\n\n\t\t enter the username and password"); scanf("%c%c",&u,&pp); getch(); }[/code] what was wrong in this code, Its taking the username but its not properly taking the input of password. And my another doubt is how can i use string for this program instead of … | |
Hi, I knw there is a way to convert from 1 managed code to other, but i just want to know how cani use it, i have a code in vc++ 6.0 and i need it in c#.net form vs 2008. wat r the ways i can do it.. Thanks... | |
Hello, this is my 1st post here,:) I have a problem With C#.net 2008, I can't find the way to send variables from form to form, Could you post here all the ways to do so? + But my problem really is this.:icon_eek: I have 2 Forms, 1-[B]Form1[/B], 2-[B]SP[/B]([I]name of … | |
hi friends, in visual C# 2008 express edition IDE, when I tried to add more than one C# source files in the same project then I got following errors: [CODE] Error 1 Program 'C:\Documents and Settings\Santosh Tripathi\My Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Class2.Main()'. Compile with … | |
Hi all, I was wondering why the following code compiles, with or without extra komma? My feeling is it should not be there, but apparently it does not matter. Any comments would be more then welcome. [CODE=c#]namespace ConsoleApplication1 { class Program { public enum months { jan = 1, feb … | |
Hi All, I'm trying to implement the NORMSDIST function of MS excel in the C#. I found its implementation from the following link. [url]http://office.microsoft.com/en-us/excel/HP052091941033.aspx[/url] and I've written the following code for this i.e. [code] static double NORMSDIST(double z_score) { double z_ = - ( (z_score * z_score) / 2 ); … | |
Hi everyone, I have a task to create a window application using c#, visual studio 2005, in which a form is running in client side which has to get message from the server. The constraint is , the form has a swf file which will run on the background but … | |
hi all. i need to block certain websites.. for that i must get the site name which the user is typing and to block those sites... any help??? thnks n advance.. kiran | |
Hello everyone. I have a question regarding those mp4 video files.. Is there any library easy to use to convert mp4 files to mp3 files? I have lots of mp4 videos which I want to be able to programmatically convert to mp3 files. I tried searching google for a very … | |
So my assignment is to go a little farther in this Mortgage calculator. by the way thank you for all the help thus far. I am trying to get this right, but can seem to get the math right. Here is the assignment: Write the program as a procedural C++ … | |
I have a created a C# windows service (Serv.exe) which is responsible for performing various tasks at the request of a running application (A.exe), some of these can take long periods of time and I need a way to know the status of my requested operation (running on the service) … | |
Hi, I have one address (0xffbff21c) where I have stored 2 int values, depending on the way I read it. Where is the second value stored (at which address)? My code is [code=c++]#include <iostream> using namespace std; int main() { const int a1 = 40; const int* b1 = &a1; … | |
I have made a login form in C#.net windows application i am facing a problem during connecting it to the database SQL Server 2005 it is sending [B]error 25[/B] it will be helpful for me if somebody solve this problem if will be better if somebody send me coding also | |
I need a text editor same as used in this site in the [B]Message[/B] section of [B]Post new Thread[/B]. Actually i want to convert my text area control to text editor .If anyone knows please help me | |
I need to create a SMS final examination retrieval using C#. Can anyone help me with this? | |
Good day to everyone. I am a student who is a new to .Net. I am about to have a project which would probably involve flash and c#. I just want to learn the basic passing of variable from flash to c#. This project would involve a test or assessment … | |
[B]Hi all, I'm newB in C# and kind of lost now since couldn't find the right/suitable references. Please correct me if I'm wrong...[/B] My application will store values into database once user run it. In the Form Application, it runs well(no doubt). Now with the same approach, i want it … | |
I am trying to populate a label using a T-Sql query to a SQL Server table upon a click event. I have the click event and linking to the SQL Server table working just fine. The process (below) returns "System.Windows.Forms.BindingSource" rather than any value from the table. My code is … | |
Hello guys I have a problem with my code: I want to print an error message every time the user enters a number lower than -273.15 . My code runs well and does the desired mathematical operation. It even loops back to the input message, but I'm having huge headaches … | |
![]() | Dear Pythoneers, I have been reading really good answers on this forum so I thought I'll give it a try and see whether someone can help me. What I want to do: "I want to embed Python in C++ and use Python's capabilities in order to create a expression evaluator" … |
Hi evry bdy dre........ i need help.. im working in C# with SQL..... i have window form .... in ma application i have to login ...... i want that when i fisrt enter my id and pasword then after my login .... my id and corrected pasword is saved ..... … | |
Hey, i need your help :(. Im working on a mail-downloader but it wont work (pop3) :(. mail provider:[url]www.gmx.net[/url] It always say "Wrong ID+PW" why? here is the code: [CODE=C++] #include "stdafx.h" // includes are there ;) //Prototypen int startWinsock(void); int main() { char buf[256]; long rc; SOCKET s; SOCKADDR_IN … | |
How to compute surface area of an object? Write a program that computes the surface area of an object. The user will choose a circle, rectangle or triangle. The program will prompt the user for the values needed (radius, 2 sides or base & height), then show the answer. Requirements: … | |
Hi,:) I'm now doing a project on c# sql project.I have a database problem,:'( when a user gives the input dynamically through the front end ,the user data can be view through data grid view .but it is not getting stored in the original database.I have tried a lot to … | |
IN y application, i have a date shown in textbox control which is extract from database(previously saved in MM/dd/yyyy format).Now i have to compare that date with another date that user inputs from datetimepicker control(custom format MM/dd/yyyy).Now i have to compare this two date and throw some message accordingly after … | |
# include <iostream> using namespace std; int main () { int arr[100], num, sum=0, size=0; cout<<"Enter an integer: "; cin>>num; if (num < 0) num*=-1; while (num != -999 && size < 100) { arr[size]=num; size++; cin>>num; for (int j=1; j<size; j++) { for (int i=0; i<size-1; i++) { if … | |
For Input 4 15.01 15 3 3.01 The value of 'avg' is becoming 9.00. I don't understand why this should be 9.01. Please help. [CODE] #include<stdio.h> #include<math.h> double round(double x) { return floor(x * pow(10.0,2.0) + 0.5)/pow(10.0,2.0); } int main() { //freopen("10137.txt","r",stdin); //freopen("out1.txt","w",stdout); long i,n; double sum,avg,sum1,a[1005]; while(scanf("%ld",&n) == 1 … | |
I am facing a problem. I have an enum which further goes as some string values. Now I have a check or validation for that particular enum type as if it is null, then display some error message. But when I give nothing for the particular parameter, it takes the … | |
Hi, Look I'm new to C# and I have a working knowledge of VB .Net. I would like to learn C# but I'm having a problem. It's probably a basic problem but, for a console program how to I check what someone has typed in so that the console can … | |
Hi Everyone, i m creating new mailaccount on mailserver. i will send username and password from my webservice as a parameter these request will go to the server than ceate new account on mailserver. for Example domain name - dser.com username - [email]abc@dser.com[/email] password - pass mail server ceate new … | |
Can anyone help me to program standard deviation? Here is the instructions for this program: Write a program that takes as input five integers and outputs the mean and standard deviation of the numbers. If the numbers are val1, val2, val3, val4 and val5, the mean = (val1 + val2 … | |
I need help to sort this numbers, but the problem is it won't like i want it to be with the decimals. I tried changing the int to double but then the program will not run. Here is the code, please provide feedback. [code=cplusplus]#include<iostream> using namespace std; // function prototypes … | |
Currently I have 2 applications that reside on the same system (local applications) that need to communicate. One is a C++ program that already uses mailslots to communicate with other system (remote) and the other is a new C# service I have just written. Given that the C++ application is … | |
Ok, so i've made a bootloader in assembly but I think its very hard to write the operating system (the kernel) in assembly so I wonder if it is possible to write it in C#? The question is: Can you write a C# console application and convert it to .bin … | |
The End.