43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bLuEmEzzy

How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You...

Software Development image listview vb.net
Member Avatar for bLuEmEzzy
0
2K
Member Avatar for zachattack05

Greetings! Wondering if someone had some ears (or eyes I guess) I could bounce some concepts off of regarding a Client/Server system design. All technicalities aside (such as message framing etc..) I was wondering if anyone had ideas for how a system like that should be set up? Currently my …

Software Development client-server gui user-interface
Member Avatar for zachattack05
0
167
Member Avatar for nish88

hi everyone..... Can someone tell me 'how can we disable the close icon' which is found on upper left corner of a tkinter menu which is encircled in the picture below: Thanks in advance

Software Development python tkinter
Member Avatar for gleam.uahmed
0
4K
Member Avatar for HelloPeople1

Hi guys I finally finished my highscore list but i have one problem I have to sort it. I know how to sort regular list, but this is a bit different because of having the text in it. When I sort it I just get an weirdly sorted list. Does …

Software Development python
Member Avatar for slate
0
112
Member Avatar for Derek Elensar

Okay. I have said code: [code=C++] #include <iostream> int main() { std::cout << "This is a native C++ program\n" << std::endl; return 0; }//main [/code] How would I compile this from a standard DOS command line? I've searched all over google, and have yet to find an answer that explains …

Software Development c++
Member Avatar for user422
0
366
Member Avatar for JaviP

Hello, I would like to know what am I missing in this program to be getting that error. Thanks in advance! Error is [B]error C3861: 'setprecision': identifier not found[/B] [CODE]#include <iostream> using namespace std; int main () { int numFloors=0, numRooms=0, numOccupied=0, totRooms = 0, totOccupied = 0, totUnoccupied=0; double …

Software Development c++
Member Avatar for Fbody
0
6K
Member Avatar for skinwah

Hi all. I am trying to create a program to take in records of a companies payroll. I get the data then write it to a binary file. When I want to delete a record I ask for the specific timesheets name and the employee ID then read the file …

Software Development c++ ios
Member Avatar for skinwah
0
141
Member Avatar for revjim44

I'm getting this error, and I'm not sure why I can't do this in a method. On lines 92 and 93 I get this error thrown: "Only assignment, call, increment, decrement, and new object expressions can be used as a statement" I'm sure it's something obvious, but I'm stumped. [CODE]using …

Software Development
Member Avatar for revjim44
0
128
Member Avatar for revjim44

This may be a simple question, but I'm trying to populate a combo box with an array of string variables, but only that pass a conditional test. I'm getting a "complex databinding accepts as a datasource either in Ilist or IListSource" error. Obviously this is not the right way to …

Software Development
Member Avatar for revjim44
0
261
Member Avatar for lu25

hey i need some help with my assignment am a seriose beginner i need to create a program using arrays that prompts the user to write a sentence and then prints outs the word and the number of times its appearing..i don't know where to begin please help :(

Software Development java
Member Avatar for lu25
0
89
Member Avatar for JaviP

Here is the program that I have to make: Write a program that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her expenses for the month, and keep a …

Software Development c++
Member Avatar for Narue
0
633
Member Avatar for plasticfood

[CODE]public static void fun(int x){ System.out.println(x); x--; if(x > 0){ fun(x); } System.out.println("returning " + x); } [/CODE] in the main class: fun(5); [U]output:[/U] 5 4 3 2 1 returning 0 returning 1 returning 2 returning 3 returning 4 --------------------------------------- what i don't get is how the print statement is …

Software Development java
Member Avatar for jon.kiparsky
0
156
Member Avatar for iammirko

Hi, I have been trying to compile open source projects since past few months with no success. I just don't know how to go about the entire thing. Readings over the internet have not helped much. Some come with [COLOR="red"]./Configure[/COLOR] and a [COLOR="red"]Makefile[/COLOR] while others with only a [COLOR="Green"]Makefile[/COLOR]. How …

Software Development c microsoft open-source
Member Avatar for iammirko
0
218
Member Avatar for jmensah

Dear sir, I need a help. am having problem coding in vb.net. I have created a field which automatically in sql server. I want a code in vb.net so that user the text on the get focus, the automber would display the current no on the form. This autonumber is …

Software Development vb.net
Member Avatar for codeorder
0
1K
Member Avatar for hmushtaq

Hi, I'm currently a student given the task of programming a RPN calculator using C. The following code is some test code that I made to solve the issue described in the thread title. It calls a custom getline() function(while loop) which is also shown and then should take in …

Software Development c perl
Member Avatar for hmushtaq
0
165
Member Avatar for Netcode

Pls everyone, i need help with two regula expressions One to accept only file word and pdf file and the other to accept only images(.jg|.bmp|.png|.gif) Thanks

Software Development pdf vb.net
Member Avatar for ShahanDev
-1
127
Member Avatar for arezz

anybody know how to save picture in picture box after upload and set picture witdh+heigh size. i want same picture in picturebox after i relaunch application .. i use this code to upload picture into picturebox....please anybody [code] Dim OpenFileDialog1 As New OpenFileDialog With OpenFileDialog1 .CheckFileExists = True .ShowReadOnly = …

Software Development vb.net
Member Avatar for arezz
0
242
Member Avatar for BenjyC

Hi, I am working on a piece of OOP which needs to be ran entirely by classes, by that meaning the main function should only create the first class and the rest of the program ran by member functions of various classes. Part of this task requires me to keep …

Software Development c++ oop
Member Avatar for BenjyC
0
181
Member Avatar for Jake.20

Guys, can you give me some idea on how to validate the day if the selected year is a leap year in combo box. Thank you in advance.

Software Development vb.net
Member Avatar for codeorder
0
157
Member Avatar for <LDJ>

Hi guys, I'll try to keep it as short as possible. Basically, I love the webcomic [URL="http://www.xkcd.com"]xkcd[/URL]. And recently, I've been browsing around for a downloader, and have found one written in Perl that works great. It even grabs the Alt-Text (text that pops up when you hover your mouse …

Software Development open-source operating-system perl ubuntu
Member Avatar for d5e5
0
376
Member Avatar for dyingatmidnight

Hello, first I want to say I'm a total noob to C++ and Visual Studio and MFC. Before this I studied Java in school. Anyway I'm required to learn MFC for work and I've been going through a reference book my supervisor has and I've run into an error that …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
594
Member Avatar for dragon_sagrado

heres the problem i made a code for sine(X) to calculate the taylor series but i need to change sine(x) for sine(x+1) but i dont know how to do it, heres the code i made [code] from math import sin as senopy def factorial(numero): factorial = 1 while (numero > …

Software Development python
Member Avatar for BearofNH
0
233
Member Avatar for Diamonddrake

I am working on a little USPS tracking class, very simple calls web api returns xml, parses the xml to an object, passes that object back via an event. for some reason I can't seem to get the XML to parse correctly. I there are an unknown amount of a …

Software Development api xml
Member Avatar for Diamonddrake
0
195
Member Avatar for cppgangster

Hi, I want to learn mfc, but as I read in wiki mfc is not included in visual express editions, IS THE ONLY WAY TO LEARN MFC is buying visual studio software? are there any other solutions?

Software Development c++ visual-studio
Member Avatar for Moschops
0
136
Member Avatar for Jade_me

hi masters.. How to code the Copy, Cut and Paste functionality in VB 6.0 ?

Software Development visual-basic
Member Avatar for AndreRet
0
302
Member Avatar for obicerno

can any one help me about my project.... how to code data from excel export to access..

Software Development visual-basic
Member Avatar for AndreRet
0
83
Member Avatar for killhha

I have been using Pascal for around 3-5 months now. I still haven't figured out how to return random answers. for instance there are 5 integers: var a,b,c,d,e : integer; and now the computer will tell you a random integer like: writeln(c); this is just an example of course because …

Software Development pascal
Member Avatar for pritaeas
0
4K
Member Avatar for aman rathi

i am very beginner to java getting error in below code [CODE]class forloop{ public static void main(string args[]){ int x; for(x=0;x<10;x=x+1) system.out.println("this is x:"+x); } }[/CODE] error : cannot read :forloop.java i error please help me

Software Development java
Member Avatar for aman rathi
0
179
Member Avatar for Tommybb

I am beginning C++ programmer, I have been taking my c++ class for about 5 months now and this is the first time I have been completely stumped and I know for a fact it wont be the last. My professor assigned an assignment for us to find the mean, …

Software Development c++
Member Avatar for G-Dog
0
14K
Member Avatar for gabanxx

i try to create an application that can sent the value from vb.net to SQL database.. the problem is i dont know how....i created the interface, just a simple one like inserting name, D.O.B, hobbies & phone nmber(all this using text area)...and a submit button... pleaseeeeee........... help me :'( -im …

Software Development sql vb.net
Member Avatar for shubhadip
0
1K
Member Avatar for zepi

hi all, am just curious to know...which is the better or more efficient way of these two? Note: tblOD is a DataTable [CODE] For dtrows As Long = 0 To tblOD.Rows.Count - 1 dgv1.Rows.Add(tblOD(dtrows)(0), tblOD(dtrows)(1), _ tblOD(dtrows)(2), _ tblOD(dtrows)(3), tblOD(dtrows)(4), _ tblOD(dtrows)(5), tblOD(dtrows)(6), _ tblOD(dtrows)(7)) Next dtrows [/CODE] OR [CODE] …

Software Development vb.net
Member Avatar for Mariandi
0
138
Member Avatar for trail453

hey guys. i have a very simple programming assignment. i have a little experience in c++ but the code that im using is not working. the assignment is to use an array to enter 10 numbers and then print them out in reverse order. the following code that i am …

Software Development c++
Member Avatar for trail453
0
132
Member Avatar for zachattack05

If I have an internal class that implements an interface, the interface method must be public. Is that interface method visible to other assemblies or does the internal class that implements the interface prevent it from being visible?

Software Development
Member Avatar for zachattack05
0
61
Member Avatar for lgonzo

am new to c++, and am having trouble with if else statement for this code i am writing a program that makes the computer guess a number you the user has choosen my program works fine, but when i get in trouble is when my range gets down to zero …

Software Development c c# c++
Member Avatar for lgonzo
0
109
Member Avatar for lgonzo

beginning in c++, i have a question of a recent program for this program i am trying to create a game where the computer try's to guess a number 1-100 that the user has chosen and i have it running good. but where i have a problem is at the …

Software Development c++
Member Avatar for lgonzo
0
89
Member Avatar for Tinee

Im trying to make a C++ program to calculate the resistance in a parallel electric circuit. The formula is Total = 1 / (1/resistor1)+ (1/resistor2).... + (1/resistorN) I have made the program however when I compile it it has the "linker error" Can you please help me spot the mistake …

Software Development c++
Member Avatar for Ancient Dragon
0
286
Member Avatar for AngelicOne

This is my app.config [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="radicalGuard" value="Data Source = MICHAEL-PC\SQLEXPRESS; Initial Catalog = radicalGuardDB; Integrated Security = True" /> </appSettings> </configuration>[/CODE] And this is my connection string [CODE]SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["radicalGuard"].ToString());[/CODE] Whenever I try to debug, it says "object reference not set to …

Software Development sql xml
Member Avatar for AngelicOne
0
210
Member Avatar for danattheville

I am trying to write a program that will allow a user to use a button to toggle the color or the text in a text box between blue and green. Any ideas? Here is what I have so far: [Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Software Development visual-basic
Member Avatar for danattheville
0
146
Member Avatar for zy_430l

hi, im a newbie in using vb2008 and mysql server 5.1. i tried creating a dataset using the myodbc driver 5.1 (which im sure is correctly typed in because that is the exact same connection string i used for data manipulation within my app. now, im stuck. i cannot generate …

Software Development dataset vb.net
Member Avatar for tomason
0
623
Member Avatar for AngelicOne

My textbox is set to read-only, but I need to disable the focus on a textbox. There's an error that a read-only textbox could not lost focus. Is there any other way to get a white backcolor that has a particular width? I tried to do it with textbox and …

Software Development
Member Avatar for AngelicOne
0
252
Member Avatar for AngelicOne

Instead of changing my 15 textboxes manually, I would like to do it automatically, maybe doing a foreach loop? I don't know what do you call it but this kind of method is usually done when clearing textboxes and controls that is instead of putting a .clear() to all textbox, …

Software Development
Member Avatar for AngelicOne
0
103
Member Avatar for JDSkywalker

I have 2 types of datagrid combobox columns. One where the value member is an integer (ID) and another where the value member is a string(Shortname). The display member (Longname) in both are strings. The one with the string value member works fine. The one with the integer displays the …

Software Development
Member Avatar for Mitja Bonca
0
659
Member Avatar for stimp80

I'm working on a Windows Forms application created in Visual Studio 2010. Working with 2 different forms, I have a ComboBox on the first form that is databound to the client table of my database. Also on the first form is a link-label that opens the second form without closing …

Software Development visual-studio
Member Avatar for stimp80
0
331
Member Avatar for Nickod777

Got a code failiure. I tried making a code that does this. Grade calculator. Assume max points are 300. make the user submit 3 numbers between 0-100 and have them added together and divided by 300 to get a decimal to the possible nearest Hundredth or whole number. 3 numbers …

Software Development c++
Member Avatar for Ezzaral
0
196
Member Avatar for cousinoer5

I'm taking an advanced C++ class now, and everything up to now has been pretty simple (mostly review stuff), but now we got to binary file io and it's kicking my butt. This program is supposed to read from a file called "Hardware.dat" (or create it if it doesn't exist), …

Software Development c++ ios
Member Avatar for cousinoer5
0
485
Member Avatar for reemhatim

long seats; long no_of_guests; long fact=1; cout<<"Enter the number of seats nn"; cin>>seats; cout<<"nnEnter the number of guestsnn"; cin>>no_of_guests; for(int i=0;i<seats;i++) { fact*=no_of_guests; no_of_guests--; } cout<<"the possible combinations : "<<fact<<"nn"; this code has run successfully but there is a something that I couldn't get first this program will run this …

Software Development c++
Member Avatar for Momerath
0
86
Member Avatar for Tellalca

Hey; I am trying to keep a data file but I'm getting confused with the sizeof(char) = 2 bytes. I understand that it is a unicode char but why does class BinaryReader's function ReadChars(int count) function just increases the streams position by count bytes ? If that is not clear …

Software Development file-stream
Member Avatar for Momerath
0
191
Member Avatar for frank33

In my code I am trying to draw/define a line but despite my best efforts I cannot make it appear as thick as I would like. To be more exact I cannot do that INSIDE A GROUP BOX, although outside that box the definition is exactly as required. The full …

Software Development puzzle vb.net
Member Avatar for frank33
0
190
Member Avatar for musikluver4

How do you allow an action to be performed when a user selects a specific item on a Choice() component? For example: If a user selects a specific item on the Choice() component, I want a JTextField() to be set to .setVisible(true) and appear. Anyone?

Software Development java
Member Avatar for musikluver4
0
85
Member Avatar for WildBamaBoy

I'm doing a client and server program and I am having issues getting my computer's local IP address. [ICODE]Dns.GetHostAddresses(Dns.GetHostName());[/ICODE] returns 2 addresses for me. My computer is behind a router with 2 others on the network. The code returns 192.168.1.2 (I know this is my computer), and 192.168.56.1 (I have …

Software Development client-server dns
Member Avatar for WildBamaBoy
0
1K

The End.