8,298 Topics
![]() | |
Hi guys, I am inserting value from xml file to access database the file is near about 6 MB (size not problem) but the file contains mathematics questions containing images(jpeg,bmp),equations(math type) so while inserting some questions it will give an error "Query Is Too Complex " can anybody tell me … | |
hey guys any one can help me plz................... Win or console App in C# ,as soo As possible ..............Tanx Write a simple TCP program for a server that accepts lines of input from a client and prints the lines onto the server's standard output. Compile and execute your program. On … | |
Good morning, Here i am again, asking help to all of you that are able to help me, my problem is the following, i translated some code from C# to VB, mas the code in C3, what it does is change the wallpaper and it's style for Windows Starter, but … | |
I'm learning linked lists in C++. In an exercise I have to duplicate H time a give item. So I thought in this method: [CODE]void duplicaNodo(int item, int &H, Pnodo &L){ //duplica un nodo H volte, scorrendo tutta la lista Pnodo Temp, Temp2; if(L!=NULL){ if(L->info==item){ for(int i=0; i<H; i++){ creaNodo(item, … | |
Hellow. I have 3 variables 1. string query; 2. public static OracleCommand oracmd; 3. public static OracleDataReader reader; I have used these variables in a function [CODE=C#] . . . public void PreviousValue() { query = " select * from....... "; oracmd = new OracleCommand(); .... .... reader = oracmd.ExecuteReader(); … | |
Hi all, i have a scenario in which there are two subscribed users (to database) in my web app.......now if one of it wants to send a message (just like mail but not sms) to another without using any email account...... but with the help of that website and some … | |
Hello Daniweb users, i wanted to ask you guys , if you can help me with making a game with C++, Do you know how to do it? or any suggestions? I prefer RPG Game... So if you have any suggestions, could you help me? Thanks, Jordan | |
How to read pdf file in c# windows application..... Thanks in advance | |
In my program you should be able to look around smoothly with the mouse, my code works, but I'm wondering if there is any better, smoother way of doing this. My code to get the mouse position as if the center of the window was 0,0 (LookAround() is the passive … | |
I need an algorithm that finds how many prime numbers are in a set interval; the interval maximum range is 1 000 000 so a brute force method of checking every number is kinda inefficient | |
In pascal, you can have something like the following: [CODE] type TPoint = record X, Y: Integer; end; TPointArray = array of TPoint; T2DPointArray = array of TPointArray; [/CODE] In C++ I tried to replicate this and failed miserably. [CODE] struct Point { X: Integer; Y: Integer; }; struct PointArray … | |
Currently sending emails and setting the Return-path of an email(System.Net.Mail) works if i put : [CODE]MailMessage msg = new MailMessage(); msg.Sender = new MailAddress("not-deliviered@sample.org"); msg.Headers.Add("Return-Path", sReturnPath);[/CODE] but if I send a successful email it would say delivered on behalf of the email above.... any ideas how to resolve this not … | |
Hi, I am looking for Code Analysis Tools to test ATL Projects using VS 2005. so far i have evalutated following tools: 1. FxCop 2. PREfast 3. Cppcheck [B]Problems i Faced with these tools[/B]: when i use Fxcop it gives message "FxCop Engine failed to load". The project i am … | |
Hi everyone:) I am still not able to complete this:( can anyone please help!!! [CODE]#include<iostream.h> #include<conio.h> class bingo { public:int a[5][5]; void input(); void play(); }; void bingo::input()//input a 5*5 matrix { int i,j,num,check=0,l,m; cout<<"\n Enter numbers 1-25\n"; for(i=0;i<5;i++) { for(j=0;j<5;j++) { cin>>a[i][j]; num=a[i][j]; for(l=0;l<5;l++)//check if number has repeated { … | |
Hi. I am just wondering how to restore a number that is in scientific notation. So, take a number that is in scientific notation, turn it into standard form, and resave the variable in standard form. here is an example of outputing the variable amount in standard form: [CODE]n1.setf(ios::fixed); cout … | |
Turbo C++ is showing declaration syntax error with this statement. Help. void main() { test s; int ch,roll; char name[30],choice,join; clrscr(); It is showing the error with the ' { ' . I have used proper header files and stuffs, and this is just a part of my 700 line … | |
C++(pointers) problem reads input strings from a file and that replaces all the vowels to the '&' character INPUT: file.in Hi there! Hi Damon!!! Hello. OUTPUT: file.out H& th&r&! H& D&m&n!!! H&ll& c++ program... just implement it to pointers... ATTENTION: PLEASE GIVE ME SAMPLE CODE SAME WITH THE PROBLEM SO … | |
I'm creating a small java program that use some special graphics to draw a picture to a certain format. The program will be run as a jar file, and needs some graphics definitions as arguments at initiation. These definitions exist in a small C# class, and should contain only small … | |
Hello, I'm looking for c++ api example for ncurses programming and needless to say that it is not available except 7 part snake game development video on youtube which is a bit difficult for a noob like me to understand. GNU ncurse 5.9 documentation heading states that it has c++ … | |
Hi, I am new in this C#, and i need to know what are the first thing should i know in C#.and what program should i make for the beginners like me. Thank you in advance. | |
well i check all the web, i still do not know how to save it as a jpg and if possible, load and edit a picture from jpg here is a simple code that i done for drawing...... [CODE]namespace @try { using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using … | |
hi, I have this code: [CODE]#include<iostream> #include<cstdio> #include<sstream> using namespace std; int main (char argc) { float n1; char operators; string n2; float n2_act; float ans; cin >> n1; … | |
hi, I am making a calculator and i need a function that can detect a char in a string. In other words, i need it to detect a NON-number.[CODE]string n1 = "35+66/7"; int pos = -1; n1.find(char, pos+1); cout << char.n1_find << " was found at "<< pos << endl; … | |
hello i'm writing a program in c++ and i'm using linux. i use fork() in order to create a process and then i want to wait for the child process to finish so its something like that: [CODE]pid=fork(); if(pid<0) { cerr << "Failed to fork" << endl; exit(1); } if(pid==0){ … | |
hello, My program works fine but I want every time that the user add a character int the calculation section the program will print an error message and will ask the user again... I have try a lot of different things but nothing helps me... for example static_cast() and other … | |
hi, i want to add some static text in my C#.Net code.But i want some text to be subScript and some to be SuperScript.. Please guide how can i do this? | |
I'm a student just starting my first C# class in school, our first assignment was to make a simple console app to convert temperatures from Fahrenheit to Celsius. Being the over-achiever that I am, I decided to make a second project and create a form app. It's a very simple … | |
Hello i need to write a program read a text file and store the data with text in the format of : name 14 6 name2 15 26 However i cannot use fopen() scanf() getline() or fgets(), it has to be done with only open() read() and strtok() i have … | |
i already have sql database ,server,login,password,,,i have to check from visual studio windows form,,,,to check test connection | |
i have to write a c program which connects with the mysql database. i have installed visual studio c++ express 2010 and the mysql installer for windows. i have widows xp os. can anyone tell me the step by step process to connect to the mysql database. and give me … | |
Hello everyone! I am currently working on creating a Poker Simulation using the language C++. However, I am having issues with my swap function and also creating the conditions, such as declaring a Flush or Pair. Here is the code I have so far, and if you can assist me … | |
Hi Guys, I am developing an windows application but their is problem when package is installed on client machine mainly for vista and windows 7, i am set the screen resolution to 1024 X 768 but in windows 7 and vista if magnifying tool is large then forms get display … | |
Hi, I used C# and VS2010 for doing my projects. Some how, now I should write a program in C++ with database and GUI. The program's language is Persian, So Button's text and data in database should be in Persian. Please Guide me in this case. how to use Unicode … | |
Hello everyone, I am passionate about programming have started learning C++ and finished studying one book about it. I am done with the basics like pointers, arrays, variables, objects etc. What I need now is some way to go on from here and learn how professional programs are made and … | |
hey Dear members i want to learn asp.net but i am little confuse which is best for beginner any easy is it VB or C# | |
Hello. I have a really weird problem. Whenever I try to get if the user pressed down on the mouse (clicked), via GetAsyncKeyState(), it only shows it some times. I tried the exact same code, but with another key Ex: A, and it works fine. Here is the code. [CODE] … | |
Hello, I am not a completly new person to C# but I have some good background information about C# and it's contents. What i want is to be guided about what to solve how to develop my skills . can any one give me tips and put me on the … | |
Can anyone help me in plotting EEG waveforms in C#??? I am a bit new.. I have got a libraray for plotting but really dont know how to plot | |
I am trying to make a registration form that when a user enters in their information and clicks the submit button the information will go to someone's email. If someone could send me a website with tutorial on this or lead me in the right direction that would be great! … | |
Hi, I've been searching the net to try to find solution but i still can't find it despite searching it for hours. I've got a user control in a form. From the user control, I plan to do 2 things. 1) In the parent form, i got function example FunctionX(). … | |
Hi guys, Having .Net Framework installed on target computer I can not run C# .exe file generated from VS 2010 express on other computer. Please find the image of error and installed .Net Framework on flowing [URL="http://behseini.persiangig.com/Exe.png"]Link[/URL] Can you please let me let me know why this is happening? Thanks … | |
hi guys Can anyone write a C++ program for me which convert military time to standard time without using return function. write a simple program which start from #include<iostream.h> #include<coino.h> void main() { . . . . . . . getch(); } | |
Hi i would like to build a c++ game with SFML graphic library now i see sprites can move using floats ( sprite.move(+x,+y) ) how do i connect between the graph ( configured by a matrix ) and the graphic library? since the graphic library uses floats and set positions … | |
Hi, I'm using Matlab 2011a and VS 2010. I have to call Matlab functions in my project. The problem is that I can't seem to find a solution works with my Matlab version. Has anyone succesfuly integrated Matlab 2011a with c#? | |
Hi, I would like to create a web-based directory using GridView. The concept is same on Windows Explorer where there are Folders and Subfolders. The thing is, I will be using it on Binary files on the database. I'm not quite sure about the database structure if the user is … | |
Hi, i have a client which reads from the socket: [CODE] for (index=0;index<SCALERS;index++) { read(my_socket,vectorScalerPointer,BUFLEN); read(my_socket,resultScalerPointer,BUFLEN); sum+= atoi(vectorScaler)*atoi(resultScaler); }[/CODE] and a server program which writes to it. [CODE] for (index=0;index<SCALERS;index++) { sprintf(ascii,"%d",(*matrixStruct)._vector[0][index]); write(fd,ascii,BUFLEN); sprintf(ascii,"%d",(*matrixStruct)._mat[atoi(whichRow)][index]); write(fd,ascii,BUFLEN); }[/CODE] now the problem is the programs are in a "race condition" usualy the server … | |
When you want to draw something on a form you need a Graphics object. But a Graphics constructor isn’t public and if that is not enough the Graphics class is also sealed! This means you can’t create a Graphics object via the new keyword nor can you derive from the … | |
Greetings! I have a win32 native dll (perhaps that's not the correct term - it's basically a C compiled dll) that I'm accessing in C#. The method signature of the C code (not the actual signature in the dll): [code=C++] char* TestMethod() [/code] I'd like to access the [B]char*[/B] as … | |
Greetings! I have a C# dll generated from a .resx file (I believe it's called a satellite dll). This stores simple key to string mappings (used for language localization). I was wondering if it's possible and feasible to access the information stored in the C# dll from a C++ unmanaged … |
The End.