199,114 Archived Topics
Remove Filter ![]() | |
The attached image is the example of .xls file that I want to import those data to mysql database using Java. Any help I get will be very much appreciated. | |
Hi There are two tables. Cities and Countries Countries have Id, Country name and Short Code (Id is primary key) Cities have Country_Short_Code, City and Populations. (city is indexed) There are 5000 records maximum to be processed. PHP will give 5000 city name and its country. What is the best … | |
It always receive undefined. I'm almost two week working on this code. BTW the code is based on the tutorial on this site [url]http://active.tutsplus.com/tutorials/actionscript/create-a-flash-login-system-using-php-and-mysql-part-1/[/url] I modified it. Any help? PHP CODE: [code]<?php include_once "connect.php"; session_start(); $username = $_POST['username']; if ($_POST["sysCall"] == "checkLogin") { /* The * means the query initally … | |
Hi, in my java project Employee Payroll, I am supposed to include a Ideal-Time window and maintain log for that ideal time for particular Employee... On the basis of which salary deduction or bonus to the employee will be calculated... For maintaining log, we will need JDBC; but for creating … | |
hi to all! i have a question since my program keeps showing a message which is very annoying.i have asked in several forums but still i havent found a satisfying answer but i just found out about this one,so i hope my problem will get solved! i have several sets … | |
I have made a database file in MS Access 2007, Now I made a basic blank form in VB2008. I have connected it already in the form. Now the problem is, how would I know if I have connected it successfully? I run the program > added a new entry … | |
Hi Can any one tell my how can i download a file from MySql through dropdownlist What i'm trying to do is i created a dropdownlist and shows all the file name in that dropdownlist now i want user to be able to download that file when they select any … | |
Hi, It always stated that 'No Database Selected'. Really need your help. Thanks :) This is the coding [CODE]<?php require('include/config.php'); $conn = mysql_connect($db_host, $db_user, $db_pwd); mysql_select_db($db,$conn); $sql = " SELECT * FROM hod_approval WHERE hod_approval='2' "; $result = mysql_query($sql) or die (mysql_error()); [/CODE] Here's my config.php [CODE]<?php $db = 'TADMS'; … | |
hello,everyone,basically,i am trying to install [B]pyaramid[/B] framework,i have [B]windows[/B] installed in my system,and i am follwing this link at the time of installing pyramid.... [B][url]http://docs.pylonsproject.org/projects/pyramid/en/1.0-branch/narr/install.html[/url][/B] [B][COLOR="red"]1.[/COLOR][/B][B]Installed Python 3.2 in my system and set the path D:\python32 in My Computer->Properties –> Advanced Tab –> Environment Variables and add that directory to … | |
| |
I have been trying to follow this google maps API tutorial. [url]http://code.google.com/apis/maps/articles/phpsqlajax.html[/url] The problem is i keep getting this error and I don't know what I'm doing wrong. Here is my code. [CODE]<?php require("phpsqlajax_dbinfo.php"); function parseToXML($htmlStr) { $xmlStr=str_replace('<','<',$htmlStr); $xmlStr=str_replace('>','>',$xmlStr); $xmlStr=str_replace('"','"',$xmlStr); $xmlStr=str_replace("'",''',$xmlStr); $xmlStr=str_replace("&",'&',$xmlStr); return $xmlStr; } // Opens a connection to … | |
Hi, I have a 2 text boxes tbox1 and tbox2 now i want to populate tbox2 when a value is entered in tbox1...how this can be done? note: Supplier Table tbox1: SuppilerID tbox2: SupplierName..Should populate when supplierID is entered. How this can be done. As I am using MSAccess db... … | |
Good day, I am creating an application that can play sounds on my program i used the snippet of VB.net i am using this code to play some sounds My.Computer.Audio.Play(".wav") all i want is to random pictures and the sounds associated on that pictures will be played... I ma having … | |
Hi, I have this program that uses OLEDB connection to import excel file to data table then use it in other functions. Now I have this question: What are the possible limitations of OLEDB when it reads the Excel file. The File is on xls format, and I want to … | |
Dear Experts, I have following codes [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <META content="text/html; charset=windows-1252" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.7600.16912"> <style type="text/css"> .back {clear:both;width:100px;height:30px;padding:5px;color:green;font-style:bold;} h3 {color:blue;font-style:bold;BACKGROUND: url(hotmail2.jpg) no-repeat center #90bade;line-height:30px;} #box {width:275px;height:275px;padding:5px;margin:5px;background:#e3eeff;text-align:center;border:1px solid #069;} </style> <script type="text/javascript" src="jquery-1.7.1.js"></script> <script type="text/javascript" src="jquery.corner.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('input[name="RD"]').click(function(){ alert("Please note … | |
designing a pushdown automata for the language a^n b c^(n+2), n>0 I have been asked to implement the automata for the above language .. please help? I tried popping a 2 (c)s everytime I push an (a) on to the stack but it seems not to work with odd number … | |
hi im told to make a program where the user enters a large number like 13195 and the prgrams gives it the highest prime factor, which i 29. now i have to do this using recursion in basic c, without using loops of any kind, so noo for, while etc. … | |
I keep getting a run time error, i think i has to do with the generate and/or checkNeighbor methods [CODE] #include <iostream> #include <vector> #include <windows.h> using namespace std; void display(vector<vector<char> > grid) { for(int x = 0; x < grid.size(); x++) { for(int y = 0;y < grid[x].size();y++) { … | |
Hi Everybody, I need help for mouse Over event. I make the following code for click event this is ok.and the event mouse over that time display inside the calender node. very urgent please help me. $(".calendar-node").click(function() { if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) … | |
1.) I am about to run to class and work for the day so I wanted to get this up before I left. 2.) I am using code blocks on Windows. 3.) I ma having an issue where either my main.cpp cannot find my header file, or if I change … | |
Anybody know how to show physical ram memory in label1.caption using vb6 please tell me a simple source code | |
Hello, I have been working on a program that I got to work successfully, but when I transferred it to having only function calls in my main(), I started to get run errors telling me that something is being used without being initialized after I enter the second number. Basically … | |
I have a problem with this code : [CODE] #include<iostream> using namespace std; void qsort(int A[], int len) { if(len>=2){ int l=0; int u=len-1; int pivot=A[rand()%len]; while(l<u) { while(A[l]<pivot)l++; while(A[u]>pivot)u--; swap(A[l], A[u]); } qsort(A,l); qsort(&A[l+1],len-l-1); } else{return;} } void swap(int a, int b) { int temp; temp=a; a=b; b=temp; } … | |
please check my code: it use to generate number in date format my problem is that it doesnt show any output in the textbox nor in the database the last num in my database is 2012010001 [CODE] Dim i As Integer Dim strSQL As String Dim strMonth As String Dim … | |
hey fellow PHP developer, Is there any way we could protect our PHP source code from being modified after a 3rd person receives the code? I had developed a web application and when i give the source code to another person i want it to be write protected. Currently i … | |
i'm learning python currently, coming from c++ and i realized that i can't do certain things like in C++ anyways, i created a class call Object_refs: [CODE] #attempt to make a structure like class using INIT #to define all common variables. class Object_refs: def __INIT__(self, descriptor_type, type, reference_count, flags): self.desctype … | |
Hi everyone, I'm new at C (just started this week), and I'm reading tutorials on line without the help of a book or class. I was wondering if there are common practices most tutorials teach that really aren't good to get into. The tutorial I'm reading now says to use … | |
Here's my scenario I do have many link labels in my form. What I want to happen is, when a user click on that link label, the name of that link label will be passed to a variable. | |
Hi guys. I need some help with this flowchart. Write a program that controls an elevator in a three-story building. Inside the elevator, there are three buttons to make the elevator go to particular floors. Outside the elevator, each floor has one or two buttons to summon the elevator to … | |
Hello, Im newbie at VB and i need help solving my issue please The code i used: [CODE] Dim SaveFile As New SaveFileDialog SaveFile.FileName = "" SaveFile.Filter = "Text Files (*.txt)|*.txt" SaveFile.Title = "Save" SaveFile.ShowDialog() Try Dim Write As New System.IO.StreamWriter(SaveFile.FileName) Write.Write(RichTextBox1.Text) Write.Close() Catch ex As Exception End Try[/CODE] The … | |
[CODE] a=gets.to_i b=gets.to_i [/CODE] this code gets input like this 2 2 but in c++ std::cin will get input after space or \n So how do I make ruby get input like std::cin I am new to ruby and can not find the answer on google so help would be … | |
Hi friends... I have nokia 5233 with symbian OS and GPS system.. I want to do is that the GPS information from the mobile via internet should go to my site (whatever the site)... Please guide me.. | |
I want to be able to generate my own random numbers without using the random module. I want to do this that way I can learn somewhat how to do the big boy code on my own. | |
I have created an application which creates multiple webbrowser controls at runtime...now i want to clean up memory when these webrowsers are deleted see the code below please let me know how can i do it(i have tried dispose method but no luck) Creation on dynamic web browsers on button … | |
I have some question here, how to make vb6 project with nice interface..?? did it must use skin and active skin control 4.3 from component..?? | |
Hi, I am using NetBeans as my IED to make game in JAVA i want to make a line on left hand side this is the code i wrote: Body staticplatform = new Body (world, PolygonShape.makeBox(50, 7), Body.Type.STATIC); staticPlatform.setPosition(new Vec2(-0, -200)); how can i make this line on right hand … | |
I have an access database where one of the fields is named 'mod' and it contains string HEX codes such as AE093C, 00C394, 405FD0 etc. I am trying to use a data control to do a 'findfirst' on this field but I keep getting the error 3077 'syntax error (missing … | |
Hi all, I am bit confused about this question: What is the value of i after the for statement is done? [CODE] int n = 100; int m; n = m; for (int i = 0; i < ; i++) { .. } [/CODE] I tried to write it down … | |
Hello, I have an 'Add' method that validates JTextFields to ensure data has been entered into them as well as checking that certain fields only contain digits. This works perfectly for my add method. But when I try to import it into my 'save' method which is seperate to the … | |
Hi, I'm using Windows and Python 3. I'm having problems using [B]os.listdir[/B] with Unicode. Let's say I have a directory which contains files with Unicode file names. The name and path of the directory itself might or might not be Unicode. When it is Unicode, I can't seem to get … | |
hi there i have problem with my MS SQL server some one execute unwanted update statement on huge table and make loss for my data i fix it by using available backup but, i need to know who,can i do it if there are some logs for sql statement please … | |
I have a databound combobox and I need to get all of the ValueMember values from each item in the combobox. I'd prefer to not change the selected item in the combobox to do this, since each time the item in the combobox changes a few events are triggered that … | |
Hey, I was having trouble making my vector print out randomly generated numbers in ascending order. Can I please get some help?. This is my assignment "Write a program name count.java that will use a Vector to store 10,000 randomly generated numbers (ranging from 1 to 99) Now sort the … | |
i am making a board-game in C# under .NET (i am new in this) now i am at the design stage in my game there are four resources - food, stone, gold & wood - that uses for gathering, buy stuff etc. like in a classic strategy game (age of … | |
Hi everyone! This problem has me stumped. I haven't had to work with php for about a year and I have sure gotten rusty. I have created my array, but beyond that was just doodling ideas to try and put something together...can you offer advice? Here is the problem I … ![]() | |
Hi, I need help about launching a web site in default browser using Borland ( button click = launch google.com, for example ). I found solution valid in DEV: [CODE]ShellExecute(NULL, "open", "http://google.net", NULL, NULL, SW_SHOWNORMAL);[/CODE] But it shows an error if used in Borland: [ICODE]Access violation at address 0A1826C8 in … | |
I have seen similar questions which attempt to solve this issue, but none seem to work for me so far... Basically, for my first VB project, I am creating a virtual keyboard where a sound is played from the resources on KeyDown. So far, the program seems to work except … | |
example i will enter timein: 1:30 timeout: 5:00 how to know their time difference?in timeformat or how to accept a timeformat input from the user | |
Is there is any way or method to get the content of pdf row by row/line by line which help to convert pdf to word using itext api?????????? | |
I want to run an exe file in my project. I mean when I run my codes,a specific executable file run. How can I do that? |
The End.