199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ddanbe

This is code to plot a "random walk" in polar coordinates.See also: [url]http://www.daniweb.com/software-development/csharp/code/379275[/url] Just posted the code of my main form, more details can be found in the zip file. I also included a sample output. I perhaps intend to use this in some sort of game, were a biologist …

Member Avatar for ddanbe
0
414
Member Avatar for vict1

I want to write a C++ class, like this: In MyClass.h: [CODE]class CMyClass { public: CMyClass(); int MyFun(int a, int b); protected: int m_iData; BOOL m_bFlag; }[/CODE] In MyClass.cpp [CODE]CMyClass::CMyClass() { // Some initialization codes } int CMyClass::MyFun(int a, int b) { // Implemenation of MyFun }[/CODE] Now I want …

Member Avatar for vijayan121
0
156
Member Avatar for rahman86

hello guys in daniweb. i have a application windows based created in vb.net that contains crystal reports and access .accdb files. to be honest i have tried to publish this app for 11 times and still there to be some problem. the application will install but it cannot run. it …

Member Avatar for rahman86
0
733
Member Avatar for compulove

I know this question has been asked dozens of times, but the code I have been looking at has not helped me. So far I have been able to connect to the string and the database from where I need to check the username, but in my page it is …

Member Avatar for compulove
0
242
Member Avatar for GatorProgrammer

As the title suggest this is about problems I have having with writing my Caesar Cipher. I know how they work but I don't know exactly how to write it. And I know that many of you are wondering why I just don't read the hundreds of other Caesar Cipher …

Member Avatar for Satyrn
0
126
Member Avatar for asif123

how i move the mouse cursor . and create left, right and double cliks using visual c++ i m new to visual c++

Member Avatar for Narue
0
148
Member Avatar for samad

this is my code and below are the notices that r shown in browser ..what can i do?? [CODE] FILE 1: new_user.php <?php require('header.php'); ?> <body> <?php require('sql_connect.php'); ?> <?php require('functions.php'); ?> <form method="POST" action="add_new_user.php"> Username: <input type="text" name="user_name" /></br> firstname: <input type="text" name="first_name" /></br> lastname: <input type="text" name="last_name" /></br> …

Member Avatar for Shamrocks
0
177
Member Avatar for Joey_Brown

First of all, hello Im Joey and Ive recently started messing around with the Java language. Ill do my best not to bother you alot with my newbie questions :) So I need to create a method that returns some variables I have encapsulated, as String but without the last …

Member Avatar for Joey_Brown
0
161
Member Avatar for Panathinaikos22

Hello, im trying to create a cos function in MATLAB, but it is wrong. :/ well from Taylor serie we have [CODE]cosx = 1 - x^2/2! + x^4/4! - x^6/6! +... + x^n/n![/CODE] or for noobs -> [CODE]cosx = x^1/1! - x^2/2! + x^4/4! - x^6/6! +... + x^n/n![/CODE] this …

Member Avatar for Panathinaikos22
0
330
Member Avatar for dr.4030

Hi, i created a page with some radio buttons that each of them contains a certain number which i send them to action page for searching among the numbers that i inserted inside my table in data base. but the question is here that i wanna select with some different …

Member Avatar for dr.4030
0
124
Member Avatar for theadjectivenou

I need help trying to figure out what I am doing wrong. my teachers wants two different sentences to read as "Wow, (insert word 1) and (Insert word 2) are funny" and on the second line he wants them reversed to read "Wow, (insert Word 2) and (Insert Word 1) …

Member Avatar for Taywin
0
114
Member Avatar for Stefano Mtangoo

Hi, Is there tutorial somewhereto use Python with EWS? I'm trying to develop a program that will interact with Microsoft Exchange Server without using managed services Thanks

0
101
Member Avatar for dannyDaniweb

I'm trying to build the package for use in Maya. Maya comes with its own python installation so the .exe installer for this package doesn't work for me. the package is [URL="http://polygon.origo.ethz.ch/"]Polygon[/URL] I downloaded the zip. It contains: setup.py /src /Polygon and some other stuff In cygwin I run: ./mayapy.exe …

Member Avatar for dannyDaniweb
0
367
Member Avatar for The_Tiger

Hi everyone, I really need help to make the below code calculate the numeric value for each name separately. for example: if i enter "Williams smith", it will calculate the first name and give its value alone and calculate the second name and give its value too. the code right …

Member Avatar for Tech B
0
123
Member Avatar for arcobaleno

I’m trying to create Web Application using ASP.Net via Visual Studio 2010. The Database that I use is Access, with connection Method OleDb When using the query “Update” or “Delete”, the programs shows no errors, but the data in Access does not change. While for query “Select” and “Insert”, the …

Member Avatar for arcobaleno
0
151
Member Avatar for Buppy

Hi, A little stuck here - i have a file containing info like this: Name: Some Name Email: [email]some@email.com[/email] I'm using file_get_contents to read the file and then i want to get the name. I have it like [CODE]preg_match('/Name:(.*?) Email:/',$filecont,$name);[/CODE] however it returns nothing. Maybe anyone has an idea how …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for IT_Techno

hi every one, i want to convert my usb flash to dongle flash, but i donot understand the way that the dongle is work or how did it develope its software i want any one to help me to understand how to programme my owne dongle and how does the …

Member Avatar for hypermatter
0
10K
Member Avatar for TheChosen0ne

My exe requires a dll to run, I have to keep moving the dll to the exe's folder to run it properly :( How can I combine the 2 files together as one? :(

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for ohlermsu

I am in desperate need of help with a python 2.7 project I am working on. I am really struggling in the class and they messed up my tutoring appointment for tonight so I have no one to help me. I am doing a project that reads a .csv file …

Member Avatar for Stefano Mtangoo
0
220
Member Avatar for apatuka

Grettings everyone, im trying to create a stored procedure but it gives me the following error: 1339 Case not found for CASE statement Here is the code: [CODE]BEGIN #Routine body goes here... CASE @olds WHEN 'emp' THEN CASE @news WHEN 'loc' THEN UPDATE equipos SET pe=pe-1,pg=pg+1 WHERE id=@eqloc; UPDATE equipos …

Member Avatar for smantscheff
0
2K
Member Avatar for JamesPublic

Hi all, I'm decoding a JSON object into an array and then inserting it into a database, which informs markers on a google map. That step is working fine, but I'm now trying to insert code to (a) read whether the latitude value in the array is null, (b) send …

Member Avatar for JamesPublic
0
710
Member Avatar for Joshua Kidd

What's the best place to use for a secure Payment System on my site? Like a very secure system besides Paypal. Because I tried Paypal and I don't want to pay through paypal. But rather pay through my own site. The payment is for my own ad system I am …

Member Avatar for Stefano Mtangoo
0
151
Member Avatar for shanker31

Hello every1, I want to ENTER Sr.No. and Name in the table using procedures. My table has attributes 1. Sr.No. (which is my primary key(int datatype)) 2. Name (which is not null(string datatype)) I want to write a procedure in mysql to automate the process of entering data in the …

Member Avatar for smantscheff
0
172
Member Avatar for yaseenmohd

i am new to php. i want to know how to logout a user when he/she is idle for sometime. Thanks in advance

Member Avatar for Stefano Mtangoo
0
557
Member Avatar for ben1996123

I've never had a problem with files before, but now I can't seem to get it to work properly. I have this code: [CODE] fstream someFile("file.txt"); switch(choice){ case 1: cout << "Enter date: "; cin >> date2; cout << "Month: "; cin >> month2; cout << "Year: "; cin >> …

Member Avatar for WaltP
0
136
Member Avatar for khentz
Member Avatar for khentz
0
1K
Member Avatar for dwiniers

Hello there i need your expertise in VB6 i make some program using the navigation key and add, edit, delete, search command button. The program is almost 99% working. By the way im using adodc and access in my db and combo box using with search fields. My problem now …

Member Avatar for dwiniers
0
339
Member Avatar for ravsau

I have written a solution to the following assignment but I wont get any output. I used System.out.println randomly to see where my program stops and I figured out it is righ after the while (inputFile.hasNext()) method. Any suggestion will be great. Thanks! my assignment: build a program that uses …

Member Avatar for stevanity
0
3K
Member Avatar for philipghu

Hi everyone, I just switched from Java to C++ and not so familiar with memory management in C++. I dynamically allocated an array which holds F_HeapNode objects. Whenever I assigned a value to the element of this array, I got an error message saying" no operator = matched these operands". …

Member Avatar for philipghu
0
171
Member Avatar for ryan311

i have a problem deleting a data using checkbox please help me here's my code admin.php [CODE]<form id="form1" name="form1" method="post" action="deleteApplication.php"><table border='1' cellspacing='0' width='612'> <tr> <th bgcolor='green'><font color='white'>#</font></th> <th bgcolor='green'><font color='white'>Room No.</font></th> <th bgcolor='green'><font color='white'>Cust. Code</font></th> <th bgcolor='green'><font color='white'>Check In</font></th> <th bgcolor='green'><font color='white'>Check Out</font></th> <th bgcolor='green'><font color='white'>No of Rooms</font></th> <th …

Member Avatar for celz
0
191
Member Avatar for neveragn

how do you promt the program from positive integars terminatd by -1 .. and then ask for smallest of these integars. I did everything except when I add (!= EOF) .. It shows the same prompt multiple times should I still keep the code or is there a specific error? …

Member Avatar for neveragn
0
258
Member Avatar for gahhon

[CODE] //Member Login public static boolean memberLogin(){ int memberPassword = 123; boolean password = false; int confirm = JOptionPane.showConfirmDialog(null, "Are You A Member? ", "Member Confirmation", JOptionPane.YES_NO_OPTION); do{ while(confirm == JOptionPane.YES_OPTION && password == false){ String tempCurrentPassword = JOptionPane.showInputDialog(null, "Please Enter Your Password", "Default Password = 123"); int currentPassword = …

Member Avatar for stevanity
0
209
Member Avatar for paulsoncall

Hi - I'm having a hard time figured out how to print the triangle shape below using loops. I did the two previous triangles with no issue but have no idea how to get the spaces in there. I'm really confused and would appreciate any help. [CODE] * ** *** …

Member Avatar for paulsoncall
0
263
Member Avatar for infantheartlyje

HI folks, This is my code. How can i pass a outside structure parameter to a class method? [CODE]using namespace std; struct status { char name[80]; double balance; unsigned long account_num; }; class FileHandler { public: FileHandler(string); ~FileHandler(); int getRecords(struct status *); int putRecords(struct status *); private: string fileName; fstream …

Member Avatar for raptr_dflo
0
175
Member Avatar for persianprez

So this is my assignment: Represent the concept of a Number. For this example a Number is a thing that can be added subtracted, multiplied and divided. Each of these operations is binary and produces a Number as a result. Encode the the Notion of of an Int (an integer …

Member Avatar for persianprez
0
146
Member Avatar for ronak127

hey guys I'm a newb to this C++ programming and I need help. I've made a non-recursive GCD C++ code, but i was having problems with the algorithm. Can someone help please? [ICODE]import java.util.Scanner; public class GCD { public static int GCD; public static int div; public static int remainder …

Member Avatar for mrnutty
0
180
Member Avatar for newbie26

hi! i have a DataList view in created in vb.net (4 columns) how can i make this work?: the data from the first two columns will be from the database and the next two columns will be inputted by the user. and when i click save, all of the data …

Member Avatar for newbie26
0
239
Member Avatar for HASHMI007

Assume the following specification of a node of linked structure and the class [CODE]// LinkedStructure And the class.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> #include<stdio.h> #include<stdlib.h> #include<conio.h> using namespace std; struct Node{ int info; struct Node *next; }; typedef struct Node * NODEPTR …

Member Avatar for raptr_dflo
0
100
Member Avatar for craign924

this is my first code in php. i am trying this off a tutorial i saw-- i am getting error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT JOIN products.products_id=products_description.products_id' at line …

Member Avatar for shadowcrawler
0
156
Member Avatar for mikkey91

Hi! :) I've been given a task in which I have to code a C++ program where an encryption key string with a length of 26 small alphabet is asked, then the user must input a word to encrypt and then it shows the encrypted word. If the encryption key …

Member Avatar for raptr_dflo
0
215
Member Avatar for fox196

Hi, I'm getting segmentation fault errors when I use quicksort with ~350 000+ numbers. This is the quick sort algorithm I'm using: [CODE]void swap(int* v, int i, int j) { int tmp = v[i]; v[i] = v[j]; v[j] = tmp; } int partition(int *v, int s, int e) { int …

Member Avatar for raptr_dflo
0
1K
Member Avatar for jQuery
Member Avatar for Ezzaral
0
167
Member Avatar for diamondw

Whats wrong with my code?I want a code that shifts a word to an amount (dog to fqi)and the input in an input box.The ouput in a 20 column by n row array.And z if shifted by 2 would be b.Thanks [CODE]Function ShiftCipher(text) shiftamount = InputBox("Input how many numbers to …

Member Avatar for diamondw
0
144
Member Avatar for 9tontruck

[IMG]http://img26.imageshack.us/img26/5063/ddddqk.jpg[/IMG] [CODE] <style> div#back{ width:1000px; height:1000px; margin-left: auto; margin-right: auto; background-color:#096; } div#topmenu{ width:400px; height:35px; position:relative; top:5px; left:595px; background-color:#9F0; } div#logopart{ width:950px; height:70px; position:relative; top:0px; left:50px; background-color:#0FF; } div#leftmenu{ width:100px; height:400px; position:relative; top:0px; left:0px; background-color:#999; } div#cont{ width:900px; height:500px; position:relative; top:0px; left:0px; background-color:#FF6; } </style> ... <div id=back> <div id="topmenu">topmenu</div> …

Member Avatar for nospryexpert
0
157
Member Avatar for vishwanath.m
Member Avatar for strongpot

I have two tables. tbl_clients and tbl_projects. They both contain auto incremented primary key columns. For adding new projects to tbl_projects, I use tbl_clients' clientname field to populate a dropdown menu on the new projects html form. The user chooses a client name from the menu, and the primary key …

Member Avatar for strongpot
0
617
Member Avatar for StudentCS

im stuck in this terrible problem, I have a SOAP based webservice implemented in Java.The client besides other data is supposed to have "male" and "female" checkboxes so the user can either select one of them or both and the client is supposed to send it to the server to …

Member Avatar for hag++
0
562
Member Avatar for Gabit

According to input & output xml files, I need to create wsdl file for describing web service: Input xml-file (request): [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckRequest> <OrderNumber>34552</OrderNumber> <IIN>81070581488</IIN> <RNN>5851515115</RNN> <IBAN>KZ86926002P468708027</IBAN> <PaymentAccountType>1</PaymentAccountType> <OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate> </PEP_IBANCheckRequest>[/CODE] Output xml-file (response): [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckResponse> <OrderNumber>34552</OrderNumber> <OrgOrderNumber>65412</OrgOrderNumber> <OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate> <Status>0</Status> <OrgBIC>65156151</OrgBIC> <OrgRNN>5445848</OrgRNN> </PEP_IBANCheckResponse>[/CODE] My incomplete wsdl file: [CODE]<?xml …

Member Avatar for hag++
0
217
Member Avatar for kikiritce

I have a problem with assembly task. Write a program that will write the numbers 7-15 in the data segment, starting from offset 200h, and then using a loop and compare them to read data from memory and the DX will insert the sum of numbers divisible by four Here …

Member Avatar for kikiritce
0
141
Member Avatar for SoftwareGuy

Hi. I'm sure this question has been asked before, but I can't get the text searched for. If anyone can explain them, refer me to an article, or give me the correct search query I would appreciate it. Thanks.

Member Avatar for SoftwareGuy
0
247

The End.