199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daniwaber

Can I stop updating the user display of a control (rich text box) temporarily? I want it to process what I tell but not change how it looks for just a small piece of code. Please help :)

Member Avatar for Reverend Jim
0
171
Member Avatar for thendrluca

This is my first post on daniweb :) and i am a beginner in C programming and i don't know so good english :) sorry! This is my program My problem consist of I run the program and i can't get to the [B]scanf("%c",&q);[/B] [I]/* Row 21 after printf. */[/I], …

Member Avatar for thendrluca
0
339
Member Avatar for haka007

Hello Members, Would anyone please take a look at my attached excel files which is a commodity exchange's end of the day data file. This is a free copy which anyone can download from their websites. Those are ([url]www.mcxindia.com[/url]) & ([url]www.ncdex.com[/url]). Now my query is in those two files there …

Member Avatar for haka007
0
290
Member Avatar for sk8ergirl

how can I find mode in java using arrays, if statement or for loop I have another question I want to ask the user to input number and then draw triangle like this [url]http://www.thebestdata.com/FileArchieve/2434_File1_1.PNG[/url] how can I do this

Member Avatar for sk8ergirl
0
347
Member Avatar for musikluver4

I have been doing java for almost 3 years now, am just starting to learn Objective-C as of this past June. Been writing a few programs on my own and writing programs for the exercises in 2 very cool Cocoa/objective-c books. My question is how do I, coming from Java, …

Member Avatar for anilkumar-m
0
268
Member Avatar for siddiqui_1985

hi everyone, as title said all, i need actually to find a vowel(a,e,i,o,u) in a string. it counts how many vowels are in the string that's fine but i need to find a vowel too.. any idea how to achieve this ? [code]import java.io.*; import java.lang.*; public class VowelsExample { …

Member Avatar for stultuske
0
717
Member Avatar for Zssffssz

Ok this comes as two questions: what is the best variable for storing bianary data and how would I send That through a XOR gate? When I searched it didn't really do anything because XOR is a binary operator. I remember how to open o file in binary form from …

Member Avatar for mzimmers
0
121
Member Avatar for red711

Hello, I need help to combine a c-program using curl(to retrieve txt files from internet) and another c-program using popen. currently the popen is using the command ls -l (to list the current folder in terminal). I have 2 files, the first one is curl program, which have to retrieve …

Member Avatar for L7Sqr
0
852
Member Avatar for mike2828

my program works fine but i dont know why when i debug the program the shapes are coming out without me pressing the buttons [CODE]import java.applet.*; import java.awt.*; import java.awt.event.*; public class AnAppletWithButtons extends Applet implements ActionListener { Button button1, button2; int r, g , b; Color color; boolean drawLine …

Member Avatar for mKorbel
0
146
Member Avatar for ckwolfe

Hello I have a simple issue that is not a compilation or runtime issue, but an aesthetic problem that I can't find a function for. Basically I've created a GUI window that visually represents a game board for my Reversi gameboard. I've implemented the GUI and the Reversi gameplay and …

Member Avatar for mKorbel
0
7K
Member Avatar for greatcornholio

Hi all, Im new to java, and im working with j lists importing data from sql server. Thing is that i can import the data from the sql tables, but for some reason it does not refresh properly. Thing is that when the frame is opened the list is filled …

Member Avatar for mKorbel
0
242
Member Avatar for pfm200586

Hello everyone, I have to create pig latin game which I did and it is working. The problem is I coded it so it can translate one word. I need to know how can I make it translate a sentence that I don't know how many words in it. Here …

Member Avatar for codeorder
0
147
Member Avatar for StephNicolaou

Hey guys, I've drawn a grid, and I have a label contatining a picture. Whenever I change the location of this label, the grid dissapears until I resize/move the frame. Any suggestions on best method to buffer these grid lines? They aren't going to be moving graphics or anything like …

Member Avatar for StephNicolaou
0
154
Member Avatar for asif49

This is for a website search function, I do the following to get several similar results from the mysql database: [CODE] $var = "words words words"; $str = explode(' ', $var); foreach ($str as $i) { $match[] = " e LIKE '%$i%' ";//to search each word within searched phrase separately …

Member Avatar for asif49
0
216
Member Avatar for kpeckly

below is my code, i want to get a record base on a specif invoice number,please help me out cos this thing has giving me sleepless nite.thanks in advance. Imports System.Data.Sql Imports System.Data.SqlClient Public Class Invoice Private Sub Invoice_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Call connectDatabase() …

Member Avatar for lolafuertes
0
201
Member Avatar for Lendaanx

Need help getting my add, save, search, modify, delete buttons to work I can get them to show up in the GUI but pressing them does nothing. I need the save button to save file to index.dat in folder c:\\data\ folder and create that folder if it doesn't exist [CODE]import …

Member Avatar for JamesCherrill
0
158
Member Avatar for techyworld

I've already write a program which allow you to enter name, address and write in the file name,length of name, address ,length of address. File is called "input.dat" Now i need to write another program that reads the file "input.dat" (the one above), displays the name, the size of the …

Member Avatar for thines01
0
112
Member Avatar for aplh_ucsc

Hi friends I'm a newbie with android sdk. i did configure android sdk r15 and ADT 15 plugin on eclipse. but the android emulator is not working. I did make a virtual device for the android 2.3.3 platform and run few sample i got with android 2.3.3 platform. but i …

Member Avatar for peter_budo
0
117
Member Avatar for Mike Askew

Hi all, The project I am currently working on is an Address Book which works off a csv (specification takes the mick as a database would be so much easier), the method to write the lines of information into the CSV is in the class DataLayer and takes a String: …

Member Avatar for Mike Askew
0
166
Member Avatar for amture101

hey guys, I'm making a small app that make a Jable and saves the table model then loads the table model and set it to the table interface and both saving and loading is in seperate frames. [CODE] // Saving the info String ufname = Fname.getText(); String ulname = Lname.getText(); …

Member Avatar for amture101
0
130
Member Avatar for C++newbie chick

Hello guys, I'm trying to make it so that the user can opt to change student's course code or credit points (they can choose to change neither, either or both) in case 5 of my main switch statement. The problem is, the loop doesn't end after you choose to do …

Member Avatar for Ancient Dragon
0
318
Member Avatar for subone

Hi I have this problem where I tell the user to prompt 10 integers separated with spaces. And then I have to output the same numbers the user entered and then output max and min numbers. So How can I get the maximum value of these multiple integers? This is …

Member Avatar for JeffGrigg
0
262
Member Avatar for ram619

can anyone please tell me whats actually happening in this code. Seems to be as if incremented pointer is pointing to the next bit of same int. Answer is 2,0 Thanks in advance [code=c] #include<stdio.h> #include<conio.h> void main() { int arr[3]={2,3,4}; char *p; p=arr; p(char*)((int *)(p)); printf("%d",*p); p=(int*)(p+1); printf("%d",*p); getch(); …

Member Avatar for Narue
0
358
Member Avatar for BugMaster

Hi, I'm stucked with a problem, hope somebody can help me. The problem is that i have a string with webpage source and i need to retrieve all the text instances between <pre> and </pre> tags, i already know how to retrive the first ocurrence using: [CODE] dim start as …

Member Avatar for lolafuertes
0
135
Member Avatar for kelvin924

The user input four integer numbers in same line,for example,4857 After the input, I would like to place the four numbers into array The result ,array[i] = j i is the position , j is number of input. how to do it? must require to use substring? any other solutions?

Member Avatar for hiddepolen
0
97
Member Avatar for overrated

I need help with incrementing my score. I tried ++wins..., wins++..., wins += 1..., wins = wins + 1... and so far nothing works. I just keep getting 0. My main class: import java.util.Scanner; public class Test { public static void main (String [] args) { Rock game = new …

Member Avatar for JamesCherrill
0
120
Member Avatar for pikalife

What should I write within a while loop that allows me to keep on divding a number by 2 until it meets certain conditions. for example while(condition) { //what should i write here to have a double that divides by 2 until it meets the condition. }

Member Avatar for JamesCherrill
0
162
Member Avatar for StephNicolaou

Hey guys, I've constructed the main class to refer to a variable in it and I receive a stack overflow error. Any suggestions on the causes of this error, I've used this method previously and have not got this before. [code] In other class: MainClass class = new MainClass(); errors: …

Member Avatar for JamesCherrill
0
207
Member Avatar for ishaan3731

i am doing a project on student information system using file handling...i made my own project but it didnt work....i read many books but actually the main problem is that i lack logic.....i have found from the net this project but the output on the notepad file is giving unusual …

Member Avatar for ishaan3731
0
361
Member Avatar for daniwaber

I want to make my own file type with my own extension via vb.net. I mean that when we go into "My Computer" and select Folder options from the menu, there is a file types tab and I can add it there. Can I add it through vb.net 2005? Please …

Member Avatar for daniwaber
0
123
Member Avatar for morteza_ipo

Hi. I have this code: [CODE] %D8%AA%D8%B3%D8%AA [/CODE] how to convert this code with php to orginal text? Thanks.

Member Avatar for morteza_ipo
0
65
Member Avatar for nick_90

Good Day I've created this edit/update form with assistants of this tutorial [url]http://www.freewebmasterhelp.com/tutorials/phpmysql/7[/url] And when I click the update button I get these two messages Notice: Undefined index: artist_id in C:\wamp\www\Practical_Project\admin_artist_edit.php on line 2 Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Practical_Project\admin_artist_edit.php on line 9 I …

Member Avatar for raphie
0
272
Member Avatar for Interista

Hi friends im trying to get my menu working but i just cant seem to get it working ... these are my 3 errors 9 " In file included from main.cpp" 47 " no matching function for call to `Menu::Menu(const char[7])' " 49 "std::string' has no member named 'add' " …

Member Avatar for Interista
0
129
Member Avatar for linhj

Hi All, I wanna to search a pattern in a txt file called A which is a 2D matrix from another file called B. The requirment is that I need to output the number of matched pattern in file B. But I encounted difficulty of counting the number. Basically I …

Member Avatar for Adak
0
2K
Member Avatar for glut

What is cout? It's a variable, yet it can print stuff on the screen. Also, << (Left Shift Operator) isn't like the one for the variable cout. How does cout work? cout isn't even a macro / #define.

Member Avatar for vidit_X
0
148
Member Avatar for Noob_in_progs

Private Sub frmRegistration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cn.Open() cmd.Connection = cn cmd.CommandText = "Select * from Registration" adp = New OleDb.OleDbDataAdapter(cmd) adp.Fill(ds, "mytable") 'Binding Statements Follow bs = New BindingSource(ds, "mytable") 'Bind the name field to first textbox, type of data as text Me.txtCustID.DataBindings.Add("text", bs, …

Member Avatar for Noob_in_progs
0
415
Member Avatar for cecsFTL

In this project I'm suppose to use a old project and create a menu for it. Basically "Create a menu system so that the user may choose between the various Roach functions (create roach colonies, breed and spray roaches and get the current number of roaches). Make sure you display …

Member Avatar for cecsFTL
0
391
Member Avatar for renzlo

Hi Guys, How's your day? I would like to ask, since I'm a beginner in vb .net, I can't figure this out. Here's the scenario: I have a folder with lots of folders inside and inside those folders are .tif files. I want to create a program that will rename …

Member Avatar for codeorder
0
530
Member Avatar for Zssffssz

Ok pretty simple: How to make internal speaker beep on Linux. For personal use does not need to be portable. I know I have an internal speaker... BIOS loves that thing...

Member Avatar for Zssffssz
0
168
Member Avatar for TwinsInTow

Hi I have a WordPress Blog that I can no longer access due to a header redirect issue. I have no idea how to fix this. The error message I am getting is this: Warning: Cannot modify header information - headers already sent by (output started at /home/altalake/public_html/twinsintow.com/index.php(1) : eval()'d …

Member Avatar for TwinsInTow
0
309
Member Avatar for VengefulToast

Hey forum, our professor assigned us a program we have to write in assembly language and I would love to have help on it. [QUOTE]Write an upper-to-lower case and lower-to-upper case conversion program. When the user inputs a letter, your program should convert it to upper case if it is …

Member Avatar for D33wakar
0
581
Member Avatar for plasticfood

my program includes pictures and audio, do i have add that to my project and then create a jar file? or i just have to include the source file and that's it?

Member Avatar for plasticfood
0
177
Member Avatar for Joey7

Hello All, I'm working on my first Python plot in my programming class this week. My assignment is to write a program to plot data contained in a csv format. Here is the data: "Bowl number", "Date", "Bowl location", "Winner", "Number wings eaten" "I", "1/29/1993", "Wyndham Franklin Plaza Hotel", "Carmen …

0
165
Member Avatar for ttamilvanan81

Hai i have using the checkbox in for loop. I need the urgent help from anyone, for example in the loop there is having 5 checkbox if i checked 3 of the ckeckboxes and 2 of the checkboxes are unchecked. I need to get the values for checked checkboxes and …

Member Avatar for stultuske
0
540
Member Avatar for asif49

How do I do this? I use the following code to get position of the first occurrence (case insensitive) of $search within $space. [CODE] $word = stripos($space, $search); [/CODE] However I would like to totally ignore some characters while matching and get the position of similar substrings within the search …

Member Avatar for raphie
0
86
Member Avatar for yurigagarin

Hi all, I have this code here and I like to save all the messages into 1 text file name contimer.txt. I've tried to do [CODE]FILE *output fopen_s(output,"comtimer.txt", "ww");[/CODE] right before the function Timer 1 and change every "printf" function into fprint_s(f, "Message", variables) but it does not help. Could …

Member Avatar for yurigagarin
0
330
Member Avatar for Interista

Hi im trying to get this to compile im try to make a menu this is my code but it wont work [code] //main.cpp #include <iostream> #include "Menu.h" using namespace std; int main(){ { SportsClothingMenu(); } system("pause"); return 0; } [/code] [code] //Menu.h #ifndef H_MENU #define H_MENU #include <iostream> #include …

Member Avatar for Interista
0
130
Member Avatar for lxXTaCoXxl

I'm trying to develop a program that will factor a trinomial with a single variable. I'm using a string array and substrings to get the terms, however I'm having trouble with getting the factors of the AC Method. For those who don't know how to factor polynomials using the AC …

Member Avatar for Momerath
0
348
Member Avatar for marcogr8

I am stuck doing this assignment given for monday ...i am at the do while coding (already did the interface ...) anw here it is : Candidates for employment by a security organization have to undergo a medical test in which sight, hearing and mobility are tested. In each of …

Member Avatar for Reverend Jim
0
264
Member Avatar for Acidz

Hi, I'm new here... Please help me fix it, if I posted at the wrong section, this is about Python but also game development... So I'm not sure? :) anyway: I need some guide lines to the way of coding? or the use of things within the code... Here I …

Member Avatar for lrh9
0
281

The End.