132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Martje

My code was working Great! until i added a vector named "resudibus"to my namespace in a windows form. #pragma once #include <Windows.h> #include <msclr\marshal.h> #include <iostream> #include <string.h> #include <vector> #include <fstream> using namespace std; using namespace System; using namespace System::IO; using namespace msclr::interop; namespace Project1 { using namespace System; …

Software Development c++
Member Avatar for vinci.ffs
0
2K
Member Avatar for Chris450

Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm …

Software Development os-x visual-basic
Member Avatar for Chris450
0
237
Member Avatar for cobaltfive

I am in dire need of help. I need this array to list the months as the user enters rainfall totals. then I need it to calculate the highest , lowest , average and total rainfall months. I can get it to do it without the months but not with …

Software Development c++
Member Avatar for Ancient Dragon
0
957
Member Avatar for TarkiB

Hi all! I'm trying to create a program that produces a memory leak. I have a program that looks like it works, but I was wanting to verify whether it actually is causing a memory leak, and that it's not just some other type of issue. It's in C++, which …

Software Development c++ motherboards-cpu-ram
Member Avatar for mike_2000_17
0
380
Member Avatar for game06

making a scrolling background. There is one problems with this code below. I am drawing a image and it stay there on left of screen. i want to del it and create new one so there aren't 100's of background images on left. i just want to keep 2 background …

Software Development image java
Member Avatar for game06
0
186
Member Avatar for The Matrix

Hi guys, I would like to know How to blink console text using Dev C++.

Software Development c++
Member Avatar for Ancient Dragon
0
217
Member Avatar for Suzie999

Does anyone know how to restore a window (which does not belong to current process) to the state is was in previous to having been minimized? I've been trying ShowWindow and SetForegroundWindow, but if the window was maximized, it will only restore it to it's RESTORE state (not maximized) ShowWindowAsync(hWnd, …

Software Development api c++
Member Avatar for Ancient Dragon
0
593
Member Avatar for lewisrs89

What I am trying to code is a Multiplication quiz game. The trouble I am running into is that I can't seem to figure out how to pass values from one function into another without getting an error. from Tkinter import * class App(Tk): def __init__(self): Tk.__init__(self) self.headerFont = ("Helvetica", …

Software Development python tkinter
Member Avatar for woooee
0
220
Member Avatar for sandeepbajjuri

hai, i am new to perl programming. Am writing perl script to open an generator.exe file in my system. this generator.exe file when opens asks for arguments to enter one after other how ever the sequence of arguments is always same(eg like 6,172.24.569.25,saw_200.wav,u,0,1) and i am stuck at a point …

Software Development perl
Member Avatar for 2teez
0
184
Member Avatar for on93

After deleted the image inside the imageList , do the imagelist auto arrange the image following by the number ?

Software Development vb.net
Member Avatar for tinstaafl
0
176
Member Avatar for Jacobah

Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create …

Software Development c# microsoft-office office-suite video
Member Avatar for Jacobah
0
1K
Member Avatar for peymankop

Hi...! i'm working on a notepad project but i've got a problem in undo action this is my code: import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; import javax.swing.JLabel; import javax.swing.SwingConstants; import javax.swing.undo.*; public class Notepad …

Software Development java java-swing
Member Avatar for stultuske
0
384
Member Avatar for rahulinfy

code part1: name1="rahul" name2="rahul" code part2: name1=[1,2,3] name2=[1,2,3] If I run the following code: print name1 is name2 I get "True" for code part1 and I get "False" for code part2 why? why the "reference" is same for name1 and name2 in "code part1" and different for name1 and name2 …

Software Development python
Member Avatar for snippsat
0
216
Member Avatar for hajkmusic

Hello people! I am a beginner trying to teach myself C++. If you guys could help or suggest me something I would greatly appreciate it! Sorry for my English! My program determines if the entered number is prime or perfect. I have a few problems with it. I would really …

Software Development c++
Member Avatar for JasonHippy
0
245
Member Avatar for Hazuan Nazri

hello friend, can someone help me, i want to learn how to connect my app database from another computer using code, i already try to change connection string = "Data Source=-SERVERNAME-\SQLEXPRESS;Initial Catalog=SmartHome;Integrated Security=True" but its still same, someone please help me, im using win8, microsoft sql server 2008, Visual studio …

Software Development sql vb.net visual-studio
Member Avatar for Begginnerdev
0
317
Member Avatar for tony75

Hi I need to Write a function which takes as input two strings and count how many words are both in the two strings. Display the results sorted according the length of the word (longer first) and in case of equality by the alphabetical order?

Software Development python
Member Avatar for tony75
0
175
Member Avatar for DJ69.ns

Create a class Hangman with the following private attributes: ï‚· Words: should be a static array of character pointers with 5 elements. ï‚· Word Name: should be a pointer to a character. ï‚· Chosen Letters: should be a pointer to a Boolean. ï‚· Letter: should be a character attribute. ï‚· …

Software Development c++
Member Avatar for Ancient Dragon
0
148
Member Avatar for zachattack05

I'm not really sure how to accomplish this task and would like some help with ideas or, if someone knows how to do this, some advice would be greatly appreciated! I am working on a custom usercontrol. The usercontrol has a listbox (or rather it IS a listbox, just docked …

Software Development
Member Avatar for Ketsuekiame
0
217
Member Avatar for fx.eko

hi all I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me. Please enlightenment, thanks for the help

Software Development visual-basic
Member Avatar for fx.eko
0
994
Member Avatar for RonalBertogi

Observe this code: TOOLBARINFO tbi = { 0 }; BUTTONINFO bi, *xBI; tbi.pTOI = pTOI; int x = 0, xSearchBox = 0, s = 0; BYTE xType = btNone; BOOL bAdd; for( ;*pszInfo; ) { bAdd = TRUE; memset(&bi, 0, sizeof bi); switch( *pszInfo ) { case bfButton: s++; bi.L …

Software Development c++ microsoft-access visual-studio
Member Avatar for RonalBertogi
0
198
Member Avatar for giancan

Dear friends, I completed my script that makes use of opencv (import cv2) and I am experiencing problems with py2exe and other similar compiler. I work on a win7 64bit machine but all my packages and python (2.7) are 32bit because I was already planning to distribute my software on …

Software Development python
Member Avatar for giancan
0
382
Member Avatar for j.t.casperson

Ok, so here I have a program that creates two boxes. The top box should start out with all 12 months of the year in it. What I'm trying to have happen is be able to move the months (through the two buttons) back and forth. Originally it just had …

Software Development first-post java java-swing window-manager
Member Avatar for stultuske
0
138
Member Avatar for modesto916

Hi there, I'm just starting with Java and Desktop programming but I have some doubts, for example: You are going to write a new application, you go there, draw your ER for your database, UML, etc. My problems is when I need to integrate the interface with the program logic, …

Software Development java java-netbeans java-swing
Member Avatar for stultuske
0
209
Member Avatar for nova37

i want to know that how can we keep an eye on one process that its alive or terminated , actually i have service which will always check my process if my process terminated then service will start it again so i want to know how to check process status …

Software Development c++ windows-api
Member Avatar for nova37
0
904
Member Avatar for globueno

Hi I am fairly new at programming, I am working on a final project for my assembly language class where I am calculating college savings, this is the formula I believe I will end up using, fv= pv(1+(r/n))^nt, but I am in desperate need of help in writing that in …

Software Development assembly motherboards-cpu-ram
Member Avatar for Assembly Guy
0
1K
Member Avatar for gowans07

I have a school project in which i am creating a barcode scanning system. I now want to add the ability to create and print a barcode. As far as i can see there is three ways of going about it, firstly creating an individual image of the numbers 0 …

Software Development visual-basic
Member Avatar for Fredwis
0
141
Member Avatar for Helper guy

Suggest i am wonder about where to i start Pythone because i like it very much and i want to learn but i dn't know where to start so please suggest me ...................................

Software Development python
Member Avatar for M.S.
0
193
Member Avatar for little_engine

I have a problem that I have not been able to figure out with this assignment. The idea is to write a grading program that will calculate the letter grade, and average while also giving exam scores for 5 students, each student has 4 exams. I have built it up …

Software Development c++ visual-studio
Member Avatar for little_engine
0
364
Member Avatar for dancks

I'm going through an exercise in a mac programming in cocoa book, where there is a GUI and from a textfield I enter and to a list of strings displayed on a table. There are plenty of things that aren't working, the most confusing of which is I keep leaking …

Software Development gui linked-list objective-c
Member Avatar for dancks
0
291
Member Avatar for eod731

I need help converting my code into an ArrayList. We are only supposed to use an ArrayList and not an array. I didn't see that part of my project and not too good with using ArrayList. Please help me figure this out. public class Transcript { private Course[] courses = …

Software Development java
Member Avatar for bguild
0
241
Member Avatar for NiescierJ

Hey i am new to python and i am trying to update my GUI every 3 seconds 4 times. I have tried time.sleep() but it doesnt work. Any ideas? for i in range(4): #creates 10 circles randomly on the canvas for _ in range(10): circle1= Circle(canvas, random.randint(1,750), random.uniform(1,450), "red") time.sleep(3)

Software Development gui python
Member Avatar for NiescierJ
0
127
Member Avatar for daniel1977

The problem I am having is that it will not allow me to define a class without building a default constructor outside of the class. For instance if you comment out line 19 on the header file you will recieve an external linker error. The same will happen if you …

Software Development c++
Member Avatar for daniel1977
0
355
Member Avatar for bluekb

#include <stdio.h> #include <stdlib.h> #include <string.h> #include "queue.h" #include "stack.h" #define NAME_SIZE 20 #define RECORDS_SIZE 100 typedef struct { char studName[20]; int timeEnter; int timeUpdate; }STUDENT; typedef struct { char tutorName[NAME_SIZE]; int tutorTime; STUDENT *ptr; }TUTOR; QUEUE *queue1; STACK *stack1; void getData(STUDENT *studArr[], TUTOR tutorArr[1]); int main(void) { STUDENT *studArr[RECORDS_SIZE]; …

Software Development c data-structure file-system queue
Member Avatar for bluekb
0
349
Member Avatar for alek.mieczkowski

Hi All, Im working on a program for school which combines 3 programs together(one transposes a 2d array, one adds up the diagonals and tells them, and one adds the rows). The problem Im having, is with importing all the data into the 2 Dimensional array "input" so it can …

Software Development java
Member Avatar for alek.mieczkowski
0
191
Member Avatar for DyO1

I have trouble accesing images that are located IN the application (in solution explorer) What I want to do is theme options in one of my programs If TreeView1.SelectedNode.Name = "wood" Then main.background*.BackgroundImage= End If *PictureBox

Software Development image vb.net
Member Avatar for tinstaafl
0
192
Member Avatar for tony75

Hi How can I parse html files for example daniweb.com 1.Extract all the links pointed (the content of the href tag) 2. how can I List all of them after having removed the duplicates (means that there is two links pointed the same page, only one should be displayed) I …

Software Development html-css perl
Member Avatar for tony75
0
289
Member Avatar for peymankop

Hi...! I'm Working on mind challenge game i nearly cmepleted it but i've got a problem... when a player choose a button it shows it's number but when it choose the second button it won't show the second button number because of this lines: foreach (var ctrl in this.Controls) { …

Software Development
Member Avatar for tinstaafl
0
156
Member Avatar for Stuugie

Hi All, Forgive me if this doesn't come accross clearly. I have a specific data set to get from a website. Most of the data sets that I get from this site have publication dates that I have been able to successfully use for our SSIS ETL processes. However, one …

Software Development vb.net
Member Avatar for Stuugie
0
87
Member Avatar for nah094020

Anyone know of a way to run multiple clients on netbeans for a java program, i need to test my server which takes in x amount of clients. Currently i can only run 1 client with my computers hostname and the server but cannot test if the server will work …

Software Development client-server java java-netbeans
Member Avatar for jwenting
0
256
Member Avatar for Suzie999

(edit) this is solved, was a unicode issue. Hi I'm hoping someone has used the library [pugixml](http://pugixml.org/) I'm just trying to use a simple example provided but I'm not getting the result I expect. int _tmain(int argc, _TCHAR* argv[]) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file("tree.xml"); //pugi::char_t * c = …

Software Development c++ xml
0
160
Member Avatar for game06

i just finished one game in java using JApplet. is there a way for me to use a database so i can keep track of scores? I am using xampp control apache for my website database to keep track of username etc.... in php. Can i connect to it using …

Software Development apache java
Member Avatar for jwenting
0
168
Member Avatar for mical700

I need to output in four columns. 1) The first will contain n. 2) The second will contain pi(n) 3) The third will contain n/ln(n) 4) The fourth will contain the ration of pi(n) to n/ln(n). #include <stdio.h> #include <string.h> #include <stdint.h> #define MAXN 100000000 /* maximum value of N …

Software Development c
Member Avatar for mical700
0
195
Member Avatar for Lakhan Thakur

i want to know that how pointer works.

Software Development c
Member Avatar for Moschops
0
169
Member Avatar for pankajmahor663

Hi, so far i have created a program that has a checkbox option 'dont show this again'. When i check the option, the window not displayed again all goes well here. But the problem is when i have uninstalled the application and reinstall it again, the checkbox option window is …

Software Development asp.net display microsoft
Member Avatar for pankajmahor663
0
181
Member Avatar for muhaznwifey

Hello I need help encrypting just the password from a XML file. The file follows the W3C XML syntax. I think I can achieve it by by encrypting the xml element content like this example: <?xml version='1.0'?> <PaymentInfo xmlns='http://example.org/paymentv2'> <Name>John Smith</Name> <CreditCard Limit='5,000' Currency='USD'> <Number> <EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#' Type='http://www.w3.org/2001/04/xmlenc#Content'> <CipherData> <CipherValue>A23B45C56</CipherValue> …

Software Development encryption file-system xml
0
113
Member Avatar for NidhiSree

According to MSDN: Control.Disposing Property Gets a value indicating whether the base Control class is in the process of disposing. But when I checked, Disposing property of the control is always false (inside the Dispose() method itself). When will this Disposing property become true?

Software Development asp.net
Member Avatar for NidhiSree
0
143
Member Avatar for Ann95

I'm using VB.NET 2010 to create a system. I have here a databound datagridview. I want to add/delete/edit/update the row in my datagridview and also the database which is MS Access at the same time. How can I do it? Here is my code for Deleting Private Sub btnDelRow_Click(ByVal sender …

Software Development printer vb.net
Member Avatar for Begginnerdev
0
558
Member Avatar for riahc3

Hello Sometimes I update my web service JAR by deleting the old one (waiting for the undeploy message to appear on the console) and putting the new one (and seeing the deploy message) and when I call it, it gives a heap size error. I have to restart the PC …

Software Development java
Member Avatar for jwenting
0
256
Member Avatar for bluekb

why I am trying to dynamically allocate memory for this pointer to array of structure I have STUDENT *studArr[] where STUDENT is the name of the structure I tried to allocate like this #include <stdio.h> #include <stdlib.h> #include <string.h> #include "queue.h" #include "stack.h" #define NAME_SIZE 20 #define RECORDS_SIZE 100 typedef …

Software Development c motherboards-cpu-ram queue
Member Avatar for MonsieurPointer
0
359
Member Avatar for adison.afonso

I have this Singleton class called ZombieLand that is supposed to represent a 2D array. This 2D array is getting constantly updated and populated by different instances of my MachineState struct, which contain x and y coordinates to help me navigate through the 2D array. #pragma once #include "singleton.h" #include …

Software Development c++
Member Avatar for Moschops
0
239

The End.