64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for asif49

.contains seems to return true for most things, even if one or two chars match. Is there a way to make it more restrictive?

Member Avatar for asif49
0
417
Member Avatar for HITMANOF44th

im new to java so if im doing some thing the wrong way please let me know this is the class that connects to data base and grabs all the info from colum 1 and colum 2 that part works now when i try to either make it a useable …

Member Avatar for HITMANOF44th
0
174
Member Avatar for PapaGeek

I’m trying to initialize a combo box with the content of an INI file. Each line of the file contains a name for a website and the path to that site, tab delimited. I’m trying to read the file into a list so I can sort it etc. Visual studio …

Member Avatar for PapaGeek
0
192
Member Avatar for Muhammad Anas

Hi, I am trying to write a program that will separate the digits of a non-negative integer and will print them each two spaces a apart but I have to avoid using arrays. For example if input is: 12345 then output should be: 1 2 3 4 5 I have …

Member Avatar for Muhammad Anas
0
3K
Member Avatar for SeniorAlexandro

Alright, I have a Textbox which I want to display some text, but when the user clicks on it, it should clear so he can write what he wants.

Member Avatar for SeniorAlexandro
0
997
Member Avatar for walid86

i have two textbox's... these textbox's can have formatting applied etc, but they lose focus when a button is pressed, and the wrong textbox has formatting applied.. is there a way to track the last textbox to have control?. some kind of for each control f type textbox, if mouse.click, …

Member Avatar for walid86
0
148
Member Avatar for bettybarnes

hi guys just ask what is the code for allowing null values to appear on the textbox [CODE] Dim i As Integer dg1.DataSource = bs i = dg1.CurrentRow.Index Patient_Profile.Txtpatient_id.Text = dg1.Item(0, i).Value [/CODE]

Member Avatar for kothaisaravan
0
117
Member Avatar for nchy13

i am quite new to java i used to code in c++ but now we have to program in java which has not been taught. i browsed net but casn't get enough information this is my first code which i managed to get from net [B]i am using GNU java …

Member Avatar for nchy13
0
407
Member Avatar for stereomatching

OS : win7 64bits compiler : visual C++ 2005 boost version : boost_1_44_0 [code] #include <gtest/gtest.h> #include <tchar.h> #include <boost/signal.hpp> #include <boost/bind.hpp> #include <boost/function.hpp> #include <boost/mem_fn.hpp> class Slot : public boost::signals::trackable { public: void Update(int) { ::printf("Signaled!!\n"); } }; int _tmain(int argc, _TCHAR* argv[]) { boost::signal<void (int)> s; Slot *slot …

0
66
Member Avatar for bhagawatshinde

Anybody have any idea about how to change the font of the string. Suppose [CODE] Dim strFind as string="Answer" [/CODE] I want to change the font of the string as "Verdana" Purpose behind that, I have an richtextbox1 contains the questions and richtextbox2 contain the answer so while concating i …

Member Avatar for bhagawatshinde
0
1K
Member Avatar for daniel36
Member Avatar for cereal
0
53
Member Avatar for markthien

Hi guys, is there any build-in function in C# that can detect if a string contain Chinese/Japanese character? This string may contain alphabet, numeric, chinese and japanese characters. Appreciate any advice please. Thanks in advance! Cheers, Mark

Member Avatar for toyumail
1
4K
Member Avatar for jtodd

Hey guys. I have written a program to create, edit and delete record in MS Access using a visual studio program. I am keeping the program and database divided into a front end and a back end to allow concurrent users. I am going to place the back end on …

Member Avatar for kingsonprisonic
0
162
Member Avatar for maggoteer

Hey guys, I've got a theoretical question. I've tried to work out how some of the code would work in my head, and I always stump myself. Maybe it's my lack of knowledge - who knows! I am trying to create an online forum inside of my application. Yes, I …

Member Avatar for kingsonprisonic
0
215
Member Avatar for Vasthor

these one code, from line [63-71] of the original code [CODE] // for adding more students cout << endl << "Want to add more student?(yes/no): "; string add_student; cin >> add_student; if(add_student == "yes") { student_counter = 0; } [/CODE] the program seems "doesn't detect" the cin code above, it …

Member Avatar for Vasthor
0
252
Member Avatar for violette

I have five sheets named 'Yearly,Q1,Q2,Q3,Q4'. currently my code only update one worksheet at one time into the mySql database. i want it to get all worksheets to be done at one go. i've tried to implement 'For loop' but it just run on the active worksheet only. is there …

Member Avatar for violette
0
410
Member Avatar for dennysimon

Hello all Does Caret Event only for one component only ? I tried to find example for more than one TextField which added with CaretListener,but cannot find one. Anybody know website or has example like I need ? I need to know how to detect which component arise the CaretEvent …

Member Avatar for dennysimon
0
134
Member Avatar for fcvolunteer

I've looked extensively for an answer to this but have gotten nowhere. Here’s what I’m trying to do: I’m having people submit a form on my Wordpress site telling me their pledges for a volunteer campaign. When they submit their volunteer project I want to have a counter track the …

Member Avatar for fcvolunteer
0
910
Member Avatar for Muna Oman

Hello folk i am a new member n i need Ur help to do my course project for developing Sudoku game i already have my codes but i need a code for generating random numbers in the grid this is basically my code [code]import javax.swing.*; import java.awt.*; import java.util.*; /* …

Member Avatar for NormR1
0
658
Member Avatar for skylinepkr

I have an assignment to make a paint program using java but i am kind of stuck at a roadblock. I have a pencil tool and i used the mouseDragged, mousePressed, and mouseReleased methods of mouse(motion)listener to draw my path using general paths (lineTo and moveTo). My question is, is …

Member Avatar for Ezzaral
0
118
Member Avatar for VengefulToast

Hi forum, I am just wondering how I could just use the last two digits of a four digit year the user inputs. For example, I want to drop the [19] from [1960] and just use the [60] which should be 3C in Hex so the registers would read it. …

Member Avatar for VengefulToast
0
800
Member Avatar for kadriirdak

Hi There, I have an XML data [code] <coordinators branch="xx"><coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> <coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> </coordinators> [/code] I need to …

Member Avatar for veedeoo
0
175
Member Avatar for metalix

Hey guys, I know this will have an easy answer, but I have been awake far too long to see it :P I am doing some coding with classes in python, and it just isn't working. Here is the code: [CODE] from bpy import * from os import * from …

Member Avatar for metalix
0
279
Member Avatar for BDan

I am a fairly new programmer still in school, and trying to have my program write the selected information to a designated file. I keep getting an error message on my file OutputStream. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.text.*; class ExampleJComboBoxSample extends JFrame implements …

Member Avatar for Ezzaral
0
169
Member Avatar for nchy13

can somebody help me out by providing link to the stuff related to buffer reader in java to read a trace file and store it in array of string.

Member Avatar for Ezzaral
0
362
Member Avatar for ben1996123

Hi, I'm making a console application, text based game, and what I need to do is be able to do more than one thing at the same time. For example, I need to be able to make a timer that runs constantly, whilst the game is being played. I also …

Member Avatar for ben1996123
0
121
Member Avatar for rajeesh_rsn

Hi I had a real estate web site and user/visitor can post their property into the database. Now What I need is After 15 days the post will be delete automatically. Please any give me the idea for doing this. "How to do delete using Date ?" Please Help me.. …

Member Avatar for PatrikIden
0
174
Member Avatar for bossman5000

Write a shell script that will accept any number of command line interger parameters a d do the following....I have to use a if statment for the lowest and highest values??? Determind the lowest and highest values? Determind the sum of all parameters entered?

Member Avatar for bossman5000
0
202
Member Avatar for patk570

I have a basic search result page going right now, but i want the code to generate a html link on the search name so I can see all the data associated with the customer name. I have a simple DB set up with Customer Name, Computer type, Model, etc. …

Member Avatar for pritaeas
0
987
Member Avatar for vincezed

Hi all, I am trying to write a code that could show multiply values in a single cell of listview with comma separator... i am using C# with windows application... I have a attachment that show what i am asking for... Thanks in advance vince

Member Avatar for vincezed
0
203
Member Avatar for evanescence

Hi, there :). I have a form named 'Form1' in which I've added a custom control called 'first'. Inside 'first' there's another custom control called 'second'. I want to access and change the properties of 'second' using a function, declared in 'Form1'. Can you, please, tell me how to do …

0
87
Member Avatar for Tellalca

Hey, I am developing a game in C#. I have some question marks in my mind about properties. -Should I return reference in a get, or should I clone the reference and return a clone? If I return a reference then in another part of the program, it will be …

Member Avatar for Narue
0
173
Member Avatar for daniel36

I need to implement video streaming in my page with adobve flash player.IN this a user can seek any part part of video.

Member Avatar for daniel36
0
157
Member Avatar for alaa sam

hi everyone I have been programing in c++ for a while now, but I'm asked to write project in c#, so is hard to learn it ?? also I have never wrote a program with interface , so is it possible to write console application then build the interface ? …

Member Avatar for alaa sam
0
123
Member Avatar for TonyG_cyprus

Hi, I have a mysql database for stock records in the pub I work in. The code below displays the list of items and sizes, what I need is to be able to update several rows by subtracting the number in the qty column from the bal column in the …

Member Avatar for urtrivedi
0
165
Member Avatar for Joey_Brown

Hello Lets say I have these two classes; [CODE] public class BFF{ private String name; private String surname; private Object friendships; }[/CODE] [CODE] public class BFFG<T>{ private String name; private String surname; private T friendships; }[/CODE] Is it possible to create a generic method that could create a Set of …

Member Avatar for JamesCherrill
0
103
Member Avatar for eawedat

hey all,, I have this picture to be more clear: [URL="http://img846.imageshack.us/img846/5996/95028490.png"]http://img846.imageshack.us/img846/5996/95028490.png[/URL] My idea is when I paste (ctrl+v) for example this number : 4111111111111111 it would automatically paste them in textboxes one by one in order! so txtBox1 will contain : 4111 txtBox2 : 1111 txtBox3 : 1111 txtBox4 : …

Member Avatar for GeekByChoiCe
0
584
Member Avatar for davy_yg

Hi, I wonder how to create a search box like the following website: [URL="http://www.ferron-pharma.com/?q=en"]http://www.ferron-pharma.com/?q=en[/URL] The search box is on top right corner. Is it using jquery ? Besides the codes, how to create the outlooks ?

Member Avatar for davy_yg
0
135
Member Avatar for kothaisaravan

Am using VB.NET with Ms Access. It worked fine before changing the field name in access database. After changing the field name i got an syntax error in catch block. And also there is no reserved words. [B]"Syntax Error in INSERT INTO Statement"[/B] Here is my coding str = "Insert …

Member Avatar for kothaisaravan
0
178
Member Avatar for ebanbury

Hi I would like the following action to happen without having to have a 'submit' button. This would avoid users having to go from one page to a second page and the action could just happen on the first page by clicking on the word? How could it be done? …

Member Avatar for ebanbury
0
108
Member Avatar for ThatGuywithCode

So basically I need to find a way to evaluate an infix that's been converted into a postfix. The code below takes an entered infix and converts it into a postfix but I don't know how to take that postfix and evaluate it. Every single tutorial I've seen evaluates a …

Member Avatar for WaltP
0
231
Member Avatar for stereomatching

I have some question about boost::promise After studying the website of boost and "C++ concurrency in action" I still can't get the idea of boost::promise According to the book(if I have no make any mistake) boost::future is designed for one off event you could wrap the task by packaged_task and …

Member Avatar for stereomatching
0
548
Member Avatar for deliezer

Hi, I would like to write a member function with a default argument, but the value of the default argument I would like to use is the value of the classes data member [CODE] class testdf {// testdf private: const int _defaultVal; public: testdf() : _defaultVal(1) {} int testMF(int arg …

Member Avatar for deliezer
0
137
Member Avatar for jonow

I just got this script for a countdown on a website and I got it to work locally but when I upload it to the server i get the error "index.html:22 Uncaught TypeError: Object [object Object] has no method 'fancycountdown'". I have checked to make sure all other javascript files …

Member Avatar for jonow
0
260
Member Avatar for SSight3

I've tried searching for articles that relate to this issue, but all I keep finding are articles about people who don't know how to define constructors/can't call the parent constructor/etc and I think this will cut straight to the chase. The problem code is as follows: [CODE] #include <stdio.h> class …

Member Avatar for SSight3
0
301
Member Avatar for Danny159

Hey, I am trying to get this working but failing! I am trying to make it so when you click the heading it opens the nab to do with that heading, and remember it... so next time you go onto the site it will remember what tabs you had open …

Member Avatar for Danny159
0
111
Member Avatar for Dante2

Not even sure if this is the right spot to post this, but I didn't see any other place. (might have missed them) I have WAMP installed on my computer per the instructions from the book I'm using from Site Point. After I installed it, everything ran just fine up …

Member Avatar for Dante2
0
137
Member Avatar for Kayano

Hey guys just wanna tell you now that I chose to do a minesweeper game or attempt to do one for a class project in VB. Now I'm not that experienced of a programmer so this is fairly difficult and I can tell you that I'm in way over my …

Member Avatar for helix777
0
665
Member Avatar for neveragn

[CODE]#include<stdio.h> #include<string.h> #define SIZE 100 int main(void) { int array[SIZE], i, n, j, sum=0; printf("Enter some integers:"); for (n=0;n<100;++n) { scanf("%d", &array[n]); if(array[n] == -1) { j=n; break; } j=100; } for(j<=100;i>j;++i){ printf("%d", array[n]); } for(j=0;j<n;++j){ sum=sum+array[n]; printf("The sum is %d\n", sum); } return (0); }[/CODE] [I]Im trying to output …

Member Avatar for neveragn
0
287
Member Avatar for javausers
Member Avatar for javausers
0
139

The End.