43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for daino

I'm trying to compile a project using Code::Blocks with a MinGW compiler (Windows XP). I have included the correct library file from boost and set the right include path but it doesn't seem to make any difference. Here's the error. The impression I'm getting is PdfContentsGraph class is not initializing …

Software Development c++
Member Avatar for daino
0
397
Member Avatar for dnk

Hi, I'm manage how to find word in textbox. In textbox : "How i can be a good programer? How i achieve that?" If i want to search "How" then it should return 2 How words in text. Please Help. Thank You.

Software Development seo visual-basic
Member Avatar for Basavaraj16291
0
392
Member Avatar for gelmi

i am doing some machine program that our teacher. told us to do, i have figured out how to solve it, the first output is correct but the second one gives me an answer of 3.10752688172043, and the answer should be 3.75268817. here is my code... using System; using System.Collections.Generic; …

Software Development
Member Avatar for Momerath
0
164
Member Avatar for pritesh2010

how to add multiple image in listview columns like ListViewItem.ListViewSubItem[] subItems; ListViewItem item = null; item = new ListViewItem(imageList1.Images[0].ToString(), _GroupName); subItems = new ListViewItem.ListViewSubItem[] { new ListViewItem.ListViewSubItem(item,imageList1.Images[1].ToString()), new ListViewItem.ListViewSubItem(item,imageList1.Images[2].ToString()), new ListViewItem.ListViewSubItem(item,_Row["Description"].ToString()), new ListViewItem.ListViewSubItem(item,imageList1.Images[3].ToString())}; item.SubItems.AddRange(subItems); ListView.Items.Add(item); how add to do that. dynamically.

Software Development listview
Member Avatar for pritesh2010
0
272
Member Avatar for Kronolynx

i got a problem to make a program where i should use arrays the problem is in the next part, even though all the for loops are the same in this array `results[4][5] = i; // problem here nothing gets stored` nothing gets stored, so when i run the program …

Software Development java
Member Avatar for Kronolynx
0
149
Member Avatar for Blaze_Razgriz

Hello Forum I'm learning more about Form Apps in VB.net and I encountered the error 'System.ObjectDisposedException', no matter what I do this error doesn't seem to want to stop. This error occurs in two stages all under the declaration of BBGO which is declared as graphics. This should be the …

Software Development vb.net
Member Avatar for john.knapp
0
466
Member Avatar for Carpetfizz

Hello! I'm terribly confused about how to pass a simple integer that was read from my main() to another function (in the same file). I know this is a really silly issue, but searching on the internet is just making me more confused. Here's my code so far. #include <iostream> …

Software Development c++
Member Avatar for thendrluca
0
157
Member Avatar for jlillie

Hi, I have spent way to much time stuck on this with no clue how to do it. My program is a phone book directory. I'm writing a funciton that when the user enters a phone number to be deleted the program will delete that corresponding entries info. So it …

Software Development c++
Member Avatar for jlillie
0
182
Member Avatar for _eclipse

Hi guys I need some help writing a program where I store information from a textfile into a parallel array. I need to be able to do a multiplication sum with the amount,and an if statement. Here is the textfile James 550 Quinton 410 Liam 120 Taylor 600 Jake 270 …

Software Development java
Member Avatar for _eclipse
0
168
Member Avatar for AnkitGuru

Hi All, I am trying to create an FTP application for file transfer in LAN. I want to list all available users with their IP's and user names, so that any persone can be found and FTP can be initiated. But I'm stuck at the start as i don't now …

Software Development
Member Avatar for AnkitGuru
0
115
Member Avatar for joshl_1995

Hello Community, I want to know if there is a way to make a program that will click a button on a webbrowser but the button does not have a name (name="") or id (id="") property it just has a class (class="") property and if there is a way is …

Software Development vb.net web-browser
Member Avatar for G_Waddell
0
244
Member Avatar for Echo89

Well, I have just written all of this code, and then made lots of edits, compiled and when I run it, I get STATUS_ACCESS_VIOLATION. And I can't work out where the error lies. It is a very basic Database program BTW. Here is the code: http://pastebin.com/jLktEL3C And here is the …

Software Development c++
Member Avatar for Echo89
0
861
Member Avatar for TexasJr

I made a test program to mess around with a feature I'm trying to put into my class project but I can't seem to figure out what I'm doing wrong. What I'm trying to do is to line up the numbers right of the decimal. this is my test source …

Software Development c++
Member Avatar for TexasJr
0
153
Member Avatar for zwench

I want to know if this is correct for what they are asking. If I try to put 7.5% in the `int=` spot it errors. I am a newbie who doesn't quite understand it all. The commission rate in the firstmethod will be entered as a decimal value (for example, …

Software Development java
Member Avatar for kanu.votka
0
911
Member Avatar for anukavi

Hi, In Dialog based MFC code (VC++ 2012), I have two command buttons and 1 Text Box 1. Enquire 2. Start Once the user chooses ENQUIRE Button, I display msg in TextBox "Press START for the ....." In the Start Button code, I do the socket opening,accept functions etc while …

Software Development c++
Member Avatar for anukavi
0
322
Member Avatar for jackshannon4

shader.vert: #version 120 varying vec3 position; varying vec3 normal; void main() { position = (vec3(gl_ModelViewMatrix*gl_Vertex)); //get the position of the vertex after translation, rotation, scaling normal = gl_NormalMatrix*gl_Normal; //get the normal direction, after translation, rotation, scaling gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } shader.frag: #version 120 varying vec3 position; varying vec3 …

Software Development c++ opengl
Member Avatar for jackshannon4
0
175
Member Avatar for Bile

-->>Hello I hope all is well. -->>I'm trying to join or select some data from 5 tables by using the following join statement: SQL ="SELECT RegistrationTB.Christian_Name,RegistrationTB.Father_Name,RegistrationTB.Birth_Date," "BaptismTB.Date_Baptised,BaptismTB.Parish_Name,BaptismTB.Minister_Name," & _ "CommunionTB.Date_Communised,CommunionTB.Parish_Name," & _ "ConfirmationTB.LC_No,ConfirmationTB.Date_Confirmation,ConfirmationTB.Parish_Name,ConfirmationTB.Minister_Name," & _ "MarriageTB.LM_No,MarriageTB.Date_Married,MarriageTB.Parish_Name,MarriageTB.Mr_Name,MarriageTB.Mrs_Name,MarriageTB.Certificate_No,MarriageTB.Minister_Name " & _ "FROM RegistrationTB " & _ "INNER JOIN BaptismTB ON RegistrationTB.LB_No=BaptismTB.LB_No " …

Software Development visual-basic
Member Avatar for Bile
0
447
Member Avatar for Carpetfizz

Hello, I'm working on a text base space game, just for fun, and I've made a lot of progress. The problem I'm having right now is that sometimes, the psuedo-random is calculated out of its modulus. The way it works, as you can see in the code is that a …

Software Development c++
Member Avatar for Carpetfizz
0
148
Member Avatar for Bile

-->>Hi all... -->>Here is what makes me be unconfortable here... -->>I was trying to develop a Progam that will help me creat a folder and make a copy of my passports -->>I managed to creat a folder but when I try to Copy the files is where I get an …

Software Development visual-basic
Member Avatar for Bile
0
188
Member Avatar for hur1214

[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; struct phonenode{ char surname[15]; char initals[4]; phonenode *next; }; phonenode *start_ptr = NULL; phonenode *crrnt_ptr; void read_txt(){ ifstream ifs("test.txt"); char surn[15]; char inital[4]; phonenode *temp1, *temp2; temp1 = new phonenode; if (ifs.fail()){ cout << "ERROR" << endl; } while(ifs.good()){ ifs>>surn>>inital; if(ifs.fail()){ break; } …

Software Development c++ linked-list
Member Avatar for kjr247
0
6K
Member Avatar for Kronolynx

Hi i gotta display 2 arrays on screen but they don't look good i was wondering how can i make it look like this: Speed 20 88 75 80 68 77 81 Focus 30 90 77 83 71 84 85 Jetta 40 94 80 85 76 91 90 Contour 50 …

Software Development display java
Member Avatar for NormR1
0
216
Member Avatar for aishapot

Sub filllist() strsql = "select * from tabletest" ListView1.Items.Clear() sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqldr = sqlcmd.ExecuteReader() [B] sqlda.SelectCommand = sqlcmd -- the error is pointing here and it say NullReferenceException was handled then Object reference not set to an instance of an object. How do i solve this? …

Software Development sql vb.net
Member Avatar for neeturathi
0
400
Member Avatar for pars99

Can you please help me and tell me what I am doing wrong? I have been looking at the program for two hours and need help. I keep getting this error: 'triangle' was not declared in this scope. Also, that is the only error, so I don't have anymore. Thank …

Software Development c++
Member Avatar for pars99
0
2K
Member Avatar for nore

I have a data table with query inside, then i need to sent value of data table exactly in datagridview i made before. Anyone can do this?:-/

Software Development vb.net
Member Avatar for pcs77
0
15K
Member Avatar for junweixiong

Hello, I am making a authentication software, and this is the code for the Username panel. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Scanner; import java.util.ArrayList; import java.io.*; public class Username { private static String username; private static char[] actualUsername; public Username () { final JFrame frame = new JFrame("Username"); …

Software Development java java-swing
Member Avatar for junweixiong
0
4K
Member Avatar for junweixiong

Hello, I am making a Banking System, and this is the code for main. import static java.lang.System.out; public class BankSystem { public static void main (String[] args) { new username(); Password.setPassword("1234567"); new Password(); } } However, the problem is that both the username frame and password frame appears together. How …

Software Development java
Member Avatar for jalpesh_007
0
189
Member Avatar for fishsticks1907

Hello, I'm making a linked list and when i try to make a member function to return a new object i keep getting an error reading: "‘node’ does not name a type". I think im writing the function wrong, any help would great. #include <iostream> class list { private: class …

Software Development c++ linked-list
Member Avatar for fishsticks1907
0
165
Member Avatar for JohnMcPherson

I am trying read CSV files in a C program on an AIX system. I am having problems getting fscanf to recognize the comma delimeter. I have read previous posts on this issue, and used the techniques dicussed in those threads, but I am still having the issue. Specifically, this …

Software Development c
Member Avatar for JohnMcPherson
0
6K
Member Avatar for UKnod

Is there any way of running and compiling with known errors in the code. Her is my reason. I am using a reference to word 2008 and word 2010, so as the program will work with both versions. Trouble is that if the computer I am using to test the …

Software Development vb.net
Member Avatar for john.knapp
0
187
Member Avatar for srkv03

Hi, I have been working with some legacy code at work. There seems to be a common logic in storing an entire table in the database as an array. I have got no clue at all as to why this needs to be done. The recordet is open the entire …

Software Development visual-basic
Member Avatar for srkv03
0
97
Member Avatar for kenomote

hey guys i need some help on table values for example i have a table for books and it has two fields one is number of Copies and Number of Borrowed how do i subtract and add values to each fields for every single transaction on the same table?

Software Development vb.net
Member Avatar for kenomote
0
144
Member Avatar for Benderx

Hi everyone, I was writing a program to show visually some vectors I was implementing with Java but I ran into an issue. My program has 3 classes, a driver, a Vector class and a VectorDisplay. The driver and vector class are self explanatory, but here is the code. Driver: …

Software Development java java-swing
Member Avatar for JamesCherrill
0
360
Member Avatar for garr55

Sorry I'm new here, so I might not be posting this correctly, tips for next time would be appreciated. I'm having a problem with my delete string script within my program, here's the code: //program to input a list of names, display them, sort them, and edit the list. #include …

Software Development c++
Member Avatar for Ancient Dragon
0
245
Member Avatar for phfilly

Hi I have trouble with implementing a dynamic two dimensional pointer array on allocating memory for it. I tried it this way but not sure if it's correct. The array should contain pointers to heap allocated **Integer** objects const int size = 10; Integer *** twoD; twoD = new Integer**(); …

Software Development c++ motherboards-cpu-ram
Member Avatar for Ancient Dragon
0
323
Member Avatar for boher

In my project, I have two seperate forms and in one of them I can add various panels using a button. After adding let's say 5 panels I click on one of them and I need the code to tell me which panelI clicked on. The reason I need this …

Software Development vb.net visual-basic
Member Avatar for Pgmer
0
692
Member Avatar for Dili1234

I used this code to retrive from one record to another first tried to retrive the first record................. varible decalaration Imports System.Data Imports System.Data.SqlClient Public Class Form3 ' Dim connectionstring As String = Module1.connectionString Dim sqlconn As New SqlConnection(connectionstring) Public sqlDataset As New DataSet Dim da1 As OleDb.OleDbDataAdapter Dim myCommand1 …

Software Development dataset vb.net
Member Avatar for Dili1234
1
393
Member Avatar for anukavi

Below is my code in c++ //The data below r fixed ie the data to be uploaded in the buffer is in this format :KL10<nnnnnn><ssss> KL (is the ID) , 10 (the total length of n and s), n(6 digit integer), s(4 digit serial no) case 1: char InBuffer[64]; BOOL …

Software Development c++
Member Avatar for anukavi
0
264
Member Avatar for myk45

Hello All, I have a small doubt w.r.t using mutex locks. Say we have a thread-safe function: int counter; void foo() { LOCK_MUTEX(); // say by pthread_mutex_lock ++counter; UNLOCK_MUTEX(); } Now, i understand that this is thread safe because only one thread can "own" a mutex at a time and …

Software Development c operating-system
Member Avatar for myk45
0
188
Member Avatar for CoilFyzx

Hello perhaps you could help me with a problem please. I wish to display a table of results using a JTable. Customarily I use a 2D Object array which is initialized with the data in a manner as follows: public Object[][] data={ {"Biology",25},{"Additional Math", 54},{"Geography",43},{"History",21},{"Spanish", 47}, {"Information Tech.",110},{"Technical Drawing",54},{"French",45},{"Physics",76},{"Chemistry",76}, {"Principles …

Software Development java
Member Avatar for CoilFyzx
0
326
Member Avatar for junweixiong
Member Avatar for unknownprogress

I cannot make my program calculate the total of two integers (one on the main form, and the other on a different form). It keeps putting in the value "0", but when I tried it without a button it'd always just put one of the chosen integers instead of adding …

Software Development vb.net
Member Avatar for unknownprogress
0
131
Member Avatar for FearlessHornet

I have been working on a few projects and needed a method similar to pythons string.split(). I decided to make a reusable piece of code and export it as a .dll, the code is below: std::vector<std::string> Editor::StringHandler::Split(std::string data, std::string tokens) std::vector<std::string> returnList; std::string temp=""; bool found=false; for (auto i : …

Software Development c++
Member Avatar for FearlessHornet
0
570
Member Avatar for kenomote

hey guys i need some help on my code here.......... im trying to do some computation about the biling system or a library if the borrwer returns the book on time it will be no charge.......but if hte book is damage then it will charge him trice the ammount of …

Software Development vb.net
Member Avatar for kenomote
0
134
Member Avatar for taylor.mitchell.353

I am working on a java project for school. I am trying to think more into a professional mindset rather than a student. The project I am working on is about hashing. The rest of the project looks really good, but this part makes me wonder if a professional programmer …

Software Development algorithm java
Member Avatar for taylor.mitchell.353
0
184
Member Avatar for Tobyjug2222

Hey Guys, I'm an A level student studdying Computer science, and hence using VB.NET for my coursework. Therefore I'm very novice at VB! While trying to update Data in a Microsoft Office, Access table (Office 2010) - I get this error. (In VB) Bare in mind, I've read all this …

Member Avatar for Tobyjug2222
0
610
Member Avatar for bibiki

Hey there, I have the following code: int[] x = new int[7]; System.out.println(x.lengnth); x.length = 10; System.out.println(x.length); Of course, line three causes a "cannot assign a value to final variable length". However, line one does assign seven to that variable, length. Now, I have written a Testing class where I …

Software Development java spring-framework
Member Avatar for bibiki
0
915
Member Avatar for jamison234

Hi All, I am a newbie programmer in python and I am trying to read multiple csv files from a folder, perform some data sums based on timestamps for each row for all the csv files and then output the sums to one result csv file. So far I am …

Software Development python
Member Avatar for hughesadam_87
0
4K
Member Avatar for serkan sendur

i was reading xerces-c class documentation, one of the methods does the writing of buffer to a file. what should i understand from buffer, how is it different from writing some stream to a file? What should i understand from stream? Thanks

Software Development c++ file-stream
Member Avatar for stavrianosy
0
1K
Member Avatar for acerious

Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive …

Software Development algorithm c++
Member Avatar for acerious
0
192
Member Avatar for meenal9

Help..i need java program with help of bufferedReader and IOException... to find sum of 2 nos. entered by user.. plz help i am new to java...

Software Development java
Member Avatar for jalpesh_007
0
128

The End.