64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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, … | |
Please tell me how to create a multi diminsional array using pointer(dynamic array, set size at run time). | |
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 … | |
How can i get the public key token for the assembly that i want to add in root web.config file. Please Help | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
Is making a program altering a registry of an OS? Thanks for the answers | |
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 … | |
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? | |
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. … | |
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... | |
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 … | |
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 … | |
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 … | |
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 … | |
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. • … | |
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 … | |
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.. … | |
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 … | |
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 … | |
why cant i pass property as ref parameter? | |
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 … | |
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 … | |
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 … | |
do you know how to work with activesync using c#? i want to know if any device is connected to cradle. thanks | |
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! | |
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 | |
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, … | |
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()); … | |
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++ … | |
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 … | |
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 … | |
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? | |
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 : … | |
[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 … | |
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; … | |
[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); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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] | |
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"); } … | |
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 … |
The End.