199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pampas

I have problems cleaning up a couple of input field. I've been pecking away at this issue since I wrote the application about 18 months ago. When I think I have it cleaned up; it pops up again, when users violate rules (as they often will do) and the extra …

Member Avatar for diafol
0
213
Member Avatar for hometownnerd

Good afternoon. I am developing a gmail app for my personal consumption for now and it has a lot of bells and whistles including showing me the latest emails coming in, playing a sound and changing icon when there is new mail and a few other things. I am using …

Member Avatar for hometownnerd
0
2K
Member Avatar for raheel88

All, What is the most efficient way of writing several lines of data to a *.txt file? Currently, I store the required text in memory then write it all to a user-specified text file at the end, similar to the following; Dim text As String = "" text = text …

Member Avatar for dionterry
0
3K
Member Avatar for Nshark

I'm trying to set up a timer that counts up to ten and starts/resets when the left mouse button is clicked (anywhere on the screen even when the application is in the background). I'm struggling to find a code that suggests it is possible and now I am starting to …

Member Avatar for dionterry
0
5K
Member Avatar for Pilot122x

if (listBox1.GetSelected(0)) { richTextBox1.AppendText(Environment.NewLine + "upgrade cottage" + listBox2.SelectedItem); } WHen this code is executed, it prints into the richTextBox1 the words upgrade cottage + the selection of listbox 2, I was wondering how do I put a space between the two?

Member Avatar for Pilot122x
0
152
Member Avatar for Praveen_10

I am trying to write a code that checks if password is pass with the use of functions...but i am not able to ....Please help me i am a beginner....and i need this program to be written strictly using functions....thsnk u in advance

Member Avatar for Praveen_10
0
189
Member Avatar for ravi_14

i am developing a project in c++ and i need database to save details.i googled but so far have bot come across a good tutorial for c++ database . most of the articles i have found are obsolete. please suggest what are APIs for database in c++?

Member Avatar for Ancient Dragon
0
477
Member Avatar for tfj

Good Afternoon. I submitted a question a couple of days ago under the article name: Change asp:menuitem properties from other programs. I'm working with the following web pages - Site.Master/Site.Master.vb, Login.aspx/Login.aspx.vb JorgeM answered my question and showed me the code to use. It worked great. Dim navMenu As Menu navMenu …

Member Avatar for taersious
0
415
Member Avatar for abaddon2031

Ok i have a daily csv file that i am trying to get python to post to my database every day. I have used curl befor to post it but i want to set python up so that it post it for me is there a way to do this …

Member Avatar for abaddon2031
0
305
Member Avatar for saddaf

I am working on PHP to get logitude and laltitude values from pop-up google map. I am successful in poping up the google map and getting values into the main window. I am stuck with how to escape or close the poped up google map.

Member Avatar for pzuurveen
0
339
Member Avatar for new_2_java

Hello everyone, I am writing a Java program to reset LDAP account password. I know the password should be quoted passwrod and then encoded in UTF-16. I have a question, if someone can confirm please. I am getting encoded password as follow: String oldPassword = "Password1234"; String newPassword = "Password9999"; …

Member Avatar for new_2_java
0
1K
Member Avatar for elie.karkafy

how i can import data from access database to my database in sql server , with a check for ducplicate each time i move data i need the code in vb.net any help ?

Member Avatar for elie.karkafy
0
987
Member Avatar for nib.nalin

roblem Minesweeper is a computer game that became popular in the 1980s, and is still included in some versions of the Microsoft Windows operating system. This problem has a similar idea, but it does not assume you have played Minesweeper. In this problem, you are playing a game on a …

Member Avatar for slate
0
283
Member Avatar for haze man

I have set up a data base called assignment with a table called 'Parts' in it. But when i run the follwoing code on my local host i get the following error "Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /Applications/XAMPP/xamppfiles/htdocs/lab9.php on line 8". Can anyone help …

Member Avatar for haze man
0
167
Member Avatar for asaidi

Hi just starting learning java jdbc .. i have this error: Type mismatch: cannot convert from int to Object **tempRow = new Object[]{rows.getInt(1), rows.getString(2), rows.getString(3), rows.getDouble(4), rows.getString(5), rows.getInt(6), rows.getDouble(7),rows.getString(8)}; **

Member Avatar for jwenting
0
274
Member Avatar for qudsiyah.sherrief

**i have finaly completed the javascript coding, but there seems to be an error "syntax tax, char:1, line:1", i cant figure out wat the problem is.... i have edited it so many times, but it still comes up with errors when excuting it.. HELP!!!!!!! **the following coding: @_@** <!DOCTYPE html> …

Member Avatar for Bogomil
0
273
Member Avatar for Anto_1
Member Avatar for Anto_1
0
244
Member Avatar for noor92

Hello, I am new to PHP and I would like to do the following: In my website, the user can add a blog but I would like the blog to go to admin first before it gets published ( The admin has the authority to publish or un-publish a blog). …

Member Avatar for Fernando_4
0
224
Member Avatar for riahc3

We have various databases on several offsite locations and we want to do a backup to here. Problem is that database is problably going to weigh GBs of data so it would be better to split it into several "files" so we can only get the updates in small amounts. …

Member Avatar for riahc3
0
372
Member Avatar for burhanahmed92

I want to null or remove array at the end of each loop. I already tried unset() or $array=array(); but its not working foreach($array as $key=>$value){ $dates[$value][]= $key; unset($dates) } Just tell me php function to null all array

Member Avatar for diafol
0
348
Member Avatar for kritiohri

[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click connetionString = ("server=192.9.200.82;database=eKalyan;user id=invite;password=invite") MessageBox.Show("connection established") sql = ("select newuniqueid,newteh_code,newpcate_cd,newplano, pen_nm,rel_cd,pen_fnm,ccate_cd,pan_code,pvillage,ppo_cd,spo_cd,start_qtr,last_qtr,bundle_typ,bundle_no,mo_srno,pen_amt,pen_comm,status,operatorcode from ekalyan.welpen") cnn = New SqlConnection(connetionString) Try cnn.Open() cmdd = New SqlCommand(sql, cnn) cmdd.ExecuteNonQuery() cnn.Close() MsgBox(" ExecuteNonQuery in SqlCommand executed !!") Catch ex As Exception MsgBox("cannot …

Member Avatar for elie.karkafy
0
2K
Member Avatar for burhanahmed92

["dfml"]=> array(32) { [0]=> string(10) "2014-02-27" [1]=> string(10) "2013-10-30" [2]=> string(10) "2013-09-30" [3]=> string(10) "2013-04-30" [4]=> string(10) "2013-02-27" [5]=> string(10) "2012-10-31" [6]=> string(10) "2012-09-28" [7]=> string(10) "2012-05-02" [8]=> string(10) "2012-02-28" [9]=> string(10) "2012-02-27" [10]=> string(10) "2011-10-31" [11]=> string(10) "2011-10-03" [12]=> string(10) "2011-04-27" [13]=> string(10) "2011-02-25" [14]=> string(10) "2010-10-30" [15]=> string(10) …

Member Avatar for Excizted
0
275
Member Avatar for Nebil

Hi guys, i just faced a problem when trying to execute the following query.I searched for the exception on the internet and found that using a reserved keyword might raise this issue,and using brackets may solve this problem.But i use brackets all the time in my sql statements but still …

Member Avatar for Nebil
0
161
Member Avatar for Reapt

So I'm teaching myself Java. I'm creating a text based game. I have an if statement that i want to check users input so its like this: if(sc.next() = "help"){ System.out.println("info"); } else if(sc.next() = "item"){ System.out.println("info"); } Etc. But it wont work. What would be the proper way to …

Member Avatar for stultuske
0
227
Member Avatar for mimizuki12

Hi everyone, I'm new here and is in need of some help. I'm trying to complete my project, however I'm stuck at writing the data from the sql into the vb.net/asp.net gridview. Was never good at database to start with and I had never learnt how to query from VB.NET. …

Member Avatar for Danuja
0
260
Member Avatar for shit3432

*Doing the PSEUDOCODE but stuck in the middle. Please help me out.* Scenario: After practicing and learning problem solving skills for an extended period of time, you have decided that life would be easier if you did not need to continue with school. Rather, you decide that winning a large …

Member Avatar for stultuske
0
212
Member Avatar for noor92

Hello, I have little knowledge with PHP and I was assigned to try to fix some of the things that don't work in a website. The website basically deals with two different users, a trader who can post articles and a blogger who can post blogs. When a user registers …

Member Avatar for noor92
0
210
Member Avatar for Mike_16

Hey all, I am trying to update submissions from my SQL database from an edit page via an edit link in line with the submission which captures the ID of the database entry. When I click the edit link a new page opens and it has a form to update …

Member Avatar for veedeoo
0
410
Member Avatar for everton.retweets

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at index.php:3) index.php on line 3 I have tried this a number of ways but I am unable to fix this <?php ob_start(); session_start(); And this <?php session_start(); ob_start(); And like this <? ob_start(); ?> <?php …

Member Avatar for patk570
0
230
Member Avatar for Reapt

Creating a text based game. I have a method for each of the following: Race, profession, name. So for instance: public static void main(String[] args) { // TODO code application logic here intro(); name(); System.out.println("Welcome " + name); } public static void String name(){ System.out.println("Enter Name:"); String name = sc.next(); …

Member Avatar for Reapt
0
156
Member Avatar for Nandomo

I have a webservice that draws a line chart, first line: an range of dates and their stock values. Second line: a moving average of the dates, so if I input a value of 5 it will give me the same data as line 1 but with 5 day intervals. …

0
125
Member Avatar for Nandomo

I am working on a web service. I have a form with a button. When I click the button it calls my service class and I populate a list from an xml document with stock information. Then from the form class it calls another method inside the service class to …

Member Avatar for Nandomo
0
194
Member Avatar for Garidius

Hello to all, Please some help with this. I'm newbie to XML, XLS, Xpath, etc. How can I set correctly the reference in the command "for-each select" to avoid issues with this Top node that has namespace? I'm trying to get a XLS stylesheet to get some values. The issue …

Member Avatar for Garidius
0
378
Member Avatar for Lethugs

Hi, How to use in select statement with where condition comparing a Null value and with value? I have this Statement `Select Col1, Col2, Col3 From Table where DateDeleted` 'Here comes the problem The condition is something like if DateDeleted (which is actually a date) is Null then get records …

Member Avatar for Lethugs
0
356
Member Avatar for smitsky

I'm having a problem accessing information between classes. The following simple program illustrates the problem. I have two classes. Int Cell and second. IntCell has a single data member: storedValue. I initialize the value of storedValue to 0, and then assign a value of 16 to it in main() on …

Member Avatar for Ancient Dragon
0
203
Member Avatar for jigs baldaniya

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ascending_and_Descending_ex_2 { class employee { public float exp; public string ename; public string designation; public float sal; public employee(float e,string n,string d,float s) { exp = e; ename = n; designation = d; sal = s; Console.Write("{0} {1} {2} {3} ", …

Member Avatar for Momerath
0
224
Member Avatar for GeneM1000

I have a form with a lot of checkboxes on it. I want to be able to set all the checkbox properties to "checked" in my code. Here is what I would like to do: For Each ctl As Control In Me.Controls If TypeOf ctl Is CheckBox Then ctl.checked = …

Member Avatar for GeneM1000
0
320
Member Avatar for cvandal

Hello, I'm trying to calculate the maximum and minimum distance between 10 points. My method to calculate the maximum distance is working fine however my method to calculate the minimum is returning 0.0 and I'm not sure why. Could someone please take a look at my code and tell me …

Member Avatar for cvandal
0
213
Member Avatar for TheFearful

This is the code that I have for inserting a node, but I don't know how to do the delete function. Any tips would be helpful // Constructor Tree::Tree() { root = NULL; } // Destructor Tree::~Tree() { freeNode(root); } // Free the node void Tree::freeNode(Node* leaf) { if ( …

Member Avatar for TheFearful
0
165
Member Avatar for cthulhumythos

I am trying to make images coming from links within my mySQL database appear next to each other. Here is my code: <div class="container-outer"> <div class="container-inner"> <?php if ( $imagePath = $article->getImagePath( IMG_TYPE_THUMB ) ) { ?> <a href=".?action=viewArticle&amp;articleId=<?php echo $article->id?>"><img class="articleImageThumb" src="<?php echo $imagePath?>" alt="Article Thumbnail" /></a> <?php } …

Member Avatar for JorgeM
0
646
Member Avatar for Dane2259

I'm trying to setup the programming environment for Princeton's online course at this website: http://algs4.cs.princeton.edu/code/ However, when I try and run one of the programs I get the following error: /Users/dane/algs4/algs4-2/RandomSeq.java:45: cannot find symbol symbol : variable StdRandom location: class RandomSeq double x = StdRandom.uniform(); ^ /Users/dane/algs4/algs4-2/RandomSeq.java:46: cannot find symbol …

Member Avatar for stultuske
0
288
Member Avatar for Fernando_4

Here's how I'm thinking about inserting values into two tables. Each `reservation` will have a set of `services` the amount of which can vary, so I need to setup the query dynamically, here's my first sketch, although not tested yet. function saveBooking($fullBook) { $mysqli = new mysqli(HOST, USER, PASSWORD, DB_PRICE); …

Member Avatar for Fernando_4
0
2K
Member Avatar for castajiz_2

I' ve converted mssql database to mysql database (locally). I ve created a free subdomain and found a free webhoster on 000webhost.com. I m trying to import my mysql database onto the server using phpmyadmin interface but am unable to do this. I get the following error-->#1044 - Access denied …

Member Avatar for castajiz_2
0
2K
Member Avatar for RikTelner

I tried to validate my document, in order to be able to tell how bad I am. I was incredibly happy because I got 0 errors in CSS. I tried to validate `index.php` file with HTML5 validator (which I suppose can also check HTML4.01). And I got this error prompt …

Member Avatar for pritaeas
0
165
Member Avatar for Pilot122x

private void Cottage_Click(object sender, EventArgs e) { richTextBox1.Text = "create cottage"; richTextBox1.Text = "create Bob"; } So when I run the code what gets printed is Bob of course I knew this would happen from the moment I wrote the code but I do not know what to put instead, …

Member Avatar for Pilot122x
0
154
Member Avatar for Belton

<?php include ('pages/dbconnect.php'); $rekdep=mysql_query("SELECT * FROM t_org ORDER BY dept, com ASC"); echo "<table class='gridtable'>"; echo "<tr><tr><th> Departement</th><th> Commune </th><th> ORG </th><th>Animal</th>"; echo "</tr>"; echo "</tr>"; $odl_dept = null; $odl_com = null; $odl_org = null; while($dep=mysql_fetch_assoc($rekdep)){ //List of department if($dep['dept']!=$odl_dept){ echo "<td>".$dep['dept']."</td>"; } //display blank td if the same department …

Member Avatar for mglobs
0
261
Member Avatar for j.heller

hello daniweb community; After a click on a button I need to "direct" the user from the current window to another, like you may know it from installations ("Yes I accept TOS"->click->new window please select installation path). Kind regards;

Member Avatar for j.heller
0
403
Member Avatar for m.a.u.

Greetings everybody, I would like to ask you which C++ libraries you use for ethernet communication? In web I found several; [boost.asio](http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio.html) [Nut/OS](http://www.ethernut.de/api/index.html) [Sockets](http://www.alhem.net/Sockets/index.html) Is there another and easy? By the way, which one of these three libraries are easier to use :) . Thanks in advance

Member Avatar for m.a.u.
0
170
Member Avatar for everton.retweets

Hi Everyone, I have been trying to find out what the problem is with this foreach but I am unable to... Is there anyone who can me please foreach($results as $row); $dbcansecurecode = $row['securecode']; $dbcanactivated = $row['activated']; $dbcanpwdreset = $row['pwdreset']; I have echo'd the results out for the foreach but …

Member Avatar for everton.retweets
0
258
Member Avatar for RikTelner

So, yea, it is a kind of new thing that came along with CSS3. I find it awesome, I wanted this on my website, so I tried to Google how to do it. Now, here I am, with nothing. Mostly because I don't know what has to happen or anything …

Member Avatar for RikTelner
0
90

The End.