132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Korenai

hi, can u check where have i gone wrong on this code? i have 2 listviews with similar columns, whenever i click the item on listview_1, it will transfer to my listview_2. the code below adds the column_named 'UNITS' to my label box For Each TempNode In ListView1.Items If Double.TryParse(TempNode.SubItems.Item(2).Text, …

Software Development vb.net
Member Avatar for codeorder
0
105
Member Avatar for LeMajestique

I am having trouble making a menu system for a text based adventure game I am creating. I don't really understand all of the concepts yet but I am trying to go to a new situation by setting a number to be a certain situation and then by picking a …

Software Development c++
Member Avatar for vinayakgarg
0
179
Member Avatar for gvarma123

Hi, I have a file from which I want to extract values under a particular column and store them in an array This is the file. Could anyone help me to get to read the values under the column k1. fitk2 Date: 2005-08-26 15:37:10 Study: temp2 Data file: k2tis.dft Plasma …

Software Development file-system java
Member Avatar for MALINI JAGDALE
0
9K
Member Avatar for mespo365

I am trying to get a element of string and cast it as a integer. What I am ultimately doing is in a for loop taking an element out of the string and convering that element to an int. This is in order to get the characters ascii value. thanks

Software Development c++
Member Avatar for jonsca
0
173
Member Avatar for alonewolf23

I would like the user to input a sentence that contains quotes around a portion of it and then my program will convert any letters in quotes to upper case. My problem is how do i write the statement to start toupper() one i == " and end the toupper() …

Software Development c++
Member Avatar for WaltP
0
274
Member Avatar for localp

Hello I have been trying to code this for the last few days, and i am unable to come across a solution for this. Would you please mind helping me out on this? There are some records in a notepad, which are as follows [CODE]1 Paul Mac 3 1 222 …

Software Development java
Member Avatar for naief
0
93
Member Avatar for sirlink99

I would like to make it so that when a character (picture or shape) moves it leaves a trail behind it that keeps getting more transparent. how would i start. If you jump the trail should follow up then down. Can anyone help me? Thanks

Software Development java
Member Avatar for sirlink99
0
86
Member Avatar for thisischris

So I'm working with these strings and I'm stumped at this one part. Here's the instructions: "After removing leading and trailing blank characters (<SPACE> or <TAB>), the string must not be empty." .empty() will obviously be used, but how do I check for the " " or "\t" characters and …

Software Development c++
Member Avatar for mrnutty
0
107
Member Avatar for MasterGberry

Haven't worked with classes for a while, so please excuse all these dumb questions :P Still learning. Let me know if you need more info. 1>c:\users\adam\documents\visual studio 2010\projects\help\pusoy\pusoy\pusoy.cpp(24): error C3867: 'Deck::dealCard': function call missing argument list; use '&Deck::dealCard' to create a pointer to member deck[] is a vector of Card …

Software Development c++ visual-studio
Member Avatar for MasterGberry
0
190
Member Avatar for plusplus

How do I check if a form is open (not only loaded, but also open)

Software Development visual-basic
Member Avatar for muspench
0
5K
Member Avatar for MasterGberry

I took my deck of Cards (class Card) and shuffled the. But every time i ran the program it gave me the same shuffled results.... [CODE]void Deck::shuffleDeck() { std::random_shuffle(deck.begin(), deck.end()); }[/CODE]

Software Development c++
Member Avatar for erikandr
0
131
Member Avatar for MasterGberry

I am trying to take a std::vector<Card> and organize it by one of the int values stored inside the Card class. How could I go about doing this with iterators and the sort() method? Or is it not possible? Ty :)

Software Development c++
Member Avatar for MasterGberry
0
102
Member Avatar for weasel7711

I have a small company Database that tracks our repair orders. I have a query that I would like to execute based on criteria that the user inputs. I am new to VBA so most of my code is based on google research. I took a technique of wrapping my …

Software Development microsoft-access sql vb.net visual-basic
Member Avatar for weasel7711
0
253
Member Avatar for ITemplate

Hi, Looking at this xml: [CODE]<root> <nodeA /> <nodeB /> </root>[/CODE] Is it then possible to set the value of nodeB when inside nodeA? For example: [CODE]<xsl:template match="nodeA"> <!-- Here do something like nodeB.Text = "hi" --> </<xsl:template>[/CODE] So that the output of matching nodeA could be (the thing to …

Software Development xml
Member Avatar for ITemplate
0
113
Member Avatar for blenkhn

I have been trying to no avail to load a ui file and insert it into a tabWidget as a new tab. I commented out a try that I thought would work, I was wrong. I have tried several different ways but I always seem to get the same error. …

Software Development flash gui python qt sqlite
Member Avatar for blenkhn
0
896
Member Avatar for cufisa

Hello there everyone. I am having a bit of trouble with my C programming. I do not know anything about C programming and this is my first semester and already my professor is putting pressure on me. Anyone that can help would be appreciated. So I am supposed to create …

Software Development c c# c++
Member Avatar for cufisa
0
1K
Member Avatar for phouse512

Hello all, I'm making a simple game in minesweeper, and I have a Mine class with a JButton and some other information, namely an x and y variable for its location. In a class called Board, a constructor creates a multi-dimensional array of Mine objects. I tried adding mouselistener to …

Software Development java
Member Avatar for Ezzaral
0
1K
Member Avatar for Zvjezdan23

[CODE]#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; string reverseStr(string& x); int main() { // Array for your words vector<string> words; // Your Words words.push_back("I"); words.push_back("won"); words.push_back("ten"); words.push_back("tickets"); words.push_back("for"); words.push_back("a"); words.push_back("rock"); words.push_back("concert"); words.push_back("in"); words.push_back("the"); words.push_back("park"); words.push_back("for"); words.push_back("this"); words.push_back("Friday"); vector<string>:: iterator myIter; vector<string>:: const_iterator iter; cout << "Sentence …

Software Development algorithm c++
Member Avatar for Zvjezdan23
0
183
Member Avatar for LianaN

Hi! Please, tell me how to make the JDialog close button working in a proper way. Now it does not work. [ICODE]System.out.println(value);[/ICODE] produces 0. But if I write [ICODE]if (value == 0)[/ICODE], then nothing happens. Any ideas? Thanks! [CODE] public static void about() { final JOptionPane optionPane = new JOptionPane( …

Software Development java
Member Avatar for LianaN
0
225
Member Avatar for realproskater

here is the question: Write a program that reads names and gpa’s from a text file. The file looks like: James 3.9 Margaret 3.5 Charles 1.2 Jennifer 4.0 Your program sorts the students ascending by gpa, and prints the sorted list including names. To keep the names with the numbers …

Software Development c++ visual-studio
Member Avatar for realproskater
0
247
Member Avatar for Mr.BunyRabit

Hey there. Troubled once again, and this one i cant find on the internet. I have a datagridview. I can update it perfectly, when i type in data into the datagridwiew and press the button. So that works. Now i have a form that pops up with 2 txtboxes and …

Software Development
Member Avatar for Mr.BunyRabit
0
107
Member Avatar for dougancil

I have the following code: [code] Public Class Payrollfinal Private Sub Payrollfinal_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load exportfileButton.Enabled = False Dim oCmd As System.Data.SqlClient.SqlCommand Dim oDr As System.Data.SqlClient.SqlDataReader oCmd = New System.Data.SqlClient.SqlCommand Dim _CMD As SqlCommand = New SqlCommand Dim adapter As System.Data.SqlClient.SqlDataAdapter = New System.Data.SqlClient.SqlDataAdapter …

Software Development dataset open-source vb.net
Member Avatar for dougancil
0
645
Member Avatar for rachmann

Help! I've seen some things... like [code] double AngleBetweenVector(Vector3 A, Vector3 B) { return Math.Acos(Vector3.DotProduct(A, B) / Math.Sqrt(Vector3.DotProduct(A, A) * Vector3.DotProduct(B, B))); } [/code] but...this only returns one angle... In 3d space, vectors are composed of 3 vertices... to get to another vector, you need two angles to offset the …

Software Development
Member Avatar for rachmann
0
646
Member Avatar for PM312

How can i add treeview control to my project. I cannot find this in components.

Software Development visual-basic
Member Avatar for AndreRet
0
222
Member Avatar for JDevelop

Hello there, I've just started on C and what I'm trying to do is copying one string to another (which has not been initialized before) without using any string.h functions. Here's my code. [CODE] #include <stdio.h> #include <stdlib.h> void copyString(char*,char**); int main(){ char* string1="Hello there"; char** string2; printf("string1: %s\n",string1); printf("Copying …

Software Development c
Member Avatar for JDevelop
0
285
Member Avatar for jlivvers

Im doing some reports on a c# winforms app ive been working on. I want the reports to generate upon a mouseclick (IE not be visible all the time) and the best way i can see to do this is use the mouse click to open a popup form with …

Software Development
Member Avatar for jlivvers
0
125
Member Avatar for newprogrammer14

Hi guys I'm new to XSLT programming and the question I ask may appear very easy to you guys. Please help me out. This is the XML code : [CODE]<book id="12345"> <title>A<caps>New Voyage</caps>:Africa</title> <desc>abcdefgh ijklmnop</desc> </book> <book id="12346"> <title>A<caps>New Voyage</caps></title> <see id="12345">ANV</see> </book>[/CODE] I have to display the title and …

Software Development xml
Member Avatar for iceandrews
0
207
Member Avatar for MaddTechwf

I was wondering if there is a way to add command line arguments to my application so that if someone wants to modify the settings they could run myexe.exe /settings and get the settings form of my application.

Software Development vb.net
Member Avatar for codeorder
0
82
Member Avatar for minamo99

Hello, I have a large XML i am recovering data from. However,i cant seem to get more then 2 parameters out,whatever i type. i tried the following things already(without succes) -Made a substring-between -Made an extra call to a template and clarified additional parameters -Changed the values of the xpath …

Software Development xml
Member Avatar for Erwan Amoureux
0
145
Member Avatar for Amaina

I'm a newbie to C. Just wondering if i can create input forms in C. Can i also work with C and MySQL?? as in can i build a system using C and MySQL I guess what i'm asking is what are the effective uses of C as a programming …

Software Development c
Member Avatar for gerard4143
0
129
Member Avatar for masterfact18

[CODE] Private Sub cmdAdd_Click() Dim sConn As String, xQuantity As Integer, xStockTotal As Integer Set oConn = New ADODB.Connection Set rsAdd = New ADODB.Recordset sConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\inventory.mdb;Persist Security Info=False" oConn.Open sConn If LenB(cmbItemName.Text) = 0 Then MsgBox "You have to select an item from the …

Software Development open-source storage visual-basic
Member Avatar for AndreRet
0
193
Member Avatar for pucivogel

Can anyone help me out.I can't understand why am i getting this kind of error [CODE]#include <iostream> #include <string> #include<sstream> #include<iomanip> using namespace std; void getDerivative() (double [],int[]); void print_d_Array (double[]); void print_i_Array (int []); int main () { const int polynomsize=5; string sub[polynomsize]; string coefficient[polynomsize]; string exponent[polynomsize]; double coefdouble[polynomsize]; …

Software Development c++ visual-studio
Member Avatar for alaa sam
0
149
Member Avatar for RenanLazarotto

Hey guys! How can I get the progress from a console window? Like... running UPX and get the current compression progress to use into a progressbar? Thanks!

Software Development vb.net
Member Avatar for RenanLazarotto
0
61
Member Avatar for kruxena

Hi guys need help here. Scenario: I have a function in my textbox1 with the got focus event. I have a 40 textbox in my goupbox1. Here is my code so far. [CODE] Private Sub Textbox1_GotFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Textbox1_GotFocus ... ... For Each x …

Software Development vb.net
Member Avatar for codeorder
0
21K
Member Avatar for docfnt

I'm writing a text editor for my own use ( I'm "home learning") where I want to be able to leave comments for myself, like in code section of the VB express IDE. I have figured out how to get the Integer Location of the apostrophy, but can't get it …

Software Development asp.net vb.net visual-basic
Member Avatar for GeekByChoiCe
0
172
Member Avatar for Mayank23

how would be able to display all the names a user entered. the user entered the names through a while loop

Software Development c++ programming-construct
Member Avatar for alaa sam
0
109
Member Avatar for Asif_NSU

i will be given a set of any length and my program will have to produce the power set. For example: input: c d e output: empty c d e cd de ce cde total number of subsets: 2^3 = 8 I will try to write my own code, but …

Software Development algorithm c++
Member Avatar for elemes
0
1K
Member Avatar for Netcode

How do I create a Dynamic crystal report? That is, I want my codes to select and filter the content of the datagrid at runtime. I need help seriously, Thanks

Software Development vb.net
0
82
Member Avatar for XadRav

My xml looks something like this: [ICODE] <Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff> [/ICODE] And basically I need it to output like this: [ICODE]Alphakey Classes doejohn Algebra, Geometry personbob Calculus, Precalc[/ICODE] I've searched …

Software Development xml
Member Avatar for Erwan Amoureux
0
287
Member Avatar for Senefelder

I hope that this question is not out of place here. I have an access 2007 database for which I made a perfectly functioning simple "front end" program in VB6. That was back in XP or Vista days. I hadn't used it since the switch to Windows 7, and when …

Software Development visual-basic windows-vista
Member Avatar for AndreRet
0
134
Member Avatar for drdream100

hi! ok i have a search engine. it works fine. only thing is that when i write something in the textbos i must click the button 'Search' with my mouse for it to start searching. what i want to do is write something to the textbox and hit the 'Enter' …

Software Development vb.net
Member Avatar for Netcode
0
112
Member Avatar for NewOrder

i am building a chat and i have this code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Net.Sockets; using System.IO; using System.Threading; using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Binary; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { TcpListener server = new TcpListener(IPAddress.Any, 5000); server.Start(); Console.WriteLine("Server …

Software Development client-server file-stream
Member Avatar for NewOrder
0
1K
Member Avatar for johans22

is it possible to create array of pointers and set + get its elements using a class like this?. make changes/add to the class as needed. show actual code, if possible. [CODE]class t { t::t() { } t::~t() { free(array); array = NULL; } void set_size(int s) { array = …

Software Development c++
Member Avatar for Fbody
0
150
Member Avatar for fab2

[ICODE]Hi, I wrote a program which seemed very simple, a switch case nested in a while cicle. The compiler is not giving any error message, and yet when it's running, it starts an endless serie of loops and I do not understand, why.Here the code [/ICODE] [CODE]#include<stdio.h> int main () …

Software Development c
Member Avatar for ravenous
0
94
Member Avatar for starmax

Hello Guys! I just created my first VB.net project using Microsoft Visual Studio 2010 that has database(.mdf) and some forms, here is the video link of my project: [URL="http://www.youtube.com/watch?v=4YBt3vP85kY"]http://www.youtube.com/watch?v=4YBt3vP85kY[/URL] I want my project to be remote/network using lan environment, in what way i can do this? can you please help …

Software Development client-server vb.net visual-studio
Member Avatar for starmax
0
875
Member Avatar for p90pts

Hi Again Looking to code the following scores into a class called 'die'. Basically i'm recreating space invaders and everytime a alien dies the relevant score needs to be added up. I currently have this as my points: [CODE] public enum gamescore { Martian = 10, Vesuvian = 20, Mercurian …

Software Development
Member Avatar for darkagn
0
112
Member Avatar for paulablanca

Hi! Hope my title is understandable. I have four comboxes all containing A,B,C,D. My problem is if I have chosen letter A on the first combobox, the last three won't have letter A anymore, then on the second combobox, if letter B is chosen, the last two will have C …

Software Development vb.net
Member Avatar for sandeepparekh9
0
169
Member Avatar for jamshed ahmed

i am trying to search between two dates startdate and end date there two problems problem given below 1. i have set the dtpSearchStockFrom and dtpSrchStockTo to dd/mm/yy when i enter into table it is inserted successfully but when i reterive data it show the format in datagrid as mm/dd//yyyy …

Software Development vb.net
Member Avatar for sandeepparekh9
0
145
Member Avatar for seenivasaperuma

i want code for search in vb6.if i give see it will search seeni,seenivasan,seetha,mooseetha,etc

Software Development visual-basic
Member Avatar for AndreRet
0
57
Member Avatar for johans22

can i use the same handle over again in a loop?.. HANDLE fhandle; HANDLE fhandleMap int *Mem = NULL; for (loop 7 times) { fhandle = CreateFile(file, GENERIC_READ, ...); fhandleMap = CreateFileMapping(fhandle, ...); . . Mem = ...; ... // do various things } if (fhandleMap) {CloseHandle(fhandleMap);} if (fhandle) {CloseHandle(fhandle);}

Software Development c++
Member Avatar for thelamb
0
141

The End.