132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Wiki_Tiki

Hi, I'm busy working on a word processor, and I could use a bit of help with 2 things. The Savefiledialog, and the Openfiledialog. In terms of the savefiledialog, I have all the code done, and it compiles properly: [CODE]public: void SaveFile() { SaveFileDialog^ saveFile1 = gcnew SaveFileDialog; saveFile1->DefaultExt = …

Software Development c++
Member Avatar for Wiki_Tiki
0
109
Member Avatar for Wiki_Tiki

Hi everyone, I need help with this one problem. I'm using Visual C++ 2008, Windows Forms app, and I've created a test program where you can set up two system::strings, xvalue and yvalue. It then converts them to Ints (x and y). It then calculates x and y depending on …

Software Development c++
Member Avatar for ArkM
0
123
Member Avatar for Nemoticchigga

Has anyone ever seen a function call just get skipped? I am running in debug mode and it wont let me set a break point on the call and when i step to it it goes right over to the next line, no exceptions, no errors. Has anyone EVER seen …

Software Development c++
Member Avatar for Nemoticchigga
0
287
Member Avatar for Clockowl

Is there any difference between those function declarations in C++? Since in C the first states "take any and as much arguments as you like", and the latter means take none... Thanks in Advance, Nick

Software Development c++
Member Avatar for Ancient Dragon
0
69
Member Avatar for RandV80

I've built a class, one parent and multiple children, that I need to group together to eventually be stored in a single file. For the moment I've gone with something like this: [code=C++] CObject *group //CObject is the class in question group = (CObject*)calloc(1, sizeof(CObject)); //1 element just to start …

Software Development c++
Member Avatar for RandV80
0
109
Member Avatar for dmanw100

I am almost done with a project and now I would like to code an installer for it. I know there are many free solutions to make installer packages online, but I would enjoy learning how to make one from the ground up for the expirience if nothing else. What …

Software Development c++ gui machine-learning
Member Avatar for dmanw100
0
151
Member Avatar for vietnamese

Hi, I try to do a winform C# (2005) and update an item in Grid. The 1st column, I have a combobox so I want update all item in Grid when I change value in comboboxes. Could everyone give me an example? Thanks in adv

Software Development
Member Avatar for ChaseVoid
0
94
Member Avatar for abu taher

I use data control to link access file by data properties not code. use simple code like move next etc. I use find next to find data. but when i want to find i write the criteria like Name = taher. But i want I write only taher in find …

Software Development visual-basic
Member Avatar for electrosoul456
0
233
Member Avatar for karlw

Hello All, I am having a problem when returning a PChar from a function using Delphi 6. First of all, most of my functions pass type 'strings' around, but I am creating a DLL, to make sure it's universal, i can only pass type 'PChar' in and out of my …

Software Development delphi pascal
Member Avatar for karlw
0
950
Member Avatar for FaridMasood

If someone has any idea that how to print the xml file.

Software Development vb.net xml
Member Avatar for ChaseVoid
0
198
Member Avatar for andrew13d

Hey guys, I would like to create a chatting application with C++ or C#(preferably C++) that would run on a local computer network ( and internet if possible) ie enable users on a local computer network to chat. I'm kinda new to programming and I have only done the basics …

Software Development c# c++
Member Avatar for VernonDozier
0
2K
Member Avatar for andy_aphale

hello all, my self anil i am doing some timepass work in VB for practice. i am creating a webbrowser and i need some help i am creating it by using some components like microsoft internet controls. now i have created stop,refresh,back,forward,home buttons succsessfuly but i want some help from …

Software Development visual-basic
Member Avatar for selvaganapathy
0
188
Member Avatar for Alex Edwards

I'm having a small design issue with a Checkers game to be done in Java-- I'm not really worried about coding it, I can do that. The problem is listing out the dependencies between classes. For example, what should be responsible for what? IF I code the program with the …

Software Development java
Member Avatar for Ezzaral
0
2K
Member Avatar for redrum237

Hi, i am required to make a game, here are the details: zombie island This is a simple turn based game. Set up a 2d grid. Onto the grid randomly position holes, zombies and a man (each represented by a simple character e.g. O Z and M). The man moves …

Software Development c++
Member Avatar for ivailosp
0
118
Member Avatar for ramukneevan

i want the code for the concatenation of two data without using strcat

Software Development c
Member Avatar for Narue
0
62
Member Avatar for hiddendragon

how would u diplsay the lowest or highest value of an array that the user entered so u ask the user to enter several number and it goes into an array then how would u display the highest/lowest value in that array to the sreen

Software Development c++
Member Avatar for titaniumdecoy
0
2K
Member Avatar for RichardBerry

Hi I am wanting to make a board with about 80 LED's for my son's room. The LEDs must brighten and dim. I am aiming to make it look like the stars at night with the LEDs mounted on a black perspex plate, while also acting as a sort on …

Software Development assembly
Member Avatar for Colin Mac
0
146
Member Avatar for brizhou

1) The following C++ program reads in a number, checks that it is a three-digit integer and, if it is, echoes it on the screen in the reverse order. It uses a C++ function, called isolateDigits, which takes in a 3-digit integer number and returns the three digits that make …

Software Development c++
Member Avatar for doddware
0
118
Member Avatar for jsosnowski

I have a recurring problem: On some days, it appears that Delphi has problems with identifying some of the files in my "Uses" section. Certain files will be underscored in red zig-zag and identified in the structure window as "cannot resolve unit name ...". If I right click the unit …

Software Development delphi ide pascal
Member Avatar for jsosnowski
0
185
Member Avatar for Cosa

Hi, i am trying to write a program that would work much like the tail command in UNIX. The idea is to print the last 10 lines of a file. I started off by finding out how many lines were in the file, then attempted to seek to the appropriate …

Software Development c++ ios unix
Member Avatar for Cosa
0
4K
Member Avatar for masterjiraya

My target is to make a code of Cartesian coordinating points of a rectangle... then it must be tested by quadrilateral and square. If the tested point is a rectangle then the out put program will be like this..... Program Output: ************************************************************ ....+y .....+ ..............+ ..point a............................................................................. point b ..............+ …

Software Development c++ visual-studio
Member Avatar for Alex Edwards
0
92
Member Avatar for jackassplus

I'm trying to work out what this does: [code] ptr = input_string; dest = input_string; while( *ptr && *ptr != '\r' && *ptr != '\n' ) { if ( *ptr >= '0' && *ptr <= '9' ) *dest++ = (char) ( (*ptr) - '0' ); if ( *ptr >= 'A' …

Software Development c
Member Avatar for jackassplus
0
128
Member Avatar for FullBjarne

Hello! I have a problem with the size. I've made a function that saves the size, but each time I start the application does the size get larger then the last time. How do I fix that problem? Here are the code for the function: [code] using System; using System.Collections.Generic; …

Software Development
Member Avatar for AmirBedair
0
92
Member Avatar for lllllIllIlllI

Hi I have a weather forecasting program that uses a few threads. These threads stop and start at different times throughout the program so there is no set amount of threads at one time. My problem is when i try and close the main thread the program keeps going because …

Software Development python
Member Avatar for jlm699
0
99
Member Avatar for oliver_mk

Hi, I am getting this error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." when trying to get some data from SQL Server 2000 database. SQL Server is installed on Windows Server 2003, and i am testing the application from WinXP sp2. Testing from other machines with same settings …

Software Development c++ sql windows-server
Member Avatar for oliver_mk
0
225
Member Avatar for oliver_mk

Hi, I am getting this error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." when trying to get some data from SQL Server 2000 database. SQL Server is installed on Windows Server 2003, and i am testing the application from WinXP sp2. Testing from other machines with same settings …

Software Development sql windows-server
Member Avatar for AmirBedair
0
399
Member Avatar for ShreyaTrivedi

I have created a user control (uctxt) and an application to test that user control. Suppose the application lies in folder D:\snt\TestOcx on my local machine. And its exe will be created in D:\snt\TestOcx\TestOcx\bin\debug\TestOcx.exe and the dll of the usercontrol (uctxt.dll) to be tested will also be lying in the …

Software Development
Member Avatar for AmirBedair
0
106
Member Avatar for Hannahlv

Hi everyone! I want to call a child program from my parent program. Are there any methods to do this in C++ (platform is Linux)? I searched Google but the material found quite difficult to understand. If have any examples, it'll be better for me (as you know, some people …

Software Development c++
Member Avatar for Hannahlv
0
3K
Member Avatar for karang

Hi I am writing a code in which I have to display the print dialog. PRINTDLG pdlg; memset( &pdlg, 0, sizeof( PRINTDLG ) ); pdlg.lStructSize = sizeof( PRINTDLG ); pdlg.Flags = PD_RETURNDEFAULT | PD_RETURNDC; PrintDlg( &pdlg ); But I am getting an error message "[Linker error] undefined reference to `PrintDlgA@4' …

Software Development c++
Member Avatar for mitrmkar
0
940
Member Avatar for vbCNEW

good afternoon.. do you know how to install or configure clanlib in vs2005 ?? im getting hard time... i tried it so many times but up to now i havent succeed... i read this link [url]http://www.clanlib.org/docs/clanlib-0.8.0/Tutorial/Kavanek/01-Installing.html#windows[/url] but its hard to understand and im not sure if i download all file …

Software Development c++
Member Avatar for Nick Evan
0
461
Member Avatar for Manutebecker

I wanna have my program be able to let the user manually open a text file by destination and retrieve data from it, I have everything like ifstream good, i just need to know how to let the user cin something like C:/files/myfile.txt, but with the ifstream format I need …

Software Development c++
Member Avatar for ivailosp
0
88
Member Avatar for kux

I try to create a generic binary tree class but when i try to define an inserting function I get these compilation errors error C2072: 'Btree<T>::recins' : initialization of a function error C2143: syntax error : missing ';' before '*' c:\documents and settings\kux\my documents\visual studio 2005\projects\btrees\btrees\btree.h 54 Error 6 error …

Software Development c++ visual-studio
Member Avatar for ArkM
0
750
Member Avatar for karang

Hi All I have written a code to change the settings of printer Orientation(i.e. Landscape or Portrait) I have written following code [code=C++] void SetDefaultPrinterOrientation(short dmOrientation) { HANDLE hPrinter = NULL; LPTSTR pPrinterName = NULL; DWORD dwNeeded = 0; PRINTER_INFO_2 *pi2 = NULL; DEVMODE *pDevMode = NULL; PRINTER_DEFAULTS pd; BOOL …

Software Development c++ printer
Member Avatar for karang
0
128
Member Avatar for vibhashin

Hi, I m new to vb.net. i need help. How can I increment a number in a textbox everytime when the form is loaded? Suppose Customer_id I want that first time when the form gets loaded Customer_id should appear in the textbox as CDD01. Second time it should appear as …

Software Development vb.net
Member Avatar for ruudmu7
0
164
Member Avatar for nouryn

I Used to be a c++ programmer and now i'm starting to learn java all by my self so i need a help in how to get starting begging with compiler and IDE tools and the basic diffrants between c++ and java Thanks

Software Development ide java
Member Avatar for nouryn
0
157
Member Avatar for zebanaqvi

As a beginner I want to create a text editor that autosaves the text at intervals. It's not a part of any HW or anything like that. I just wanna learn things. Plz Plz help me out. Got 20 days at home. Wish to complete it before joining college.

Software Development c++
Member Avatar for Nick Evan
0
81
Member Avatar for hell_tej

Hi Frends, I m creating an access to VB6 connectivity Project. I ahve problem that VB6 Gives not me permition to leave any field NULL so when i save my record it genrate ERROR 94 That is invalid use of null value In my project it is not necessary to …

Software Development visual-basic
Member Avatar for manoshailu
0
133
Member Avatar for Epic Tissue

Ok, so this might seem stupid.. but I am just trying to get my head around it. I have 32bit registers (longword size). Unsigned values are values from 0 to 255. Adding two unsigned 128 bit values... So do I need to use 4 registers per value and add the …

Software Development assembly
Member Avatar for Salem
0
106
Member Avatar for klactose

Hello, I'm having trouble compiling a header file for a class written in C++. What's so frustrating is that I can't see what I'm doing wrong. when I compile the code I get the the following 2 errors for lines 22 and 25: [B]expected ';' before '<' token ISO C++ …

Software Development c++
Member Avatar for ArkM
0
171
Member Avatar for dinilkarun

Hi, I have made a GUI using wxPython. I want to disable the Maximize button, but I am not able to do it. Please suggest a way to implement this. Regards, Dinil

Software Development gui python
Member Avatar for dinilkarun
0
2K
Member Avatar for Teropod

Is there any way how i could compare arrays like pattern matching or should i write my own code? Thanks.

Software Development visual-basic
Member Avatar for manoshailu
0
379
Member Avatar for CoolGamer48

Is it bad to make a reference parameter optional by giving it a default value? Like here: [CODE]int Parse(std::string filename, std::string& error = (std::string)"");[/CODE] Here, the caller of the function may pass an optional std::string that will be filled with an error message if there is one. Is this considered …

Software Development c++
Member Avatar for Duoas
0
106
Member Avatar for supersoup

in more basic C++ terms what does the following code mean? [CODE]friend ostream& operator << (ostream& os, const item* itm);[/CODE] it is a function in a header file

Software Development c++
Member Avatar for Duoas
0
106
Member Avatar for drew.haley

I am having trouble defining the get/set for an array in a class I have created.... how do you get/set arrays within classes? basically I have an array with x and y as width/height for a map i am creating, and i want each x/y point to have the "walkable" …

Software Development vb.net
Member Avatar for selvaganapathy
0
1K
Member Avatar for d4n0wnz

I'm trying to write a recursive method that will print a char c, x amount of times on the same line. I was thinking that I could return the recursive function call and concatenate the char c but I don't think my compiler agrees. What exactly are the properties of …

Software Development java
Member Avatar for Vilice
0
110
Member Avatar for mrboolf

Hi all. I am trying to write a "light" version of srm just as an exercise of shell scripting (started today with this ^^" I have to keep it [B]really[/B] simple) Basically it should just search for a file and, if found, ask for a confirmation before deleting it. Now, …

Software Development shell-scripting
Member Avatar for eggi
0
152
Member Avatar for Da24K

Write the definition of a method reverse , whose parameter is an array of integers. The method reverses the elements of the array. The method does not return a value So far I got: [code] public void reverse(int[] backward) { for(int i = (backward.length -1); i >=0;i--){ } } [/code] …

Software Development java
Member Avatar for bloody_ninja
0
682
Member Avatar for QuantNeeds

Hello, I was wondering how I could correct this. It is referring to the following line: [code] set.quickSort(prt1, 0, arraySize-1); [/code] I tried to create an object and call the function this way but I am not sure how to correct this error. My code is the following: [code] bool …

Software Development c++
Member Avatar for QuantNeeds
0
179
Member Avatar for AUGXIS

hi guys, i was trying to sum up all the balances of clients to know which of them has reach their credit limit but my codes are not working. It shows an error and highlights on this code [code] rsArmaster.Open "select sum(balance) as credit from ArMaster where shippercode= '" & …

Software Development visual-basic
Member Avatar for AUGXIS
0
92
Member Avatar for TheWhite

Hi. Well, the past year, I have spent learning GUI programming in Java and have created several games (Asteroids, MineSweeper, TicTacToe, etc, etc) in Java. I was wondering if there is an easy way (is it easy at all?) to go from what I know about GUI programming in Java, …

Software Development api c++ gui ide java
Member Avatar for TheWhite
0
687

The End.