199,114 Archived Topics
Remove Filter ![]() | |
what is basically a QUERY STRING ? how its beneficial and what is its scope ? | |
Hello, I would like to be able to Read from a CSV file that will have "fields", lets call them ID, Name, Price. I want to be able to create a seperate XML file for each row in the CSV file. Right now, i have it so it will read … | |
I am in first sem in university.. and i can't do it alone ~~ http://www.mediafire.com/view/?1nqlfsuc3nrg4cc any one can help to solve those 3 questions or any one ^^ | |
**Hi all. Im new to visual basic. im using vb 2008 express edition what im trying to do is take everything in my database and put it in my datagridview. The datagridview can be edited. From there, i want to make the changes then save them later. So my question … | |
how to assign roles to users in Database ? mean i have admin, applicant ? so how could i differentiate bw them ? HELP !!! | |
I'm trying to create dynamically text box in WPF. It is very essential that I will have the flexibility to determine where the text box will be - in pixel level. I have found many answers which use stackpanel to create "run-time" text box - but couldn't find how to … | |
I am working on an online project ...... i have two links on one of the page..... say home page.... having two links One Say Shirts and Other Say Casual Shirts.... So when user click on Shirts he will be shown all Shirts from Shirts Table for men and when … | |
Hi there, I am working on a website at the moment and I am using the firefox console quite a lot. I am in the process of testing a script and I have noticed something really odd, hopefully somebody might be able to tell me whether there is something I … | |
Hi Guys I have a select form element which splits an hour up into 4 segments like so '0.15' => t('0.15'), '0.30' => t('0.30'), '0.45' => t('0.45'), '1.0' => t('1.0'), but when it adds it to the database table i get funny input like 14.6 after adding the 0.15 which … ![]() | |
I have a small program that works when I hit start. I want to add two fields. One being a hard coded username and another taking the timer (after it has stopped) and recording it to a table in SQL. I'll have two tables. One called "username" and another called … | |
Hello, I have a Form A, Form B, Form C. . . and FormSearch. FormSearch can be use by A,B,C... The purpose of FormSearch is to display data in search for the data you want depending on the query that have been pass on it example FormSearch has a method … | |
While I was trying to write a small program to preview DjVu files I encountered a peculiar problem. This is a small function that renders a page of a DjVu document into QImage class of PyQt4. import djvu.decode as DjVu from PyQt4.QtCore import QImage from PyQt4.QtGui import QPixmap, QApplication, QLabel … | |
All, I can't seem to find a good example of how to work with databases in C#. I'm using sqlserver and I can do simple things like insert and retrieve data, but when I am retrieving data I have to refer to the ordinal index values of the columns (reader[0], … | |
I am trying to resize the widths of the columns in a JTable. I would need to resize them when the program is running to see the full column header names. I want to resize table of database showing in swing frame. I have tried table.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS) But i dont get … | |
Write a C++ program that calculates and displays the yearly amount available if RM1000 is invested in a bank account for 10 years. Your program should display the amounts available for interest rates from 6 to 12%, inclusive, in 1% increments. Use a nested loop, with outer loop having a … | |
| |
I have a class which extends JFrame and this class is made singleton (private constructor, public static method to create instance if null). But still I get one more frame when already one is open. Can someone help? | |
Hey, Iv been looking around for a simple way (meaning less than 10 lines) to reverse the order of my bytes in a byte array. At the moment my code is: public byte[] outputarray() { byte b[] = new byte[10]; ByteBuffer buf = ByteBuffer.wrap(b); buf.putLong(output); } The problem is that … | |
TrafficMad Dear Sir, I am trying to help a friend develop a “ prize page” for an existing site. While researching this I came across a script that I think this script could be adapted for my idea without too much trouble. Below my signature is the old “Lets Make … | |
Try Dim I As Integer For I = 0 To DataGridView1.Rows.Count - 1 Dim ordernumber As String = DataGridView1.Rows(I).Cells(0).Value Dim repairinvoice As String = DataGridView1.Rows(I).Cells(1).Value Dim itemname As String = DataGridView1.Rows(I).Cells(2).Value Dim orderedquantity As String = DataGridView1.Rows(I).Cells(3).Value Dim itemcost As String = DataGridView1.Rows(I).Cells(4).Value Dim saleprice As String = DataGridView1.Rows(I).Cells(5).Value Dim … | |
TrafficMad Dear Sir, I am trying to help a friend develop a “ prize page” for an existing site. While researching this I came across a script that I think this script could be adapted for my idea without too much trouble. Below my signature is the old “Lets Make … | |
I have recently started coding in VB.Net and started using the Try-Catch style of exception handling available in .Net, which I admit is very similar to the exception handling of C++, so it is not all that unfamiliar. In my VB6 code, which I have been using up till now … | |
hii, i m facing problem in logout code in asp.net c#. please give the code which can do:- 1) session end 2) when pressing back button after logout it should be redirect to login page. 3)by pasting url of somebody's account in address bar it should not enter in the … | |
Is it possible to make a text file or separate class file that could be imported as lines of code. e.g. I have this simple line of code: Dim x = 0 messagebox.show(x) Import(text file or other file) 'run the code from the other file 'resume code in this file … | |
Hi, Recently I was working in photoshop, And photoshop is really great application. After using it for weeks, I am thinking about learning the logic behind the way it works. I tried few articles which was just about converting image to black n white, matching two exactly same images etc. … | |
Hi folks, I have encountered a new problem in my development environment , this might be a very simple part to be configured but no clue so looking for suggestion from you people , So my questions is I use ASP.net and C# recently i encountered that all my design … | |
Hello everybody I would like to load an image from my documents and display it in a pannel and select a part of my image a rectangle for example and save it, I saw your response Ezzaral it's very interesting but the problem is that I can not integrate it … | |
How It Will Be done ? | |
This is my program TimeCheck.java i am developing using NetBeans IDE 6.8 When i run it gives me following error: Class "TimeCheck" neither has a main method nor it is a servletspecified in web.xml I didnt find anything specifying Servlet to add so added it here. following is my TimeCheck.java … | |
Hey guys, I have a form with fields and a file upload input which saves the uploaded file to a folder (/images), adds some random numbers to the filename and inserts the filename into a mysql DB. I'm just not sure how to add file type validation into this form. … ![]() | |
First statement: int[] it = new int[][]{{1}}[0]; //Valid Statement Second statement: int[][]it2 = new int[]{0}[0][0]; //Invalid Statement First one no explanation given. Second one is invalid because it attempts to access a two-dimensional object from a single dimension array. My query: 1. First of all can someone please interpret those … | |
![]() | I keep taking the test over and over I get 2 out of 10 correct. I think something is wrong with the test can you list me the answers so I could take it if it's wrong then i can contact the admin and tell him his test is not … |
I have some line of javascript which is works well if it gets value from the same series of names. But I have a problem later when each values passed to another page which I'd like to break down which value is belongs to. So the question is how can … | |
Hello! I am trying to figure out how to dynamically generate div ids, and then use onclick in correspondence with an image to pull up the correct div. I have been stumbling on this for two weeks and don't know where to turn at this point. Below is the current … | |
Does anyone know of a way to invoke the DOS "ROUTE" command(s). I have written a .bat program that adds routes, but I want to take a particular interface from my ROUTE PRINT output and then ROUTE ADD the routes to that interface. Since that interface is dynamic due to … | |
Hi everyone, Trying to do a subquery to select the minimum price from table1, table what holds 15 million rows. I think that my approach is not the most suitable way of doing this. I want to select after oen_norm because oen_norm may have 1-10 rows per entry, but I … | |
Hi everyone, I am using PHP and Mysql to make a small inventory program. I have a problem with end_stock field. Detail: I have 2 tables: 1. Receiving: ID_Receive | ProductID | Date | Quantity | Price 1 | A | 01/07/2012 | 5 | 1500 2 | B | … | |
Good day! I have this code that is assume to get the difference in time. Is it possible to get the difference of from a string time variable? Or, whats the best way to implement this? #include<iostream> using namespace std; int main() string timediff, timein, timeout; cout<<"Enter player time-in between … | |
Here's thought I had while working on a project for a Visual Basic class. First off, we were required to create an application that shuffled and dealt a poker hand of 5 cards out of a 52 card deck. The code we are using to generate the seed for the … | |
hi, i want to make a program where the csv file directly insert into the mysql database table. i found the code: [CODE]<?php include 'mysql-connect.php'; $rec=0; $handle = fopen ('datafile1.csv', 'r'); while (($data = fgetcsv($handle, 1000, ',', '"')) !== FALSE) { $rec++; if($rec==1) { continue; } else { $query = … | |
Hi All, I'm handling a code which is having signed decimal values(eg: -123.456)stored in a cheracter string.While performing numeric calculations on this field, need to check whether all digit is numeric.Can anyone help me. Your co-operation greatly appreciated. NB: There is strict instruction to store these values in char string.Not … | |
Dear all, I have a website in which I am using the following htaccess code to hide the file extension RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I then manually removed the .php extension from the entire website. Now when I am generating a site map … | |
Hi,everyone I am trying to develop a simple program that will register Users with the following requirements as reflected with the fields on the interface: imgPassport.Picture ‘This is the Image for accepting Passport Size provided by the user lblPicture_Name.Caption = "User's Passport Size" ‘This is the Label to display the … | |
Hi All, I am newbie to XML. I want to create only one XML file each day automatically using php function with the following format. I want to use the same function for appending the follwing portion into the existing XML file ## This portion need to append whenever the … | |
hello every one, this is my first post in daniweb and i'm so glad to join you guys. for my final year in computer science i'm working in speech recognition as an application in android mobiles..... i really have some issues like where to start and what helping libraries is … | |
Hi every one. I have a problem with combinning two scripts. Fisrt script is working perfectly and taking stuf from mysql: function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new … | |
I am a new php programmer it’s little difficult for making some coding for an advance website, if you can post a tutorial on creating an advance website it would be a great help. | |
Here's my code: #include<stdio.h> #include<conio.h> int main(void) { int a[100][100]; /* initializing matrices to '0' */ int b[100][100]; int c[100][100]; /*matrix-c for multiplication*/ /*r1,c1 are rows and coloumns for matrix-a.r2,c2 for matrix-b.*/ int r1,c1,r2,c2; int i,j,k; clrscr(); printf("enter the no of ROWS and COLOUMNS for MATRIX-A\n"); scanf("%d %d",&r1,&c1); printf("enter the … | |
hello ! recently i complete my project management application in .net , now i want to make a attractive main form , i google alot and searching attractive interfaces of application of same domain. i want to you to guid me or if possible then give some links . you … | |
hi everyone :) i know how to show all the records from database in an html table but how would i show specific category.for example i want to show records only with type T (type T is in database).im new with php and i dont know how to do it … |
The End.