132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Krstevski

Hey... I have dataGridView and button „Edit“ for editing informations of the dataGridView and now I'm trying to read the informations in the firts form, and write them in to the second form but when I clicked on the „Edit“ button I get error message „Input string was not in …

Software Development
Member Avatar for sknake
0
1K
Member Avatar for firoz.raj

i simple want when user click on the select all checkbox.all the checkboxes of list view should be filled with check sign.which is working fine.but problem is that when user click again on the checkbox .checksign still stay there.kindly let me know the idea any help would be highly appreciated. …

Software Development listview visual-basic
Member Avatar for debasisdas
0
79
Member Avatar for sacsmia

Hi... I'm using microsoft visual studio 2005. I'm trying to trick out my code for a college assignment and I'm stuck trying to add a feature to play a .wma sound at certain parts. My program is "Hot drink vending machine" so I'm trying to add sounds where the user …

Software Development c++ visual-studio
Member Avatar for mrnutty
0
239
Member Avatar for Aiban

Hi there. Iim wanting a button pressed to do TWO commands .. one after another. EG. instead of my current code musicbu = Button(root, text = 'Backup Music', width = 17, command = musicback1) and musicback1 is a def (): with a complete and working script, i wondered if i …

Software Development python
Member Avatar for shadwickman
0
256
Member Avatar for Aseem_Pandey

This is from code chef. ( easy level, poker) The program runs correctly for all the sample input I have tried. However the chef told me it's wrong. Can someone please help me? Can it be wrong because I have used getchar() in the main() ?? I have used it …

Software Development c++
Member Avatar for Aseem_Pandey
0
135
Member Avatar for jen140

Hello all. I want to show a boolean value with MessageBox. But it only accepts strings. I'm currently looking throught win32 sdk but cant find any function to convert a bool to a string(something like .Tostring in c#). Any help ?

Software Development c++
Member Avatar for jen140
0
249
Member Avatar for bsod1

Hi guys, firs of all, im sorry for my bad english.. How can i learn OOP, its really hard and detailed. Firs of all, i dont know why i must use OOP. Thanks..

Software Development oop python
Member Avatar for bsod1
0
119
Member Avatar for guyod

Hello, I am learning C, POSIX, and Unix. I am trying to write a code that wait until the child process is done then terminate, however, I do not know what to put in the while loop. [CODE] Parent function: signal(SIGCHLD, handler) while(child process is running) print the number of …

Software Development c unix
Member Avatar for guyod
0
167
Member Avatar for SuperMetroid

Sigh. This error keeps appearing, and never ceasing -- ever: [CODE] *** Unrecoverable, server exiting! ---------------------------------------- ---------------------------------------- ================================ RESTART ================================ >>> Unhandled server exception! Thread: SockThread Client Address: ('127.0.0.1', 4323) Request: <socket.socket object, fd=1856, family=2, type=1, proto=0> Traceback (most recent call last): File "C:\Python31\lib\socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) …

Software Development client-server python
Member Avatar for SuperMetroid
0
377
Member Avatar for gilehmi

Hi I am new to Visual Basic and I am trying to replicate the agent spreadsheet model set out in North and Macal (2007). Could someone please assist me? I have written out the code and worked out a few of the basics but the macro will not run. Being …

Software Development visual-basic
Member Avatar for gilehmi
0
123
Member Avatar for jen140

Hello all. As always i have another problem with my Visual Studio 2008 Professional edition. I am running it on windows vista ultimate x64 edition. And i couldnt get my apps made here to work under any other xp machine (x32). I have created an empty c++ project ( Framework …

Software Development c++ smartphone visual-studio windows-vista
Member Avatar for jen140
0
182
Member Avatar for tesid2k8

Hye I want to store my teachers name, course name in file. But the names can also include spaces... using getline() func I can store the string with spaces in to file... But while reading I want that instead of considering space as an indication of new string... there shd …

Software Development c++
Member Avatar for mrnutty
0
113
Member Avatar for MoZo1

Well, so if I use static initialization blocks to access another static data inside another class: [code=java] public class StaticTestA { public static Queue queue = new LinkedList(); static { System.out.println("A start"); StaticTestC.queue.add("A"); StaticTestA.queue.add("A"); StaticTestB.queue.add("A"); System.out.println("A stop"); } } public class StaticTestB { public static Queue queue = new LinkedList(); …

Software Development delphi java queue
Member Avatar for JamesCherrill
0
129
Member Avatar for DoEds

In this program i want to ask the cashier if the customer wants to buy anything else. Typically, Ask customer what beef product he wants to buy. Ex. 1 //Chicken Liver Ask customer how many kilo(s) he will buy. Ex. 2 //2kg (problem) Then ask the customer if he wants …

Software Development c
Member Avatar for abhi.navale
0
470
Member Avatar for XodoX

Hello, I need to do the following problem, but I totally don't get it. [code] Operators Overloading The purpose of this lab assignment is for you to write a class called Character that provides a character functionality including possible operators support. The class must support the following operators: 1. from …

Software Development c++
Member Avatar for mrnutty
0
91
Member Avatar for sotvisal
Member Avatar for FaMu

Hi, In this code: DrawPanel.java [code=java] import java.awt.Graphics; import javax.swing.JPanel; public class DrawPanel extends JPanel { public void paintComponent(Graphics g) { super.paintComponent(g); int width = getWidth(); int height = getHeight(); g.drawLine(0, 0, width, height); g.drawLine(0, height, width, 0); } } [/code] and this the application DrawPaneTest.java [code=java] import javax.swing.JFrame; public …

Software Development java java-swing
Member Avatar for harsh2327
0
106
Member Avatar for daviddoria

(As a warning - if at any point you think "umm why don't you just use X to get your 2 column display - I'm all for that! This is the only way I came up with). I want to end up nice looking display of data on the form …

Software Development vb.net
Member Avatar for daviddoria
0
1K
Member Avatar for himgar

[code] #include <iostream.h> #include <conio.h> int main() { cout<<"hello"; textcolor(2); cprintf("hello"); return 0; } [/code] Errors i am getting : call to undefined function 'textcolor' in function main call to undefined function 'cprintf' in function main I am using Turbo c++ 4.5 Windows XP SP2 Also graphics.h header file is …

Software Development c++
Member Avatar for necrolin
0
104
Member Avatar for seakayaker

I am trying to get the text from a text window. However, the GetWindowText() call keeps on getting me the text in the window header and not the text in the window itself... I have read up on the function call and seen that this happens if you call it …

Software Development api c++
Member Avatar for seakayaker
0
521
Member Avatar for NRaf

*sigh* Malloc get's me every time... Basically what I'm trying to do is read data from a file to populate a square array on integers. I'm declaring the array as 'int** matrix' in main(). I pass this to the function which handles reading the file (the parameter for the function …

Software Development c
Member Avatar for Dave Sinkula
0
90
Member Avatar for phantom1000000

Hi all, I've written a piece of software that connects to a server's SQL database. The software has a timer which fires every second, and the timer connects to the database every time and pulls out a list of current to do's from a table (CurrentToDoList). This database only has …

Software Development vb.net
Member Avatar for sknake
0
138
Member Avatar for scooby36

I am not too sure if this is easy or not but I have a datagrid with a return date field. All I want to happen is if any of the dates in the grid are before the current date Datetime.Now then turn a picturebox to visible. I have had …

Software Development vb.net
Member Avatar for scooby36
0
72
Member Avatar for javac#

I am new to C# guys, So please suggest free e-books links for c#-for console and form app too

Software Development c#
Member Avatar for ddanbe
0
79
Member Avatar for k007

I need to write a template for binary search routine so that it works with arrays of various types (int, char, c style strings). Here is how I have it written,it seems to work when I have a interger array but fails on chars. I need help fixing this. Binary …

Software Development c++
Member Avatar for k007
0
154
Member Avatar for Spartan697

i just got into this python thing and i asked my friend how to do this and he doesnt know he told me to write this here so you guys can understand how to make an if statement (if x == 10 to 24) with proper syntax

Software Development python
Member Avatar for shadwickman
0
77
Member Avatar for suganthi87

Hi I am using named pipes to transfer text between vc++ and delphi. The delphi code is shown below: [CODE] procedure TForm1.OnServerPipeMessage(Sender: TObject; Pipe: Cardinal; Stream: TStream); var S : String; begin SetLength(S, Stream.Size); Stream.Read(S[1], Length(S)); Memo1.Lines.Add(S); end; [/CODE] The problem i face is that I am able to receive …

Software Development delphi pascal
Member Avatar for FlamingClaw
0
234
Member Avatar for darkelf94

I built a vb.net solution and it works well on my computer but it doesn't on other computer. so what files I have to copy with the solution

Software Development vb.net
Member Avatar for GeekByChoiCe
0
89
Member Avatar for amazing_grace

hi expert, first of all, i have to say sorry for my poor english.i am working on a phone-book project and come across a big problem. my approach: 1. i ask to users to identify the type of data he would like to search,eg, name, tel no 2. i ask …

Software Development pascal
Member Avatar for FlamingClaw
0
110
Member Avatar for ggl0rd

anyone can help me with this problem to make coding about : example question : me got 1 table with item X,1,2,3 and other table with item Z and value at row 1,2,3 i want make 1st table item 1,2,3 got a same value at other one table at row …

Software Development vb.net
Member Avatar for ggl0rd
0
106
Member Avatar for auto9817

Hi everyone!! I have a scientific C++ program which requires a good speed to run.(the program runs a lot of matrix and vector operations) For doing that, I come across following options on the net: 1. Use of turbo C++ 2. Use of Linux instead of window XP My current …

Software Development c++
Member Avatar for Salem
0
158
Member Avatar for renovat0

#include <iostream> using namespace std; int main () { int R,G,Y; int r,g,y; int a; cout<<"enter your input"<<endl; cin>>a; if (a==R||r) { cout<<"please stop"<<endl; } else if (a==G||g) { cout<<"you can go"<<endl; } else if (a==Y||y) { cout<<"prepare to stop"<<endl; } else cout<<"Out of range"<<endl; return 0; }

Software Development c++
Member Avatar for renovat0
0
110
Member Avatar for rajasekhar1242

Hi I am developing a small application in that i have only labels. My Output like this.. S.No Customer Name Customer Code City 1. Raja 1242 Vsp 2. Sekhar 1243 Hyd 3. Ram 1244 Bang Hear i want to develop my application with one control ie, for example i have …

Software Development python
Member Avatar for rajasekhar1242
0
86
Member Avatar for elidotnet

Hello, the first question is, how do iknow if the SQLEXPRESS server that in my machine is work well? i have sqlExpress and i also have the sql studio management, i am creating database and tables and all works fine. but when im tryin to call to a database from …

Software Development sql visual-studio
Member Avatar for elidotnet
0
136
Member Avatar for catcit

Hi everybody! For the last five days I`m working on a project and I see only python syntax in from of my eyes. I have a small problem and I got stuck. I have a string like this : file = "E:\xxx\yyy.txt" and I want to format it in order …

Software Development python
Member Avatar for vegaseat
0
116
Member Avatar for jaasaria

Hi guys .. i wanted to open some of my files. like mswords that save in any of my folders. also wanted to open .txt, .jpg, html etc files. any code for this.. i have an idea using shell "location of exe" but it open exe files only. i wanted …

Software Development visual-basic
Member Avatar for jaasaria
0
290
Member Avatar for b_bayaraa_d

hi everybody! what plugin download in ecplise for phyton. sorry for my english skill

Software Development python
Member Avatar for vegaseat
0
86
Member Avatar for fleem

I've been unable to get to it for the last hour or so.

Software Development python
Member Avatar for vegaseat
0
129
Member Avatar for slacke

I have lots of Drytek > Vigor 2700,2800 routers on the public net. I manage this networks and since this type of routers has Log support I write an application on my linux box to collect those logs. The routers are sending UDP datagrams to a configurable address and port. …

Member Avatar for slacke
0
211
Member Avatar for agaba

When i rebuild the program , I get this error 1>c:\users\agaba\documents\visual studio 2005\projects\car\car\school.cpp(97) : error C2447: '{' : missing function header (old-style formal list?) 1>Build log was saved at "file://c:\Users\agaba\Documents\Visual Studio 2005\Projects\car\car\Debug\BuildLog.htm" 1>car - 1 error(s), 0 warning(s) The code .................. [code=cplusplus] // Short-term parking at the airport, from 4am …

Software Development c++ visual-studio
Member Avatar for agaba
0
115
Member Avatar for Pgmer

Hi All I need to capitalize the first word of each new sentence as user types. How will i come to know about the start of new sentences? do i need to use regular expression for this?

Software Development vb.net
Member Avatar for JadeSimon
0
140
Member Avatar for Zebibyte

I just started learning Python a couple days ago, and my main goal for now is a text-based game, in which the user inputs commands to interact with the virtual world. My problem thus far, however, has been splitting a string up so that I can detect what action the …

Software Development python
Member Avatar for Zebibyte
0
110
Member Avatar for agaba

When i try to rebuild this what i m geting 1>------ Rebuild All started: Project: depreciationarry, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'depreciationarry', configuration 'Debug|Win32' 1>Compiling... 1>arry.cpp 1>Compiling manifest to resources... 1>Linking... 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\agaba\Documents\Visual …

Software Development c++ visual-studio
Member Avatar for agaba
0
282
Member Avatar for hzx_300

Hi, I need a help to find out solution to these problems (1) Write a program that will ask the user to input a hexadecimal number and display the number of binary one’s within that number. (2) Write a program that will ask the user to input his name. Then …

Software Development assembly encryption
Member Avatar for wildgoose
0
262
Member Avatar for WoBinator

Hi, im new to programming. I have read alot of posts on this site and am wondering if i need to learn C before i learn C++. Is learning a language before C essential? or will i just get the hang of it. This is my second post, asking about …

Software Development c++ first-post
Member Avatar for Zacadx15
0
504
Member Avatar for liveonfire

I was just wondering what the best way to deal with command line arguments is? Should I just use some different function, should I embed all the checking into main(), should I create a class that deals with them or is there another option I haven't thought of? I know …

Software Development c++
Member Avatar for liveonfire
0
81
Member Avatar for krisfr

Good Morning I am seeking some general guidelines to present a proposed project to a Client. The Client is expecting a meeting on Tuesday the 11th. I am just trying to give the client an overview and introduction to what his needs are. I would like to get a little …

Software Development database-design objective-c
Member Avatar for wildgoose
0
107
Member Avatar for yasaswyg

This is a short summary of my project make two text files with random stuff in it and then make them into bin files and then merge them into one and u take two text files and combine into one text file the code is pretty damn long #include <stdio.h> …

Software Development c
Member Avatar for Hiroshe
0
151
Member Avatar for vbnewbie5

I was just wondering for future information if you add a message to a combo box such as this: [code] ComboBox1.Items.Add(ComboBox1.Text) [/code] is it possible to save it in the combo box so that if the form is closed then re-loaded that message will still be stored? Thanks

Software Development vb.net
Member Avatar for vbnewbie5
0
83
Member Avatar for yasaswyg

this code takes out the spaces in between and i want to shrink this code a bit. like in function modify. It doesnt work if i take out the `if(s[i] == ' ')` I want to make this code work without using that. Any help?? #include<stdio.h> #include<stdlib.h> char* modify(char*); void …

Software Development c
Member Avatar for wildgoose
0
83

The End.