199,114 Archived Topics
Remove Filter ![]() | |
is it necessary to install any other s/w like apache etc if i have WAMP or XAMP on my machine to connect php with oracle? | |
Hi there, I know there are some changes between Python 2x and 3x, and I know this is probably due to the changes with how 3x handles unicode and binary but I dont know how to make it work properly in 3x. In 3x my code returns the value I … | |
Greetings i make a code to show spacific fields of a table is there anyway to make all fields with its records appear ? this is my code [CODE]<?php $db_host = "localhost"; $db_username = "root"; $db_pass = ""; $db_name = "el"; @mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect"); @mysql_select_db("$db_name") or die … | |
The problem for my CMPT103 class is to write a program that takes a binary number as an integer and returns it as a decimal, i would be able to do this easily by taking it as a charecter array and dealing with each individual element but i dont understand … | |
[I][thread split from [URL="http://www.daniweb.com/forums/post1039331.html#post1039331"]here[/URL]][/I] Hi i have the same problem but instead of console app i need to make a gui one [code] this is what i have so far using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TubeSales { public … | |
I am fairly new to c++, and I would like to know whether or not I need to have the library files present on the system to run a compiled program that used the library files to compile on a different system. Thank you. | |
I'm writing a program in python,tkinter and I need the text on the button to update... is there a simple way to do this? | |
Hi everyone, I am totally new to VB and am trying to put together a macro. In short, I want it to select a range, store the values as an array (employee names). Then I want to loop through the values in the array. For each iteration, I want to … | |
I have a few .reg files that I would like to be able to call from my app. How can I call these .reg files from an OnClick event? Is there a better way that I can do this? | |
hey this is my final year project........the project is that.........we are controlling a car using this software,.........i've made a code for video streaming too.........but when while capturing when i press the numberpad1 and numberpad3 for left right turn i finds a little delay in printing the counts in their corresponding … | |
Hi there, i have a question in C#.NET report viewer. i save the phone number in the database as (234) 233-1346 . so if the use doesn't type in a phone number it will be saved as [() - ] which is show in side the squared brackets, without the … | |
[CODE] int main(int argc, char* argv[]) { std::cout << argc << std::endl; } [/CODE] The code above will print a number depending on the number of arguments added to it. However I am writing a game in c++/python and I need the program to accept a integer argument that will … | |
so im begining some project, and to try to check my work im trying to print out results as of point x to see whats going on. I just started and im already stuck, and I cant find any reason why I am getting an error. Here im trying to … | |
Hello, I am just wondering about multi-connected clients, connected to a server. Is there a possible way to do such? I have heard things about "WinSock" but IDK how to use that, if so can I have a documentation. And also I have learned about "Microsoft Direct Play" for multiuser … | |
Hello, Help me in writing a logic for the program: User input: [COLOR="Red"]11[/COLOR]000 0[COLOR="Red"]11[/COLOR]00 00[COLOR="Red"]1[/COLOR]01 10001 01011 Two 1's are said to be connected if they are adjacent to each other horizontally, vertically & diagonally. Need to find the largest sector of 1's in the above input string. For example: … | |
Allrite so I'm writing this program - and I've been having some trouble with it - there are three parts to it 1. Write a function [CODE]void tolower(char* s)[/CODE] that replaces all uppercase characters in the C-style string s with lower case letter. - Two helper functions to use a)[CODE]bool … | |
Hi , How can I open an external program like ( word, notepad ) in JavaFrame Window ? not in external window ? thanks | |
I need to use mergesort to sort the data in a file that has the names and ages of 10 different people , first i have to sort the names in ascending ascii order and then i have to sort them by their age but im not sure how to … | |
Hi, sorry to post about a bus error I realize there are many answers on others threads but none of them have been able to help me make sense of this problem. Im fairly new to C and have tried everything I can think of. The program is supposed to … | |
[CODE]#include <stdio.h> #include <math.h> FILE *input, *output; main() { int Max, Min, x[1000000],i=1,n=0,j=0; input = fopen ("Nube_de_Caminantes.txt","r"); n=getw(input); while (n !=EOF) { fscanf(input, "%i",x[i]); i++; n = getw(input); } fclose(input); }[/CODE] There is some stuff I need to do with the array once I have it, but I can't get … | |
hi frds in my proj, a jsp file has prod type (either prod or non prod) if we select prod it will display prod related items, if not it will display non production item. but i want both to be displayed at a time. action class: [CODE] [B] ArrayList [U]prodNonprod … | |
I am able to save an image from a picture box into the database of SQL. I used a byte array and filestream to read the image. [CODE]FileStream fs = new FileStream(imagename, FileMode.Open, FileAccess.Read) byte[] picbyte = new byte[fs.Length] fs.Read(picbyte, 0, System.Convert.ToInt32(fs.Length)) fs.Close()[/CODE] For some reason, I can't retrieve the … | |
Hi, I've been researching these past few days on SendMessage and FindWindow and I've been looking at example source codes but I just can't seem to understand the process between it. At first I just wanted to send a simple message from a textbox to the open chat of another … | |
Hello, I dont know any PHP or MYSQL, but I had created a script for my business with the help of you Gurus. Now I am stuck with a problem once again. I hope you will help me again. I have a MYSQL DB, 'shipments' and Table 'info' with a … ![]() | |
hello all, i am having a real hard time tracing down a logic problem and am looking for help. this program just does a binary search on a sorted list and returns a record. now it works for records that exist. however, i want it to continue searching until an … | |
Dear Friends: I am having trouble with this exercise. I was able to compile and create the list 0-7 and reverse. I am not sure where I went wrong. Thanks Danni #include <stack> #include <iostream> using namespace std; template <class stackType> void reversedStack(const stackType & originalStack, stackType &reversedStack) { stackType … | |
Hi, need some help with the a php code i made to a search engine, i get a error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eoopoedt/public_html/sok/search.php on line 49 Can some one fiks my code, and give me the right code: [CODE]<?php $button = … ![]() | |
Hello, How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import … | |
Hi there can some one provide me with a tutorial to create a login in C#.NET MVC. i am using visual studio 2010 and i am new to this. I have a little bit of idea on MVC but when i try to come to create a login page (web … | |
I have a script that checks so see if a range websites so see if it has some a sample of code in it. Is it possible to repeat the script once every 24hours? (CRON?) If so is it possible to post the website and the result it got in … | |
Hi, Not sure if my question belongs in an ASP.NET or MSSQL forum.. I have an ASP.NET webpage built in VS2010 with an Input field with the functionality to browse to a network directory, select a text file, read content and upload the data to an MSSQL database table. Nothing … | |
Hello I have written a piece of code that works fine on my computer and all other computers that I have tried it on when running XP. I have tried it on a few machines running vista and they have all worked fine but one of my customers is running … | |
I have been trying to fix this code for my feedback form, but its not working i dont know what else to do now, Is there any settings i need to do? I am using an EasyPHP 2.0 [CODE] <?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail … | |
Hello, I'm building an ecommerce site with php and I'm trying to build an account page so users can manage their credit card info, shipping info, orders, etc... I wanted to design my own Manage Payment options on my site and not have to redirect the user to like paypal … | |
Write a function that accepts a pointer to a string and a character and returns the number of times the character is found in the string. [CODE] # include <stdio.h> # include <conio.h> # include <string.h> # include <stdlib.h> void countletter(char *str); int main() { char str; printf("Please enter a … | |
![]() | I am getting a "misplaced break" error from this part of the code,the following is a part of the mfile function,the while loop should break if the entered string in temp equals to the one in exit....I don't know why it shouldn't work,any help?Thanks. [CODE] ofstream myfile; myfile.open(fn,ios::ate); cout<<"File has … ![]() |
Hye,i have problem with looping.... this is my coding for now. [CODE]try{ Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/finalproject", "root", "Amillia89"); Statement stmt=con.createStatement(); // String pick = "select * from synonym where words like= "+st+"% "; ResultSet rs=stmt.executeQuery("select * from synonym where words like \""+st+"%\""); String words=""; if(rs.next()){ words=rs.getString("words"); ResultSetMetaData rsmd = … | |
hi friends, my database names are like that: --name surname date account--- i want to send 5 or more user info send database with form. form.php <input type="text" name="name" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="surname" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="account" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="date" … | |
A simple streaming server-client pair with non-blocking user input can easily be coded in Python by using the 'select' module that provides a straightforward interface to the Unix select() system call. For Windows users however this is not an option as the acceptance of three empty sequences in the conventional … | |
I have a question and here is what I am trying to do. Generate an array of 20 random numbers between 1-100 Display them as generated Sort them into descending order (Starting with the largest and going to the smallest Display the results I have started writing the code but … | |
| |
Hello, I am sending a mail on localhost but getting error given below. Please suggest me solution for that. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\project\contact2.php on line 261 | |
Hello I have a problem. I have a project that consists of 4 forms(Form1,Form2,Form3,Form4). I usually debugged this project. Now I might have done something stupid. I deleted the all 4 .h files. I did keep Form1.h file because I was doing a small program out of that file and … | |
hi, Can any one tell me How to get url or uri from address bar dynamically in XSLT... It will helps me a lot. Regards Bhanu. | |
Now make a program so that it stores the values in increasing order, i.e., each time a value is added it is placed into its proper position in the list. Here is my code, I cant get it to put them in increasing order. [CODE] #include <iostream> using namespace std; … | |
What will be the effect on web browsing if the browsers start compiling the HTML language instead of interpreting it? | |
Hi, i made a DLL from a Class Library project in C# and i am trying to use it using DllImport but i keep getting: Error RegConfig.exe MissingMethodException Can't find an entry point 'IntProg' in a PInvoke DLL 'ClassLibraryWinCe.dll' at RegConfig.Program.Main() when i try to run the program. MyWinCeClasses: [CODE] … | |
I posted about this on Stack Overflow, but I think my explanation of the project wasn't clear, as none of the answers have really be on point. [B]Summary:[/B] I want to make a windows based software deployment system in C# NET. The idea is that a C# NET console application … | |
Need help on setting the values of username and password for my log-in menu: [CODE]import javax.swing.*; import java.awt.*; class Profile extends JFrame { private JPanel p,p1,p2,p3; private JTextField tf; private JPasswordField pf; private JLabel l1,l2; private JButton b; Profile() { p = new JPanel(); p1 = new JPanel(); p2 = … |
The End.