199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tashiDuks

Hi Everybody, I have a desktop application designed (VB.NET 2008 and SQL2005) which consists of user login and some access level for the users. The user class which i have classified are : 1. Administrator 2. Operator 3. Report User This user has got a few access in my application. …

Member Avatar for tashiDuks
0
167
Member Avatar for jakizak

Hey everyone, new guy here, having an issue with a section of code... decided one day to just stop working, nothing was changed. the code is [code] $query = mysql_query("SELECT * FROM products"); while ($row = mysql_fetch_array($query)){ $productname = $row['name']; $productinci = $row['inci']; $productdescription = $row['description']; $functions = $row['functions']; $pid …

Member Avatar for jakizak
0
240
Member Avatar for dheerajlonely

how to add progress bar on button click that i know but how to hide progress bar after it complete till 100% and then on to next form bcoz i tryd but both form appears togather after clicking on button plz solve my problem

Member Avatar for Netcode
0
187
Member Avatar for madhurpandey

hi... i'm a newbie to this community of superb IT professionals.. act i'm doing a project in image processing using c and all i wanted to kno is that,is it possible to do the image processing of a colour image without converting it to a gray scale image and then …

Member Avatar for madhurpandey
0
199
Member Avatar for wolfcode

Hi, I have to write a simple Java code real quick and was wondering how to write the following macro in Java: [CODE]#define BUF 256[/CODE]

Member Avatar for alwinnjavaroor
0
391
Member Avatar for znz

HI, guyz Wordrin if sum one could help! at the moment got code which allow user to input and display in result. but mean time wana allow user to **delete current input data **by providing delete button next to displayd data.......... plz could some one tell me how to,what commend …

Member Avatar for pritaeas
0
122
Member Avatar for Dean_Grobler

Hi there, A thread was started earlier about splitting up a String using the split() method of the string class. Reading that did help me quite a lot in solving a problem of mine that is VERY similiar. Say I have this in a txt file: "Dean Grobler 0794400541 NA …

Member Avatar for Dean_Grobler
0
179
Member Avatar for henryford

Hi I am in a web programming class and have been struggling greatly with this assignment. I am not very familiar with Functions and so forth but I have been truthfully working on this for a few days now. I am at the point where I am stuck. I would …

Member Avatar for richieking
0
152
Member Avatar for ranu jain

Suggest me some lonk for making payment gate way and to set session and authenticate session in my site. i m working in asp.net.

Member Avatar for ranu jain
0
301
Member Avatar for CompSci_Guy

Here is my assignment: [url]https://docs.google.com/document/edit?id=1lf2t8LOqKmXK8tu8lW7ghDOd1IJw9BXBRi_PDXFtPQo&authkey=CLnyu7UE&hl=en#[/url] Here are the other classes I am using: [url]https://docs.google.com/leaf?id=0B_UHOsQPEyMBNDBhMWExNTgtMTJmNy00MTQxLWI1ZGItMDZiZjM3YTZiZjRi&authkey=CP2ujcoM&hl=en[/url] I am receiving a NullPointer on line 53: regularNumbers.enqueue(i); But, I am not sure why. Additionally, I need to display my results 12 primes per line, and a space between each. Suggestions? Thanks all for taking …

Member Avatar for haranaboy
0
160
Member Avatar for DCYPHER

Hi, everybody I wonder if you can help me with a program in visual basic. I have to write a program that does a count down on the number of seconds you entered in the GUI I have most of the code and it basically has to countdown the seconds …

Member Avatar for AndreRet
0
127
Member Avatar for sumisudhakar

I am currently working in an ASP.Net application where i need to implement ASP.Net Membership and Roles. I have used Login controls in my pages. Also I am using a menu in the master page, which is getting data bindings from database. For data bindings I am using XMLDatasource and …

0
156
Member Avatar for pharoah85

Im new to c++, Ive been plowing through books,web,etc. Many of the things im learning seems redundant but being new as I am I figure that it stems from lack of knowledge. Now finally my questions...Whats the significance of using pointers to reference variables when i could just flat out …

Member Avatar for pharoah85
0
186
Member Avatar for jackparsana

Hi, Please me to do this. I have one Webapplication. its build on vs 2010 and back-end is MsSql server 2008 and create setup for installing in another Standalone PC. The Problem is I can't run Application without installing Vs? is there any solution? can I run setup without install …

Member Avatar for jackparsana
0
213
Member Avatar for kezkez

what is the best way to display an arraylist? i am currently trying to display it in a textarea but not sure what method to use... [CODE] class Action2 implements ActionListener { public void actionPerformed (ActionEvent e) { String name = field2.getText(); String homeworks = field3.getText(); String exams = field4.getText(); …

Member Avatar for JamesCherrill
0
191
Member Avatar for nsam

Hi, I want to update one of my tables in a database, when the user checks the checkbox. I am running update query for the same.When I echo that query, I came to know that it is not taking the checkbox name .. Can someone please help me out with …

Member Avatar for vibhaJ
0
2K
Member Avatar for arun_l

We are getting these constraint errors wherver OSAF calls like m_NCS_SEL_OBJ_ZERO(&nSelObjSet) is called in our code. This is while cross compiling using tilera compiler - tile-g++. With g++ it always compiles fine. Any pointers would be helpful. Sample Code: 102 // initialise and set selection object set 103 m_NCS_SEL_OBJ_ZERO(&nSelObjSet); 104 …

Member Avatar for arun_l
0
156
Member Avatar for benhowdle89

[CODE] $datef = (date("Y-m-d",mktime(0, 0, 0, $_GET['year'], $_GET['month'], $_GET['day']))); $datel = (date("Y-m-d",mktime(0, 0, 0, $_GET['year1'], $_GET['month1'], $_GET['day1']))); echo $datef.$datel; $result = mysql_query("SELECT f8_0, n7_91, t_stamp FROM westdrayton WHERE t_stamp BETWEEN '".$datef."' AND '".$datel."' limit 20"); [/CODE] I have this PHP code to try and grab records from between the two …

Member Avatar for monica singh
0
107
Member Avatar for ADIKTED

how can i create a application that will compute fot the net income of a particular employee here is a sample output: Name:Vernie G. Lopez Position:Manager Rate:500 No. of Hours Worked:40 Gross=20000.00 Deductions: Bonus=1000.00 SSS=2000.00 Medicare=100.00 Tax=3000.00 Net Income==15900.00 Total Deduction=5100.00 .you have to accept name,position,and number of hours worked …

Member Avatar for Eric Cute
0
93
Member Avatar for StaticX

Hello DaniWeb, Basically like the title suggests I am having trouble generating a random element from my array, and storing it in another array. I am quite new to Java, and the api is a little confusing but from what I can see there is no method for this. Searching …

Member Avatar for Eric Cute
0
182
Member Avatar for lanitooot

i dont know how to make my log in system to have a multiple users with different access levels. for example when the admin logs in it can access all the features of the system and if the ordinary users logs in some of the features are disabled. my log …

Member Avatar for lolafuertes
0
1K
Member Avatar for andrew37

I have a big problem using the default SQLite database via JDBC driver.I would like to use ORMLite with this.Let me expose my code: [CODE=java]String databaseUrl = "jdbc:sqlite:/data/data/my.package.name/db.sqlite"; Class.forName("SQLite.JDBCDriver"); DriverManager.getConnection(databaseUrl); dataSource = DatabaseTypeUtils.createSimpleDataSource(databaseUrl); databaseType = DatabaseTypeUtils.createDatabaseType(dataSource); databaseType.loadDriver(); UpDao = new UserProfileJdbcDao(databaseType); UpDao.setDataSource(dataSource); UpDao.initialize();[/CODE] I downloaded the ormlite2.8.jar (src) and modified …

Member Avatar for graywatson
0
135
Member Avatar for someshdhaka

hello all i am new to C# i want to enter a datetime value in table but when i give datetime datatype in insert statement it is not displaying any error while executing but when i see the inserted value in my table it shows 1900/01/01 i want to enter …

Member Avatar for someshdhaka
0
2K
Member Avatar for sahil1991

hi to all, i was looking for some objective type questions on c++ on the internet............ i got few but some with wrong answers and some with no answers at all....... i would love to hav some e-book on it or a larger question bank with answers........suggest me some links …

Member Avatar for Ancient Dragon
0
173
Member Avatar for nickx522

I need help on "for" statement .Im doing exponents. I did a while statement already in which i checked if base is in range. help please. [CODE] for(int count = 0; count <=Expo; count++) Total1 = (dont know what this should be?) cout << setw(45) << "Total : " << …

Member Avatar for WaltP
0
203
Member Avatar for allizzee

I don't know how to make the computer play against me. Before I write more, anybody online right now to help. thx

Member Avatar for WaltP
0
116
Member Avatar for mikeandike22

I am trying to collapse a sidebar with Jquery I have accomplished this with a simpler example but would like to incorporate it into a more complex document here is the code [CODE] <aside id="leftColumn" class="left sideBar"> <!--Thing I want to Collapse--> <nav class="leftNav"> <ul class="align_right indiBtn"> <li class="dashboard"><a href="#" …

Member Avatar for mikeandike22
0
199
Member Avatar for Nathaniel10

OK. I thought I understood pointers and such but this exercise is revealing that I do not. The task is to read characters into an array created on free store memory (heap), then print them out using the reference and dereference operators. My code (below) compiles and runs but does …

Member Avatar for Nathaniel10
0
126
Member Avatar for GregPeters

Hi all. I have recently been learning C++ and have gained a moderate understanding of how things work. Texts files seem to confuse me though so i was wondering if someone could help me out. :) Basically I have a text file which looks something like: [CODE]** <Question> What is …

Member Avatar for csurfer
0
242
Member Avatar for christiancillo

Hello everyone! I am developing an application with an Access DB, and i'm having trouble retrieving data from the db, i want to count how many operations have been made through two dates that i'm passing from a datetimepicker, and i can't manage to do it, since i keep getting …

Member Avatar for kvprajapati
0
87
Member Avatar for honberiz

I've written the code to determine if a year is a leap year or not, reading from a file, and printing to a file, and telling how many years were checked. I'm having trouble figuring out how to convert it to utilizing functions in the program, for the actual calculations …

Member Avatar for Adak
0
158
Member Avatar for lilsmurf

I am working on this program and can't get my InvalidTestScore exception to work. Please help! [CODE] public class Grades extends Exception { // Begin public class Grades private double[] testScores; /** Constructor @param scoreArray An array of test scores */ public Grades(double[] scoreArray) // Assign the array argument to …

Member Avatar for BestJewSinceJC
0
200
Member Avatar for slychronic

Gooday i have a question to make a program using the connect function and all i hve done is below. how do i complete the the first loop and the second loop...on what i should do next here is my code so far, explaination will be appreciated....[CODE] #include <iostream> using …

Member Avatar for mike_2000_17
0
163
Member Avatar for Maxprotect

Hey guys. Before I describe my problem, I'd just like to say that I'm completely new to programming, and I'm currently in the first year of my program. I have an assignment to create a "Lottery winning program". The program generates a random seven digit number, and matches it to …

Member Avatar for Maxprotect
0
2K
Member Avatar for glfnute

This is the usual "I'm new to XSLT and need help" plea ... I am trying to parse an XML document and create a "like" structure as output while performing some mapping functions. In trying to produce the output structure, I cannot seem to figure out how to get at …

Member Avatar for fpmurphy
0
126
Member Avatar for travist

Hey all I'm a student and I need to check a div's class. This seems like it should work but it's not... Help please! :) <script type="text/javascript"> function findout() { alert('function works'); var var1 = document.getElementById("div1").className; if (var1.value == "special") { alert("div1 has special as a style"); document.getElementById("div1").className = ''; …

Member Avatar for Airshow
0
105
Member Avatar for matt4682

What I am trying to do is test the values of two variables, and if one is lower than the other then it will display an error message. When the user clicks okay it should return from the error pop-up back to the previous form... When I enter System.exit(0); or …

Member Avatar for matt4682
0
132
Member Avatar for jalenamichelle

what is wrong with this? i keep getting an error that says error C2059: syntax error : 'if' && error C2059: syntax error : 'else' [code] int main (void); void menu(void); int getChoice(void); int *year, *day, *month, julianday; int dayspermonth[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, …

Member Avatar for WaltP
0
98
Member Avatar for vb.net beginner

hello all.. i'm new ni vb.net i need help. i got problem how to pass datagrid value to textbox. i have two from. Form1 is textbox and form2 is datagrid. what i want to do is to pass the selected value from datagrid(form2) to textbox(Form1). im using vb.net 2003 thank …

Member Avatar for vb.net beginner
0
200
Member Avatar for dwhite459

I am trying to write a program that allows the user to input positive integers between 0 and 1000 and then outputs the highest value and the lowest value. The user should enter -1 to signify the end of their input. I am supposed to use a loop to achieve …

Member Avatar for WaltP
0
6K
Member Avatar for -ordi-

[CODE]f = open("summatest.01.sis", "rt") n = (f.readline()) jada_elemendid = f.readline().strip().split(' ') otstav_summa = f.readline().strip() f.close() # Valjund vfal = file("sum.val", "w") lmargid = [] def otsi(k): if (k < n): print n k = k + 1 lmargid.append("+") if otsi(k): return True lmargid.append("-") print lmargid else: z = jada_elemendid[0] for …

Member Avatar for woooee
0
137
Member Avatar for tet3828

I'm looking for some suggestions on how to approach this windows form based application I'm in the very beginning stages of writing. Bare in mind Im still at the Hello World level of C#. How should I populate a listbox with mock names for all jpegs in a folder whlie …

Member Avatar for agrothe
0
131
Member Avatar for sharifyboy7

For my program I am supposed to implement an encryption and decryption algorithm. I then have to print it out using my functions I have to read the input from a file, “plaintext.txt” The file will contain plaintext strings that are all lowercase, and be of the format: 3 hello …

Member Avatar for hag++
0
264
Member Avatar for eman 22

as I read in javadoc resultset represents a table which contain database therefore I want to know if there are a general way to iterate this result set and return data of it. on other side the interface result set contain method getString(int coloumindex), how can I implement this method?

Member Avatar for Ezzaral
0
95
Member Avatar for arya6000

Hello I posted this in another forum but got no answer so hopefully someone here will be able to help. I'm trying to use a reportviewer in my windows form application and I can't find a way to add items to the reportviewer object. Can someone tell me how this …

Member Avatar for arya6000
0
84
Member Avatar for Danny247

I have an AJAX chat that I am trying to edit. Originally, the users are stored in a php file. I'm trying to make it get users from a database. Here's the original users.php file: [url]http://pastebin.com/mgbQjHyK[/url] Here's what I've tried: [url]http://pastebin.com/kXgVLuyG[/url] Can someone tell me what I'm doing wrong? [hr] …

Member Avatar for Danny247
0
183
Member Avatar for sabiut

Hi, i am try to read from a file and then split the data and store them in array but i am getting an error. can someone please point to the right direction here is the file i am trying to read from 8 223432,YNYYYYYYYYYNYNYNYYNY- 623123,YNYNYNYYNY--YNYNYYNY 912234,YYYNYNYNYNYYNYYNYYNY 612356,YYYNYFYNYYNYYNYYNYYN 165478,YYYNYYYYY-NYYNYYNYYN 612321,YYYNYFYNYYNYYNYYNYYN …

Member Avatar for sabiut
0
137
Member Avatar for rashmideesh

hi.. i'm writing a program where a file contains a set of phonenumbers. when a customer buys a number that particular number has to be deleted from the file. i'm able to delete that number but when the next customer comes that number is still available. even though the number …

Member Avatar for Adak
0
171
Member Avatar for soccer13

Hey, What I need to do is read a file- it will have a name and several numbers after, with -1 as a sentinel number to signal the end of line, ex: Rogers 15 22 6 12 -1 Myers 23 10 4 22 34 -1 ... .... ..... What I …

Member Avatar for soccer13
0
120
Member Avatar for serkan sendur

i searched google to do this and mostly i found this solution: [CODE]mydiv = document.getElementById('FirstDiv');while ( mydiv.firstChild ) mydiv.removeChild( mydiv.firstChild );[/CODE] instead of doing such iterations, i basically did this and it worked successfully: [CODE]document.getElementById('FirstDiv').innerHTML ="";[/CODE]

Member Avatar for asdasdasdasdfsd
0
121

The End.