199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jonsan32

I have a site for youth basketball, where parents can list their kid to get them onto a team. The listings that get replied to by teams needing players are deleted, but some listing remain on there for months or years. To combat the potential confusion of which grade a …

Member Avatar for EvolutionFallen
0
240
Member Avatar for JohnKelly

We have a sensor on our local network that is sending a data telegram using UDP Broadcast. How do we use Winsock to capture these messages. The Port number that the data is being sent on is 42567. I tried the following code WinSockControl.Protocol = sckUDPProtocol WinSockControl.RemotePort = 42567 WinSockControl.Bind …

Member Avatar for TnTinMN
0
366
Member Avatar for John-Ellis

Hi, I have started my new college course this week and received my first assignment, it is to create a simple noughts and crosses game. So far all is well, I have created all of my procedures for checking for winners, reseting the game board and so on, the only …

Member Avatar for adam_k
0
242
Member Avatar for Farhad.idrees

Hi Friends.. i have one form where combobox is include... i want to use popup form with respect to selected combo box values using jquery function.... i have this code for combo box.. <label id="label">First Schedule </label> <select name="cmbFS" id="cbmFSId" style="width:205px;"> <option value="">---SELECT---</option> <option value="FSchedule" >Second Shedule</option> <option value="Reject">Reject</option> </select> …

Member Avatar for Farhad.idrees
0
222
Member Avatar for mano7859

Hi :) Sorry to be boring but I have a problem to display and hide some div. I'm explaining. I have this html code: <div id="subMain"> <div id="archivesResult_Content"> <div id="archivesResult_title"> <div class="box"> <div class="date"></div> <div class="categorie" cat="14"> <div class="categorie" cat="13"> <div class="categorie" cat="16"> <div class="categorie" cat="17"> </div> <div class="box"> <div …

Member Avatar for mano7859
0
245
Member Avatar for sobias

Hi, A very simple question I'd like to ask, why intializing a var outside a function, it cannot be used in that function? exmaple: <script type="text/javascript" > var myvariable = document.getElementById("someID"); function someMethod(){ //some stuff here, and I cannot use myvariable inside here why? } </script>

Member Avatar for sobias
0
180
Member Avatar for hg_fs2002

When a simple-escape-sequence like '\n' is evaluated, what would be the result? Is it ASCII 10? How I can show ASCII 10 as a character? Isn't it '\n' again? I am confused! Can someone please help me with the issue?

Member Avatar for deceptikon
0
227
Member Avatar for dbalas

Hi! I just started using LightSwitch and i am amazed how great this tool is! However, i worked with php up until a week ago so im really new in vb programming language. I started making an application for warehouse management and got stuck with reducing part quantity after placed …

Member Avatar for dbalas
0
953
Member Avatar for lukas.vandendijssel

Hello, I have this code over here: <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Admin area - Sydcul URL Shortener</title> <meta name="description" content="Free URL shortener"> <meta name="keywords" content="sydcul, url, shortener, tiny, url, tinyurl, bit, ly, bitly"> <meta name="author" content="Sydcul"> <link href="../stylesheet.css" rel="stylesheet" type="text/css"> <link rel="icon" type="image/ico" href="../favicon.ico"> </head> <body> <center> <h1>Admin …

Member Avatar for lukas.vandendijssel
0
270
Member Avatar for naphets

1. I am trying to use this code snippet, to learn how to create a dropdown menu, populated by a mysql database. 2. I have worked out the kinks of the database credentials. 3. I have created and populated a test database. 4. This does actually work, now that it …

Member Avatar for broj1
0
410
Member Avatar for lukas.vandendijssel

This .htaccess throws me a 500 error. I've Googled/tried everything. RewriteEngine on RewriteRule ^([0-9]{6})$ decode.php?shorturl=$1 [L] It's for a URL shortener. I am new to this stuff.

Member Avatar for diafol
0
442
Member Avatar for omar4288

HI basically this is my problem. I have created a database and I have created a table. I am trying to verify my username and password. HERE IS THE HTML PART. <body> <h1>Members login</h1> <form method="post" action="check_login.php"> <label for="username">Username:</label> <input type="text" name="username"/> <label for="Password">Password:</label> <input type="password" name="password"/> <label for ="submit">Submit:</label> …

Member Avatar for cereal
0
211
Member Avatar for cisumma

systemFolder.targetFolders.dir=LoginInfo.getTargetFolderSystemDir() systemFolder.ser.dir=LoginInfo.getSystemFolderSystemDir() bookMarkDB.name=bookMarkDB.xml bookMarkDB.dir=bookMarkDB bookMarkDB.home=$(ViewResources.systemFolder.targetFolders.dir)+File.separator+$(ViewResources.bookMarkDB.dir)+File.separator+$(ViewResources.bookMarkDB.name); is it possible to concat bookMarkDB.home and bookMarkDB.name ? is the +File.separator going to work? thanks

0
107
Member Avatar for vin24

Hi! I would like to ask if it is possible to insert a GIF image on my form? If possible, would you mind to show me how by posting its codes? Thank you in advance......

Member Avatar for alex.mur.946
0
205
Member Avatar for cisumma

Hello. Could someone translate this? I have yet to effectively use these expressions. sometimes I use the if statement to evaluate if a var has a certain value. most of the times it works. is the ternary expression used to handle other possibilities that could come up? 1 m != …

Member Avatar for deceptikon
0
165
Member Avatar for FelineHazard

Hi guys What's the default pointer value in c++? Can I count on the compiler to set an uninitialized pointer to NULL? Is it compiler dependant? What's the "consensus"? Thanks! -FH

Member Avatar for FelineHazard
0
793
Member Avatar for cisumma

ViewResources.properties Hello I have a a properties sheet I would like to know how to make bookMarkDB.home reference other properties from the ViewResources.properties sheet below. how can "bookMarkDB.home" create a systemDir by using the properties already defined? The only example I have seen uses $ but I have no clue. …

0
92
Member Avatar for skliz

Hello everyone, I have developed an application. But I need a script to perform push back just like facebook does when updating users profile. Please how can I do this in php. Please I would like it with a simple demo code. Thanks alot.

Member Avatar for skliz
0
251
Member Avatar for davecoventry

Depending on a variable 1-7, I am interested in ANDing a byte value to to get that number of bits. Currently I'm doing this: function getMaskedBits(num, Bit_location: Byte): Byte; var masks: array[1..7]of Byte=(127,63,31,15,7,3,1); begin Result:=num and masks[Bit_location]; end; is there a better (or more efficient way of doing this?)

Member Avatar for davecoventry
0
113
Member Avatar for faysal.ishtiaq

> /* This code works when the added chracter's value is less than or equal to 9. I mean when there is a carry,what will i do to print that. And there should not be used any library function. Run the program and you will understand clearly. */ #include "stdafx.h" …

Member Avatar for ken_taiken
0
139
Member Avatar for Octet

Hello Daniweb, I'm attempting to build an online service, aimed at mobile devices that have GPS or GPS like capabilities. The service would take a users location, and show them locations nearby of interest along with some information, such as a historic landmark and some facts or a restaurant with …

Member Avatar for Octet
0
953
Member Avatar for Neethaa

How do I write a C# code to like and dislike comments in disccussion forum?

Member Avatar for JorgeM
0
115
Member Avatar for DamzWildfire

hey i want to encode my website url as a form of security but i have no idea how to go about doing so and help?

Member Avatar for pritaeas
0
129
Member Avatar for Violet_82

Hi I wonder if somebody can help me with this. This programs simulates throwing a die 20 times: import java.util.Random; // program uses class Random public class RandomIntegers { public static void main( String[] args ) { Random randomNumbers = new Random(); // random number generator int face; // stores …

Member Avatar for Violet_82
0
532
Member Avatar for pucivogel

I want to check for duplicates when inserting a new contact in my database, then showing a msg that the contact is already in the db. this is what i've done: function isDuplicate(names,phone,email,adresa){ var isduplicate=false; for(var i=0;i<addresslist.length; i++){ if(addresslist[i].names.toLowerCase()==names.toLowerCase() && addresslist[i].phone.toLowerCase()==phone.toLowerCase()&& addresslist[i].email.toLowerCase()==email.toLowerCase()&& addresslist[i].adresa.toLowerCase()==adresa.toLowerCase() ){ isduplicate=true; } } return isduplicate; } …

Member Avatar for stbuchok
0
189
Member Avatar for McLaren

Hello, I want to test random generator with one program. But I don't undertsand what my input file should look like. > You must first create the ascii file. To do that, generate your 32-bit integers and write them to a file, in hex format, 80 characters (ten 32-bit integers) …

Member Avatar for McLaren
0
257
Member Avatar for apanimesh061

#include <stdio.h> #include <conio.h> #include <stdlib.h> #include <process.h> #include <string.h> #include <math.h> int count = 0; typedef struct bitmap24 { unsigned char header[54]; unsigned char* pixels; }BMP; void readBMP (char* filename) { int i; FILE* f = fopen(filename, "rb"); FILE* f1 = fopen("save.bmp", "wb"); FILE* pixelVals = fopen("vals.dat", "w"); unsigned …

Member Avatar for Adak
0
560
Member Avatar for xcarbonx

Hello, I am having an issue with sending an email message to multiple recipients on a private SMTP server. Currently, my program sends a message to the first recipient listed, but not the second. I am getting the email addresses from a text box right now that is separated like …

Member Avatar for G_Waddell
0
331
Member Avatar for sundog1

Hi again guys... I have a little but of an issue with a select statement I cannot seem to fathem out. Below is the code: else if (radioButton3.Checked == true) ; { //Looks at the row Selected in the GridView and then takes the Account Number and Stores in a …

Member Avatar for sundog1
0
170
Member Avatar for Ryujin

We list our daily opening/closing hours on a Google Calendar as Events. After some struggles with the Javascript API, we are *almost* able to extract the hours (events) for today and for tomorrow to embed elsewhere on the site -- but at 7pm local time (EST in the US) it …

Member Avatar for LastMitch
0
250
Member Avatar for bradly.spicer

Hey everyone, Got this little snippet here: <?php // did files get sent if(isset($_FILES) && (bool) $_FILES) { // define allowed extensions $allowedExtensions = array("pdf","doc","docx"); $files = array(); // loop through all the files foreach($_FILES as $name=>$file) { // define some variables $file_name = $file['name']; $temp_name = $file['tmp_name']; // check …

Member Avatar for bradly.spicer
0
159
Member Avatar for sundog1

Hi Guys, Have a random problem as to why my headers are not being shown properly in the form? Possibly a simple anwser but can't see the wood for the tree's at the moment and another pair of eyes is always great. Code below: private void radioButton1_Click(object sender, EventArgs e) …

Member Avatar for sundog1
0
190
Member Avatar for Petranilla
Member Avatar for emmas4impact

Hello, I am writing a chat server application in eclipse ide how i wish to change the jar default image icon but all attempt end either in error or the line of code running with change the icon. here is where i put the code. setIconImage(new ImageIcon(ClassLoader.getSystemResource("chatbutton.jpg")).getImage()); and here is …

Member Avatar for softswing
0
345
Member Avatar for miles.sifflet

I am new to this forum so please excuse any errors i make! I have recently started programming in c++ and one of my first projects is making a console trainer for AssaultCube (FPS Game). I have some errors and have not been able to fix them. Here is the …

Member Avatar for miles.sifflet
0
411
Member Avatar for IsaacMessi10

If (TextBox1.Text <> Bookmarks.ListView1.Items) Then NoResultsFound.Show() End If I want to display another class when the user's results dont match anything from the list. Help would be really appreciated. Thanks. ^The code above gave me this error: > Overload resoluton failed because no accessible '<>' can be called with these …

Member Avatar for Reverend Jim
0
226
Member Avatar for suseelan27

Table user +---------------+---------------+------------+ | user_id | username | user_level | +---------------+---------------+------------+ | 1 | superadmin | admin | | 2 | subadmin | admin | | 3 | team1 | team | | 4 | team2 | team | | 5 | team3 | team | | 6 | customer1 …

Member Avatar for pritaeas
0
182
Member Avatar for pri.chakraborty

Hi all.. I m a begginer in java... i want to write a series like 1 to the power 2, 2 to the power 3 as so on... i can print its value only line 1 , 8 , 81... but i cant write the series where all to the …

Member Avatar for radhakrishna.p
0
4K
Member Avatar for requimrar

Hi guys. First of all, I am aware that there is a somewhat similar thread over here. However, it was never really answered and the code given was obscure (I don't like copying stuff anyway) Either way... I want to balance a chemical equation. However, I don't need help on …

Member Avatar for bguild
0
1K
Member Avatar for nova37

i want to know that how can we download file in visual basic silently without notifying users .... its my application update , also how could we create thread in visual basic so that this thread always check for updates and downloads silently

Member Avatar for AndreRet
0
2K
Member Avatar for dipankar_pr

1. database in access 2. ADO is in use 3. Datareport is designed. 4. I have 40 records in Recordset. 5. I want create one page per record in recordset. It just create one page report for only first record Private Sub Command1_Click() Dim cnString As String Set rs = …

Member Avatar for AndreRet
0
153
Member Avatar for mexabet

I successfully created a C++ window but got an error message when I tried to add menus. I will surely appreciate any help to fix the issue. As follows is the code: #include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class …

Member Avatar for mexabet
0
185
Member Avatar for xavier.diazsanchez

This keeps popping up http://sidetrack1.deviantart.com/art/Javadocs-Not-Generated-353650496?ga_submit_new=10%253A1360562461 Here's the code for the things that need javadocs import java.util.Scanner; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author ufe-c122-pc05 */ public class Lab2 { /** * @param args the …

Member Avatar for stultuske
0
117
Member Avatar for TheComputerGuy

I've been reading quite a few threads about creating new files if one doesn't exist...but I need it specifically for windows, in the current directory we are in. I've seen ` ifstream file; file.open("TehLeetFile"); if(!file.is_open()) cout<<"Tehleetness is busted!"; else cout<<"it work!!!!11!!!11!one!"; ` That's just checking to see if the file …

Member Avatar for tinstaafl
0
331
Member Avatar for vishalonne

Hello I am trying to send mail to customer with the details of product they brought but the code which I have written not showing the value of variable **total_list** Actually I need to send email regarding the product details purchased by user if they purchased more than 1 product …

Member Avatar for vishalonne
0
116
Member Avatar for Rizi004

Hi there, I m using jquery ajax function to get the data from server and i m getting the data in associative array on success, but now i want to convert that associative array in javascript, how i can convert PHP associative array in javascript array. Waiting for your quick …

Member Avatar for Rizi004
0
676
Member Avatar for showman13

Wow... I am baffled. I have a shopping cart script that works perfectly until I add in the following 3 lines of calculations What happens when that is added is that it stops the processing at that point altogether, and doesn't display the balance of the page, and yet when …

Member Avatar for showman13
0
208
Member Avatar for ryan311

Hi can anyone help me on how i can achieve this? I want to have a real time result on two textbox. double a, b, c, result; if (txtPriceMetre.Text == "") { txtPriceMetre.Text = "0"; } else { a = Convert.ToDouble(txtPriceMetre.Text); } if (txtLength.Text == "") { txtLength.Text = "0"; …

Member Avatar for tinstaafl
0
184
Member Avatar for bbt2d

I am new to c# and I am working with a xml file. I have appended to an existing sample file, but the formatting is off and some of the xml elements are missing. What I am working toward is appending to it 10 times just changing the number for …

Member Avatar for tinstaafl
0
252
Member Avatar for gunjan.vora.9

I'm writing a program to multiply two 4-bit number using add and shift method in C language. The code is as follows: #include <stdio.h> #include <math.h> int main() { int d,p=0, y=1010, x=1101, c, i; for(i=0;i<=3;i++) { c = x % 10; y = y << i; d = c*y; …

Member Avatar for Tumlee
0
153

The End.