199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for celina1234

I have a text file which looks like this : Flooding refers to all water that overflows a node, whether it ponds or not. -------------------------------------------------------------------------- Total Maximum Maximum Time of Max Flood Ponded Hours Rate Occurrence Volume Depth Node Flooded CMS days hr:min 10^6 ltr Meters -------------------------------------------------------------------------- 1064 0.15 0.000 …

Member Avatar for deceptikon
0
123
Member Avatar for LinaClark

Hello, I am a newb all the way around and I hope that I explain this thoroughly in order to get the help I need. I have a mysql db inside of my python program that generates a hint. I need to have a random number (which will later be …

Member Avatar for rrashkin
0
207
Member Avatar for Lethugs

How can I specify the Server of my database when I make my project executable I have this module I call everytime i modify my database Public Sub main() constr = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:"database file".mdf;" & _ "Integrated Security=True;Connect Timeout=30;User Instance=True" Con = New SqlConnection(constr) Try Con.Open() 'MsgBox("Server Connection is Open …

Member Avatar for john.knapp
0
831
Member Avatar for zlloyd1

Hi all, I am trying to learn java here, and having some difficulties with a very simple program that I am working on in an attempt to get a feel for what the language can do. This is my code so far: import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; …

Member Avatar for JamesCherrill
0
929
Member Avatar for riahc3

I habe table one with Col 1 (PK) Col 2 (NN) Col 3 (NN) Col 4 (NN) Col 5 (NN) Col 6 Col 7 Col 8 Then I create table two with Col 1 (PK) (AI) Col 2 Col 3 (FK) That col 3 from table two is col 1 …

Member Avatar for pritaeas
0
123
Member Avatar for mattsearle

Hi I am trying to use the code below more than once within a web page. I have tried changing the id's of the div, getElementid and outDiv, however only one of the scripts will work. Is the outDIV.innerHTML the problem. Inline Code Example Here <link rel="stylesheet" type="text/css"> <style> div …

Member Avatar for mattsearle
0
177
Member Avatar for durrat

hey i am new to gwt and i am doing an project on java and gwt and stuck in one part i want to create a reminder that is like user enters date and time and at that time a pop up should be displayed reminding user of his event.can …

Member Avatar for durrat
0
143
Member Avatar for davidmt

Hi, I am a complete beginner with web hosting so apologies if the solution to this is blatantly obvious. Somebody set up my PC so when I got to localhost in a browser I get a webpage they created. I want to host that from here. I downloaded Wampserver 2.2 …

Member Avatar for pritaeas
0
102
Member Avatar for kedxu

An **applet** I am creating **uses Timers for its animation**. Even though the Timer is set to repeat at a constant 30ms, **the applet's framerate on my computer** versus on my brother's laptop **is significantly better**. Is there a chance that **on slower computers**, the **Timer "ticks" slower**, so to …

Member Avatar for JamesCherrill
0
902
Member Avatar for bharanidharanit

hello, I am using Visual Web developer 2008. I am using loginname control. there it displays name as admin. How to get that value to textbox or label. Simply i want to get that value as string. Thanks

Member Avatar for skhan7332
0
175
Member Avatar for hirenpatel53

Hi all I have Placed One Custome button on Grid Withe refference of the location of rows depending on certain condition everi thing working fine but whwn rows increase and we need to scroll grid at that time button stay fix with its location for fixing this error i write …

Member Avatar for papu.shankar
0
284
Member Avatar for Suzie999

I'm thinking of hosting a *name that tune* type game. I don't know anything about PHP or even if it's the languge to use, but I'm hoping someone might put me straight on that matter too. Here is an outline of my needs/scenario. I post a link to a song.mp3 …

Member Avatar for Suzie999
0
281
Member Avatar for anukavi

Hi, Before posting this question, i had gone thru related answers in many sites but cudnt get a solution to the problem. I have followed the step needed for Socket timeout, but the timeout eventually pass for the first time but fails for second time. Platform : VC++ 2012 MFC …

0
105
Member Avatar for myk45

Hello All, I was experimenting with creating a large number of threads and checking how fast it runs on my machine.(details provided later) This is the code i'm using: #include <iostream> #include <thread> #include <ctime> #define THREADED 1 static const int num_threads = 100; static int mult_array[100][1000000]; void multResult(int *arr) …

Member Avatar for myk45
0
743
Member Avatar for vonnoy

im having problm with my date function. i want to record date in database only one but my code do not function. this checks attendance once in a day. date must not double plz help me. Sub search() 'search if id registered With ado .ConnectionString = connectdb .RecordSource = "Select …

Member Avatar for AndreRet
0
214
Member Avatar for patrick.ooi.96
Member Avatar for Rajshri Patil
0
229
Member Avatar for Darshan5

Im creating a project in java using netbeans. I have to create lots of forms for every operation. So i created a menubar and add menu items in it. Instead of creating so many jframe forms i decided to create JPanel forms for evry operation. So in this way i …

Member Avatar for stultuske
0
129
Member Avatar for amith_ami

hi all.. pls help me.. i want to sum the price of multiple products with its quantity and shipping charges. in my products table all the products have different shipping charges. for ex: product1 shipping charges. product2 shipping charges. shipping to US = $10.99 shipping to US = $14.99 shipping …

Member Avatar for amith_ami
0
137
Member Avatar for THEboss007

#include <asm/uaccess.h> #include <asm/system.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/mm.h> #include <linux/socket.h> #include <linux/in.h> #include <linux/inet.h> #include <linux/netdevice.h> #include <linux/fcdevice.h> #include <linux/skbuff.h> #include <linux/errno.h> #include <linux/timer.h> #include <linux/net.h> #include <linux/proc_fs.h> #include <linux/init.h> #include <net/arp.h>

Member Avatar for THEboss007
0
960
Member Avatar for bottlecaps

So essentially I'm completely lost with this problem our professor gave us. I was absent for the lecture, and he isn't very keen on uploading the lecture notes before our assignments are due. Anyway, the program to be written goes something like this. We need to write a non-graphical program …

Member Avatar for socialshouting
0
199
Member Avatar for vizz

I have 4 div's. **first div** is **Centre div**, 2nd div is **right** of **Centre div**, 3rd dis **left** of **Centre div** and 4th div is **above** of **Centre div** How to detect number of div's and create **Paginated bullet like map** showing position of each div. If number of …

Member Avatar for vizz
0
302
Member Avatar for pjh-10

having trouble finding this anywhere, on a 32bit computer, how many bytes does it take to store ; long int, unsigned char,float, double any help is much appreciated

Member Avatar for vmanes
0
228
Member Avatar for sandeepyadav

Can i get java source code for making an er diagram of any database(which have entities, attributes and relationships)?

Member Avatar for Patil Raj
0
89
Member Avatar for newbie14

We are trying to send several emails via C language on a centos 6.2 platform. Below are the codes. I added and left char *filename = ""; the I get error as sh: TEST: No such file or directory sh: TEST: No such file or directory sh: TEST: No such …

Member Avatar for newbie14
0
300
Member Avatar for mateusz.baran1

Hello fellows! I have question. Iam doing some project to my school and I have small problem. I have chart (iam using jfreechart) in Chart.java file and after user is loading to his profe he should be able to push button and chart wit his statistics should appear. My problem …

Member Avatar for mateusz.baran1
0
519
Member Avatar for Stuugie

Hi all, This is something I should know but for some reason the answer is eluding me. In a SSIS Script Task Editor, I am trying to set a package String variable called ReNameFile with the following VB.NET line using DateParts for month and year: Dts.Variables("User::ReNameFile").Value = Dts.Variables("User::fileName").Value.ToString + DatePart(DateInterval.Month, …

Member Avatar for Stuugie
0
356
Member Avatar for runlevel3nut

I'm self-studying python, and more advanced python programmers have pointed out to me that I'm learning an obsolete instruction set and the use of obsolete tools thanks to being taught about an old version of python rather than the most current one. The website where I'm self-studying also offers chances …

Member Avatar for runlevel3nut
0
290
Member Avatar for androidz

Hi Does anyone here can show me how to make an application that is like an odbc wizard that could register a sql server type connection? I have found one on the net through searching but it does not accept the UID and password of the sql server. I also …

Member Avatar for john.knapp
0
707
Member Avatar for Elmo_loves_you

Hey People :) A little quesion for you all ... I have a stored procedure which retrieves an ID from a Customer table and the ID from the newly Inserted row of the Vehicle table and adds them to a new table. On my form I have a dropDown where …

Member Avatar for umer asif
0
1,000
Member Avatar for GraficRegret

ok so here is the code I am working with, <?php include 'database/conection.php'; $allowedExts = array("jpg", "jpeg", "gif", "png"); $extension = end(explode(".", $_FILES["file"]["name"])); if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($_FILES["file"]["size"] < 20000000) && in_array($extension, $allowedExts)) { if ($_FILES["file"]["error"] > …

Member Avatar for GraficRegret
0
61
Member Avatar for dancks

I am creating a basic PM system for my website. I have just a basic table for a pm: mysql>describe PM; +--------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+--------------+------+-----+---------+----------------+ | PMID | mediumint(9) | NO | PRI | NULL | auto_increment | | …

Member Avatar for dancks
0
318
Member Avatar for GraficRegret

ok so I am trying to create a login page for my website, however after following a tutorial on creating all the functions and calls and everything I need to in order to get it up, I upload it to my server and when I try to test it the …

Member Avatar for GraficRegret
0
102
Member Avatar for din3sh

I'm trying to create a php script to print fibonaaci series. The idea is to add a new number to the series everytime the page is refreshed and print the series. <?php if (!isset($_COOKIE["fno"])) {setcookie("fno",0,time()+3600);} if (!isset($_COOKIE["sno"])) {setcookie("sno",1,time()+3600);} if (!isset($_COOKIE["series"])) { $text="0 1 "; setcookie("series",$text,time()+3600); } $fno=$_COOKIE["fno"]; $sno=$_COOKIE["sno"]; $fibostring=$_COOKIE["series"]; //echo …

Member Avatar for broj1
0
253
Member Avatar for knd15

I know this maybe easy but I need help with creating a fibonacci sequence array from a to b. This is my code so far: def FibL(a,b): list = [] if a == 0: return 0 elif a == 1: return 1 else: return FibL(a-1) + (a-2) for i in …

Member Avatar for vegaseat
0
243
Member Avatar for filch

Hello, been a while since I have been here but I am working on something that has me stumped and I have not been able to solve it nor find an answer that does what I need to do. I have a form that is usually sent to an external …

Member Avatar for diafol
0
234
Member Avatar for James19142

I used `memcpy` to copy the contents of one pointer to another pointer assigned to new memory. Later in the program I get runtime errors as if I were attempting to operate on a pointer pointing to nothing. While debugging, I saw that the original and the the copied pointer …

Member Avatar for James19142
0
2K
Member Avatar for realname

Hi there, I have a general question regarding video for web (sort of). One of the departments I work with would like to create a short narrated training video using still photos. Basically what they want to do is have a type of slideshow with probably some basic arrows or …

Member Avatar for tinstaafl
0
160
Member Avatar for efe.ozyer

BYTE GetByte(char* sBuf, int& index) { int t_index = index; index++; return (BYTE)(*(sBuf+t_index)); } int GetShort(char* sBuf, int& index) { index += 2; return *(short*)(sBuf+index-2); } and i cannot convert this

Member Avatar for tinstaafl
0
477
Member Avatar for M.Waqas Aslam

Dear All! I want to get my columns value into rows . i am taking sum of qty of each month . like this select sum(Case when month(invoicedate) = 1 then qty else 0 end) as janQty, sum(Case when month(invoicedate) = 1 then qty else 0 end) as febQty, sum(Case …

Member Avatar for adam_k
0
245
Member Avatar for Shailajaprasad

Hi I need to use sumproduct in VBA, but not able to use it. can any one tell how to use it. Shailaja

Member Avatar for AndreRet
0
77
Member Avatar for arctushar

Hi I want to develop a facebook apps. Where it will take quiz, then merge profile picture in a certificate image. with result. the index.php file is as below <?php include_once "fbmain.php"; //if user is logged in and session is valid. if ($user){ //fql query example using legacy method call …

Member Avatar for LastMitch
0
208
Member Avatar for arjun.walmiki.1

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.Ports; using System.IO; using System.Runtime.InteropServices; namespace PortDataReceived { class Program { static void Main(string[] args) { SerialPort mySerialPort = new SerialPort("COM1"); if (mySerialPort.IsOpen == true) mySerialPort.Close(); mySerialPort.BaudRate = 2400; mySerialPort.Parity = Parity.None; mySerialPort.StopBits = StopBits.One; mySerialPort.DataBits = 8; mySerialPort.Handshake = Handshake.None; …

Member Avatar for efe.ozyer
0
471
Member Avatar for satsujin

Hi folks, I'm trying to use the subsample method in the PhotoImage class to resize an image I have in a list that links to a Label widget in Tkinter but python says there is no such method. I know I could use Image.resize before calling Photoimage but since I'd …

Member Avatar for satsujin
0
3K
Member Avatar for jakubee

Hi everyone, I'm doing a RMI chat application for my client-server distributing programming module. I have stuck nearly at the very end of it. What I doing is: running the server. running the the UI, connecting to the server. Loging as user1. sending the priv messagae to other user. Replaying …

Member Avatar for JamesCherrill
0
251
Member Avatar for secretply

Is it possible to send data from a webpage but only certain parts of it? For example: Webpage from form: <html> <head> </head> <body> <div>Non-form data</div> <form method="post" action=""> <input type="text" id="field1" /> </form> <div>Other non-form data</div> <?php $field = mysql_real_escape_string($_POST["field1"]); // Database info echo $field . "is in the …

Member Avatar for AleMonteiro
0
138
Member Avatar for xxwikkixx

Hey everyone just to refresh my memory and practice some programming I decided to make the dice program here is my code: #include <iostream> #include <ctime> using namespace std; int main() { int input; int random; cout << " VIRTUAL DICE 1.0" << endl; cout << "Enter 1 to roll …

Member Avatar for theguitarist
0
171
Member Avatar for RT00220489

Hi.. I am trying to create a simple desgin in windows applcation using C#.NET, where I have dived my page into 2 panels using split control. The first panel has images lined up vertically, one after another. I would want that when I point a mouse on any image, the …

Member Avatar for tinstaafl
0
717
Member Avatar for nblackburn

I have a function that renders roughly 100-200 images on a canvas, ever since moving my applications resources to an archive and reading them in from memory i am getting a white screen for a second or so whilst it renders the images. This wasnt happening when i was using …

Member Avatar for tinstaafl
0
186
Member Avatar for ganesh641

I am using curl function to login my web site using the Gmail username and password. Its working fine in my local environment but once i moving that file into my client server it returns the response **"HTTP/1.1 401 Unauthorized"**. provied some solution here is my curl function code for …

Member Avatar for veedeoo
0
5K
Member Avatar for giovannitao

Hello, Somenone that know osclass script, can hel me to customization search bar. I try to edit inc.search.php but I don't know how can I obtain this result: [Click Here](http://i50.tinypic.com/3537gwi.png) In this search bar tou can see 3 menus: What, Where (with city) and Category. Thanks to all

Member Avatar for gon1387
0
617

The End.