199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shereefatef

I have a text file with 500000 records , each record contain student ID and another index number. i insert this recors with separate function ,and i want when the user enter the student id the program get the corsponding index number and put it in avariable and use it …

Member Avatar for nbaztec
0
274
Member Avatar for Caled

Hi, Im having a problem displaying text in JTextPane. I want to be able to append text (e.g. "Task 1 completed..") after a task is completed. But mine display the text once all the tasks are completed which is quite useless as user does not know what is going on. …

Member Avatar for Alex_
0
84
Member Avatar for dandixon

Hi all, i have m y search setup which brings back a part number, a description and then underneath any associated manufacturers name and part number which could range from 1 to 20, my problem is i just want to populate my table if there is something there and if …

Member Avatar for liamfriel
0
1K
Member Avatar for JohnDove

My vb 2008 app uses Excel, but only briefly. Can I avoid referencing the Interop library Microsoft.Office.Interop,Excel?? Is there another way to link to Excel? In terms of its dealings with Excel, my app does little more than open a workbook and shade some cells. Many thanks

Member Avatar for gever
0
197
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to write a directory monitor in java but I'm stuck. I'm trying to find something in Java that is like FileSystemWatcher in .NET but I don't think java does. From what I read is that you have to continually poll the directory for changes. What I …

Member Avatar for bobby_newmark
0
120
Member Avatar for cabsjonel

hello folks , can you help me about list view i dont know whats the purpose of "selectedItem.text" in list view can you tell me what is the meaning of this code? thanks folks ,, god bless u:icon_smile::icon_smile:

Member Avatar for jhai_salvador
0
106
Member Avatar for judithSampathwa

hi there, i have a excel file which have purchase order information. the file contains of the information of the user and the the items that he ordered with the order item quantity and the price but there may be any amount of items in the excel sheet. the thing …

Member Avatar for nick.crane
0
219
Member Avatar for jhai_salvador

Hello!.. Its me again.. I Just want to know that, is it possible to Disable a user from copying a file from computer to another device like USB Drive? I want to Disable Copying of files by; Disabling CTRL+C, Removing Copy from Right Click or Move (when dragging the file …

Member Avatar for jhai_salvador
0
135
Member Avatar for shaya4207

I have a "while loop" on a PHP page with stuff coming from a DB, how do I make that the content should come as a table with a few row and columns?

Member Avatar for hemgoyal_1990
0
107
Member Avatar for SiahCheePing

I' ve my cookie to [CODE]Dim authCookie As New HttpCookie(FormsAuthentication.FormsCookieName)[/CODE] I've just started learning about cookies not long ago,can I retrieve the cookie that I've set by using the code below? [CODE] Dim authCookie As String = FormsAuthentication.FormsCookieName If Not Request.Cookies(authCookie) Is Nothing Then 'Display requested page Else Response.Redirect("Login.aspx?") End …

Member Avatar for qinise4
0
125
Member Avatar for gandhikr

Hello, I have this inquiry form. I wish to capture the fields and email via php script. Can anyone help me in doing that? It uses html text field, select and textarea form elements.. In select name I wish to capture and email the option selected. <form action="#" method="get" name="form1"> …

Member Avatar for hemgoyal_1990
0
142
Member Avatar for dbphydb

Hi, I have a code which uses HTMLParser to reach a webpage where an exe file is located. The code then downloads and installs the file on local machine. I need a solution for the below problem: HTMLParser reaches a webpage where there are links to clients_test2, clients_test5, clients_test8. Each …

Member Avatar for dbphydb
0
163
Member Avatar for sdhawan

Hi I am trying to use replace function in c# but it doesnt seems to work.Am i doing anything wrong.Thanks [code] private void btnSpanish_Click(object sender, EventArgs e) { SimpleSpanishDict.SimpleSpanishEnglishDictionary ins = new SimpleSpanishEnglishDictionary(); Hashtable aaa = ins.AllWords(); StringBuilder insertCommand = new StringBuilder(); IDictionaryEnumerator en = aaa.GetEnumerator(); if (aaa.Count > 0) …

Member Avatar for jlenriquez
0
184
Member Avatar for Dr-Delta

Hi I using C# to VB.NET code converter which gave me this: [CODE] Public Class PostCalendar Inherits Calendar [B]Implements [U]ICallbackEventHandler[/U][/B] //--Class 'PostCalendar' must implement 'Function GetCallbackResult() As String' for interface 'System.Web.UI.ICallbackEventHandler'. ¿¿?? //----------------------------------------------- Shared Sub New() [B][U]Post.Saved += Post_Saved[/U][/B] End Sub //----------------------------------------------- Public Class RecentComments Inherits Control Shared Sub New() …

Member Avatar for Luc001
0
300
Member Avatar for TGeorge824

Hi everyone, I'm in dire need of help. I'm a computer science major going into my junior year of college. I'm kind of having some doubts about whether or not I'm in the right program, though. I like the material, and I am starting to like the math, and the …

Member Avatar for jwenting
0
123
Member Avatar for nramya82

Hi all, I am very new to programming , I am trying to do task where I have to count the number of lines that are read until the total length of the lines is 1,000 characters and also it it doesn't count characters on any line that begins with …

Member Avatar for TrustyTony
0
113
Member Avatar for samarudge

Hey guys, I'm a bit of a Java noob but could someone please explain digital signatures to me. I have an application and I build it using the command [CODE=shell]javac -classpath %CP% TunerApplet.java jar cvf TunerApplet.jar *.class jarsigner -keystore Tuner -storepass authentic -keypass authentic TunerApplet.jar Tuner[/CODE] As a guess it …

Member Avatar for jwenting
0
119
Member Avatar for bharatvamsi

hi, i'm novice user in python and i want to capture data at a specific port using python script.Please suggest me the approach. Same data i'm able to write into a file using linux command: tethereal -i any "port 9060" -w sam.txt I want to accomplish the above task using …

Member Avatar for Azeriah
0
296
Member Avatar for anantk

I'm making a basic football (soccer) manager game as my school project. Most of the other stuff is sorted out, but the scheduler is not working... [B]Background:[/B] I'm simulating the English Premier League,which has 20 teams. Each team plays 38 matches (exactly one match per week over 38 weeks) in …

Member Avatar for anantk
0
228
Member Avatar for gymangel812

I'm having a problem creating a dropdown list and populating it with information from a database. When I display the page below I get this PHP code displayed in place of the drop down menu: " \n"; while ($row = mysqli_fetch_array($result)) { $str .= '' . $row['systemName'] . ' ' …

Member Avatar for qualitybrains
0
124
Member Avatar for xenanovich

hi, this is something i keep running into. for example, in the following example of strtok, i'm splitting a given string on a space(" ") delimiter: [code] #include<stdio.h> #include<string.h> int main() { char str[]="1234563 34 7898"; char delim[]=" "; char* result=NULL; char new[15][3]; int i=0; int j=0; bzero(new, sizeof new); …

Member Avatar for xenanovich
0
181
Member Avatar for aqidis

Hey everyone! I have a problem with my lab if anyone could help check my code that would be great. I'm supposed to write a program that asks a user for two strings and checks if the beginning of the second string appears anywhere in the first. It's also supposed …

Member Avatar for griswolf
0
538
Member Avatar for didi00

Hi everyone! So my task is this: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and writes then into the buffer. Process B writes down every even number into file F1. Process C writes down every …

Member Avatar for didi00
0
356
Member Avatar for justme369

can anybody help me transcribe this into vb.net [code] public string WriteNReadBuffer(byte [] TelnetNegotiation, NetworkStream stream) { stream.Write(TelnetNegotiation, 0, TelnetNegotiation.Length); Byte[] data = new Byte[256]; Int32 bytes = stream.Read(data, 0, data.Length); string returnval; returnval = BitConverter.ToString(data, 0, bytes) + "\r\n"; //textBox2.AppendText(BitConverter.ToString(data, 0, bytes) + "\r\n"); return returnval; } public void …

Member Avatar for Teme64
0
291
Member Avatar for daniel88

Hi guys, Looking at this I know it is straightforward, but that hasn't meant that I have been able to get the solution - so here I am! I am entering serial numbers into a set container which is of type string. I want to be able to enter serial …

Member Avatar for daniel88
0
106
Member Avatar for tinanewtonart

So for this assignment we have to inherit from the base class 'Game' I think I have with my version named 'ChildGame' I would like help with checking the syntax of my function calls from main() [CODE] /*************************************************************************************** Programmer: C.Backlund Program: TicTacToe_1.cpp Purpose: A tic tac toe game Date Created: …

Member Avatar for tinanewtonart
0
1K
Member Avatar for thebluestar

I using the value pass from url to open a new page but there are some mistakes, but I cannot find them here is my all files to do that: [COLOR="Red"]main.asp[/COLOR] [CODE] <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

0
66
Member Avatar for haywars

Hello everyone Im new to this forum as well as new to MySQL. Ive read countless forums about using blobs and referencing. Im the type of person who learns by seeing. I kinda understand the referencing but I would like to see an example if I am doing it correctly. …

Member Avatar for haywars
0
107
Member Avatar for chen12m

I have to finish this project for tomorrow-so I'll Appreciate quick reply. I need to do reports in my projects. now I've created Data Environment and all that but in the SQL the only thing that work is if I select the entire table from the database. (like "select * …

Member Avatar for chen12m
0
260
Member Avatar for gcardonav

Hi: I need to create a C++ code that will read a file and then used some of the numbers in the file for some calculations. The file will look like the following: [CODE]#IMAGE NPIX MEAN STDDEV MIN MAX 002.jpeg 1048576 1984. 490.1 1870. 65535. 003.jpeg 1048576 1984. 471. 1875. …

Member Avatar for gcardonav
0
133
Member Avatar for jj.amonit

I know how to work with php, mysql. I know enough to get results with CSS. I am now trying to incorporate some javascript and dhtml into my work. But what I want to do is a little more involved that the simple tutorials. i am using ixedit to help …

Member Avatar for jj.amonit
0
239
Member Avatar for oaktrees

Could someone point me in the right direction? I have two excel files that I would like to merge. Is xlwrt and xlrd the place to start? If so, are these part of the standard library? Thank you.

Member Avatar for jcao219
0
125
Member Avatar for maf5693

hi I have been looking around for a good file io tutorial and I cant find any. It is simple enough to me the process, mov dx,043h mov al,54 out dx,al etc. but i have no idea which ports go to where or how to write to a hard disk …

Member Avatar for maf5693
0
243
Member Avatar for funfullson

I found that in python we have no realy private attributes.we just can use _ or __.but these are not deny access to my attributes.some thing such as private variables in c++. Is it TRUE? Realy python is week in these?

Member Avatar for jcao219
0
266
Member Avatar for Charls Frdinand

Hello everyone! This is my first post, been a long time reader though. First of all, it's been a while since I don't program and I'm rusty (very). The problem is: I just can't learn how to use the JOIN or UNION commands, everything I read is confusing. I'm simply …

Member Avatar for Charls Frdinand
0
238
Member Avatar for bazoka121

Hello to everyone. I am working on pattern matching. Problem is that I have match source codes weather they are copies or not (c++ source code only). take two .cpp files and match them. and result that if they are match or not.. Please help me. Thanks in Advance.

Member Avatar for abhimanipal
0
118
Member Avatar for jl_7

I have difficulties solving this program, so I'll be very happy if someone h elps me. Thanks in advance! Find a way in a maze Write a program that finds way between two points in certain maze. The maze is rectangular matrix which consists of cells. Each cell is from …

Member Avatar for murdokk
0
229
Member Avatar for new2programming

i am trying to code my sprites to collect items which then display a score in the top left of the screen depending on which items they collect, each sprite has their own item and there is an item which deducts score. However i am at a loss as to …

Member Avatar for new2programming
0
60
Member Avatar for rowley4

I am getting a few errors on my code. I know my INT and CHAR are not correct. Just not sure where. I am trying to pull data from a file. The data is a day ( and integer 01, 02, 03) a time of day HH:MM, and a level …

Member Avatar for daviddoria
0
126
Member Avatar for cl2020

I have a code, so far I have a problem: what is those mean? error C2143: syntax error : missing ')' before 'constant' line 65 error C2059: syntax error : ')' line 66 error C2143: syntax error : missing ';' before '{' line 67 error C2181: illegal else without matching …

Member Avatar for NathanOliver
0
135
Member Avatar for HoldmysunnyD

Hello Daniweb, Could anyone please point me to an example implementation of a dynamic memory allocator that uses Segregated Fits with allocations from the front and insertions at the end? I've been trying to figure out a way to implement one, but I just don't know where to start.

Member Avatar for HoldmysunnyD
0
89
Member Avatar for sickly_man

hello all. i am writing a php / mysql script that does various things, but in addition to those things i need it to get the username of whoever is using the front end. any help is greatly appreciated! also i can post some code snippets if you want a …

Member Avatar for blex41
0
139
Member Avatar for gregarion

Hey guys, i am working with a program to basically read an input for a file and then storing it into a vector. my text file is called Sample.txt and contains data like this.. [CODE]How are you coping with programming? The quick brown fox jumps over me.[/CODE] Here are my …

Member Avatar for NathanOliver
0
95
Member Avatar for useronbug

hi all, Am trying to create a structure with members ,creating an arraylist to get input from textbox so that it can bind in listbox. I am not geting the desired thind.Code attached . Kindly help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; …

Member Avatar for Ionelul
0
160
Member Avatar for pythonnewbie10

[code=php]'''process a file of students''' def main(): f = open( "Ex9_2010_input.txt", "r") line = f.readline() while len(line) != 0: print line line = f.readline() main() [/code] In this case, the file contains comma separated values, each line representing student names and assessment marks in this format: FirstName, LastName, Asg1Mark, Asg2Mark, …

Member Avatar for TrustyTony
0
113
Member Avatar for Onisutra

So I went to mysql docs to check out if they had info on what to do. I found this [QUOTE] “[0-9]*” matches any number of digits, and “.*” matches any number of anything.[/QUOTE] So, I tried them both out & have no result that back back. The query I …

Member Avatar for drjohn
0
121
Member Avatar for ceyesuma

I am having trouble understanding how an interface could improve my app. I have a DAO class for each profile that logs into the app.this DAO class will know how to insert,delete,update,remove,etc concerning that profile and the database and populating components with database data . I introduced an Interface for …

Member Avatar for ceyesuma
0
115
Member Avatar for phummon

Hi folks, General question here... I'm writing a program which reads a ton of source data, crunches the numbers, and outputs a few nice summary reports. The source data is a lot of individual records: [B]00001,Item1,Item2,Item3,Item4,Item5,... 00002,Item1,Item2,Item3,Item4,Item5,... 00003,Item1,Item2,Item3,Item4,Item5,...[/B] Originally, I created an object called "Record," which stored each Item. But …

Member Avatar for NathanOliver
0
185
Member Avatar for Empireryan

OK, I've got a [90][10] 2d array. I have a set of pointers that point to the values in the array by column. each column holds different info. It's a payroll file so the zero column of my array corresponds to an employee number. What I want to do is …

Member Avatar for NathanOliver
0
104
Member Avatar for cl2020

I have a code present but why do I have three c2447 errors by line 31,43, and 62 ? What are the ways to prevent that code ever present in the c++ system? //This is the software access for the //lowest score test drop at any level //in the system …

Member Avatar for NathanOliver
0
107

The End.