132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sneha sirohi

hi everyone, thanks for a nice and quick response.i have one ques regarding inputBox.This func can be used to accept the input msg from user if we want to write more than one msg in a single inputBox like 1.user name 2.password then what we will have to do?a single …

Software Development visual-basic
Member Avatar for jan_grace85
0
96
Member Avatar for websniper77

I am new in Java and need help :} currently working on a new project using netbeans, I have trouble to import commons-io-1.3.2 jar because i really need to use SuffixFileFilter class which is in commons-io-1.3.2 jar.Actually I have the jar but don't know how to import it into my …

Software Development java java-netbeans
Member Avatar for puneetkay
0
114
Member Avatar for Evan M

I have a vector array of a class that's giving me some crap. I would beat it up, but that might result in some innocent circuits getting damaged. Class: [code=c++]class Font { public: Font(); ~Font(); int style; int ptSize; std::string name; TTF_Font *font; }; Font::Font() { style = TTF_STYLE_NORMAL; ptSize …

Software Development c++
Member Avatar for Evan M
0
102
Member Avatar for werks

Hi guyz, i have a question about crystal report . How to connect the Crystal Report in MS Access (w/ a password security).. Cause i can't seem to connect it with a password database..tnx in advance

Software Development visual-basic
Member Avatar for sganandhsg
0
95
Member Avatar for sganandhsg

Hi Friends, i`ll use font end VB6.0 back end Ms Access And using Crystal Report 8.5 i ll attached database to report and result also fine, but suppose change my application path to another path reports can`t displayed. so i need how to apply for database application path in to …

Software Development visual-basic
Member Avatar for sganandhsg
0
148
Member Avatar for K.Vanlalliana

In my VB6 Book, in the last chapter programming ASP for web design is written and, it seem that is to be done through VB6, but I dont under stand and I usually write ASP code using FrontPage? If VB is helpful (Even though understanding of VB coding is helpful) …

Software Development asp visual-basic web-design
Member Avatar for K.Vanlalliana
0
154
Member Avatar for man5237

Shell program to check whether a given number is avogadro number or not.

Software Development shell-scripting
Member Avatar for eggi
0
265
Member Avatar for zarf

Hi all i am a newbie in C++, i am currently doing my FYP and i need some help on it. I am using visual C++ version 6.0. Firstly, i have 2 machines A ( the client ) and B ( the server ), A is supposed to send a …

Software Development c++ client-server
Member Avatar for zarf
0
117
Member Avatar for mississippi_mam

Hello, I am a student in an independent study class and i am working in vb.NET 2005 trying to create a form that has 3 list boxes and combo boxes that the user can select a package from and see the features that come with that package. The problem that …

Software Development vb.net
Member Avatar for mississippi_mam
0
102
Member Avatar for adrian116

1. const int* a; (what the difference between const int *a and why pointer need to be const?) 2. short b[10]; (is the content of b are all short type?) 3. float* const c[]; (i think this should be wrong due to the size of array c is not assigned) …

Software Development c++
Member Avatar for adrian116
0
105
Member Avatar for JackDurden

How do I insert a character into a number array? Is it possible? a and b are constants. [CODE]for(int i = 0; i <n; i++) { pointer[i] = new int[n]; } for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { pointer[i][j]=1;/ pointer[a][b]="*"; //<---- } }[/CODE]

Software Development c++
Member Avatar for rhoit
0
98
Member Avatar for Demonisya

Hello....everyone I want to ask you for your advice on what problem I'm gonna do.... So my teacher grouped us and make a program that we ourselves would make.... we can do that but what kind of program do we have to make, any suggestions???? My teacher said that the …

Software Development c
Member Avatar for Demonisya
0
103
Member Avatar for core2d

I have this problem that states that: LL be a doubly linked list that has 2 headers L and R. Each record has: llink, data, and rlink as field. So llink is the prev pointer and rlink is the next pointer. Here is the code to reverse the list, but …

Software Development c++ linked-list
Member Avatar for rhoit
0
98
Member Avatar for Randomppl

i wanna noe how to write a code that will read lines from a file and then put those lines into an array. and will this make a double of arrayB if arrayA is empty and arrayB is filled? arrayA[10]=arrayB[10] help of any kind will be greatly appreciated!

Software Development c++
Member Avatar for Randomppl
0
71
Member Avatar for rhoit

I create the simple template structure like this [CODE] #include <iostream> template <class info> struct box { info data; }; int main() { box<int> b1; b1.data = 1; std::cout<<b1.data; return 0;typedef box square; } [/CODE] Now i want to use the typedef for this template structure. I could not figure …

Software Development c++ data-structure
Member Avatar for rhoit
0
2K
Member Avatar for gregorynoob

okay, this is the problem (variation of the knapsack coins problem): you've got 4 coin types: 1 cent, 2 cents, 5 cents and a quarter...infinite amount of each. I'm supposed to find the number of ways in which the coins can be arranged to form the sum of some integer …

Software Development c++
Member Avatar for VernonDozier
0
393
Member Avatar for dexter1984

Hi, I'm doing a project regarding converting roman numerals to decimals and vice versa. With some reference from the internet, I was able to come up with one. However, it isn't working very well. Can someone look at my codes and point out what/where's the mistakes? Thanks in advance. [CODE=cpp] …

Software Development c++
Member Avatar for dexter1984
0
165
Member Avatar for rapture

Hello. I'm charged with taking a site I helped create in VB.Net 1.1 to C#.Net 2.0 - I'm just starting to research this and wondered if anyone has done it and if you can direct me to some good material . . . I need to add a new module …

Software Development c# vb.net visual-studio
Member Avatar for rapture
0
253
Member Avatar for jeffrey16

hlo, can anyone help me.. i want to move my deleted records to another form named archives but i dont know what to do.plzz help

Software Development visual-basic
Member Avatar for jireh
0
69
Member Avatar for skyloon

im thinking to learn predictive dialer, quite interesting. got other ways to start? and how to start? got any simple sample code to learn? or tutorial?

Software Development visual-basic
Member Avatar for nathonn
0
188
Member Avatar for sandya_vish

Given the following student data (code, number, first name, last name, mark): CSC10208 1 Fred Nurks 50 ISY00245 4 Fred Bassett 75 Write a program to open a file, accept data in the above format using a struct, write the data to the file and then close the file. Your …

Software Development c++
Member Avatar for skatamatic
0
93
Member Avatar for dmanw100

I am trying to use sprites, which I made in the form of bitmaps, in my program. Is there a library that will allow me to easily display them? I tried to use OpenGL but my computer will not allow it to initialize. I would simply like to display bitmaps …

Software Development c++ opengl
Member Avatar for dmanw100
0
102
Member Avatar for kirthica

Hai friends could you help me? In VB if i've connected ms access project through a data control to my form..... and i've added many records to my database... and I've set "yarn no" as my primary key... if later I've to update my stock details... I need to retrieve …

Software Development visual-basic
Member Avatar for debasisdas
0
90
Member Avatar for Programmer666

Hello everyone.Sorry if this question seems to be very naive.but i am new to vb.net. I have created single user applications in VB 6.0 and MS-Access.I want to build a system using VB.Net 2005 and Ms-Access which will work over a LAN. Where multiple users will be entering data.Kindly provide …

Software Development vb.net
Member Avatar for Programmer666
0
108
Member Avatar for NinjaLink

I'm new using Visual Basic, so I need help. For example: If I input "14" into the textbox, i want to have a list that will say: 1 2 3 4 5 . . . 14 I have a counter in my program, but I have no clue how to …

Software Development visual-basic
Member Avatar for jireh
0
100
Member Avatar for defychaos

Hi :) I'm doing a programming project with development of an algorithm for a quadratic recursive sequence: (3, 3, 7, 11, 19, 20, 32), but I can't figure out which expression to use. I know it's probably got something to do with the differences of n-1 and n-2 being added …

Software Development algorithm c++
Member Avatar for Lerner
0
343
Member Avatar for FAZ3

Can someone help me create a function in a linked list program that replaces an element in (I) place with an element a user enters? here is the sudo code I tried to implement but Im kinda lost. this is in my header file -> [icode]typedef int el_t; // el_t …

Software Development algorithm c++ linked-list
Member Avatar for stilllearning
0
104
Member Avatar for kurorokhristoff

Hi, im confuse making this program,.. i need a little help from expert here in dream in code so i decided to post it in here,.. Write a program that uses for statements to print the following patterns separately, one below the other. Use for loops to generate the patterns. …

Software Development c++
Member Avatar for Lerner
0
2K
Member Avatar for Se7Olutionyg

[code=cplusplus] // grade.cpp // display the letter grade corresponding to an exam // score assuming a noormal scale # include <iostream>; using namespace std; void displayGrade (int score); int main () { int score; displayGrade(); cin.get(); return 0 ; } // get the data void displayGrade cout << " ENTER …

Software Development c++
Member Avatar for sidatra79
0
104
Member Avatar for Blackeagle

i'm using NetBeans and i keep getting an error in this code: [CODE=java]package desktopapplication7; import java.awt.*; import javax.swing.JFrame; import javax.swing.JPanel; public class Frame extends JFrame { Container c= getContentPane(); setLayout(new BorderLayout(5,10)); JPanel p= new JPanel(); p.add(new JButton("OK")); // ERROR HERE c.add(p,BorderLayout.Center); // ERROR HERE }[/CODE] on both lines above, it …

Software Development java java-netbeans java-swing
Member Avatar for Blackeagle
0
103
Member Avatar for ShadowOfBlood

I had to write a program that asks the user to guess a number. The program then tells if their guess is too high or too low depending on the difference between their guess and the random number. I finished the program and it works, but my teacher's very picky …

Software Development c++
Member Avatar for Narue
0
183
Member Avatar for TheFueley

Hello all, I want to programmatically add users to a distro list in Outlook 2003(server). I haven't been able to find a suitable solution nor have I been able to even determine which language to use. I'm guessing that C# could be used. Anyone know of any examples of this? …

Software Development
Member Avatar for TheFueley
0
78
Member Avatar for biggz

i started using c++ a few weeks ago , and i was told to build a program the finds the factorial of a number ... [code] #include <iostream> using namespace std; void main() { int x,fact; cout<<"Enter the number wanted"; cin>>x; for (fact=1; fact<=x ; fact++); { fact = fact …

Software Development c++
Member Avatar for sidatra79
0
234
Member Avatar for nanna

Hi, I writ a program that asks the user to input an integer and according to this integer the program should print astrisks equal to the input integer . The program does not compile ?? i need help fix this problem : import java.util.Scanner; public class Astrisksline { public static …

Software Development java
Member Avatar for javaAddict
0
162
Member Avatar for abelingaw

A program where u have a 10 input number and enbles u to choose wether the output is in asecnding or descending order. Thanks in advance!!

Software Development c++
Member Avatar for rati
0
173
Member Avatar for TheKebab

I don't know if this belongs in the programming section, but I'll ask anyway: I've been using VS2008 Pro since I got it for free through the MS Dreamspark student page. I've been using Dev C++ (Which many experienced programmers have given me harsh comments for) before I got it. …

Software Development c++
Member Avatar for TheKebab
0
94
Member Avatar for unk45

alright..so i have to create an overloaded func where i replace O with E in str and replace world with jack in str and print from main using pointers to pass my strings to the func(needs to adhere to the mentioned)...need help ASAP ppllzz.. thnx [code] #include <iostream> using namespace …

Software Development c++
Member Avatar for rati
0
126
Member Avatar for stilldancin12

ok, yes this is a homework help question, and no i don't want just the answer. i actually really want to learn this. Ok, so I have to the simple date format that displays today's date in "week day month day, year) so here is what i got: import java.text.*; …

Software Development java
Member Avatar for javaAddict
0
136
Member Avatar for matejkralik

Hello I use this code as a stored procedure to delete row of the table: [ICODE]ALTER PROCEDURE dbo.DeleteRowMaterialTyp ( @CisloParam varchar(MAX) /* hodnota v tabulke, ktora nam identifikuje riadok, ktory sa ma zmazat */ ) AS Delete From MaterialTyp Where Cislo = @CisloParam RETURN[/ICODE] And this is code where I …

Software Development
Member Avatar for matejkralik
0
113
Member Avatar for chanthung

Hi, hope all are doing fine.. need some suggestions. I am using VB and Acccess and am trying to fetch a record from database by: "Select * from accounts where emp_code='"+d+"' AND emp_name='"+n+"'"". The inputs are fetched from an Inputbox. but i get a compilation error... [B]Run-time error '13': Type …

Software Development visual-basic
Member Avatar for chanthung
0
94
Member Avatar for killdude69

I am trying to create a context menu that pops up when you right click a RichEdit. I know how to create the context menu, but I don't know how to check for when the user right-clicks RichEdit. This is what I have: [CODE=cpp] case WM_CREATE: { // Create RichEdit …

Software Development c++
Member Avatar for killdude69
0
848
Member Avatar for gouki2005

this [CODE] Dim comando As New OleDb.OleDbCommand("Insert into personaldata (name,occupation,address,phone) values " , conexion) Values is the problem because i going to use a function getname(), getoccupation() etc how to concatenate???? [/CODE]

Software Development vb.net
Member Avatar for Teme64
0
123
Member Avatar for miepmuts

Hi everyone, I am trying to convert a textfile eventually to a pdf file with a visualization of information in the text file. I use Java to convert the text file to an xml file, and fop to convert the xml together with an xsl file to a pdf containing …

Software Development file-system pdf xml
Member Avatar for miepmuts
0
158
Member Avatar for gangsta1903

[code=C++] while(cin >> par1 >> par2 >> par3){ // get inputs cout << par1 << par2 << par3 << endl; [/code] I want to read three inputs with cin,as long as three inputs exist,the loop works good. But if the user enters two inputs,this time it waits for the next …

Software Development c++
Member Avatar for gangsta1903
0
147
Member Avatar for toadzky

I have a flat file database program I'm writing using SQLite3 and I've run into a problem and a question. Problem: I have the various fields on the forms linked to the results of my queries using databindings. They all work just fine except for 2. They are pulled from …

Software Development linked-list
Member Avatar for LizR
0
100
Member Avatar for legend_018

I was looking at a tutorial for when you extend a class. One tutorial said you used a keyword extends between the two class names and another tutorial said you used a period between the two class names to join the two classes together. Both of them are c# tutorials. …

Software Development
Member Avatar for LizR
0
128
Member Avatar for Niner710

I am a little confused with class scope. Lets say that you have a class. [code] //file.h struct B { int BB; char CC; }; class A { public: struct B *getStructure(); private: int number; }; [/code] I dont understand what is the difference between putting struct B inside the …

Software Development c++ data-structure
Member Avatar for ArkM
0
124
Member Avatar for unkwntech

I have the following code: [code=python] import re string = 'c:\test.doc' if re.match(r":\\[0-9a-z]", string): ##r":\\[0-9a-z]" should match ':\t' print 'true' else: print 'false' [/code] the problem I am having is that this is always evaluating to false.

Software Development python regex
Member Avatar for bvdet
0
135
Member Avatar for JackDurden

Is it possible to ask the user to input the size of a 2-dim array?

Software Development c++
Member Avatar for Agni
0
277
Member Avatar for LottaBajan2

Hi, I am very new to visual basic 6.0 and I am trying to create a guessing game in visual basic where the computer generates three numbers and the player tries to guess what they are. I am now starting the basics and I have the GUI sorted out but …

Software Development gui vb.net visual-basic
Member Avatar for selvaganapathy
0
636

The End.