Our Software Development forum encompasses topics related to native application programming design and development.

43,484 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for pstrohma

Hello all, Does VC++ Express 10.0 even support the ability to get text from a text box? I've seen related threads having conflicting solutions, none of which actually work. Ex: must have SDK version x.y. This functionality seems to be so basic and necessary that solutions would be all over …

Software Development c++ microsoft:visual-studio
Member Avatar for pstrohma
0
278
Member Avatar for hzp

hello everyone i am new to this community . i am having a problem right now with arrays. So basically this program let user to enter anything in lowercase and then convert it to uppercase(if user input uppercase it will stay the same). Because i am not allowed to use …

Software Development c++
Member Avatar for hzp
0
136
Member Avatar for ranko_6

Trying to write a simple program that will read data but keep stumbling upon the fact that I kinda can't limit the amount that is read. I have simple student.dat file which is filled ATM with nothing else but simple string "somethinginside", without quotes. When I do this on each …

Software Development c++ data-structure
Member Avatar for ranko_6
0
221
Member Avatar for DonutsnCode

I'm using cygwin g++ to compile my code and Notepad++ as my editor. The code i authored works fine if i implement member functions in the class definition .h file. However g++ throws a chunk of gibberish at me when i replace member functions with function prototypes in the class …

Software Development c++
Member Avatar for DonutsnCode
0
143
Member Avatar for dragonpunch

Hello im confused with pointers, how do i create a shallow copy of a string array in c ? [CODE]char *currMenuArray; // ??? char *MainMenuArray[] = { "MAIN MENU", "One", "Two", "Options", "Quit" }; char *OptionsMenuArray[] = { "OPTION MENU", "Option1", "Option2", "Option3", "Back" }; void main() { currMenuArray = …

Software Development c
Member Avatar for Narue
0
419
Member Avatar for Fulsomenko

Hey guys, new to the forum. So sorry if i am posting this in the wrong location. To my question: I am trying to create a random password generator, and I think it's done is this way. I have made four arrays, two for the alphabet (capital letters and not), …

Software Development java
Member Avatar for peter_budo
0
262
Member Avatar for moonL!ght

hi every one im working with some exersies which include inheretence every thing is fine except that the compiler dose not recognize the base clase it says Error [COLOR="Red"] Cannot open include file: 'pointType.h': No such file or directory[/COLOR] here is part of the code [CODE] # include "pointType.h" # …

Software Development c++
Member Avatar for chiwawa10
0
149
Member Avatar for zarifin99ska

Hi, can someone help me? i have 5 textbox, and 5 column in listview, how can i put the data from textbox into columns? and also using F5 key( key event) to add the data(not using butons). Thanks.

Software Development .net:vb.net listview
Member Avatar for zarifin99ska
0
154
Member Avatar for Kimmelivim

Hi! I'm creating a guessing game where I ask the user to guess a number between 1-1000. The output where the computer asks the user for a number is contained in a [I][COLOR="Green"]do loop[/COLOR][/I]. The problem I'm having is that I have a high score list and in the high …

Software Development java
Member Avatar for Kimmelivim
0
182
Member Avatar for 12345pj

EDIT: Sorry, it is of course Skype4Com. I really appreciate any help I can get, I want to develop a Skype userinterface for dissabled people, it must be a downscaled version of Skype, an easier human interface focused on video connection. I hold a Bachelor degree in electronics Engineering with …

Software Development .net:vb.net visual-basic
Member Avatar for 12345pj
0
776
Member Avatar for Nivass

HI, I have a rich text box and loaded a file in that. Used Find and replace form. whaever text found i highlighted in the rich text box by giving background color, changing font size and giving color to the found text. say now i replaced the found text to …

Software Development .net:c#
Member Avatar for Nivass
0
175
Member Avatar for Nivass

Hi, Have drawn rectangle and zoom the image. As per zoom, the rectangle are redrawn ([url]http://www.daniweb.com/forums/thread296495.html[/url]). Redrawn rectangle place slightly down. so i adjusted to fit the point. but the rectangle value varies with different resolutions. how to adjust the rectangle value with different resolution. [CODE] private void pictureBox1_MouseDown(object sender, …

Software Development .net:c# graphics:image
Member Avatar for Nivass
0
223
Member Avatar for zarifin99ska

can someone give me a code of auto calculation. i have 5 textbox,qty.text price.text gross.text discount.text and netmount.text. for example price is 35.00, then if the quantity is 2,value of 35.00 * 2 inserted into gross, then i got discount 25%, the total will be inserted into netmount.text. hope you …

Software Development .net:vb.net
Member Avatar for zarifin99ska
0
146
Member Avatar for DonutsnCode

Hi friends, I'm learning to program in C++. I'm using Notepad++ to author my code and Cygwin g++ to compile it. [QUOTE]main.cpp : in function 'int main() : main.cpp : 38 : error: no match for 'operator << ' then a lot of jibberish and number of errors : 1 …

Software Development c++
Member Avatar for DonutsnCode
0
145
Member Avatar for ruchika beddy

hey frnds, I know the foll one line code which is shown below-- that returns the System32 Path . ?environment.GetFolderPath (Environment.SpecialFolder.System ) "D:\WINDOWS\system32" But i want the Function that Returns the above code. Did Somebody knows that??????

Software Development .net:vb.net
Member Avatar for darkhunter5577
0
234
Member Avatar for swathys

hi, i have problem here....if listview reach 2 records i disable the addmore button but when i delete 1 transaction from the list view it suppose enable the addmore button. Is there anyway i can do that. please guide me

Software Development .net:vb.net listview
Member Avatar for swathys
0
134
Member Avatar for xZombeast

I'm trying to create a console uninstaller for my friends, since they use addons for left 4 dead, and I am trying to make this to remove them before they update.. heres the code so far [CODE]using System; using System.IO; class Test { public static void Main() { // Specify …

Software Development .net:c# file-system
Member Avatar for Momerath
0
266
Member Avatar for johnt68

Hello:) This program is a maths calculator that should return to the menu so you can go round again when you have done one calculation. After great despair I think I have somehow got most of it to work? However if I input something Invalid, say the number 8 it …

Software Development .net:c#
Member Avatar for johnt68
0
180
Member Avatar for martin_anastaso

Hello all, I have encountered a very bizzare (at least for me) problem when writing the output from my program to a file. I've written a program to solve numerically mean-reverting SDEs. The program takes some parameters and returns several dynamic arrays corresponding to the number of SDEs I have. …

Software Development c++ file-system storage
Member Avatar for martin_anastaso
0
1K
Member Avatar for neely615

I am new to this forum (and python), but since I found excellent post here, I figured it would be the best place to post this question which is two part: I have many (+100) .txt files which are space delimited (not csv or tab, possibly referred to as ASCI?) …

Software Development python
Member Avatar for neely615
0
597
Member Avatar for ssubnel

This is my homework for a Java class. I get a perfect score followed by a query as to why I didn't use a void method. The answer is I don't understand the difference. Can someone illustrate for me how it would look. I need a better grasp of this. …

Software Development java
Member Avatar for ssubnel
0
181
Member Avatar for sanjuanair

I wish to know what is meant by "default" in programming.

Software Development c++
Member Avatar for Narue
0
145
Member Avatar for killbill07

Hey it's me again, I need some help with WMP control, because i was trying to remove an item (I have a listbox wich has songlist for playing and a button). I wanna remove the selected song in the listbox from the playlist, but I don't know how to use …

Software Development visual-basic windows-media-player
Member Avatar for killbill07
0
579
Member Avatar for doctorjo5

I am trying to make a number guessing game in Python. The correct number is 42. Right now I have it so that it gives you a message when you are too high, too low or right on. I want to add two other messages. One message for no input …

Software Development python
Member Avatar for Schol-R-LEA
0
248
Member Avatar for Brutus2000

Hi, I have some problems just to write a simple string output to some txt.file. That is my test code: [CODE]test = open('Test.txt', 'w') test.write("Teststring") test.close()[/CODE] I use Python 2.6.5 and PyScripter If I direcly enter the code in the IDLE SHELL, sometimes it works, sometimes only the file is …

Member Avatar for d5e5
0
112
Member Avatar for BLUEC0RE

I'm making a program that accept 1 character long strings (and ignores spaces " ") until a user presses return/enter. So far I have, [CODE] int main(){ char expression[1]; while ((scanf("%s",expression)) != EOF){ //code } return 0; } [/CODE] it is assumed that the user is entering single digit strings …

Software Development c
Member Avatar for gerard4143
0
3K
Member Avatar for #include<>

Why doesn't [code] typedef [I]ClassName[/I] SomeName[[I]SomeSize[/I]][[I]SomeOtherSize[/I]];[/code] work?

Software Development c++
Member Avatar for mrnutty
0
123
Member Avatar for sonsofliberty84

I found Ancient Dragon's code snippet for reading the files in a folder. I modified it a little because I want it to display what those files are. The problem is, it also displays the two parent directories, '.' and '..'. I was wondering if there was a way to …

Software Development c++
Member Avatar for sonsofliberty84
0
108
Member Avatar for Ashena

I have a file that has a repeated number of blocks of different sizes as in below: ID: 2 Time: 76 Op: GET Domain: facebook.com LPath: /common/css/common.css Referer: [url]http://google.com[/url] User-Agent: Mozilla/4.0 ID: 3 Op: GET Domain: rfi.fr LPath: /common/css/common.css Referer: [url]http://yahoo.com[/url] For each block, I want to print only the …

Software Development python
Member Avatar for TrustyTony
0
14K
Member Avatar for moonL!ght

hi,im seeking for some help i want the member of my class to be of type string.. so, some of my member function to return a string but an error is keeping occuring .. iv tried to include the string heder file in the class heder file. it says missing …

Software Development c++
Member Avatar for moonL!ght
0
130
Member Avatar for Renuka Devi G

Hello, I am learning perl programming but my problem is iam unable to find how the functions, commands,loops & conditions are working in a programme can anyone help me how to write a programme? what is the logic?

Software Development perl
Member Avatar for d5e5
0
221
Member Avatar for Erslich

Hi All, I am working on a Mandelbrot. I can draw the Mandelbrot to a bitmap and then paste it on the form. What I WANT to be able to do is when the user drags their mouse over an area, it redraws the Mandelbrot with the x and y …

Software Development .net:c# graphics
Member Avatar for Erslich
0
167
Member Avatar for user543820

how to declare 1024 nodes of 4 bytes each in assembly language?

Software Development assembly
Member Avatar for user543820
0
250
Member Avatar for rcanter

I am getting this error on RetrieveBookList, RetrieveBook and StoreBookList, although it works on StoreBook. I think there is an issue with my generic list because when i just called one book, I didn't recieve this error. Cannot figure out where I went wrong though. Any help would be appreciated..... …

Software Development .net:c#
Member Avatar for rcanter
0
132
Member Avatar for invisi

What does int* resizeArray do that int resizeArray doesn't, what' the deference? And why do I delete nArray, and not newArray? [CODE]#include <iostream> using namespace std; void printArray(int* nArray,int size) { // code printing array } int* resizeArray(int* nArray, int oldsize, int newsize ) { int* newArray = new int[newsize]; …

Software Development c++
Member Avatar for Greywolf333
0
132
Member Avatar for manalibhadula

We have two arrays .merging them is simple.i want to know how can i sort then after that without declaring a single memory after that....

Software Development c
Member Avatar for Unimportant
0
180
Member Avatar for bonafos

example output The price per kilo of rice is 30. Enter The kilos of Rice: 30 The price of rice is:900

Software Development java
Member Avatar for javaAddict
0
332
Member Avatar for jogieglenmait

i know that its so easy. but i dont know how to do it. ive tried ifstream and ofstream to add a line in a text file. and im sure someone in the past may have already posted this kind of problem. can anyone give me a link to that …

Software Development c++
Member Avatar for jogieglenmait
0
138
Member Avatar for swathys

hi, i have use below code to make sure the listview only contain 3 record n if more than 3 records to prompt error message and disable the NEXT TRANSACTION button. it works well. But the problem is when i delete 1 record out of 3 it suppose enable the …

Software Development .net:vb.net listview
Member Avatar for swathys
0
368
Member Avatar for Morbane

I have a basic knowledge of C++ but mostly in a limited fashion. I am building an API and I need to send the resulting string to a text box in a Modal Dialog. I will not need to manipulate the string beyond sending it to the text box. The …

Software Development api c++
Member Avatar for Morbane
0
2K
Member Avatar for MikexDetroit

Hey all, I've spent the last couple hours looking at other posts with the same error and have still yet to figure out what is wrong. I'm just learning C++, I have a bit of experience with Python but, still just getting my feet wet. Here is the code. [CODE] …

Software Development c++
Member Avatar for MikexDetroit
0
993
Member Avatar for Intrade

I followed this guide for VC++ 2010, [url]http://msdn.microsoft.com/en-us/library/ms235636.aspx[/url] and apparently I either have a missing module/component or I did something wrong. I followed everything smoothly up until step 6-- "6. To build the project into a DLL, from the Project menu, select MathFuncsDllProperties…. On the left pane, under Configuration Properties, …

Software Development c++ ide microsoft:visual-studio
Member Avatar for Intrade
0
291
Member Avatar for chris evans

Hi guys, Im learning VB.NET and as a first task im creating a login form. ive been trying to link it to another form once a correct username and password are entered. however, despite that i still cant be able to hide it or unload it once the next form …

Software Development .net:vb.net
Member Avatar for chris evans
0
144
Member Avatar for knan

I have 2 lists X=['a'] Y=['b','c','d','e','f'] I need to make a new list Z such that, Z = ['ab','ac','ad','ae','af'] I know this uses simple concatenation. I tried several times but without success. I am a beginner so please help me with the code. Thanks in advance.

Software Development python
Member Avatar for Gribouillis
0
149
Member Avatar for limergal

Hi, I have a code, but I don't get what I'm doing wrong, can you please help me with this Write a switch statement that tests the value of the char variable response and performs the following actions: if response is y , the message Your request is being processed …

Software Development c++
Member Avatar for bhemz11
0
605
Member Avatar for Kapilxcb

hey dudes pls help me on this. My program is crashing on the following piece of code When i make 1 recurssive function to work, the program works without crashing. So I would really need help in spotting the mistake I have done. Incase if you want to know what …

Software Development c
Member Avatar for Kapilxcb
0
131
Member Avatar for deepak_1706

In my Forms application i tried to resize a pictureBox control during runtime and it seems to give some trouble. There is scale factor scalex , scaley which i applied to the width and height property of the control. [CODE] tempw = 980.0f; temph = 130.0f; tempw = float.Parse(pictureBox1.Width.ToString()); temph …

Software Development .net:c# .net:winforms
Member Avatar for deepak_1706
0
155
Member Avatar for burcin erek

this program is trying to add from 1.. to x with return function. but when I enter 10 sum is 54 which is wrong. 1,2,3,4,5,6,7,8,9,10 = 55 [CODE]#include <cstdlib> #include <iostream> int burcin(int); using namespace std; int main(int argc, char *argv[]) { int x; int ft=0; cout << "enter the …

Software Development c++
Member Avatar for burcin erek
0
118
Member Avatar for jcfans

wen i press the enter key,i can login.But i face a problem which is there will repeat call the login function when i press enter key a fews times and there got error! how can i make the enter key is disable after i success login? thnaks [CODE] Private Sub …

Software Development .net:vb.net
Member Avatar for jcfans
0
180
Member Avatar for musikluver4

I would like to be able to divide this java code up into more than one file, so I can reuse the code for other programs, but I'm not sure what I can grab. Right now, I can't make another program using this code, as you see the WHOLE program …

Software Development java:swing
Member Avatar for musikluver4
0
181

The End.