199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JOSheaIV

So we have this software that we can use a Telnet client to tap into, sending and receiving data in VT220. The software when it initally connects, connects to port 23, and you simple send it an \r command, and which point you are then repointed to a login screen. …

Member Avatar for JOSheaIV
0
204
Member Avatar for Genius11

The problem is while i execute my code the function modifiko_note(); doesn't work in a proper way. It execute with errors.`` #include<stdio.h> #include<stdlib.h> #include<string.h> #include<sys/stat.h> #include<conio.h> struct student{ char emri[20]; char mbiemri[20]; int nota[100]; int grupi; }stud; struct lendet{ char emri[20]; int kredite; }lenda; FILE *bin; FILE *file; void regjistro_lende(); …

Member Avatar for Mayukh_1
0
358
Member Avatar for sfwr

this line returns `lvalue required as increment operand` error message with gcc-4.7 hwrcolor c; u8 *dest; *(((unsigned char *)dest)++) = c; I changed it hwrcolor c; u8 *dest; *((unsigned char *)dest) = c; dest += sizeof(c); and u32 * u32Dest; hwrcolor c; u8 *dest; u32Dest = ((u32 *)dest); *u32Dest = …

Member Avatar for Mayukh_1
0
682
Member Avatar for masaker

**Student and Courses Record Management System (LinkList of LinkList)** In this Assignment you need to create a small student and courses record management system with following functionalities. 1- Add New Student This function will allow you to add a new student record,you can use any three attributes of your choice …

Member Avatar for David W
0
2K
Member Avatar for sam_7

my confirm button action listener is not printing the username and password even though I added a Actionlistener for it. please help thanks. Codes LoginDialog.java import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JPasswordField; import javax.swing.JTextField; @SuppressWarnings("serial") …

Member Avatar for sam_7
0
395
Member Avatar for Abdullahi_1

please i need urgent help on how save a form as pdf in vb10, all the code and seeing are c# and i dont understand them. i meean, if i run a program i will press save on the form that i am an save it as pdf to my …

Member Avatar for Lethugs
0
188
Member Avatar for nadiam

I am trying to pass a value from a hidden input using ajax but console says whatever im doing is not a function `Uncaught TypeError: "#name".val is not a function page.php:35` which is this line : `var name = ("#name").val();` html: <input type='hidden' value='$newname' id='name'> ajax: var name = ("#name").val(); …

Member Avatar for nadiam
0
3K
Member Avatar for khalid_5

i try to compile this programme and thasn't work :p i think that the problem come from the string fonction (int r=strcmp( CL[j].nomC , cl);) #include <stdio.h> #include <conio.h> #include <string.h> struct etudiant{ char nom[7]; char prenom[7]; float not1; float not2; float not3; float moy; }; /*struct branche{ char nom[10]; …

Member Avatar for David W
0
256
Member Avatar for garyrichard

Dear Experts. I have a domain registered www.example.com and a subdomain subdomain.example.com and a subdomain mail.example.com I want my subdomain to redirect to another ip and domain should be redirected to another ip Like mail.example.com --> gmail.com example.com-->173.00.158.** subdomain.example.com -->> 154.**.589.46 Please help me.. Thanks in advance

Member Avatar for garyrichard
0
107
Member Avatar for laguardian

Hello guys! So I'm trying to create this online shopping system for a project. I was wondering if there is a way to gather user input piece by piece then consolidating them in an ArrayList? The first part I'm working on is the registration part. I'm planning to make the …

Member Avatar for jwenting
0
205
Member Avatar for berserk

I am having no luck with this code but for some reason i can get this element to work but not the other one. here is my code. <td><a onclick="javascript:approve_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-success" name="yes_account" id="yes_account">Approve</a></td> <td><a onclick="javascript:decline_account_function(<?php echo $row['id'];?>, <?php echo $rownumber;?>)" class="btn btn-danger" name="no_account" id="no_account">Decline</a></td> …

Member Avatar for bnmng
0
490
Member Avatar for ms95

I have written a Makefile which compiles my mini-os with another application. I have to use -nostdioc and -nostdlib to compile them, but the problem is, that application is using stdio/stdlib functions and when I run my Makefile I get the error message that the functions used by my application …

Member Avatar for Mayukh_1
0
301
Member Avatar for Manel_2

Hi i made a jquery mobile website, but when i upload it to Phoegap and test, i can't connect to the database. I'm using the Dreamweaver login form in php, and loading from a database. Code to load from database: <?php // *** Validate request to login to this site. …

Member Avatar for peter_budo
0
209
Member Avatar for rohtashrathore

Hi All, I want to save values into database through a jdialog when the save or add event clicked.This is child container of jframe which are having many submenu lateron i will add values to these jtable in main menu(jmenu)

Member Avatar for rohtashrathore
0
79
Member Avatar for danibootstrap

Hello, I am caputing sound from a codec using a microcontroller and sending it over to the laptop using a serial port .Now I want to use this buffer of values to regenerate the captured sound in Windows using C/C++. I have no idea about how to do it?Can some …

Member Avatar for Mayukh_1
0
198
Member Avatar for nadiam

Hi. Im trying to update a page with a form using AJAX but it isn't working. Nothing happens. I have a table and one of the columns has an anchor tag like this`<td><a href='#' value='$name' class='request' onclick='request(".$name.")'>$status</a></td>` so when the user clicks on Request a form opens up via ajax. …

Member Avatar for nadiam
0
381
Member Avatar for centenond

So i have 2 players on screen and a player send a attack, what i want is that if x,y are different of x,y destPos move only diagonal towards the destination position. if just x is different well move x only, same with y. I know i have to some …

Member Avatar for JamesCherrill
0
113
Member Avatar for hrushi9

I'm beginner to wordpress I'm writing Business Directory Plugin for test from scratch. I have category page with database. how to add image support for categories? I got error while uploading images. *"File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled …

0
130
Member Avatar for Aref_1

Can you help me to add Next and Previous Buttons to this code please: Imports System.Data.SqlClient Public Class Form1 Dim id As Integer = 0 Dim idindex = 0 Dim command As SqlCommand Dim adapter As SqlDataAdapter Dim builder As SqlCommandBuilder Dim ds As DataSet Dim table As DataTable Dim …

Member Avatar for mikeybware
0
489
Member Avatar for scomx

i have done a project is a web browser uses a sql server 2008 as a back end so i want make setup file for that project to work in a computer that has'nt sql server , in onother word i want bind my database with the project and make …

Member Avatar for mikeybware
0
692
Member Avatar for killingmonk

I have this .js file called by my page. The function I'm caling with my onclick is working before the button is clicked. window.onload = function() { document.getElementById('clickMe').onclick = testOne(); } function testOne() { var para = document.getElementsByTagName('p'); var length = para.length; for(i=0; i<length; i++) { document.writeln("+"); //document.getElementById(para[i]).style.font = "Arial"; …

Member Avatar for Matt_17
0
211
Member Avatar for Trabelsi

Hi, first, sorry for my english i am not good at all, I am trying to create a form that contains two drop-down lists , the first is related to the second list , I noticed that the first list of data ( joursemaine ) appears as a question mark …

Member Avatar for Trabelsi
0
255
Member Avatar for alexx006

Hi everyone, I’m beginner and I need a little help. I have to make RPN (postfix) calculator using stack which is implemented by singly linked list in C. Now I found that but in C++ and I’m having trouble translating it to C. Can you help me getting things to …

Member Avatar for Schol-R-LEA
0
297
Member Avatar for Simon180

I have some source code done back when time first started and long before unicoding of a old gaming/chat system used mostly in 90s knowing to millons of young gamers as mplayer.com now questions I have is the server side was coded for Solaris Sparc/Intel server core using Sun workshop …

Member Avatar for Simon180
0
232
Member Avatar for Darth Vader

Hi, I wonder if the below code I have take up "2 threads" on the processor. In the Form1_Load event I call "startProcess". That process starts a backgroundworker in a separate class. The process also monitor callbacks from the backgroundworker. This is what makes me wonder if this takes up …

Member Avatar for Darth Vader
0
174
Member Avatar for divinity02

can someone tell why am i getting loopin. trying to build this game and it is only looping * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here String p1name, p2name; int p1age, p2age, score, sum = 0; int largest …

Member Avatar for divinity02
0
227
Member Avatar for new_developer

Hi everyone, My program is crashing on taking input of alpha-numeric and store it in char[]. I don't know why, please anyone help ! sample input : C9H8O4MgOH #include <iostream> #include <string.h> using namespace std; bool hydroxide(char[]); int main() { char formula[] = ""; cout<<"Enter chemical formula : "; cin …

Member Avatar for Mayukh_1
0
231
Member Avatar for Start4me

I'm trying to show a user JOptionPane where they enter x and y coordinates each in their own textfield, but I don't know how to store user input as ints. So I need to do something like: int xCorFromUser = xCor; int yCorFromUser = yCor; I have this code so …

Member Avatar for mKorbel
0
1K
Member Avatar for John_88

I got some issues with Syntax error for my insert statement. I can read access database without any issues. I tried to put in all data as simple string but still not working. Executing in Access works fine though. Please help. cmd.CommandText = "INSERT INTO POSITION (positionID,stockSymbol,stockName,cashTransaction,lastUpdate,initialQuantity,initialValue,currentQuantity,currentValue,positionStatus) VALUES ('2','2','2','2','2','2','2','2','2','2')" cmd.ExecuteNonQuery()

Member Avatar for Begginnerdev
0
334
Member Avatar for Papa_Don

Group, I've created some spreadsheets that others use. The headings of the spreadsheets are divided up with colors. However after I've created these and saved them formatted as I like, some of these cells are changing automatically after the other users open them up. I've read online there may have …

Member Avatar for hefaz
0
208
Member Avatar for Papa_Don

Hi Group, I've recreated a spreadsheet that has multiple macro's behind it. One of these macro's opens and existing file, copies the data in it and then pastes it into the original workbook (where the macro's originate) and then closes the existing file. After the copy and paste is done, …

Member Avatar for hefaz
0
420
Member Avatar for maydhyam

Hi Guys, I'm not sure exactly which forum I should ask this in, nevertheless, here I go: I'm hearing about a project being done here where I work using MS InfoPath with Nintex workflows. I do not know anything about these 2. Could anyone shed some light on their knowledge/experiences …

0
162
Member Avatar for gcardonav

I created a sample webservice that will ask the user for some information and return in JSON form all the information required. I have two issues here 1. I don't want to make it required that the user enter bot the new dates and renewal dates, I want to make …

Member Avatar for pritaeas
0
838
Member Avatar for Gideon_1

Hello everyone, it seems that most often many projects or let me say jobs requires PHP frameworks. But I have not used a framework before and I love coding in the actual php OOP syntax. Is it necessary to use a framework for a project?

Member Avatar for diafol
0
229
Member Avatar for Norbert_2

Hello dear members, i am looking for a solution for my problem: -I want to write .ini values (xor-ed) -Then i want to read the .ini (un-xor) -Finally i want to be able to access the values Example : [test] boom = 1 haha = 23446453 text = ADSdsajew I …

Member Avatar for Norbert_2
0
754
Member Avatar for sanket044

Hello, I am right now having a dedicated server and when i try to execute a INSERT query in table of 2 Lakh rows it takes about 0.02 seconds. so i am having a website where i need to update all 2 Lakh rows every 15 mins. but it sims …

Member Avatar for pritaeas
0
660
Member Avatar for BustACode

Needed a func to convert base 2 into 10, and back. Found the referenced code in this func for moving between three bases, and generalized it to between bases 2 and 62, and all in between. Upconvert a number, then down convert, then upconvert again. Go wild, have fun.

0
633
Member Avatar for Kamal_6

while executing the below program i am getting the error "Parse error: syntax error, unexpected '<<' (T_SL) in C:\xampp\htdocs\registration.php on line 5" . can i get some help ?? <?php extract($_POST); include "connection.php"; $link= md5($txtuname); $str= <<<abc account is created click on the activation link <a href="http://abc.com/active.php?$link">click </a> abc; if(mysql_query("insert …

Member Avatar for Gideon_1
0
184
Member Avatar for mgold

I've been learning a lot about machine learning (mostly clustering and regressions), but when I've looked into programming libraries/environments, I've found "production ready" ones to be few and far between. What I mean by "production ready" is that it could be incorperated into a product, not just used a tool …

Member Avatar for thaifoodlover
0
346
Member Avatar for jonlloydd

I am trying to code a search box that will search though a column in my database. If the search matches the column then that record will be printed in the table below. I am searching on a column that contains the county of a company record. There are no …

Member Avatar for Gideon_1
0
9K
Member Avatar for thaifoodlover

Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked at development environment and wanted to ask you: while running mahout CLI, we do not have dependencies but in development …

0
130
Member Avatar for thaifoodlover

Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked at development environment and wanted to ask you: while running mahout CLI, we do not have dependencies but in development …

0
127
Member Avatar for Rhuntsman21

I have a datepicker which is set up to select a whole week. I have two buttons which are supposed to move the selected dates forward and backward a week. The forward button works all the time, but the backward button only works if the month changes. If the month …

Member Avatar for bnmng
0
443
Member Avatar for G_S

Hello everyone. I am trying to make a simple to-do list program using PHP and the MVC pattern. I have managed to make the login page, the model and the controller for managing logins. It is working properly because it can discern if the user exists or not. After validating …

Member Avatar for G_S
0
236
Member Avatar for PM312

Hi I have below code to save pdf file in sql. but getting error **"Cannot Bulk Load. The File "D:\xyz.pdf" does not exist."** Private Sub ButBouncePdfAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButBouncePdfAdd.Click Try If TxtRefNo.Text <> "" Then OpenFileDialog1.InitialDirectory = "d:\" OpenFileDialog1.Title = "Select PDF File" OpenFileDialog1.Filter …

Member Avatar for Reverend Jim
0
585
Member Avatar for danila726

Hello everyone. I am new to c++ and I just wrote a program. I am on linux so just saying. This is the code. What keeps happening is all the commands just keep coming. here is an example. Welcome to the Calculator. Please enter your operation. addition Please enter your …

Member Avatar for Moschops
0
356
Member Avatar for ashhad kamal
Member Avatar for NathanOliver
0
224
Member Avatar for lewashby

#include <iostream> #include <cstring> using namespace std; class String { private: char *ptr; public: String(); String(char* s); ~String(); operator char*() { return ptr; } int operator==(const String &other); }; int main() { String a("STRING 1"); String b("STRING 2"); cout << "The value of a is: " << endl; cout << …

Member Avatar for NathanOliver
0
201
Member Avatar for solomon_13000

I have two modules built by two developers: 1) backoffice 2) reporting However they share a single connection. The problem now is the security aspect. Both modules are independent in their respective folder(s) but they share the same connection. A developer mention that with the current architecture it is impossible …

Member Avatar for cereal
0
258
Member Avatar for vivek.vivek

Hello, I have a file like below that contains datewise value for every hour for 2 locations. I need to add the value for the same hours for ServerA and ServerB. Using Hashes, I am able to add the server value per hour. But cannot pass it to a table. …

Member Avatar for 2teez
0
822

The End.