64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mario20055

HI Team, First of all, I'm new to C++, so my knowlege is like 2% and I would like to thank you for any help provided. Well I'm working on a project that looks like this: -- I'm creating an executalble (EXE) that will monitor and create a file into …

Member Avatar for mario20055
0
2K
Member Avatar for thecodingbee

Hi there, i have a problem with this updater script which means that when i click update, change the record, and press submit-it says record changed or something like that, but does not actually do anything! Here is the code, it is supposed to be three files- list_file.php, update.php, update_ac.php, …

Member Avatar for thecodingbee
0
96
Member Avatar for thilinam

Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time).

Member Avatar for Ancient Dragon
0
162
Member Avatar for arshadshaikh

Is it possible that select records for example 20 records from the table randomly, but in addition 1 certain record for example 3rd record. Let me explain: SELECT * from table limit 1, 20 rand(); In this way I will get 20 randomly records but I want that one certain …

Member Avatar for Menster
0
93
Member Avatar for nccsbim071

How can i get the public key token for the assembly that i want to add in root web.config file. Please Help

Member Avatar for nccsbim071
0
179
Member Avatar for Venom Rush

Hi all I've been trying to find a way of doing this and have come up dry. Is this possible? If so could someone tell me how to go about this? Much appreciated Venom Rush

Member Avatar for Venom Rush
0
87
Member Avatar for emint

helo, can any one help to read one class from another class. i em knew with java actually. i got class a which has got sub class b static class. now i em trying to access class a from another class c using button. when in class c user click …

Member Avatar for emint
0
161
Member Avatar for vanessia_1999

Hi, I need a little help. This might be something simple but hard for me. I am trying to list all the name of the product which is $description and the $quantity neatly by using a table. My problem is that it is only showing one product information instead of …

Member Avatar for nish123
0
106
Member Avatar for mrayoub

hi, well this is my first post on this great forum, hope to be a good boy :) i m writing a programm that adds numbers from 0 to any numer entered by the user . for Example : - if the user enter 4, the sum will be 10 …

Member Avatar for ajay.krish123
0
167
Member Avatar for muhandis

I'm having some of trouble understanding exactly how an MFC GUI works. What is the resource file for and exactly how does it relate to the classes you create (e.g. the subclass of CDialog)? Specifically, I want to add some bitmap buttons (CBitmapButton) to my dialog, so I followed the …

Member Avatar for muhandis
0
231
Member Avatar for iantoya
Member Avatar for iantoya
0
147
Member Avatar for fernando82

Hi everyone! I have a problem related with dates.... i have some textbox where i put dates to send to a database... i have conditioned the input just for numbers and / (backslash), but how do i check that no one inserts a format that's not dd/mm/yyyy... if i put …

Member Avatar for kehar
0
159
Member Avatar for serkan sendur

let say my setup project deploys three executables and i create a new version of my software. in the next installation i want to detect which components are deployed with previous installation. what is the best way to do that?

Member Avatar for kvprajapati
0
98
Member Avatar for vanessia_1999

I am having organization set up with my table. I am trying to code for a report to have the Purchase Date and Shipped Status information added/display onto my report but I continue getting errors such as the value is not showing up and my information look out of place. …

Member Avatar for kireol
0
133
Member Avatar for murid

if I want to send an animated GIF format picture, how do I save the picture in destination folder? I already using "System.Drawing.Imaging.ImageFormat.gif", but the GIF picture no longer animated, it become like JPEG format. another help please...

Member Avatar for Teme64
0
189
Member Avatar for sugumarclick

hi all, Im doing in-house project ... Im creating form which has a drop down box for gender.... and also a document which contains "he/she" type... when i select the male option in that dropdown box the doc which contains "he/she" should autopopulate to its corresponding gender and generate it …

Member Avatar for kireol
0
129
Member Avatar for tyserman5674

Hi Everyone, I need help with using isdigit in C. What I am trying to do is verify that the user input is numeric. In my program, as is, I get the error: line (21) : error C2061: syntax error : identifier 'isdigit'. If I remove the "if" from in …

Member Avatar for tyserman5674
0
145
Member Avatar for cjay175

hi all, I am wondering if someone could give me a quick hand with some php im trying to edit in Wordpress. Heres the original peice I am trying to edit: [CODE] <div class='dateauthor'> <small class='capsule'><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small> </div>[/CODE] What I want to …

Member Avatar for cjay175
0
228
Member Avatar for nigelburrell

Hi, I'm not entirely sure which forum to post this question because I cannot determine whether it's a MySQL, Joomla, or PHP issue. But I will post it here, as some of you may know about this. I am using a custom built "user" table in my MySQL database, and …

Member Avatar for nigelburrell
0
165
Member Avatar for joed13k1941

Anyone know how to accomplish this task on visual studio with C++? Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. Notes: • You do not know ahead of time how many numbers will be in the list. • …

Member Avatar for collegetextbook
0
304
Member Avatar for FlashCreations

Hi, I've been designing a web application that scales to fit the available window space in the web browser so that there is no need to use the scroll bar (and the whole point of the application is to fit the window). I've already figured out how to catch resizes …

Member Avatar for FlashCreations
0
428
Member Avatar for Whilliam

Hello.. im having a problem with my code.. when i save a file, then choose another variable and load the file, then try to display it, all that it display are garbage values.. i know the problem is either in function save_file or function load_file.. can anyone please help me.. …

Member Avatar for csurfer
0
218
Member Avatar for vik85

hi everybody i am new in javascript .i hope all guys helpful.i have my site [URL="http://www.tonerquestsite.com"]tonerquestsite.com[/URL].my javascript is not working for IE can you help me out .my css file is [code=css]/* -------------- layout ------------------ */ /*qmfv{visibility:hidden !important;}*/ qmfh{visibility:visible !important;} .leftNav {position: relative; z-index: 0;} /*!!!!!!!!!!! QuickMenu Core CSS [Do …

Member Avatar for essential
0
202
Member Avatar for Tamir09

Im trying to format my xslt form to a table that I have: Horsepower-Electric Values Revolutions Number of Disks blank num 1 num 2 num 3 rev1 hpe1 hpe2 hpe3 rev2 hpe4 hpe5 hpe6 rev3 hpe7 hpe8 hpe9 And so far, Ive gotten the xslt form to come out somewhat …

Member Avatar for Tamir09
0
334
Member Avatar for serkan sendur
Member Avatar for Hiroshe

I'm trying to write my own function from scratch to add large numbers. This function takes the input of an unsigned long long array, with each number being 10 didgets long (the reason for the long long signed is becouse I might expand it) and adds it to the output …

Member Avatar for Hiroshe
0
202
Member Avatar for turbomen

May I ask you a question on Delphi? The following is my question: Write a program that asks for two numbers from the user. Add these numbers together and store them. Then output to the screen the equation with the correct answer. Eg please enter a number 28 please enter …

Member Avatar for turbomen
0
177
Member Avatar for MrNoob

hello i coding a program that need to sum array according to its num like for example num[0] will only do that and num[1] sum[1]=num[0] +num[1]; sum[2]=num[0] +num[1] +num[2]; etc i got one idea first i will fill the num array with numbers then i go through after that with …

Member Avatar for MrNoob
0
89
Member Avatar for serkan sendur

do you know how to work with activesync using c#? i want to know if any device is connected to cradle. thanks

Member Avatar for serkan sendur
0
86
Member Avatar for o12357

Hi everyone, i would like to know whether the result of a mysql query executed from one php page will be available to another php page on the same site. thanks!

Member Avatar for o12357
0
69
Member Avatar for doublebond

Hi Guys, I want to read a huge file which contains address bits, data bits and instruction bits. Please let me know how to do this. Cheers, Bond

Member Avatar for doublebond
0
459
Member Avatar for NextCom

Error message ”[Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.” comes when you insert/update a larger value than the column is specified for. But is there a way to detect what column, or what value that is to large? I’m thinking about splitting up the INSERT string, …

Member Avatar for NextCom
0
5K
Member Avatar for missbeginner

I want to use a click button to go to next page, and display the detail info of the person i select. but this code wont work. help help! [code=asp.net] void ButtonHandler(Object sender, EventArgs e) { Button ViewReports = (Button)sender; switch (ViewReports.CommandName) { case "ViewReportsClick": Response.Redirect(ViewReports.CommandArgument.ToString()); break; case "ViewRemunerationClick": Response.Redirect(ViewRemuneration.CommandArgument.ToString()); …

Member Avatar for missbeginner
0
91
Member Avatar for come_again

Hello everyone, I am a student working on interfacing a firewire camera with a linux machine. I am able to successfully compile my files (timer.cpp and test_timer.cpp) (they are called timers because i am testing the latency of the camera). Anyways, my problem is that I first type in: g++ …

Member Avatar for come_again
0
2K
Member Avatar for dospy

i have GHostOne advanced remote host bot last version but i have some problems edditting it. when i try to compile game.cpp (edited by me) gives me a lot of errors that i cannot solv (compile.txt file) anyway...i cannot even compile the originat cpp file cuz he gives me a …

Member Avatar for dospy
0
249
Member Avatar for johndoe444

Hi, I have this code: list = ['12 angry men', 'Rash &# xf4;mon'] [CODE]def func(list): ... for e in list: ... e = re.sub(' ?&# x([0-9a-f]*);',r'\x\1',e) ... print type(e) ... e = unicode(e,'iso-8859-1') ... print type(e) ... print e[/CODE] I get this output: [CODE] 12 angry men Rash\xf4mon[/CODE] whereas I …

Member Avatar for The_Kernel
0
168
Member Avatar for serkan sendur

i know how to get property values : [CODE]Context.Parameters["nameOfProperty"][/CODE] but i dont know how to set them from custom installer class. any ideas?

Member Avatar for serkan sendur
0
112
Member Avatar for skullish

Hi, I created an asp.net website that wrotes information on an Access DataBase and allow users to upload pdf files. But I have a security error, telling that ASP.NET doesn't have the rights to create de file (but writing in the DB works perfectly). This is the error message : …

Member Avatar for skullish
0
224
Member Avatar for DoEds

[i][color=#33CCFF]/*Help me finished this code.I trying to make a program that will ask 2 choices. 1 is for converting dollars to peso and 2 is for converiting peso to dollars. Im trying my best but i dont seem to get the right code for it. Im just a beginner in …

Member Avatar for Tom Gunn
0
359
Member Avatar for serkan sendur

ayesha789 asked me how to use my smooth scroll script in code snippets section. i created an example for him here : htmlpage : [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> <script type="text/javascript"> function elementPosition(obj) { var curleft = 0, curtop = 0; …

0
273
Member Avatar for karamjeet2004

[code=java]import javax.swing.*; import java.awt.*; import java.awt.geom.*; import java.sql.*; public class panel extends JFrame implements ActionListener { ResultSet res; Connection conn; Statement stat; String lang; JFrame frame = new JFrame("Graphics Button"); lang="abc"; JButton b1; JLabel l1,l2,l3; JPanel p,p1,p2,p3,p4; p.setSize(100,100); p.setLayout(new GridLayout(3,0)); p1=new JPanel(); p2=new JPanel(); p3=new JPanel(); p4=new JPanel(); l1=new JLabel(lang); …

Member Avatar for karamjeet2004
0
187
Member Avatar for walter clark

For a CLR type program in Visual C++, I need to record the file date of the version of the program being run. That seems like a very normal thing to do but I can't find a solution (that works) on the web. I'm able to read the date of …

Member Avatar for walter clark
0
135
Member Avatar for warp

Hi Please look at this small piece of code: [code] char* pArray = new someArray[128]; delete pArray; deleta[] pArray; [/code] Will this generate a mem leak? "delete pArray" wil deallocate only the first char of someArray but will "delete[] pArray" deallocate the rest of someArray or will the compiler see …

Member Avatar for warp
0
122
Member Avatar for akulkarni

i was trying to explain a friend about interface i have followed the abstract concept but dont know to how to demonstrate [code] inteface a { void meth(int i){ }; } class dani implements a { public static void main(String args[]) {int i; public void meth(5); System.out.print(i); } }[/code] if …

Member Avatar for JamesCherrill
0
91
Member Avatar for redburn

I'm writing a function that creates an html file, loads it into a invisible browser, prints, then deletes that html file. However I'm getting an error in the print and delete portion. [B]Here are the two errors[/B] [B](Output from the debugger)[/B] A first chance exception of type 'System.IO.IOException' occurred in …

Member Avatar for redburn
0
280
Member Avatar for lolwtf

I have a datagridview that tracks when employees clock in and out. I used the datetime data type in sql but I dont want the year to display. How would i go about doing this? Do i have to modify my select statement, or can I do it with vb …

Member Avatar for lolwtf
0
134
Member Avatar for sereYboth

Hello evryone! i am very new to PHP! I study it with ebook: PHP & MySQL For Dummies , 3rd Edition! Once i try and have copy the whole code from the book like this(write in notepad) _______________________ [code=php]<html> <head> <title>PHP Test</title> </head> <body> <p>This is an HTML line <p> …

Member Avatar for ayesha789
0
122
Member Avatar for ayesha789

How we can use current time instead of '15:33:56' [ICODE]now()[/ICODE] Function or [ICODE]time()[/ICODE] but it gives wrong time in AM and PM. [CODE=php]<?php function twentyfourToTwelve($time) { return date('g:i:sa', strtotime($time)); } /*** Example usage ***/ echo twentyfourToTwelve('15:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; echo twentyfourToTwelve('15.12').'<br />'; echo twentyfourToTwelve('2:33:56').'<br />'; echo twentyfourToTwelve('15:33').'<br />'; ?>[/CODE]

Member Avatar for ayesha789
0
2K
Member Avatar for johnray31

Hi guys!! I am wondering how below given program is working. in function func1 how return (void *)y working. [CODE] #include<stdio.h> void * func1() { int y; y = 10; return (void *)y; } int main() { void *x = 0x00; x = func1(); if(x == NULL) { printf("error\n"); } …

Member Avatar for johnray31
0
140
Member Avatar for DeadJustice

I need to get a MIPS program to print out the first 30 prime numbers and to compute the first 200 (strange, but its the assignment). I can figure out what's wrong with this program. All it does is print 2's out in an infinite loop and I cannot figure …

Member Avatar for DeadJustice
0
4K

The End.