199,114 Archived Topics

Remove Filter
Member Avatar for
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 predator78

Hello all.... Sorry if this is extremely simple and stupid but I was taking a look at the Forgers32 manuals just to have a poke at the win32 api. I was able to get his first example working to pop up a basic window but for some reason the title …

Member Avatar for jbennet
0
233
Member Avatar for rushikesh jadha

Is it possible to create gui programming using C. If yes then please give Example source code. thankx in advanced.

Member Avatar for jbennet
0
128
Member Avatar for mshdpotato

I got this PHP page where I get data from a database and turns it into a link through javascript. It works well on Google Chrome and IE but doesn't work at all on Firefox. Any idea why? Thanks a bunch :) [CODE] <script type="text/javascript"> function submitform(action) { document.forms("pSubCategory" + …

Member Avatar for stultuske
0
523
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 TIM_M_91

Hi guys well what I'm trying to do is produce a query that only produces the results which will match my director input. I have looked for the correct syntax and cannot seem to find it. Any help would be appreciated Code of my syntax below: [CODE] ResultSet results = …

Member Avatar for javaAddict
0
119
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 hkhk106

I have a son who's in grade 8 and he is show a great deal of interest in computer programming. What is a good book for him that is easy to read, understand and detailed? Money is not an issue. Thanks

Member Avatar for sumtaru
0
241
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 Navlag

Hi there. I have a few hundred/thousand macro enabled spreadsheets that need to be uploaded to a database. The spreadsheets have a button that copies the data over to the database and it prompts the user for a username and password in order to do so (same for all files). …

Member Avatar for toske
0
198
Member Avatar for gatorgirl

My classes compile but for some reason, I always get false when I try to add a student to a course. could someone please help me? [CODE]public abstract class Student extends Person { protected Course[] courses; protected final int maxCourses = 4; protected int numCoursesEnrolled; protected double gpa; public Student(String …

Member Avatar for DJSAN10
0
146
Member Avatar for faezshingeri

Hi, I have a replace function which replaces all the occurences of the string into another file. But when I use the replace function multiple times... it replaces the string which was passed in the last call only and all the previous replacement does not happen. Below is the code …

Member Avatar for faezshingeri
0
223
Member Avatar for Cayris

I'm trying to make a simple program that prompts for a password and then continues to a different section of the program, else loops back to the original prompt for the password. I can't find a way to do this other than to use external things - such as text …

Member Avatar for Cayris
0
138
Member Avatar for shielaolid

[CODE]<?php // connect to the database include('connect-db.php'); // check if the form has been submitted. If it has, start to process the form and save it to the database if (isset($_POST['submit'])) { // get form data, making sure it is valid $employeeno = mysql_real_escape_string(htmlspecialchars($_POST['txtempno'])); $employeename = mysql_real_escape_string(htmlspecialchars($_POST['txtempname'])); $position = mysql_real_escape_string(htmlspecialchars($_POST['txtpos'])); …

Member Avatar for kk.fasil
0
426
Member Avatar for jtodd

Hey guys! I am trying to write a program that will display an excel spreadsheet in Visual Basic. My goal is for the program to display this Work Order Form I have designed in excel and to modify user, date and auto assign a work order number. After that is …

Member Avatar for M.Waqas Aslam
0
149
Member Avatar for Lius

[CODE]#Region "Imports" Imports System.Data.SqlClient #End Region Public Class frmcuti Private m_Cuti As New Entity_Penggajian.Cuti Private m_GetHari As New GlobalValidasi Private m_CutiA As New BussinessComponents.Cuti Private m_DS As New DataSet Private m_dta As SqlDataAdapter Private datagrid As DataView Private check As Boolean = True Private Sub frmcuti_onEdit(ByVal sender As Object, ByVal …

Member Avatar for Lius
0
197
Member Avatar for themenucha

Hi! I'm making a chess program, that need to move pieces on the chess board, get an input,check if the move is valid and print the output. The compiler finds some errors that i don't understand...I need some help with the pieces functions. Plz help me fix them!!! my attempts …

Member Avatar for DJSAN10
0
540
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 shaffatshah

I have a file(myfile.txt) with the following lines, the records are semicolon delimited [I]Bon Jovi;Living + 2;EP;A+ Metal Maze;Aliotta Haynes Music;LP;B- Shore Brothers, The;Wipe my door, check;LP;C+ Bulman, Dane & Greg;Dane & Greg Bulman;LP;C- Calbert, Herb & The Mexico Brass;Rise;LP;A´[/I] . . . I want to write a c program …

Member Avatar for WaltP
0
230
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
Member Avatar for Torf

I'm wanting to convert this part of the pseudo-code... [quote] start string name string address num item num quantity num price num SIZE = 6 num VALID_ITEM [SIZE] = 106, 108, 307, 405, 457, 688 num VALID_ITEM_PRICE [SIZE] = 0.59, 0.99, 4.50, 15.99, 17.50, 39.00 num sub string foundIt = …

Member Avatar for Torf
0
160
Member Avatar for jpknoob

Evening, I am trying to grab information from a PHP script using JQuery when the user enters a value into a text input field. The text input box has an auto suggest function so that when the user begins tying they can see what matches from the database. If the …

Member Avatar for ko ko
0
270
Member Avatar for tqmd1

Dear Experts I am creating datapicker with the help of following link [url]http://edwin.baculsoft.com/test/calendar.html[/url] datepicker on above link works fine but when I apply code to my page then it does not work. The attachment is my html and other files. Please help me to locate error. Thanks in advance

Member Avatar for ko ko
0
145
Member Avatar for mombasageek

hi am having a small javascript trouble here pliz help out [ICODE] <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <!-- help out pliz --> <!-- i need javasript that wil return true when the code 12345 is entered in the input field and place an image accept.gif in the div id …

Member Avatar for ko ko
0
138
Member Avatar for Jackwong0099

Help me check? I think there's something wrong with these codes especially to the date of birth(chodob) when i start debugging the database don't have any columns :( Customer name = txtstdid Name = txtstdname Gender/Sex = cbosex Date of Birth = chodob1, chodob2, chodob3 Identification card number = txtic …

Member Avatar for Reverend Jim
0
115
Member Avatar for Sundown G

Look my program read all lines from (plain.txt) and save temporary every read strings line by line into another text called(all.txt), i made the md5sum hash on each line separately of (all.txt) and saving this hashes on calculating.txt... then delete the all.txt and calculating.txt, creating a new copy of calculating …

Member Avatar for Sundown G
0
135
Member Avatar for Sundown G

I post this on C too... Well, my program read all lines from (plain.txt) and save temporary every read strings line by line into another text called(all.txt), i made the md5sum hash on each line separately of (all.txt) and saving this hashes on calculating.txt... then delete the all.txt and calculating.txt, …

Member Avatar for Sundown G
0
171
Member Avatar for Sundown G

Hi people I'm programming in C like a month. I just made this code yesterday, but I want the same result with a better code without using recursion for optimization, i think mine is sloppy. Also im using linux distribution... Any ideas to change this code in 1 or 2 …

Member Avatar for Sundown G
0
138
Member Avatar for ruval002

so i have the following code, it inserts a number to a list and then i call my sort function which is below this function, the problem is that my sort function takes forever, is there a way i can implement my insert function so that everytime it inserts a …

Member Avatar for Ancient Dragon
0
132
Member Avatar for JeffCraw

I am building a basic PHP real estate website and am trying to link to County Tax Information and County Property information. The county uses the TMK #: [B]2540020130023[/B] (Tax Map Key) id number to give out this information. In my Database the TMK is called “propertyref”. When I “View …

Member Avatar for diafol
0
177
Member Avatar for ng5

I have a masked text box and two text boxes. I would like to save all of these fields so that when the "open" button is clicked the field repopulate.... anybody have any idea on how to do this? If so please help me out. thanks in advance :)

Member Avatar for codeorder
0
435
Member Avatar for klatuu

I have [I]some[/I] experience with Java and Javascript and searching this forum has helped me tremendously, but haven't been able to find this exact problem explicitly. In a nutshell: I want to call a java class straight from javascript i.e. use a java class in javascript without OBJECT or APPLET. …

0
163
Member Avatar for showman13

Good Morning. Could someone tell me how you would go about doing a query to just get records that have an email account with(hotmail.com or msn.com or live.com) I'm sure I could do it by selecting the entire DB and sorting them in PHP based on exploding the email field, …

Member Avatar for showman13
0
126
Member Avatar for issaru07

i am trying to do credit card validation. the card details are entered n creditcard.php and process in creditcard-process.php and this is the error for creditcard-process.php.. can i check whats wrong with creditcard-process.php ? Notice: Use of undefined constant ccnum - assumed 'ccnum' in D:\xampp\htdocs\book\creditcard-process.php on line 109 Notice: Undefined …

Member Avatar for issaru07
0
381
Member Avatar for shean1488

Hi everybody. Im trying to make a C program [CODE] 1 #include<stdio.h> 2 #define SIZE 100 3 4 int getline(char line[], int lim); 5 6 int getline(char line[], int lim) { 7 int c,i; 8 9 10 for(i=0; i<lim-1 && (c=getchar()) !="\0"; ++i) 11 line[i] = c; 12 if(c=="\n") { …

Member Avatar for savoie
0
247
Member Avatar for The_Purple_Mask

I've tried for some time to make the following code run properly. The problem is in the comparison function of sort(comp). It compares 2 doubles but in some cases it causes the program to crash with the message "Debug Assertion failed! Program: retrace.exe File:c:program files (x86)\microsoft visual studio 10.0\vc\include\algorithm Expression:Invalid …

Member Avatar for Fortran IV
0
207
Member Avatar for gavin_am

Hi everyone forgive me I am a little new to php but I can get by.... I am trying to implement a pagination script into my sub cat page in a shop however I ahve most of it done but cannot seem to get the pageination to show can someone …

Member Avatar for gavin_am
0
121
Member Avatar for Dewey1040

I'm writing a program where I take in a file and need to grab strings of n length (n = 3, 4, 5, 6 ,7 or 8). The issue I'm having is I need to grab these strings in a specific window. So if n = 3 I need to …

Member Avatar for L7Sqr
0
147
Member Avatar for razree

Hi all I have two parts of code; one is searching (InStr) if log file contains certain string and the other one find the last modified log in one folder. Now I would like to merge these two together and modify so the [U]script finds the last modified log file …

Member Avatar for Reverend Jim
0
238
Member Avatar for Hattoff

Hey everyone, I am new to the site and to programming so please be gentle. I am working on a simple project where I use pre-created classes that define shapes and call the methods within them to create a picture on a canvas. I have most of this down, but …

Member Avatar for JamesCherrill
0
240
Member Avatar for dilse4sk

hello every 1 i am new to this forum i am having a lot of difficulty in giving privileges to login user. i am using vb.net and sql server 2008. What i want to do is i want to create an admin account . Admin will have all access on …

Member Avatar for Reverend Jim
0
501
Member Avatar for Labdabeta

How do I do assembly code with the mingw-g++ compiler. All the websites I checked say that this should work: [CODE]int add(int a, int b) { int c=0; asm("mov %[aVal],%eax;add %[bVal],%eax;mov %eax,%[cVal]" : [cVal] "=i" (c) : [bVal] "i" (b) : [aVal] "i" (a)); return c; }[/CODE] But instead I …

Member Avatar for gerard4143
0
1K
Member Avatar for shaynadz

Hi! I'm new here! I have a quick question about an error I found in my script. I'll jump straight into the code and then make my question: [CODE]$description = $_POST['desc'];[/CODE] this is a text description for example "Monthly Tuition". [CODE]$amount = $_POST['amount'];[/CODE] price of tuition [CODE]$dlnumber = $_POST['cedula'];[/CODE] drivers …

Member Avatar for diafol
0
184

The End.