64,152 Solved Topics
Remove Filter ![]() | |
I have several textboxes that are in tabs and would like them all to auto-scroll when text is added [B]without[/B] bringing them to focus. Is this possible? | |
I was wondering if anyone has taking a dynamic pdf form, and populated from a php form or from mysql information? I have been looking into Fpdf, and other methods, but they don't seem to do what I'm looking for. The reason for this, is I need to output a … | |
I need a small tool to print a record layout with a row of data to proof the layout and data match. To that end, I am using a CSV to pick up a record, and a list to store the field names. What I want to do is to … | |
I've managed to put together some code to retrieve data from a sql file. I plan to connect to a sql server that are operated by a database program, that update the registry every 10 sec. Before I try to connect my program to the sql database, I need to … | |
Hey there, all. I just complied a program in C++ on Microsoft Windows 7 Ultimate (MinGW). The only problem is that when I run it a command prompt also runs with it in the background, and can't figure out how to remove it. Any ideas? | |
Thanks for taking the time to read this. Let me start by saying I'm a php newb so be gentle! I have a form that is used to insert data into my database to display info and images in a portfolio section on my site. In the form, the input … | |
I wrote a little program a while back that changes windows a lot and I was wondering if there is a way to have one window open at the same spot the last window closed? | |
I've got to write a program where it replaces a letter with a dash and then asks the user to enter the letter that should be their. I've written a program and It works the first time around and then prints out two lines. Where have I gone wrong ?? … | |
Hello Friends I want to pass a Double Dimension Array to a Function using Pointers... Right Now i am doing this.. [CODE] # include <stdio.h> void show(int *,int,int); int main() { int a[3][3]={1,2,3, 4,5,6, 7,8,9}; show(a[0],3,3); return(0); } void show(int *p,int row,int col) { int i,j; printf("\n\n\n"); for(i=0;i<row;i++) { for(j=0;j<col;j++) … | |
Hello) Please tell me-how to set up automatic numbering of lines in Visual C# Express Edition (or maybe this feature is not there?) Thank you in advance) | |
Hello! Here's the problem: After making some GUI application (NetBeans) in output directory (containing generated .jar file) also appeared a directory 'lib' with additional .jar. This jar is some extra library with classes, which path is added in manifest ("Class-Path: lib/bla.jar"). So I've used to pack my applications always intto … | |
Hi all!!! I have some problems with List comprehension in Python. How can I obtain these two nested list using comprehension? list1 = [[1,2,3],[4,5,6],[7,8,9]] list2 = [[1,0,0],[0,1,0],[0,0,1]] (identity matrix) where list1 and list2 are square matrix of 'n' size thank you in advance!!! | |
Hi guys, I'm trying to learn the principles of artificial intelligence. I just finished coding up a belief net and a corresponding EM algorithm that learns the CPTs for latent nodes using training data (if you're unfamiliar with the lingo, you're probably going :eek: right now). While the program (written … | |
I want to make an user defined STACK.But I have some problems with this following code. Please find what is worng. [CODE] #include <iostream> #include <conio.h> using namespace std; #define MAX 10 class stack { private: int arr[MAX]; int top; public: stack() { top=-1; } int m; void input() { … | |
Hi, As part of porting a (mostly C++) library[1] to a "new" operating system[2], I'm trying to link the library's semaphore class to the platform's semaphore implementation. The problem is that the library assumes that the semaphore implementation will be a modern POSIX one[3] but the operating system's semaphores are … | |
Please give Free download links of Latest and Best C/C++ Compilers for Windows... | |
[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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <!-- Microsoft Indic Language Input Tool embed code --> <form method="post"> <input name="abc" type="text"></input><br/> <input type="submit"/> </form> <?php echo $_post['abc']; ?> </body> </html> [/CODE] I have written this page … | |
Hi, I am a PHP developer I never learned much JS but there is no way to accomplish this function using only PHP without a refresh. I am trying to adapt a script that did the basics. [CODE] <script language="JavaScript"> function som() { var First, Last, Full; First = document.Credit.First.value; … | |
Hi Does any buddy help me to convert char* to std::wstring | |
I need some help. I have a detailsview and it has several different fields in it. The fields I am having a problem with it the dropdownlist. I have two dropdownlist, one that is dependent on the other. That works fine. But now when I try to insert the selected … | |
I am using Visual C# When i open file from my database then an image is loaded in my program,and image source is given below [B][COLOR="Red"]map.Source = new BitmapImage(new Uri(filePath)); [/COLOR][/B]/// filepath is address of image from datebase and when replace it by another image. The new image is loaded … | |
ok I have my register.php file obviously i blanked out my username and pass the first code is my register.php code and ill add my login.php code as well but it doesnt work it always says wrong pass or username no matter what my register.php works perfectly fine I just … | |
Hello, Can any one tell me that how to show the name of the user using session. PLease help me by giving a code example and can anyone tell me i am using sessions and it is giving me this error " Warning: session_start() [function.session-start]: Cannot send session cache limiter … | |
hi all i was wonder if its possible to join 3 tables, so i could see the result from the 3 tables. for example lets say that i have INVOICE(invoice_id, client_id,item_id) CLIENTS(id, client_name) ITEM(item_id, item_name) i want 1 table that shows: invoice_id, client_name,item_name is this possible? 10x! | |
I wrote this string palindrome program that reads input from a text file. All the syntax are correct but I have an error I couldn't understand. Any help is appreciated, thanks!!! First, this is the error message: [B]Error 1 error LNK2001: unresolved external symbol "char * newToCheck" (?newToCheck@@3PADA)[/B] And this... … | |
I have a link at a page. It has a email form that sends an email to my address. I want to thank sender. I'm redirecting to another page that thanks the user. But i want a thank notification to be displayed in the same page with close option. Please … | |
hello i'm new in php development and i want to create an update scrupt for my codes, and i've been way over my head in doing this one.Here is my code for the search result i need some pinters to how i can create an update script for this.thanks <html> … | |
question about pointer and array. can we add a 2-D array (**A) with a 1-D array (*B)? both of the array is define as a pointer in the program. where array A is A[i][j] and B is B[i] new in C programming and pointer is difficult.... :-| | |
Please can you tell me where I've gone wrong !!! thanks Sam [CODE]#include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> int main() { char array[80]; // input array int i=0; // loop counter 1 int vo=0; // vowels int co=0; // consonents int ot=0; // other characters printf("please enter string\n"); fflush(stdin); gets(array); while(i!=80) { … | |
Hello, I am trying to read two floats from a file written in its first line using the below code but after compiling I always get "wrong dimnesions" coulp please help me in that problem. Thanks in advance. [CODE]#include <stdio.h> #include <stdlib.h> #include <math.h> #include <ctype.h> int main() { float … | |
i am trying to connect to an MS Access database but i am new to C#. I have looked at, amongst others, Paladin's response to dark omen about connecting to a database and since i have connected to a database before in Visual Basic most of it makes sense to … | |
What is the function of "cin.get()" and "cin.ignore()". | |
I am looking for advice for using the functions of these 2 scripts on the same site. I have been using greybox and a different version of easytabs that didnt require the jquery script. I recently found a version of easytabs that allows the back button to work and for … | |
I have written a couple applications that Work great on 32-bit but crash on open in 64-bit. They are all compiled against "any CPU" but even when I compile them for 64-bit they still crash on 64-bit windows. both of these applications rely on 3rd party Dlls, some native dlls … | |
im' confuse with this function...how do i call one function so it can be used in another function?? [ICODE]#include <iostream> #include <cmath> using namespace std; double pi=3.1416; double getinput(); double distance(double,double,double,double); double radian(double); double circumferences(double); double area(double); double diameter(double); void displayresult(double,double,double,double); int main() { double x1,x2,y1,y2; double rad,perimeter,areas,dia; cout<<"Please enter … | |
Hello, Im looking at this weird little code fragment I stumbled upon the other day and I cant figure out how it works. OK, I get the picture how the array is filled up to the fourth index, but that descending part is evil. And weird. :) [CODE] #include<stdio.h> int … | |
Java n00b here. I am putting together a little random number game and am having trouble with my loss condition test. It seems like Java does not like casting ints as a bools. Here is my code so far: [code=java] import java.util.*; public class TwoRandom { public static void main … | |
I am looking to make my code more abstract so I dont need to repeat the same code. I am storing objects two different classes in the same arraylist. When searching, I need to check ahead of time to see if the entry in question is of a certain class … | |
I was already thinking along ARKoenig's suggestion and revised my code to use arrays. It was working pretty well until I made some minor changes. Now it loops non-stop without any prompt for the player to make a play. I am sure it is a small error, but I can't … | |
I have a dictionary used a string (read from file by number) as key and a list as its value (each may have different number of elements). I want to print like this: 0 4 2 3 -4 5 3 1 -2 3 4 2 3 11 0 1 When … | |
i made a test program, this line " *ps.Working_Hours=10;" generates mistake. why ? [CODE]#include <cstdlib> #include <iostream> using namespace std; class Salary { public: int Working_Hours; float hour_rate; float x; }; int main(int argc, char *argv[]) { Salary s; float yy; s.Working_Hours=7; s.hour_rate=30.5; Salary* ps; ps=&s; *ps.Working_Hours=10; cout << "s.hour_rate=" … | |
Hi all! I'm new to Java, so please bear with me. I'm trying to calculate the average of grades input by the user. I keep getting a exception saying that it's dividing by 0. I can't figure out why. [CODE]import java.util.Random; import java.util.ArrayList; import java.util.Scanner; public class Average { // … | |
hey all i have been trying to get the ext from a file so that i can append it back on. but it seems not to be working here is what i have tried [CODE]$tempFile = $_FILES["Filedata"]["tmp_name"]; $targetPath = $_POST["path"]; $filename = $tempFile; $filename=str_replace(" ","_",$filename);// Add _ inplace of blank … | |
This code is working perfectly in Chrome and Firefox but i am unable to work it out in IE can some help me out with this [CODE]<form name="login" method="post" id="login_form"> <div class="form_back"> <input name="text" type="text" id="username" /> <input name="text2" type="password" id="password" /> <a href="" onclick="$(this).closest('form').submit(); return false;" class="login"><div id="login_button"></div></a> </div> … | |
hi guys! it's my first post on vb.net, it's just that u can't develop on windows 7 anymore using vb6, guess we'll just have to get used-huh. i'm developing this procedure using a timer object.the thing is the procedure is not in the timer's event procedure but i want it … | |
Hi, I have a c# windows app with a formTab on one of the forms. What I'm trying to do is pass the id of one datasource into the parameter of the query for another datasource on another tab. So effectively when the row containing the id field is selected … | |
See my demo page for where I have it working on an img src but not an input which is what I really want. Here's the link to my testing / demo page: [url]http://www.myu2sig.com/stellardonations/buttontype.php[/url] As for what I want to do, how can I apply the function to the input … | |
Is it possible to have an array as a class member? It is part of my Wumpus Hunt exercise. I want to do the following: [code] class Room { blah blah; }; int main() { for (i = 0; i < 3; i++) { Room adjacent[i]; blah blah; } [/code] … |
The End.