199,114 Archived Topics
Remove Filter ![]() | |
Guys We have a project.. . Its' a sales and inventory system.. . My question is can PHP and Java plus MySQL.. Work together.. PHP obviously runs in a web browser. But I wanted also the java program to run also in the web browser, can I also run the … | |
Hi I was just wondering if anyone knows/ can recommend books on wxPython? Of course quite a few come up on Amazon when I do a search but I was wondering if someone here has used a wxPython book and found it particularly helpful? Thanks | |
![]() | a while ago i asked for help with a web crawler and i got it, but now in the air cadets we are looking at the history of the raf and i wanted to know if there is any way i can edit the code below to search for sites … |
Hi All, I have a PHP Application and a folder in that say, online_training. Now i want this online_training to be secured.. It contains some pdf and swf files... I am using databases and PHP Sessions for user validation but i can still directly access my pdf files without logging … | |
The file gets more kB then the original ( 114KB to 914KB) And something weird: when I try open the new file with the notepad, it loads forever and i get a program not responding message when I try to close it, with the original file it loads ok.. By … | |
Hi I am trying to process a large text file. I would like to include parameters at some places in the file. Run it through python and write out the "processed" file with the values of the parameters in the new file. Example: original file: a =1 b=2 c= param1 … | |
how can i pass a variable to command? ex.. [CODE] #include <iostream> using namespace std; int main(int argc, char *argv[]) { string ip cout << "Enter an ip"; cin >> ip; system("ping ip"); //// this is the problem. how do i enter the value of "ip" here? system("PAUSE"); return EXIT_SUCCESS; … | |
In the writing of this program, I have happened upon a problem in the main method of the Tester class. In the Tester class, I am trying to print out the average monthly electric bill value. However, when I try to run it, I get an error stating: "calcAveragePrice(java.util.ArrayList<java.lang.Double>in CO2FromElectricitycannot … | |
I just wrote a simple function to convert a number with any base into a base 10 number: [CODE=c]#include <stdio.h> #include <math.h> #include <string.h> int tobase10(int *input, int size, int base); int main() { int input[256] = {2, 2, 1, 0}; printf("%d\n", tobase10(input, 4, 3)); printf("Press any key to continue … | |
[COLOR="Red"]URGENT[/COLOR] Hi, Ive found that earlier when i used DataControl in any of my Forms it did not give any problem worked fine. But after sometime when i started to run those Forms it gave me an error message (to debug) of "Visual Studio 2008" (Just-In-Time Debugger). I felt that … | |
Hello, I created command object in DataEnvironment. Now I wish to change to command object's Sql Text since table name gets changed depending upon year of working. | |
Why does'nt the delete keyword destroy all of the allocated array and not just the first element.As it is even after the delete[] the second cout still prints out the values of the "t" array. Any idea ? [CODE] int main() { int *t =0; t = new int [10]; … | |
Hi Could you explain a little about the topic? thanks | |
[CODE]Loop: LD F0, 0(R1) ;F0 - array element ADDD F4, F0, F2 ;add scalar in F2 SD 0(R1), F4 ;store result SUBI R1, R1, #8 ;decrement pointer ;8 bytes (per double) BENZ R1, Loop ;branch R1 != zero [/CODE] on DLX this looks: [CODE] Cycles Loop: LD F0, 0(R1) 1 … | |
If I make an array like this [code] GLubyte bufImage[100][100][3]; [/code] I can pass bufImage to a function and then get the values using: [code] r = bufImage[im_x][im_y][0]; g = bufImage[im_x][im_y][1]; b = bufImage[im_x][im_y][2]; [/code] However, if I don't know Width and Height at runtime, this does not work. I … | |
guys, first of all please dont post some google search results, i already did it. i need to grap mobile device information and send it to the server. the user connect to web server using pocket pc internet explorer, and then redirected to appropriate page according to its model, using … | |
I went today open an existing VB project and noticed that all of my project files are missing for all of my VB programs that lets me start VB with that particular program. The only file that I'm able to open is the .sln file and that's only from inside … | |
I am stuck with large text files which I have to merge and further work with my model. I tried to follow the previous thread in text merging [url]http://www.daniweb.com/forums/thread38625.html[/url] Here is the script which I used: [CODE= python] one = open("one.txt",'r') two = open("two.txt",'r') ofh = open("out.txt",'w') # read in … | |
I've stored an array in an html hidden input and now need to transfer that array to my delphi function. I've tried: [code=delphi] var fileArray : array of string; fileArray := formvar('fileArray', ''); [/code] but this gives an incompatible types error when I compile. How can I convert the string … | |
Hi, im drawing in a Panel graphics but i dont know how to scroll it when graphics are bigger, how can i do that? my proyect its something like a paint thanks :D | |
Hi. Sorry, if this is a really easy to answer. I need to find the smallest int result in a calculation between a fixed value and a variable. Then I need to return one of those variable. However, if there exists multiple smallest results, then I return a fixed value. … | |
I am getting an "Connection must be valid and open" error. After some research I have found two possible reasons for this: malformed sql or bad connection string. Since the error is being thrown on a second .executescalar statement I will assume the connection string is working. I have two … | |
Hello, My intended scenario is that, there is a Button component on the visual web jsf page and someone click on the button, instantly a confirm box (javascript) is displayed. Now if the person click on the ok button of the box the form will be submitted but the form … | |
Hi I've quite a while into my PHP course now however I seem to have missed something, I keep seeing things like: [CODE]if ($variable_name) {..[/CODE] It's quite scary because I should really know this and it seems extremely basic so sorry for the questions simplicity. Is it asking wether the … | |
Hi! I'm writing a pool simulation and have an awful problem with my ball collisions (elastic collisions). The theory (in terms of vectors) is that when two balls collide you take the line between their centers and the velocity components which are perpendicular to this line are unaffected, while the … | |
I need to make a program to create an array of doubles. Array of sales for 10 shops in a center .Load this array from a file at the start of the program. Use a menu to allow display and update of this array. Allow access to the shops array … | |
i am able to read the nice.ls FILE. Let me explain u my nice.ls FILE content 1st column is integers dont bother abt them, 2nd column is address, i read it by using isxdigit array[6] and i am able to read the hexadecimal 3rd column is opcode , i am … | |
Hello, I'm writing a FTp client . It is able to handle 1 server at a time . But my requirement is to handle multiple server at same time . The Server shd be accessed and file upload download shd happen parallely. PLease help me .. If possible send some … | |
In a bigger program I made I need to be able to generate a grid with n rows and m columns. After that I need a function that will let me rotate this grid and with it rotate the values of the original grid. This is the code that let's … | |
hi everyone, i am retrieving some 25 dates from html table, and calculating. suppose date is 03-feb-2009 i am converting it to 03-02-2009 and calculating with present date. It gives the same answer to each and every date calculated, any one helpme, i have tried google n php.net, its urgent … | |
Hello all, I'm having the following problem, I have three tables, Person, Income, Outcome Person has the primary key : ID Income has two fields : PersonID [Foreign] and IncomeAmount Outcome has two fields : PersonID [foreign] and OutcomeAmount I need to make a query that gets the summation of … | |
Hai, In parent window, while submitting form, popup window is called. In child popup window, parent window is forced to go invisible through code. But sometimes it is not working. Aim is to inactive all elements in parent form or invisible parent form while child window (popup) is opened. After … | |
hi, can anyone tell what is major difference between vs2005 and vs6. i want to know coding related difference not related to UI.In what extent vs2005 different for c++ from vs6 | |
I am trying to understand how to check for a COM error when I am using a C++ COM client. I realise that HRESULT can be checked but what confuses me is exposed methods that also specify a parameter of type [retval,out]. For a COM object that returns eg. a … | |
Hi .... i want to track the Windows Lock Event. when user lock the windows by any possible way, i want to run my code at that event. but i don't know what is the event for this. any Ideas? Kind Regards, saurabh | |
Runge-Kutta is supposed to be used to obtain the numerical solution to a boundary layer problem. I'm trying to get the output to go to excel where it will show me the values for G1, G2 and G3 but it won't go to excel. Please help! [code] #include <iostream> #include … ![]() | |
Hi all, i am in a typical situation. wen i am signing into my application. After copying the i am signing out. now i paste the copied url in the same browser, the page got opened. while have checked that the session is null. Can anyone provide me the solution … | |
Hi everyone, I found that problem is not in session probem is that when i am login in one php page where i already used session but when i am doing login with login name and password . I have seen that when i am printing value login name and … | |
hi friends I am new to SQL SERVER I am using sql server 2005 enterprise for server and express for client m/cs. Having issue while connecting from client to server. i have read some tutorials on net. while connecting to server from my client machine, i usually get error: 18452. … | |
Ok, I tried and tried some more, if someone could push me in a right direction or point out the obvious for me that would be great. The dates have to be between the years 1900 and 2099, so I was thinking if I could calculate the amount of days … | |
what is the output for program below [code=c] int a = 5; int A = 8; A = 9; a = 7; printf ("%d%d", aA); [/code] | |
Hello all. I am working on a little program here and need some help. The input is 3 test grades that are out of 50 points total, the program takes the higher of the first 2 test grades and adds that to the last test grade to determine a final … | |
Hi, I'm considering using some boost stuff for my next project. But it's quite essential, that the program can be ported to multiple platforms with different setups. I've always used -ansi -pedantic -Wall And so far the projects has been working on sun/gnu/intel compilers, on both windows and linux. But … | |
Hello all, I had to write a program that would take a list and check for alternate atoms and list, if there were two atoms in a row, it would #f, same for two lists. I now need to make it #f for 3 in a row. This is what … | |
Can anyone please help me make a program that does following: i enter first string then i enter the second string i.e. first string: "abcxyzefg" second string:"xyze" and the program should the write a new string without the second string in the first one i.e "abcfg" thank you | |
hi, i have 3 cols in my db col 1 ( unique identifier ) col2 ( varchar ) col 3 ( integer ) how can i retrive the 3 greatest values from the database on the basis of col 3.. | |
hi..I'm just a newbie programmer who needs some help. I'm trying to enter a date and save it in a mysql database. however the format in mysql is yyyy-mm-dd and the format in vb.net is mm-dd-yyyy. how can i format the date in vb in order to successfully enter it … | |
Hi check my program i have used to read a FILE( nice.ls is shown below the program). I am able to read the FILE nice.ls, but i also have to check whether it starts with interger and next i have to check the hexadecimal if no hexadecimal then it should … | |
good day! I want to pass the value that contains tha table name and load its data.But my sql turns error.Below is my code. [code=vb] Combo2.Text = "first_year" sql = "select * from " & Combo2.Text & "'" rs.Open sql, conn, adOpenKeyset, adLockOptimistic, adCmdText [/code] Im using mysql as backend … |
The End.