199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Renzokouken_22

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 …

Member Avatar for digital-ether
0
94
Member Avatar for artemis_f

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

Member Avatar for lllllIllIlllI
0
128
Member Avatar for leegeorg07

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 …

Member Avatar for lllllIllIlllI
0
108
Member Avatar for sikka_varun

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 …

Member Avatar for digital-ether
0
141
Member Avatar for Icebone1000

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 …

Member Avatar for nucleon
0
209
Member Avatar for ask2

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 …

Member Avatar for ask2
0
188
Member Avatar for eviocg

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; …

Member Avatar for eviocg
0
99
Member Avatar for jdbarry

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 …

Member Avatar for jasimp
0
190
Member Avatar for Hiroshe

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 …

Member Avatar for Hiroshe
0
171
Member Avatar for RahulV

[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 …

Member Avatar for hkdani
0
144
Member Avatar for sham

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.

Member Avatar for RahulV
0
324
Member Avatar for rom87

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]; …

Member Avatar for Ancient Dragon
0
77
Member Avatar for massivefermion
Member Avatar for serkan sendur

[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 …

Member Avatar for serkan sendur
0
73
Member Avatar for daviddoria

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 …

Member Avatar for Narue
0
313
Member Avatar for serkan sendur

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 …

0
72
Member Avatar for Trekker182

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 …

0
235
Member Avatar for chebude

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 …

Member Avatar for chebude
0
137
Member Avatar for yssirhc

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 …

Member Avatar for yssirhc
0
4K
Member Avatar for ferloko

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

Member Avatar for ferloko
0
77
Member Avatar for T'Scoopz

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. …

Member Avatar for BestJewSinceJC
0
130
Member Avatar for scott_rider

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 …

Member Avatar for Tschuikow
0
317
Member Avatar for monad

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 …

Member Avatar for monad
0
120
Member Avatar for Designer_101

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 …

Member Avatar for Designer_101
0
109
Member Avatar for trelek2

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 …

Member Avatar for VernonDozier
0
174
Member Avatar for Spanki

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 …

Member Avatar for Narue
0
102
Member Avatar for sarawilliam

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 …

Member Avatar for nucleon
0
143
Member Avatar for mainak001

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 …

Member Avatar for mainak001
0
289
Member Avatar for tillaart36

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 …

Member Avatar for tillaart36
0
269
Member Avatar for BASSUHG

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 …

Member Avatar for BASSUHG
0
191
Member Avatar for AbuShokry

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 …

Member Avatar for AbuShokry
0
147
Member Avatar for shanthivarshu

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 …

Member Avatar for shanthivarshu
0
195
Member Avatar for ashishchoure

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

Member Avatar for ashishchoure
0
153
Member Avatar for bancje

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 …

Member Avatar for bancje
0
102
Member Avatar for btech_Saurabh

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

Member Avatar for AmirBedair
0
144
Member Avatar for torchedintexas

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 …

Member Avatar for jencas
0
129
Member Avatar for vipinsgangwar

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 …

Member Avatar for Bandar.M.A
0
75
Member Avatar for gagan22

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 …

Member Avatar for nav33n
0
203
Member Avatar for aman_dba

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. …

Member Avatar for aman_dba
0
179
Member Avatar for rickster11

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 …

Member Avatar for vmanes
0
95
Member Avatar for bussaina

what is the output for program below [code=c] int a = 5; int A = 8; A = 9; a = 7; printf ("%d%d", aA); [/code]

Member Avatar for Dewey1040
0
75
Member Avatar for free radical

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 …

Member Avatar for free radical
0
119
Member Avatar for monkey_king

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 …

Member Avatar for monkey_king
0
94
Member Avatar for jcoder

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 …

Member Avatar for harzipan
0
99
Member Avatar for billgone

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

Member Avatar for Mazzin
0
81
Member Avatar for krutthika

Hello, C program for audio compression and decompression? Please help .. I need the source code... Thanku

Member Avatar for monkey_king
0
102
Member Avatar for bharatshivram

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..

Member Avatar for bharatshivram
0
128
Member Avatar for herms14

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 …

Member Avatar for c0deFr3aK
0
1K
Member Avatar for sarawilliam

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 …

Member Avatar for sarawilliam
0
924
Member Avatar for PinoyDev

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 …

Member Avatar for PinoyDev
0
76

The End.