199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zorrinn

if I am given an string which is 1111 (no less than length 4) or 255255255255(no more than length 12). I want to split up these numbers in every possible combination and create all possible valid IP addresses from them. For example, for a given string "1902426" The result should …

Member Avatar for sknake
-1
431
Member Avatar for C++ Beginner

I had a problem that I had to create a menu that asks for user's input and depending on that input it will calculate area of circle, rectangle, or a triangle. I got that part worked out but the last part of the problem is "Do Not accept negative values …

Member Avatar for K0ns3rv
-1
3K
Member Avatar for sonia sardana

As u all know,at runtime we can move the form. I use the foll. code,so dat form doesn't move.I want to ask dat is there any easy way to do it. Mine code below working correctly,but lengthy- [code] Option Compare Text Option Strict On Option Explicit On Public Class Form1 …

Member Avatar for yorro
-1
357
Member Avatar for Markstein

Hello, I need to have users fill out a form before they are granted to download any given file to generate sales leads. I do have a script which was custom made but am having some issues with it. I am wondering if anyone knows of a service (or script) …

Member Avatar for network18
-1
1K
Member Avatar for lapassion

Hello everyone... I'm having a problem with RichEdit and its default scrolling behaviour. When a new line is added to a RichEdit (via a Timer OnTimer event), it autoscrolls to the bottom, which is fine. The problem is, while it scrolls to bottom, it also resets the horizontal scrollbar to …

Member Avatar for lapassion
-1
278
Member Avatar for Sujata Bandyo

Hi Friends, I am having problem with the above code snippet. Initially it woked fine. But now it is giving an error of java.sql.SQLException: ORA-01722: invalid number. How can I resolve the exception? Thanks. [code=JSP] try { String ein=(String)session.getAttribute("EIN"); System.out.println("inside try block"); Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@10.9.16.2:1521:TESTDB","HE","HE123"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select distinct REV_OWNER …

Member Avatar for masijade
-1
2K
Member Avatar for prefer

Hi everyone! I think I'll be on here allot from now on, pretty useful forum, well done! Anyways, I'm doing a project for school and it's got me stuck. See I didn't understand the error message the compiler gave me at first, but then I read it on ...some website, …

Member Avatar for House_of_Dexter
-1
257
Member Avatar for VidyaYadav

Hi, I have added no.of images(pictureboxes) in a flowlayoutpanel using openfiledialog. Now i want to remove the particular control at runtime but i am able to get the particular control. How can i name the pictureboxes while adding them in flowlayoutcontrol and after adding them how can i get the …

Member Avatar for Geekitygeek
-1
2K
Member Avatar for leokuz

[COLOR="Green"]I am trying to send email from VB.Net using code posted below in VB 2008 Express, but get one error "Syntax error" and it points to [COLOR="Red"][B]Imports System.Net.Mail[/B][/COLOR]. I also would like to include required by server authentication as well as to make confirmation message box disapear itself after two …

Member Avatar for leokuz
-1
368
Member Avatar for macdonald12

Hi everyone, this is my first post on this forum. I've been browsing these boards for awhile and thought it would be a good idea to register now, for i hope someone can help me out :) I've created a program which enables a user to input numbers from 1 …

Member Avatar for macdonald12
-1
742
Member Avatar for SKANK!!!!!

when registering. how do i make it so that its like with php [CODE]if($username matches any of these words){exit("that username is not available to be used. sorry it is forbidden");}[/CODE] like that kind of thing but see i was thiinking it would be better if all the words(cause there will …

Member Avatar for SKANK!!!!!
-1
309
Member Avatar for EvilLinux

I had question about the array in an other post and figure for the most part, but I honestly stuck on what do at the moment with my project because I can get my test scores to show up correctly, so I must be doing something wrong. Can someone take …

Member Avatar for DdoubleD
-1
968
Member Avatar for havoc433

Hi I'm using the Pascal language and I need help with the following problem. You need to find the most common word read in by a user of arbitrary length and then display the amount of times its found in the input. I placed all the words into a linked …

Member Avatar for FlamingClaw
-1
287
Member Avatar for uzimuzi

[code] #include<iostream>; using namespace std; int main(){ char arr[8]={}; for(int count(0); count<=7; ++count){ arr[count]='*'; } cout<<arr; cin.get(); return 0; } [/code][code]I really do not understand how some garbage values get stored into the array; even after I have initialized it properly; and how it can display MORE values than what …

Member Avatar for uzimuzi
-1
331
Member Avatar for SuperMetroid

I'm compiling an extremely large list of usernames, and I want to know which is a faster method of checking what is already in the list. If anyone can give some insight as to how Python deals with each that would be much appreciated!

Member Avatar for vegaseat
-1
4K
Member Avatar for Juliebadeya

Please help me in this homework. /* mortgage -- calculates the amount of a monthly mortgage payment based on the * principal (i.e., the amount borrowed), the annual percentage rate (APR), and * the number of years to payoff the loan. Prints an amortization schedule (table). * * The program …

Member Avatar for William Hemsworth
-1
1K
Member Avatar for RobBrown

I am having some problems with writing a 2d array, then displaying it, and then showing the sum of all of the elements. A major part of this problem is that i nave to write three seperate functions to achieve this. it is supposed to do this: [QUOTE]For this exercise …

Member Avatar for anandi ilu
-1
750
Member Avatar for alvalany

hi friends, recently I came o know about internet bots.Can someone help me in creating a simple web BOT for tasks like automatically signing in into my gmail account,sending a particular email to all my frnds,then in orkut checking for any visitors and giving the list to me in a …

Member Avatar for SpaceTiger
-1
290
Member Avatar for just_me

hi guys. I got problem here. I built the system of weighted average method calculation based on php. Now, I'm the last part which sum of the value in html table. Basically, this is my coding:- [CODE] <?php session_start(); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . …

Member Avatar for CFROG
-1
487
Member Avatar for yorro

I have created a very long code on my app for checking if a record exist then insert. Is it possible for a single SQLString to check if records exist then update or insert? Sorta like [CODE] IF NOT EXISTS (SELECT column1 FROM table WHERE column1 = [COLOR="Red"]'sample1'[/COLOR]) THEN (INSERT …

Member Avatar for yorro
-1
496
Member Avatar for hemgoyal_1990

Hi all, I am New in Javascript and Not Having too Much Knowledge of Javascript. I Have a Javascript That Disable Enter Key in Textarea in Whole Form in Page. but I Want to Disable Enter Key only One Textarea. Below is my Code: [CODE]<html> <head> <title>The Title Of Your …

Member Avatar for JavaScriptBank
-1
2K
Member Avatar for neverlander

I am trying to display a gif file on pyqt.It shows but doesnt animate.It is static.How can make it animate? This is the code i used: [CODE]pic=QtGui.QPixmap("./IRREGULAR/"+ui.lineEdit.text()+".gif") ui.label_9.setPixmap(pic)[/CODE]

Member Avatar for vegaseat
-1
5K
Member Avatar for snakay

Hi, I like to add DisplayMember and ValueMember to combobox when Loading forms. Then with combobox_SelectedIndexChanged event select the DisplayMember but assign ValueMember to a textbox field. I can add and assign the DisplayMember, but I cannot do it with ValueMember. in Designer.cs part at initiation; [code] this.cmbViziteType.Items.AddRange(new object[] { …

Member Avatar for snakay
-1
757
Member Avatar for James19142
Member Avatar for James19142
-1
346
Member Avatar for mohankumar554

hi i am developing web services on MAC SYSTEM by using python-SOAP-ZSI tool. but i am getting this error when i am trying to install. so it is not working . so can u tell me how to overcome this error. "SyntaxError: from __future__ imports must occur at the beginning …

Member Avatar for vegaseat
-1
855
Member Avatar for DMcQuinn

I want to loop from 0 radians through 6.2 radians in increment of 0.1 radian something like this in C for(r=0.0; r<6.4;r=r+0.1) this is the best I can do in Python: for i in range(63): z = float(i)/10 print z Is there a better way?

Member Avatar for vegaseat
-1
15K
Member Avatar for RunTimeError

I want to thank the helpful posts. I'm now having a new problem. I have created 100 picture boxes at run time and I am giving each a dynamic name (pictureBox_1, pictureBox_2, etc). I want to be able to change the background image of the picture box of my choosing …

Member Avatar for ddanbe
-1
467
Member Avatar for valonesal

We are wondering how we would add parameters to the following script so that each section can be called separately. [CODE]<?php // This is the content we want to display $data = <<<EOT <div class="topbar"> My Text goes here </div> EOT; // Output JavaScript code to write the data printf('document.write(unescape("%s"));', …

Member Avatar for almostbob
-1
254
Member Avatar for NordCoder

Hi Daniweb Community :), I'm working on an SDL/C++ project, using the VC++ IDE. There is too much code to put it on here, but I'll give you an outline: The program works, but there is one thing that doesn't. The resulting .exe file shuts down immediately when it is …

Member Avatar for NordCoder
-1
2K
Member Avatar for edDev

First a little background. I have a client (in-house) who insists that our training pages (launched from within iframes on a parent page) be able to load .wmv files with variables for the width and height parameters so we don't have to recode when videos are switched. Flash videos are …

Member Avatar for edDev
-1
1K
Member Avatar for x3277789

Hi Everyone, So i have been trying to figure this out for ages. Im just not able to to get the algorithm straight. Say I am given a string containing markup tags ex. <html> </html> in a string like this: <html> <head> <title> Example </title> </head> <body> quiet <CAPSLOCK> LOUD …

Member Avatar for ov3rcl0ck
-1
260
Member Avatar for gerard4143

Hi everyone, I recently installed Slackware 13/x86_64 on one of my boxes and now I'm having troubles with Python code that uses threading and Tkinter. This problem never existed on other Linux distro's, it just appeared with Slackware. The box in question Acer Athlon x86_64 single core used to run …

Member Avatar for ov3rcl0ck
-1
531
Member Avatar for itslucky

Hi Dear Friends...!!! I am developing a Attendance System in C# using MS Access Database. I want to Count the totall P and A in the Attendance Column... now Dear Friends Please tell me any Query or logic to do the above work...!!! ***P for Present*** ***A for Absent ***

Member Avatar for itslucky
-1
521
Member Avatar for lil_Is

Hi all, I am doing a simple application which is to create a register form which I am not quite sure. To stored the data, I am using the MS Access. Hope that anyone could help me. Thanks Regards LiL_Is

Member Avatar for lil_Is
-1
3K
Member Avatar for ov3rcl0ck

So when I take an argument off the stack it seems that is in the form of a string, is there a way i can convert it to a integer so i can "cmp" it with another argument which i also wish to convert to an int? I am a …

Member Avatar for ov3rcl0ck
-1
289
Member Avatar for topsyturby

i found this problem in c/c++ when i wrote this code int a=5,b; b=++a +(+=a + a--); it gave the output of b as 21 and when i wrote int a; int b=++a + (++a + a--); it gave b as 18 why the answers are varying for the same …

Member Avatar for Tom Gunn
-1
358
Member Avatar for azegurb

Hello, I have one question again if i dont disturb you thank you very much you helped me with your help i created one table again and in this table i added some another options for ex at the previous table there were only one problem sum of the dynamically …

Member Avatar for Airshow
-1
267
Member Avatar for jingo1126

guys need help says when executed.The syntax of command is incorrect.. i dont where i went wrong..here is my code.. [code] .model small .stack 100h .data file db "TEST.TXT",0 ; File name new db "Rename.txt",0 ; New name dir db "D:",0 ;Current directory .code start: mov ax,seg dir mov ds,ax …

Member Avatar for jingo1126
-1
1K
Member Avatar for Altairzq

Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of …

Member Avatar for digital-ether
-1
357
Member Avatar for Dewey1040

I honestly don't fully know where to start with this program but this is what i have Write a MIPS program which read one line at a time from console. For each line that you read, print two lines on the console: echo print of the line and types of …

Member Avatar for wildgoose
-1
1K
Member Avatar for jingo1126

ive been wondering why wont codes make a file [code] .model small .stack 100h .data buffer db 10,?, 10 dup(' ') .code start: mov ah,1 int 21h cmp al,"1" je input jne finish input: ; will input string i.e "qw.txt" mov ax,seg buffer mov ds,ax mov dx, offset buffer mov …

Member Avatar for NotNull
-1
308
Member Avatar for Ineedhelpplz

Instructions: Trailing blanks and tabs are defined as blanks and tabs that precede a '\n' character or an EOF to terminate a line, without any intervening characters of other kinds. You should copy a getline() function of the kind you see in the text to read in lines from stdin …

Member Avatar for Ineedhelpplz
-1
532
Member Avatar for Torando

I have an old game written in delphi and the game keeps crashing, the game is an mmorpg so there are constantly people online. To the problem, when we first start the game up, everyone can get on fine and play. The game stores variables into text files for each …

Member Avatar for farhan386
-1
534
Member Avatar for blerina12

Hello guys. I am having a problem with the following code. When I try to run the program the instruction int 21 causes an access violation. Can someone tell me how to fix this problem? [CODE].386 .model flat .stack 100h .data message db 'Hello World', 13, 10, '$' .code _start: …

Member Avatar for blerina12
-1
510
Member Avatar for axeeffect2002

Hi, I am trying to log a portion of the log file depending upon the "WorkOrderNumber" and "level". The shell script i've written is as follows:- [CODE]cat input.log | awk '/\[WorkOrderNumber/' | awk /120600012/ | awk /INFO/ | tee log.vw[/CODE] For a particular WorkOrderNumber, the record is very long (4253 …

Member Avatar for axeeffect2002
-1
414
Member Avatar for ShailaMohite

Hi All, In my application, i have a datagridview with 5 colums, at the form load the datagridview contains one row, I am showing a combobox in each of the 4 columns to select the values (i doesnot type any thing in that 4 columns), when i press tab the …

-1
329
Member Avatar for jingo1126

guys? im creating my own program..first im using tasm.. my problem is i have the code for cursor.. [code] ;set cursor location(dh,dl) mov dl, 16 ; column. mov dh, 16 ; row. mov ah, 02h int 10h ;symbol of cursor mov al, 'x' mov ah, 0eh int 10h [/code] my …

Member Avatar for jingo1126
-1
4K
Member Avatar for Alex_

Hey guys. I want to read from a file created by me from a specific position. But i don't know how to move the file cursor. [code=ptasm] TITLE ep1 .MODEL SMALL .STACK 10h .DATA text DB '1234567Start:7890.end',13,10 text_length equ $-text dir db 'D:\myfile.dat',00h buff db 17 dup('$') f_handle dw 1 …

Member Avatar for NotNull
-1
1K
Member Avatar for Argentis

Hi guys, I've been fascinated with computers for a long time, and want to get more into it. Here are a few of my first questions: 1. I noticed the FAQ is 4+ years old, is it still valid? 2. I want to get into the industry (not sure where …

Member Avatar for Argentis
-1
250
Member Avatar for markrezak

//Binary Search Tree Program #include <iostream> #include <cstdlib> using namespace std; class BinarySearchTree { private: struct tree_node { tree_node* left; tree_node* right; int data; }; tree_node* root; public: BinarySearchTree() { root = NULL; } bool isEmpty() const { return root==NULL; } void print_inorder(); void inorder(tree_node*); void print_preorder(); void preorder(tree_node*); void …

Member Avatar for dkalita
-1
439

The End.