64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Joey_Brown

Hello; What would be the most efficient way to get all of the 2^24 network identifiers for the given A class IP address. I am aware it is a very stupid question, and a inpractical one for that matter but thank you for any input. Im trying to speed up …

Member Avatar for Joey_Brown
0
140
Member Avatar for xuweisen

Hi, this is my website [url]www.byouinternational.com[/url] That website is a website that I make with full ajax programming.. I feel my website is quite long time loading the ajax content.. What do you think? Is it slow? Specially for the first page when you click the enter site.. Is quite …

Member Avatar for xuweisen
0
129
Member Avatar for kevindougans

Can anyone help me with "adapt.js" ([url]http://adapt.960.gs/[/url]) to set it up to include 2 css files instead of just 1. For example I need it to figure out I want to include /css/960.css, then i also want it to include /css/<= $pagename ?>/960.css Here is my current code (not included …

Member Avatar for kevindougans
0
232
Member Avatar for FrodoBaggins

Hi I'm having some problems with an array i have in the definitions [CODE]Dim x(4)() as string[/CODE] then when it comes to my assignments I have [code]x(4)(ss) = (TextBox5.Text)[/code] but it throws an exception (Null Reference) Can anyone help me with this? Thx in advance

Member Avatar for codeorder
0
126
Member Avatar for Shodow
Member Avatar for javedsai

Hi everyone, I'm using move_upload_function for uploading file. I works fine on localhost but, it doesn't work on live server. Thank in advance..

Member Avatar for javedsai
0
799
Member Avatar for wonderlandslost

Hello! So I've been working on a 1D array that represents a school bus that can hold up to 10 children. The array needs to have names put into it in the first available 'seat'. I've constructed code to do so, but something seems to be wrong. The findFirstEmpty method …

Member Avatar for wonderlandslost
0
336
Member Avatar for pushpat

Hi folks, I am learning operator overloading concept in c++, wrote sample program to test overloading of unary operator '!' and '-'. Code will work if i use them as friend function but not for member function. Can anybody tell where am i going wrong in function bool operator!(const co_ordi …

Member Avatar for pushpat
0
341
Member Avatar for HasNor

Hi all, i got a problem in my php web, i got error page that show "webpage has expired" when i want to go to previous page. Why it happen?? It happen sometime.. Do you have any idea to solve it?? Thanks for your sincerely help..

Member Avatar for HasNor
0
112
Member Avatar for Zaad

Hi; This is a code that I got from the examples in Oracle in using the javax.print When i try to compile and run a get an error saying javax.print.PrintException: java.lang.IllegalArgumentException: URI is not hierarchical [CODE]package printtry; /* * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. * * This …

Member Avatar for Zaad
0
4K
Member Avatar for paulhook

having problems with a header redirect i am trying to redirect to [url]http://www.mysite.com/somepage[/url] the problem is header info is being added before my link, so it is resolving as [url]http://www.mysite.com/component/uddeim/www.mysite.com/somepage[/url] my code is: session_start(); $adredirect = $_SESSION['goback']; header( "LOCATION:, $adredirect" ); the value stored in $adredirect is [url]www.mysite.com/somepage[/url] do you …

Member Avatar for paulhook
0
160
Member Avatar for VIEBlitz

[CODE]package test; import java.util.Scanner; public class Test { public static void main(String[] args){ Scanner kbReader = new Scanner(System.in); System.out.print("Choose mode (\"words\" or \"symbols\"): "); String mode = kbReader.nextLine(); if ("words".equals(mode)) { String oa = " plus "; String os = " minus "; String om = " times "; String …

Member Avatar for VIEBlitz
0
173
Member Avatar for HEMAMBUJAVALLY

hi friends, i m very newbie to vb.net. i'm using opendialog control to select the database file. this works for me. [COde] Private Sub btnbrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbrowse.Click opendatabase.ShowDialog() txtfilename.Text = opendatabase.FileName End Sub[/COde] Then i need to connect with the actual code. i'm …

Member Avatar for lysezoudn
0
471
Member Avatar for codeorder

Having a bit of an issue with my file.scanner and that issue is that I cannot figure out how to run multi.threading when searching the files within a folder(8,000+ files). [CODE]Imports System.IO Module x Function xGetFolderFilesCount(ByVal selFolder As String) As Integer If Directory.Exists(selFolder) Then Return Directory.GetFiles(selFolder).Length Else Return 0 End …

Member Avatar for codeorder
0
479
Member Avatar for jcomputing

Does anyone know where I can get a php script from that validates form fields and uses smtp authentication then sends an email of the information in the form.

Member Avatar for vaultdweller123
0
106
Member Avatar for Aleksej

Hello guys. I'am trying to make my search program, so that i can load a text file and search it. I used this code for browsing and opening [CODE] Dim streamer As IO.StreamReader Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click OpenFileDialog1.ShowDialog() TextBox1.Text = OpenFileDialog1.FileName streamer …

Member Avatar for Jx_Man
0
180
Member Avatar for patrick1981

I Need to to update multiple checkbox values on multiple records at the same time. When the form loads, it should display the sizes already selected for each style as stored in the style table and if we select or deselect any sizes on a style it should update the …

Member Avatar for patrick1981
0
11K
Member Avatar for Rakham

I'm using IO.File.ReadAllLines(FileName) to read all lines from text file to array of strings at once. Problem is, text lines include ANSI characters above ASCII value 127 (Scandinavian letters e.g. "Ä" (Ascii 196), "ö" (Ascii 246) and "é" (Ascii 233). Array is build up nicely, but all chars above ascii …

Member Avatar for thines01
0
741
Member Avatar for kalcio

hello, I prepare an application uses the result of the command prompt (Runtime.getRuntime (). exec (cmd)) for a command already entered, and displays it in a Textarea, but I notice that if I use a modal box the problem persists, my problem is that this application is in frensh,if any …

Member Avatar for kalcio
0
341
Member Avatar for mc3330418

I tried to write the function myself for a switch statement that would take a char and multiply it by a certain amount and then return the total. I'm a little confused on how the object gets passed to the case function. But here's what I got. [CODE] #include <iostream> …

Member Avatar for WaltP
0
2K
Member Avatar for BenzZz

Hi, I have a query which retrieves the most recent end_date of a contract. It works when i enter it into a cmd window but not inside my actual script as when i do a var_dump it shows as NULL. I don't understand why it works in one but not …

Member Avatar for BenzZz
0
117
Member Avatar for moroccanplaya

i have variable a with binary values then i have variable b with another set of binary values, i want variable b to into variable a and stored into variable c, i hope that not confusing a = "01101000011001010111100100000000000000000000" b = "011000100111100101100101" c = "01100010011110010110010100000000000000000000"

Member Avatar for moroccanplaya
0
120
Member Avatar for Thropian

I started into a project in Python,Tkinter. I have a button that I have two images for. I know buttons include the "-relief" option so I can get rid of the border. Now I'm trying to get rid of the click animation border, and have the image on the button …

Member Avatar for floatingshed
0
6K
Member Avatar for jcomputing

This script says my message was ucessfully sent. I don't recaive any emails. Please can someone help me. <?php //set variable error var $er = 0; //enter the website the contact form is on $website = 'jonathan@jcomputingconsultants.co.uk'; //Set all POST variables $email = $_POST['email']; $name = $_POST['name']; $hereaboutus = $_POST['hereaboutus']; …

Member Avatar for pritaeas
0
254
Member Avatar for nadskap2

Hi there, DaniWeb. I have been struggling with this one for a while. How do i write a regexp that matches every {$*} wherein * is wildcard. I have written one: /\{\$(.*)\}/ and it works fine at regexpal.com, but not with my preg_replace:( [code] <?php $string = "Hello {$name}! How …

Member Avatar for diafol
0
129
Member Avatar for honeybee2090

in application am using list box i load items from a text file i want to remove single items from list and want to keep duplicate items in listbox any help?

Member Avatar for honeybee2090
0
112
Member Avatar for Ksrinivas92

I am trying to create a webpage which does the following: 1)Has an image,which has an onclick javascript function f1() and an image map with a link pointing to a javascript function f2(); 2)updateAnim() is an "animation" it changes the image sources some 30 times 3)f2() is any function(trying with …

Member Avatar for Ksrinivas92
0
208
Member Avatar for profyou

when will the expression (std::cin>>buff) evaluate to false(0)? I have been trying to take input until empty string is entered(simply press enter) ? Is there any other way to achieve this?

Member Avatar for deceptikon
0
181
Member Avatar for bloodbender

Hello Daniweb, I can't wrap my head around this minor issue. Maybe it's a known bug and I just can't find the right keywords to google it or maybe it's supposed to be like this. Let me know what you guys think. [CODE] public class TestPostfix { public static void …

Member Avatar for bloodbender
0
131
Member Avatar for ginan

Hi all, any help would be greatly appreciated. This program is supposed to allow the user to read in a txt file with ingredients for recipes. We were asked to use the fstream and to use functions to read in the info and display it. I am new to this …

Member Avatar for ginan
0
9K
Member Avatar for Sabyre

Hey Guys, Must be "a case of the MONDAYS" =) I'm trying count the results of a query of two tables. The following gives me: Column 'id' in field list is ambiguous Which I can understand as MYSQL is not sure which result I am asking for. [CODE] $query = …

Member Avatar for Sabyre
0
185
Member Avatar for stevanity

When I compiled this program... [CODE]#include<iostream> using namespace std; class base { public: virtual void show() { cout<<"\n Base class show:"; } void display() { cout<<"\n Base class display:" ; } }; class drive:public base { public: void display() { cout<<"\n Drive class display:"; } void show() { cout<<"\n Drive …

Member Avatar for gerard4143
0
200
Member Avatar for Gaiety

Hi, I have just started learning PERL. below is the code i have written , i am expecting the same order that of array when i print the contents. but the output was [ICODE] 29 25 Michael 29 Walter 34 Donny 25 Sobzchak 30 [/ICODE] can some body please clarify …

Member Avatar for Gaiety
0
103
Member Avatar for cs_1000100

Hello, My question is if I have program programmed by matlab and I want program an interesting interface using another program language such as java ,can I do that? Please give me suggestions about programming wonderful interface using matlap or any other language can integrated with matlap because the original …

Member Avatar for cs_1000100
0
261
Member Avatar for mani-hellboy

Hi friends., I need one help from you all. Actually i am working asp.Net 4.0, i need to specify path in different folder in my project.so, i think if i place server.mappath in web.config is very useful for me how can i place it. tell me any sample or code …

Member Avatar for mani-hellboy
-2
833
Member Avatar for miramiey

Hello, I am creating simple an applet to draw a registration form based on the selected item within the awt choice object. I have include a radio button, choice list and button. My problem is when running the Applet...the choice list is blinking and when I maximized or minimise frame …

Member Avatar for JamesCherrill
0
224
Member Avatar for kothaisaravan

Hi, I have an c# application works with oracle database communicates through java web service. In windows XP it works fine with calendar, but with Windows Server 2008 R2 Service Pack 1 it does not work instead it shows some error(the same application is used in both the environment). I …

Member Avatar for charlybones
0
106
Member Avatar for Jnk

I have a problem with sockets. I am using this code in java as the client: [CODE] class Javaclient { private static DataInputStream input; private static PrintStream output; public static void main(String argv[]) throws Exception { int PortNumber = 4321; String line; BufferedReader in; Socket MyClient = null; try { …

Member Avatar for Jnk
0
251
Member Avatar for raheel88

Hello all, VB6 newbie here. I've got a basic form containing a list box, with two command buttons; one to add items to the list, and one to remove items. The two command buttons work fine, but I want to disable the "Add" button once there are 8 items in …

Member Avatar for raheel88
0
1K
Member Avatar for simplypixie

I am not sure if this is a server issue as seemed to be working on my testing server but now live on the clients server this issue is arising. The email is generated from a form which includes a file upload in either word or pdf which is saved …

Member Avatar for simplypixie
0
4K
Member Avatar for Connavar3

Hi everyone! I have written a server client that receives information, does a database transaction and then sends the result back to the client. My client has requested that they be able to view what was received and what was sent in real time. I have used a JTextArea. The …

Member Avatar for Connavar3
0
415
Member Avatar for Wiki_Tiki

Hi, I'm a real newbie at C++, and I'm having a ton of trouble. You see, What I need to do is convert an std::string into a system::string^ so I can display it in a textbox, and I haven't found any way of doing so :icon_confused: . I always get …

Member Avatar for RhondaCos
0
2K
Member Avatar for lysezoudn

Are there anyone know how to select a tab in tabcontrol using API? Any help will be highly appreciated.

Member Avatar for lysezoudn
0
163
Member Avatar for mrbaconbitts

I am building a program to make a pyramid as such. 1 1 2 1 1 2 4 2 1 Etc. For 8 rows. [CODE]public class PrintingNumbers { public static void main (String [] args) { int k = 1; for (int i = 1; i <= 8; i++) { …

Member Avatar for mrbaconbitts
0
130
Member Avatar for clipper_soul

i have the same problem of this post [url]http://www.daniweb.com/software-development/vbnet/threads/409118/1746088#post1746088[/url] i cant find the elements of this site that i need to my system. this is the only missing part to my system/project this is the site : someurl.com this is the portion that i want to grab [IMG]http://i1059.photobucket.com/albums/t432/doomhades666/sss12.png[/IMG] Thanks in …

Member Avatar for clipper_soul
0
421
Member Avatar for docgrid

hi everyone i need bit of support in my vb coding. i've publish data onto a datagrid(in vb express 2010). i just want to highlight entire row once the search data is found(in lime color) and color should be remain in that particular row when searching next records. so that …

Member Avatar for docgrid
0
535
Member Avatar for hystaspes

Hi there, My question is about 2^(2n) = O(2^n) ; is it true or false? and we know that: [B]f(n) = O(g(n))[/B] if positive integers [B]c[/B] and [B]n0[/B] exist such that for every [B]n >= n0[/B] : [B]f(n) <= c*g(n)[/B] Based on the definition, I'm thinking the above statement is …

Member Avatar for Rashakil Fol
0
31K
Member Avatar for vaultdweller123

Hi guys i need your help, i need to know how run PHP on nginx, i already installed it but it only reads html files not PHP, it will prompt download the php file. Im super new to this and the tutorial on the net's are complicated. btw im using …

Member Avatar for vaultdweller123
0
79
Member Avatar for rhone0809

hi to all vb6 and vb.net expert! i need help. i want to split the data from a text file and save it to the sql database. attached here is the .txt file and the format.this data is from a chronolog machine im thinking of using string token but it …

Member Avatar for rhone0809
0
456
Member Avatar for giancan

Dear all, I built 2 script to manage 2 different frames (which I will then convert to exe with py2exe). Frame 1 (GG1) is like this [CODE]import wx # begin wxGlade: extracode # end wxGlade class MyFrame(wx.Frame): functions here ... if __name__ == "__main__": app = wx.PySimpleApp(0) wx.InitAllImageHandlers() GG1 = …

Member Avatar for woooee
0
314

The End.