132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
Shell program to check whether a given number is avogadro number or not. Software Development shell-scripting | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
[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++ | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
[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++ | |
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 | |
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 | |
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 | |
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. | |
Is it possible to ask the user to input the size of a 2-dim array? Software Development c++ | |
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 |
The End.