199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for muhammadmuzzammil1998

Here is the code for GUI in C++, http://facebook.com/muhammadmuzzammil1998 Tested in Code::Blocks hope it will help you :) #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "CodeBlocksWindowsApp"; int WINAPI WinMain …

0
283
Member Avatar for sk4nyk

Please check my PHP mail attachment program. its only sending the attachment not the mail body. I have tried to open the attachment but the attached files is corrupted. Full Code with JQuery http://pastebin.com/T0WtnxbT PHP mail Attachment Script <?php error_reporting(E_ALL ^ E_NOTICE); // hide all basic notices from PHP //If …

Member Avatar for sk4nyk
0
212
Member Avatar for James19142

I'm new to Visual Studio & trying to build an application in it for the first time. The code compiles. I used to get the error load from the debugger as a result of not downloading the corresponding .pdb files. After changing a setting in the debugger options, all the …

Member Avatar for James19142
0
1K
Member Avatar for cswong

I need some help to make AES work with UDP. I keep getting this error. Exception in thread "main" javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:750) at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676) at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313) at javax.crypto.Cipher.doFinal(Cipher.java:2087) at AES.decrypt(AES.java:31) at EchoServer.main(EchoServer.java:26) It seems that upon receiving the …

0
158
Member Avatar for marigold23

Hey there everyone. well i have been working on python for about 2 months now and i just cant seem to get my background image to work. I have created the GUI with Tkinter and put a label in it with my name etc, but the idea was to have …

Member Avatar for mrv8corvette
0
6K
Member Avatar for Wael1988

hello i am trying to insert data to Data base using Stored Proc , while i replace my Connection string in the web.config file after i run my app , and inserting my data.. it says Keyword not supported: 'data base'.

Member Avatar for Wael1988
0
304
Member Avatar for gruntler

I am trying to make a program that generates source code for a much larger program for simple reversal encryption. I don't know what I am doing wrong. Here is my code so far: #include<stdio.h> int main() { FILE *fp; fp=fopen("d:\\crypt.h", "w"); fprintf(fp, "char out[8];char cur[8]; char con[255,255,255,255,255,255,255,255];/n if cur==con …

Member Avatar for gruntler
0
388
Member Avatar for sangeethab

Hi, I want to build an application in java, without using ipAddress i should be able to access the Remote System. Please do the needful.

Member Avatar for jalpesh_007
0
175
Member Avatar for dipanjandutt23
Member Avatar for dipanjandutt23
0
107
Member Avatar for chaitu11
Member Avatar for Bachu
0
45
Member Avatar for Iikeloa

Hi I'm working on a function and it was working good until I had an error that tells me I should swich from mysql to mysqli so I did swich but I'm having a lot of errors ! (the function is working fine but I have a lot of errors!). …

Member Avatar for pardeepkk
0
244
Member Avatar for Stefce

i can not understand why is showing "Wrong Username or password" even i dont click the button always is there and dissapearing after user enter true username and password. if($count == 1) { session_register("myusername"); session_register("mypassword"); session_start(); if(session_is_registered(myusername)){ echo "<a id='user_login_info'><br>Welcome <font color='#00FF00'>$user</font></a>"; echo "<a id='user_login_info'><br>Username and Password Accepted</a>"; } } …

Member Avatar for cereal
0
148
Member Avatar for Iikeloa

Hi I'm facing this error : Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/core/inc/config.php on line 7 I've tried to replace mysql with mysqli but I faced some errors.So I decided to return to mysql but my …

Member Avatar for Iikeloa
0
207
Member Avatar for gary.jones.98096721

i need to on button click be able to search for an image rename and move the image to a new folder on next frm load pic box with an image base on the name of the file inside the folder

Member Avatar for Reverend Jim
0
158
Member Avatar for mixelplik

#include <iostream> #include <iomanip> using namespace std; int main() { cout << "\n0----------------------1------8\n"; cout << setw(22) << left << "Registration Fee "; cout << setw(8) << right << fixed << setprecision(2) << "$ " << 22.0 << endl; cout << setw(22) << left << "Hotel Total "; cout << setw(8) …

Member Avatar for mixelplik
0
206
Member Avatar for Stefce

Hello everyone, i want to make a status bar which will have there Login and Status of the user but i want that to be in one class and when im working in other classes just to copy the name of the "statusbar" in the other classes. I dont know …

Member Avatar for Stefce
0
154
Member Avatar for jursnamo

#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { int menu,i; char ulang; FILE *pf; char karakter; int data[5]; char nama[30],alamat[40]; char buffer[1024]; do { printf("Menu Utama Data Kendaraan\n"); printf("--------------------------\n"); printf("1. Show Data \n"); printf("2. Add Data \n"); printf("3. Edit Data \n"); printf("4. Remove Data \n"); printf("3. Search Data …

Member Avatar for deceptikon
0
308
Member Avatar for srikanth2321

Hello, I'm writing a plugin for a software in eclipse. I'm using vtd-xml.jar for importing an xml file. I have added to the build path by rigt clicking on the paroject and selecting the opetion add to build path. While I do the operations from eclipse it is working fine …

Member Avatar for srikanth2321
0
248
Member Avatar for Shami80

Hi, I'm a beginner in C..please help. I'd like to get data from a textfile then store in a linked list and sort them by alphabetical order with the name and numeric with the number.My file like this: **file.txt** 16 Turin 13 Dingdong 14 Venise 12 Mud-Ca tha 02 Florence …

Member Avatar for Ancient Dragon
0
291
Member Avatar for srinu_1

hi, **please help me to solve the error for:** **text1.txt:** line1 <data> line2 <items> line3 <match name="item1" rhs="domain.com"></match> line4 <match name="item2" rhs="domainn.com"></match> line5 <match name="item2" rhs="1010data.com"></match> line6 </items> line7 </data> **text2.txt:** line1 djshjsdf line2 sdfngjfg check domain.com,domain.com,1010data.com in text2.com, if not there print domain.com,domain.com,1010data.com in to the 3rd text file(text3.txt) …

Member Avatar for snippsat
0
374
Member Avatar for Priti_P

Hello, i want to download link's data or save its data on file how can i do that in PHP? AND for example: http://nseindia.com/companytracker/cmtracker.jsp?symbol=HDFCBANK&cName=cmtracker_nsedef.css from this link i want to store data of "Issued Cap" section but when I see this in view page source then it do not show …

Member Avatar for pritaeas
0
251
Member Avatar for Damian_2

Okay so I have `MainShop`(base class) then `SwordShop` and `BowShop`(derived classes) and another derived class called `Inventory`. I have a vector under protected in my base class, and when I access it from my derived classes it's okay, but each one has its own value. How can I set them …

Member Avatar for Damian_2
0
239
Member Avatar for poshka

I have three tables 1.course(c_id(pk),c_name,sem_no); 2.student(s_id(pk),s_name,user_name,password); 3.student_info(s_id(fk),c_id(fk)); i have logged in the student.. den i run this query select distinct sem_no from course,student_info where course.c_id=student_info.c_id and s_id='0001' order by sem_no; it shows all the semster he passed inclueding the running semster.. now i want to show the last value of …

Member Avatar for ugi.nagesh
0
128
Member Avatar for kahaj

I only have experience using pretty basic Oracle. However, I'm now in need of a better understanding of SQL. I'm trying to write a query using CASE statements (as this seems to be the best approach), but am admittedly lost at the moment. Here is what I have as a …

Member Avatar for ugi.nagesh
0
342
Member Avatar for davy_yg

Hello, What's the mysql syntax to rename column in a table? I try this: ALTER TABLE static_content RENAME COLUMN title TO shorttext MySQL said: Documentation #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for ugi.nagesh
0
391
Member Avatar for Jenny12345

I am doing an investigation in to cross site scripting and sql injection and maybe other attacks for my thesis basically looking at vulnerabilities in websites that could potentially cause these attacks, I am struggling to come up with ways in which to demonstrate this. Intially I was thinking about …

Member Avatar for pritaeas
0
174
Member Avatar for devianleong

This is my script. Previously was fine but after I change to PDO will pop up error message like this: ![c3e8a4ba0737f3f2c3b274bd177d4fc3](/attachments/large/3/c3e8a4ba0737f3f2c3b274bd177d4fc3.png "c3e8a4ba0737f3f2c3b274bd177d4fc3") It's showing this two line got error: stripslashes($result->getColumnMeta($i))) . $csv_enclosed; and : if ($row[$j] == '0' || $row[$j] != '') Here is my script: if(isset($_SESSION['fromdate']) && isset($_SESSION['todate'])){ $filename …

Member Avatar for pritaeas
0
365
Member Avatar for NAWIN_1

first i'm thai. my english is not good and i'm beginner. here full project only 83.1 kb https://drive.google.com/file/d/0ByoqOTgG3AGPM2hKYmlnZWJpOXM/edit?usp=sharing or http://www.4shared.com/zip/M8Myl3VZ/NcExpressServiceiConfigWin.html when i push buttun 1 to call sub add in UserControl1 but error i don't know how to fix it. property in mainform internal Button OpenButton { get { return …

Member Avatar for NAWIN_1
0
368
Member Avatar for rahul_29

<?php mysql_select_db("store"); $t="SELECT COLUMN_TYPE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'stoke' AND COLUMN_NAME = 'catogory'"; $q=mysql_query($t); while($r=mysql_fetch_array($q)) { $y=$r['COLUMN_TYPE']; $u=explode("','",substr($y,6,-2)); //print_r($u); ?> <select name="category" > <option value="">Select Category:</option> <?php foreach($u as $option) { print("<option>$option</option> "); } ?> </select> <?php } ?>

0
184
Member Avatar for subbudaita

Hi, I am designing a website in asp.net. In the master page buttons change their postion and overlap when rendered in a browser. Please help me out. Thank you in advance

Member Avatar for sushmaja.arumalla.9
0
212
Member Avatar for kristiyan

i have computer order for food and drink and i want if i click print button so automatic print in kitcen and bartender without i select printer manualy. how to make this?

Member Avatar for kristiyan
0
315
Member Avatar for ernestclyde

hi im making a database for my project is it possible to have multiple foreign keys shown at the picture? i tried to alter the tables and add foreign keys but i always get a #105 error, so i deleted all of my tables and will make a new set …

Member Avatar for ling_tj
0
282
Member Avatar for M.Waqas Aslam

Dear All ! I am facing very strange issue of my online application. There are two images are attached with this post: 1-Snap shoot of my PC 2-Snam shoot of client PC There is a asp tab control having menu. At client end its visibility is hidden i dont know …

Member Avatar for David_30
0
165
Member Avatar for ceelos1974

Hi everyone I'm new to c++ but have had some luck so far. But I have of course met a problem. The program I'm making is supposed to find a a unkown file with an ID. The onliest thing I know of the file is the folder its in. so …

Member Avatar for Ancient Dragon
0
413
Member Avatar for george61

Hi all I've created simple javscript gallery using previous and next links. The problem is that I want fade effect between images like this: [url]http://tobia.github.com/CrossSlide/[/url] I've pasted few lines of jquery code in my javascript functions but the fade effects aren't the same. Any help will be greatly appreciated. Best …

Member Avatar for Mukund_1
0
1K
Member Avatar for Wael1988

hello all friends, guys please i need a small xcar stor project with smal data base containes some info about cars..and in site page.. that i can select all info about the car" using ADO" , no need for a form.. i just need the Dd and the code! please …

Member Avatar for Wael1988
0
111
Member Avatar for yann.bohbot.9

I'm new to C and I i have an assignment where I have to build a dictionary (Linked List in a way). Basically the user inputs several words,year and their definition this: Example: love_#_2004_#_LOVING trade_#_2001_#_INVEST etc... And basically i need a function to scan the definition (Ex: INVEST) and gives …

Member Avatar for yann.bohbot.9
0
235
Member Avatar for deepak.fugo

Hi Guys, We are testing our site in Amazon AWS and site is built in PHP uses Apache and Mysql. My problem is i have 2 instances(say source and destination). I want to move file from source instance to destination instance(or say create a file on dest instance from the …

Member Avatar for pixelsoul
0
2K
Member Avatar for cambalinho

i'm building the label1 class, but i'm getting bad results... so i ask: how can i use the SetWindowLongPtr() for use a window procedure? (i can show the label and change it's properties... but i'm getting problems for active it's own window procedure :( ) see the entire code\class: #include …

Member Avatar for cambalinho
0
843
Member Avatar for Tcll

so.. to put this simply: >>> BU5 = bu(5) >>> BU5() 0 >>> BU5(1024) 1024 >>> BU5 == bu(5) False >>> BU5 <__main__.bu instance at 0x00AC5E40> >>> bu(5) <__main__.bu instance at 0x012C6788> BU5 == bu(5) is supposed to return True due to it's expected usage: >>> var = bu(5)() #read …

Member Avatar for Tcll
0
184
Member Avatar for Builder_1

what are the differences of string and cstring header files and how does the pre defined function of strcmp which is called string comparison works???? i know it gives 0 if string 1 = string 2 gives +ive and -ive if str1 is greater or less but it calculates that …

Member Avatar for Builder_1
0
7K
Member Avatar for tom.scott.73113

Hi Im working on a program at the moment and seem to be having issue with this section when trying to get section 3 i get section 2 Ive pasted code below any help or suggestions would be great. Thanks if(gps=='Y'||gps=='y'&&childseat=='N'||childseat=='n') { if(stoi(daysamount)<=3) { extra=stoi(daysamount)*5; } else { extra=15; } …

Member Avatar for tom.scott.73113
0
134
Member Avatar for yvonne.lundeandreassen.9
Member Avatar for yvonne.lundeandreassen.9
0
80
Member Avatar for ezra.kim.98

import java.io.*; import java.net.*; import java.util.*; public class UselessHTTPServer04 { public static void main(String args[]) throws Exception { int port = Integer.parseInt(args[0]); ServerSocket serverSock=new ServerSocket(port); while(true) { Socket conn = serverSock.accept(); Scanner scanin = new Scanner(conn.getInputStream()); String line=null; int nlines=0; while (true) { line = scanin.nextLine(); if(line.length()==0) break; nlines = …

Member Avatar for ObSys
0
314
Member Avatar for Abdul_19

Hi dear all i am new in java i don't know how identify the background and foreground color of image if any have idea please help thanks in advance

Member Avatar for ObSys
0
345
Member Avatar for dhingra
Member Avatar for salil_ag
0
170
Member Avatar for tony75

Hi Is ther anothe easy way to detect browser used and versions and Operating system via javascripts? I appreciate your help

Member Avatar for tony75
0
203
Member Avatar for nidhzee11

<select> <option value="1">one</option> </select> now i want to get 1 and "one" both using php..so plz reply me

Member Avatar for rahul_29
0
3K
Member Avatar for Iikeloa

Hi I made a page which check the login information if it is true or not but the code didn't work there is no errors just empty page ! <?php session_start(); ?> <html> <head> <meta http-equiv="content" content="text/html" charset="UTF-8" /> <title>Login checking</title> </head> <body> <?php require_once('inc/config.php'); $username = $_POST['username']; $password = …

Member Avatar for Iikeloa
0
253
Member Avatar for yann.bohbot.9

Hi there everyone, I'm a bit new to see and I need your help please. I'm stuck with a merge sort problem where it's support to sort my nodes in lexicographical order. Can you please have a look on my code because i've posted everywhere and i'm not getting the …

0
246

The End.