43,549 Solved Topics
Remove Filter ![]() | |
How to put checkbox in listview header? Use of checkbox is for select all and vice versa... Thank You... | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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 … | |
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 | |
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 | |
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++ | |
[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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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 | |
hi masters.. How to code the Copy, Cut and Paste functionality in VB 6.0 ? Software Development visual-basic | |
can any one help me about my project.... how to code data from excel export to access.. Software Development visual-basic | |
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 | |
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 | |
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++ | |
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 … | |
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 | |
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++ | |
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 | |
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 … | |
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++ | |
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++ | |
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 … | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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), … | |
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++ | |
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 | |
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 … | |
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 | |
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 |
The End.