199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for patk570

Hi everyone, I am working on a site, just one page with all the information on it. What happens now is when I scroll down the page, and I get past the navbar, it gets fixed to the top like I want. Its all working fine, but my question is, …

Member Avatar for patk570
0
137
Member Avatar for edbr

struggling with this update in PDO, i have hacked away at it in frustration, but i cannot see my error

Member Avatar for edbr
0
220
Member Avatar for sundeep.gurroby

Table 'user' fields: UserID* (Primary Key) Address FirstName LastName Email UserName Password UserLevel RegDate Table 'transaction' fields: transactionID* (Primary Key) MonthID UserID (Foreign Key) UserName transactionDate transactionType transactionAmount OpeningBalance Balance Desired output table (for the logged user): transactionDate transactionType transactionAmount OpeningBalance Balance Advance recordset details is like this : <?php …

Member Avatar for sundeep.gurroby
0
329
Member Avatar for mixelplik

I'm playing with all the cstring and string functions, getting familliar with how they work. Below I have a function call to strcata, and all I'm doing is declaring a string within the function, I'm not even using it with anything other than cout. Everytime I run the code it …

Member Avatar for DeanMSands3
0
195
Member Avatar for roryt

Hi everyone. I wondered whether you could help me. Basically i have a list of items in a table. Each item will have a hyperlink on it and i would like it to change the contents of an iframe i have on the page - which i guess means changing …

Member Avatar for abdallah.nofal
0
611
Member Avatar for vodkasoda

I am am experience Mainframe programmer, but new to SQL-Server & learning vb.net so I realise that this is probably very basic ... I have a DataTable called MailTypes which contains 2 Columns, the ID & the Name. I have a DataTable called Leagues which contains a lot of Columns, …

Member Avatar for vodkasoda
0
356
Member Avatar for Labdabeta

Hello, I wrote a library for arbitrary precision arithmetic recently and spent a long time implementing efficient multiplication algorithms. Now I am looking to see if it is possible for me to optimize anywhere else. One place that I thought should be more optimizeable is my division algorithm. Right now …

Member Avatar for mike_2000_17
0
1K
Member Avatar for grakovski

Here is online demo - http://cs-bg.info/news/archive/ I want to show my news like that. (like archive for each year) I want to work with epoch time. Thanks for any help.

Member Avatar for diafol
0
305
Member Avatar for Gabriel_4

Hi, I have some deals with this. I can't make this run. It says that "Microsoft.ACE.OLEDB 12.0 is not registered on the local machine". I tried with diferent providers, but still not running. I tried installing the Access Database Engine Driver, and the application seems that don't want to run. …

Member Avatar for cgeier
0
124
Member Avatar for richkardmunga.hounarable

i just want to enter the world of programming but i didn't know from what i'm starting i took a short look in C also C++ and Java,i just want to get into this nice world

Member Avatar for rubberman
0
104
Member Avatar for chrisschristou

hello every daniweb friend. i have a javascript code which check if a field is empty `onSubmit` it alert a error line 15 but i don't it to alert i want to tag this link to open this html link `<a href="#login-box" class="login-window">Login / Sign In</a>` and i don't have …

Member Avatar for chrisschristou
0
196
Member Avatar for grafic.web

Hi, i did create the following class in my Models folder and i create the Styles controller, everuthing is fine... but muy problem is the following. When i clicK on the link style i got my list of styles and when i click in one style i got the idin …

0
112
Member Avatar for fliponymous

Hello guys. I've seen another thread with this name but it was in C i'm interested to do it in C# okay the program how I can add the digits of a number. Could you give me an idea? **I have source, but i need another source with the same …

Member Avatar for ddanbe
0
378
Member Avatar for Steven_6

I was wondering, how do I make it so users can login. I have an SQL database, I have a VPS, I have a VPS. I just need help setting it up and adding an account.. This is the login form: Public Class Form1 Private Sub FlatToggle1_CheckedChanged(sender As Object) End …

Member Avatar for Begginnerdev
0
309
Member Avatar for CoilFyzx

Hello good day. I have an idea for my program. I have a Table in my display. I want to add a Component to - let's say - the right of my screen. When I click this component it should display to me buttons and other components that I have …

Member Avatar for JamesCherrill
0
532
Member Avatar for Geekitygeek

Hi, I have written some software, one aspect of which is a TCP client. It sends messages to a designated address and port and receives a number of messages in response. This is all working perfectly on some PCs, but on others, it loses connection. I have done some digging …

Member Avatar for Ketsuekiame
0
2K
Member Avatar for mercenar18

I am trying to make the notification Led blink in a certain way and when i run the app from Eclipse with my phone connected it works as expected, but when i run it directly from my phone it doesn't work as it should (showing the colors not respecting the …

Member Avatar for mercenar18
0
587
Member Avatar for swilcox1110

I am very new to visual basic 2010 and am really struggling with it. My assignment is a fat gram calculator and the example is there are 200 calories in the food and there are 8 grams of fat in the food. The calculator gives the percentage of calories that …

Member Avatar for swilcox1110
0
633
Member Avatar for grafic.web

I am learning MVC and i would love to do my web site with different languages... if the site come from my domain mysite.fr i wanna show french, if comes from mysite.it i wanna show italian.. etc etc So, i did all what the e tutorial asked me to do …

Member Avatar for grafic.web
0
464
Member Avatar for Doogledude123

Alright, so I am thinking about an idea of a useless application, however it is interesting me. A 3D "perspective" of color. I know, confusing. But think of it this way: Movement given an x, y, z coordinate. Color given r, b, g = x, y, z I was also …

Member Avatar for Doogledude123
0
292
Member Avatar for Suzie999

I am wrapping the Windows API CreateProcess. Here is my code. int __stdcall _Execute(LPTSTR program, LPTSTR workingdir, WORD show){ // Check if program has content if (!program || !*program){ MessageBox(NULL, L"You must provide path to executable", L"Error", MB_OK); return 0; } // Create buffers and copy program param to szCmd …

Member Avatar for Suzie999
0
324
Member Avatar for kim2_0016
Member Avatar for fliponymous
0
544
Member Avatar for GrantB

I have a Rad gridview that databinds and popluates date according to a seacrh. There is a linkbutton that i want to be able to change on column from saying false to true or vice-versa. Please help protected void rgUsers_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem …

Member Avatar for GrantB
0
315
Member Avatar for Urgent
Member Avatar for glao

I want to pass an array from one cpp file to another. first: void wrapper(float **A,int N){ N=2; printf("Allocating Matrices\n"); *A = (float*)malloc(N*N*sizeof(float)); for(int i = 0; i < N; ++i){ for (int j=0;j<N;j++){ *A[j+i*N] = i; } } for(int i = 0; i < N; ++i) { for (int …

Member Avatar for glao
0
239
Member Avatar for daniel.conlinjr.1

Is there a program for mac that i can use to connect to my mysql Database instead of opening Fire fox and going in and logging in??

Member Avatar for Mark_3
0
361
Member Avatar for Jeff_12

I am new to VB, and I am trying to add data to an array from a textbox and have the data display in a listbox on a different form. Can any body give me some generic examples. Thank you in advance for your time. JLJ

Member Avatar for Minimalist
0
279
Member Avatar for dskumar_85

hai .... i want to upload the image from my system to database without using fileupload , i mean i want to upload the image from specific path for example ("c:\project\image\winter.jpg").. i use the asp.net C#... plz reply for my question ,if any one know's ........

Member Avatar for alireza_4
0
2K
Member Avatar for 404notfound

This is the code I have and I am trying to get rid of the error but there is always an error after error even with me looking it up: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lesson02 { class Rectangle { private double length; private …

Member Avatar for Mike Askew
0
84
Member Avatar for havoc0921

I have an assignment for my cps class in which we have to create a program that will import a file from a server that has a bunch of numbers in it. The program is suppose to take those numbers, sort them, give the minimum and maximum value, average, median, …

Member Avatar for JamesCherrill
0
224
Member Avatar for jalpesh_007

dear all, I just want to know how can i open any jsp page of my project from swing button of jframe. Do i have to use URL class and its methods or i can directly pass localhost address and run it. please reply. Thank you.

Member Avatar for masijade
0
162
Member Avatar for OldDeveloper01

Hello, im trying to make a mulitple choice quiz in for android. Im a newbie at this and i am having some difficulites with the logic. As you can see what i have done below is create two arrays, questions and answers. The first option within each of arrays of …

Member Avatar for muralidhara_1
0
3K
Member Avatar for Compton11

I had a technical interview last week for a Java Software Engineer position. They asked some pretty basic questions such as: 1) What's the difference between an abstract class and an interface? Which do you use more? 2) How does garbage collection work in Java? 3) What is the difference …

Member Avatar for jwenting
0
321
Member Avatar for jalpesh_007

Dear all, I am making MS Access database connection with my java program. As i know that in Connection Following things are required: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:DSNname","Username","password"); Now i have created System DSN in Odbc data connection and also i have attached database with that DSN. While creating DSN, …

Member Avatar for jalpesh_007
0
422
Member Avatar for sushilsth

<?php $query=mysql_query("SELECT model_no,images1 FROM nokia"); echo"<div>"; while ($img = mysql_fetch_array($query)) { echo $img[0]; echo "<img src = cms/pages/images/".$img[1].">"; } echo"</div>"; ?> what is actually wrong in my code.. its not displaying images($img[1]) but it displays the content 'model_no' ie. $img[0]. plz any sugesstion would be greatly helpful...

Member Avatar for kgavhane12
0
372
Member Avatar for shaqib

Hello, i have the following column in mysql table. number | name 123 | ABC XYZ 456 | DEF QRS hre is my mysql query: $query = "SELECT name, extension FROM users ORDER BY name ASC"; $resultID = mysql_query($query, $linkID) or die("Data not found."); $xml_output = "<?xml version=\"1.0\"?>\n"; $xml_output .= …

Member Avatar for shaqib
0
183
Member Avatar for Febel

I need a help in coding this program... write a C++ program to read a set of n numbers where n is defined by the user and print the contents of array in the reverse order using class template, numbers should include int and double data types... please reply soon....

Member Avatar for rubberman
0
187
Member Avatar for PulsarScript

Hi to all,i have to make project with the classes.Can anyone suggest the topic for the project?Or show the idea.Thank you.

Member Avatar for rubberman
0
111
Member Avatar for pekemp23

Assignment is as follows: **Create a GUI-based program to accept name of donor, name of charity, and amount of pledge from the user. Display a list of entries in a JTextArea or JTable. Submit the .java source file or files for this program. Do not use any package statements in …

0
108
Member Avatar for david.roun.7_1

So, I checked the first 5 pages and couldn't find anything like what I'm asking. When a user registers on my site, it automatically creates a new directory and uploads a picture of their choice, to the directory. When the user logs in, the webpage shows their photo, taken from …

Member Avatar for david.roun.7_1
0
261
Member Avatar for sundeep.gurroby

SELECT transactions.UserName, transactions.transactionDate, transactions.transactionType, transactions.transactionAmount, transactions.OpeningBalance, transactions.EndBalance, users.FirstName, transactions.transactionID FROM transactions, users WHERE users.UserName = transactions.UserName AND users.UserName = $_SESSION (['MM_Username' ]) ORDER BY transactions.UserName, transactions.transactionID DESC I am getting syntax error with this code. can anyone help please?

Member Avatar for cereal
0
326
Member Avatar for LooN_iE

[code=Java] package newuser; import java.io.BufferedReader; import java.io.FileReader; public class Main implements ServerConstants { public static void main(String[] args) { BufferedReader lnr = null; String line = null; int N=1000; int totalRecords = 0; String [][] array = new String[N][]; try { lnr = new BufferedReader (new FileReader("LoginData.txt")); for (line = …

Member Avatar for ncmathsadist
0
304
Member Avatar for angel06

Hello guys would someone please help me fix my program. I have two classes the one is named GetValues and the other one is SampleReturn. The GetValues class has an error illegal start of expression in the line `public static String kuhaName()` . The code is below. GetValues class codes: …

Member Avatar for ncmathsadist
0
583
Member Avatar for G_S

I have this: dic = {'ál':1, 'él':2} string = "ÉL" number=dic[string.lower()] and it's giving me a KeyError. I realize then that 'ÉL'.lower() is giving me 'Él', i.e. it is not affecting the É at all because some weird Python 2.x encoding issue. Can somebody help me please? I can't tell …

Member Avatar for G_S
0
1K
Member Avatar for chaitu11

When i reload my registration page, duplicate data gets entered in to database ...should i clear cookies..any solution

Member Avatar for JorgeM
0
106
Member Avatar for StarBreezed

I'm writing a program that works with two sets of numbers put into arrays. The program uses overloaded + and - operators. Array one = 2 7 4 2 9 7 Array two = 2 9 8 9 1 10 12 The output should be: For +, New Array = …

Member Avatar for Ancient Dragon
0
347
Member Avatar for adsegzy

Hello, I uploaded some pictures on my website and i want to watermark them on preview. the watermark file is <?php // Load the stamp and the photo to apply the watermark to $stamp = imagecreatefrompng('images/watermark.png'); $im = imagecreatefromjpeg('imgs/products/picture.jpg'); //needs to be dynamic instead of static // Set the margins …

Member Avatar for iamthwee
0
225
Member Avatar for chrisschristou

hello friends. i have a function in where i move all table content to another table and delete from preview table, the `DELETE` DON'T work i can't understund why but here is my code i need your helps friends all your reply count for me. $query_suppr_panier = sprintf ("DELETE FROM …

Member Avatar for chrisschristou
0
228
Member Avatar for persianprez

Hello all, I get the following error when hitting submit in my form to post to the spreadsheet: > Fatal error: Uncaught exception 'DOMException' with message 'Namespace Error' in /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php:220 Stack trace: #0 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(220): DOMDocument->createElementNS('http://schemas....', 'gsx:') #1 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/Extension/Custom.php(64): Zend_Gdata_App_Base->getDOM(Object(DOMDocument), 1, NULL) #2 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/ListEntry.php(77): Zend_Gdata_Spreadsheets_Extension_Custom->getDOM(Object(DOMDocument)) #3 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(329): Zend_Gdata_Spreadsheets_ListEntry->getDOM() #4 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets.php(336): Zend_Gdata_App_Base->saveXML() …

Member Avatar for Окна
0
227
Member Avatar for bnn678

a1 = 1 a2 = 2 a3 = 3 ....... a10000 = 10000 So, I want to create a function that will autoassign names to numbers. In the the code above, for x in range (desired range): a(quantity of x) = x how do i get my code to call …

Member Avatar for Gribouillis
0
213

The End.