199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for HunainHafeez

what is basically a QUERY STRING ? how its beneficial and what is its scope ?

Member Avatar for HunainHafeez
0
125
Member Avatar for hellerz85

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 …

Member Avatar for nmaillet
0
515
Member Avatar for fahad.alsharafi.1

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

Member Avatar for deceptikon
0
133
Member Avatar for jerviejeb

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

Member Avatar for kRod
0
117
Member Avatar for akkbkht

how to assign roles to users in Database ? mean i have admin, applicant ? so how could i differentiate bw them ? HELP !!!

Member Avatar for HunainHafeez
0
324
Member Avatar for melanushka

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 …

Member Avatar for nmaillet
0
2K
Member Avatar for crazydevelopervish

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 …

Member Avatar for nakor77
0
123
Member Avatar for Violet_82

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 …

Member Avatar for Troy III
0
111
Member Avatar for maori

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 …

Member Avatar for diafol
0
87
Member Avatar for gameover9

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 …

Member Avatar for hericles
0
333
Member Avatar for semicolon

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 …

Member Avatar for hericles
0
161
Member Avatar for britanicus

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 …

Member Avatar for Ene Uran
0
485
Member Avatar for WDrago

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

Member Avatar for Pamilerin
0
168
Member Avatar for heenakashyap

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 …

Member Avatar for heenakashyap
0
164
Member Avatar for princess128

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 …

Member Avatar for np complete
0
175
Member Avatar for bigzos
Member Avatar for rajesh1158

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?

Member Avatar for bibiki
0
682
Member Avatar for trishtren

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 …

Member Avatar for trishtren
0
3K
Member Avatar for wheels031799

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 …

Member Avatar for wheels031799
0
94
Member Avatar for smitty68503

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 …

Member Avatar for Maligui
0
3K
Member Avatar for wheels031799

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 …

Member Avatar for wheels031799
0
159
Member Avatar for Nutster

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 …

Member Avatar for Maligui
0
3K
Member Avatar for vikas05nitb

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 …

Member Avatar for thewebhostingdi
0
2K
Member Avatar for megax24505

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 …

Member Avatar for Maligui
0
206
Member Avatar for Sahil89

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

Member Avatar for Maligui
0
152
Member Avatar for kamilacbe

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 …

Member Avatar for JorgeM
0
273
Member Avatar for mia16

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 …

Member Avatar for mia16
0
203
Member Avatar for hcbckwidpeace93
Member Avatar for vinnitro

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 …

Member Avatar for vinnitro
0
946
Member Avatar for dnbmadness

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

Member Avatar for diafol
0
150
Member Avatar for rahul.ch

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 …

Member Avatar for rahul.ch
0
161
Member Avatar for napninjanx

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 …

Member Avatar for Momerath
0
259
Member Avatar for nobuts

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 …

Member Avatar for Taywin
0
2K
Member Avatar for jckb188

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 …

Member Avatar for Taywin
0
503
Member Avatar for JCSAYRE

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 …

Member Avatar for azam575
0
229
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for Szabi Zsoldos
0
149
Member Avatar for ngocham2001

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

Member Avatar for dinacristi
0
114
Member Avatar for PinoyDev

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 …

Member Avatar for deceptikon
0
437
Member Avatar for jpunkins

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 …

Member Avatar for Nutster
0
350
Member Avatar for sandipan.rcciit

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

Member Avatar for sujitri
0
300
Member Avatar for Remzz

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 …

Member Avatar for Remzz
0
210
Member Avatar for smarty470

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 …

Member Avatar for smarty470
0
189
Member Avatar for Bile

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 …

Member Avatar for AndreRet
0
311
Member Avatar for cacofonix

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 …

Member Avatar for pritaeas
0
414
Member Avatar for mamdouhweb

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 …

Member Avatar for phorce
0
375
Member Avatar for kaito-poland

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 …

Member Avatar for kaito-poland
0
143
Member Avatar for juliadavis_2012

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.

Member Avatar for xjshiya
0
222
Member Avatar for adityasingh95

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 …

Member Avatar for JasonHippy
0
4K
Member Avatar for M.Waqas Aslam

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 …

0
164
Member Avatar for Riu 2009

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 …

Member Avatar for Riu 2009
0
2K

The End.