199,114 Archived Topics
Remove Filter ![]() | |
So I took the instructors example. His is to print a report for Tree, Quantity, Unity Cost, Total cost. I need to make a program that has book name, total quantity sold, total sales. I changed the in file names in his example to what my file names are and … | |
Hey guys, I'm working on a problem where I need to use the direct-search method to find the intervals of the roots and bisection method to find the roots of the following equation x^3-3.5x^2+3.48x-0.85. Here is the code I have so far, the problem I'm getting is when the code … ![]() | |
Hi, How to this type of validation using JavaScript? [COLOR="Green"]Scenario[/COLOR] In my SEARCH page, user was given 5 types of field[COLOR="Red"](drop-down menu)[/COLOR] to choose from. User can select either 1, 2,3,4 or all the field's option to make a search. I know how to do validation field by field[COLOR="Red"](need to … | |
Dear All, I am new to MySQL. Can i retrive the result of a query as the combination of different fields of a single record.. For example.. if the result record of a query is ... id(1), country(India), Location1(maharashtra), Location2(pune), Location3(Navi Mumbai)... My doubt is that can i retrive the … | |
Hi... when i use mysql queries with php, is there any way to load my page faster? Can certain divs or tables that use mysql query being executed last? after the page fully loads? | |
I want to get two columns data from two tables which are not dependent to each other i.e. no key common in both they are not related to each other. I can't use JOIN because it needs where clause which uses a common field from both tables. I just want … | |
hi i have a search page where the user will enter some search keywords and click search.in the next page it will display thesearch result.when the user clicks a search result(a link) it will redirect him to the next page which contains the detail result.when he clicks search result link... … | |
I am building a database for a fan club, as I test the signup page I get these errors: Can anyone help Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rmilnerx/public_html/lilmaq/vSignup/process.php on line 50 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in … | |
Hi everybody, I am new to j2me. Can anybody tell me how to start working with j2me. | |
In my last topic i quess i was asking to much so no one would help me, so this time ill take it one step at a time, heres my first problem. [CODE]<? include("dbinfo.inc.php"); mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM tutorials WHERE tut_program='Photoshop' AND tut_category='Text … | |
hi guys... i have an urgent problem please give an idea about it.. Question#1: I want to know the correct date syntax in query database using MySQL... Question#2: I currenly using the MySQL connector/OBDC 3.51 is their any problem about it?? thxx in advance.... and ned asap reply... thxxxxxxxxxxxx guyzzzzz.. | |
Hi ALL I am Srinivasan S Saripalli. I have a VC++ doubt which I have notified below. Hope you can give me a solution. I have developed a ATL,COM 32-bit Service and in the Service I am implementing Timer functionality using either `SetWaitableTimer` or `CreateWaitableTimer`. When I compile my Service … | |
hello i got two vaildations on one form but can i have two submit buttons?? onSubmit="return checkcheckl(?)" | |
i write a program that it needed to get a couple string from string. e.g : November -> i want to get "vem" only... how i can do this?? any help will be appreciated thank you | |
please help that how to add data of one field of database to the combo box. i attached one rar file with this. check that | |
Parse error: syntax error, unexpected T_STRING in E:\Program Files\wamp\www\practice\addentry.php on line 89 hi, i keep getting this error and i just cant figure out what is wrong. i got this code off a book that uses php v 5.1.4 and my wamp server runs php v 5.2.5, could this be … | |
Hi all, can someone tell me how to display image in select form element i've try to do this, but its not workin [QUOTE] <select name="select"> <option><img src="banner-xmas.gif"></option> </select> [/QUOTE] hope u guys can figure it out | |
hello... i' m doing registration license system... i need source code that can search due date by their month... and i want to list their date with companies name.. how to combine two table in database?? because i want use the combine to search and display the data.. | |
I am making dynamic changes to my current page's DOM with javascript, and would like to visually inspect the code that was rendered. Is there a easy way to do this? Off the top of my head I was thinking i would have to transverse the DOM and output all … | |
How to do programming in Image processing in java? I have searched on it.I got info abt JAI.But Can i get detail documentation or another library for image matching code in java. I want to match two JPEG images in java.That images are of birds. Can any1 help me out? … | |
is it possible to pass the value of a text box and the caption of a label from one form to another | |
I am trying to get my 2d array to total up values. It is laid out perfectly, but my values do not calculate. Is my math wrong? Please help?? [code] #include <iostream> using std::cout; using std::cin; using std::endl; #include <iomanip> using std::setw; int main() { const int DAY = 7; … | |
I am stuck on Visual Basic problem regarding combo boxes. The question states: [I]Assume that the Simple combo box appears as shown and that the Sorted property is set to True. Give a statement or statements that will carry out the stated task. The combo box contains: Dante Goethe Moliere … | |
hi i am developing a site in asp.net 1.0 for validation i have created a js function where i am checking all controls for null my text boxes are validated with that function but not combos. here is the code i used to validate combos [code] if(document.Form1.cboCity.selectedindex == 0) { … | |
I've found that althought my fonts are fine everywhere else, they're blocky when I Tkinter. I have an LCD screen, and I'm using Xubuntu with Gnome. They work fine in WxPython. It seems like Tkinter doesn't allow for sub-pixel rendering or such (at least automatically). Is there some way to … | |
I am trying to write a code that asks for a date in a user form text box and then takes that date and looks for it in a range. Once it finds that date I want to enter the data from the second text box in a cell on … | |
Hey there. It's Erinn and I just have a quick question about my assignment that I am working on. I have everything right except for one part...don't u hate that...lol. Anyway, here is the code and assignment below. Sorry there is no code, but it's been a long day and … | |
I have to create a trigger having the following database. I'm confused in using the trigger type(row-level,st-type). Please help me out. Consider the relation schema of the COMPANY database given below EMPLOYEE (fname, minit, lname, ssn, birthdate, address, sex, salary, superssn, dno) KEY: ssn DEPARTMENT (dname, dnumber, mgrssn, mgrstartdate)KEY: dnumber. … | |
Here's one I haven't been able to find an answer to. I have 4 arrays: @array1, @array2, @array3, @array4. I ran code to compare the values of 2 arrays to see number of values in common: [CODE]use strict; use warnings; my (%union, %intersect); foreach my $e (@array1, @array2) { $union{$e}++ … | |
I am still new to CSS, how would I add a drop shadow around the main conent of this page? [url]www.racexpressions.com[/url] I have been trying for a while but I can't seem to get it to work. Thanks! | |
[COLOR="red"]Hey guys, I have just convert my coding from vb to c++. However when i paste the codings inside another new project, it could be debugged but the designer view shows me error.[/COLOR] "C++ CodeDOM parser error: Internal Error Hide at Microsoft.VisualC.CppCodeParser.OnMethodPopulateStatements(Object sender, EventArgs e) at System.CodeDom.CodeMemberMethod.get_Statements() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, … | |
create a program to produce a tableof cosines for given angles. Note that the program is to read an input file and write outputto an output file. You should prepare many input files and an input file that includes a negative number and a value between 90o and 180o among … | |
Heres the problem: A scientist has been conducting experiments and recording results of those experiments. Two pieces of data per experiment have been recorded: temperature in degrees Celsius and a concentration ratio (in the range – 0.5 to 2.0). Validate user inputs. heres what I have: Part1 - Writing to … | |
I'm using Xubuntu, and I've found that I can't change text control foreground colors in WxPython, on this Linux. They change fine in Windows. They won't change in Xubuntu—it doesn't matter if I use Xfce, Gnome, or KDE; it's the same. It's always black (very problematic when you have a … | |
I would like to create a specialisation of.. template <typename CEnemy_Ty> class CEnemyManager {}; ..for a class called CTank which is a CEnemy But by defining.. template <> class CEnemyManager<CTank>{} ..it means I have to copy+paste huge chunks of unchanged code, just to change say one or two functions. By … | |
[code] #include <string> #include <iostream> using namespace std; int main() { int loanAmount[10]; int numMonths[10]; string keepGoing; int counter = 0; do { cout << "Please enter a loan amount: "; cin >> loanAmount[counter]; cout << "Please enter the number of months: "; cin >> numMonths[counter]; counter++; cout << endl … | |
[code=cplusplus] PROC bHook(LPSTR BaseLibraryName, LPSTR BaseFunctionName, PROC NewFunctionPointer, bool UnHook, PROC Custom) { PROC hBaseProc; return hBaseProc; } BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: OutputDebugString("--------Detour dll Load!"); bHook("KERNEL32.DLL", "CopyFileW", (PROC)MyCopyFileW, false, 0); break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; case … | |
I am new to Delphi - in spite of looking at numerous text books, I cannot find a simple way of printing a screen shoot. Is there one? ![]() | |
I'm having problems with my DisplayEntry function. What this program is supposed to do it display numbers that have been validated earlier in the program. The problem is it is displaying random numbers stored in the computer. I'm gonna include the struct declarations, the function call, and the actual function. … | |
Hi. If I define a lookup field, there will be a corresponding pick-list in the dbgrid. Is there a way to open this pick-list with the keyboard, instead of clicking on it? Otherwise I may have to use a TDBlookupcombobox in every column with a pick-list, because the user may … ![]() | |
I'm new in MYSQL is there anybody who is expert in MSQL as backend and VB6 as front end please i'll be willing to study espcially on the connection. How and what are the procedures? Thanks a lot in advance...hope to share also my little ideas soon... | |
Hi folks, I have a script that pulls user comments from a database, which works fine. It's an image based script so I'm trying to now add emoticons, for such as =D or =) To do this I plan to use list(,,,,,,$left,$top) for the imagettfbox of where =D or =) … | |
Hi again, In my previous thread regarding Combo box at runtime I had not forseen the problems I would experience introducing a variable to the code. [CODE]Private Sub Form_Load() Set myconn = New ADODB.Connection myconn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\Documents and Settings\Gareth Powell\Desktop\db2.mdb" myconn.Open Set mycomm = New ADODB.Command Set … | |
Hello All, How can I get the information that corresponds with the containsKey to be put into the hashtable. I am checking to see if a hashtable contains a key. If it does how can I put that key along with its value into a second hashtable. Snippet of code: … | |
Hi all, What I need to do is populate a combo box at runtime according to specific inputs from other forms.The code listed below is a seperate trial and works OK. I would like to know if I am overdoing the code thing for what I am achieving. [CODE]Private Sub … | |
Hi all! Just wondering if it was possible to be able to create a Tkinter window that can handle files being 'dropped' on it. What i want is to be able to drag a file from an explorer window to a widget on my program (probably an Entry widget) and … | |
Hello, I need help adding two arrays of different sizes [i.e. 3005 + 305 = 3310 ]. I am sorry but I do not have any code to post because I am completely lost on how to even go about starting this, so any hints or help on what to … | |
Hi all I have a little issue with this php code. Below is the code CODE: PHP 1.<? 2. include("../includes/common.php"); 3. include("../path.php"); 4. 5.$func_ary=array("dental_view","add_data","add_data2","mail_data","thanks"); 6.if(fe($_REQUEST[act])) 7.{ 8. $_REQUEST[act]($_REQUEST[msg]); 9. die(); 10.} 11.dental_view(); 12.die(); 13. 14. 15.################################################ 16.function dental_view() 17.{ 18. //global $Server_View_Path; 19. $t=new Template("templates"); 20. $t->set_file("MyFileHandle","dental_tourism_quote_step1.htm"); 21. $t->set_var(array("SERVER_PATH"=>$Server_View_Path, 22. … |
The End.