43,549 Solved Topics
Remove Filter ![]() | |
HI, Could someone kindly tell me how to change the x y position of an empty bitmap. Say I have a rectangle on the window now I want to position the EmptyBitmap according to x y position of that rectangle? Thanks in advance Regards Software Development python | |
I am a novice, so please don't be too technical ! I have written 3 separate scripts which all work OK. I now need to merge them into one big script. I would like to introduce a runtime parameter, to allow me to restart at script2 or script3. I would … Software Development shell-scripting | |
Hi I am not a very experienced programmer, but I searched around and couldn't fint an answer to my question, so I am posting it here. I am trying to seach through a local directory and process all the files in that folder. The files are alle named "label" + … Software Development python | |
Hiya I don't know what I'm doing wrong that getline() does not work for me. My program is not finished but this is what I got so far: #include <iostream> #include <vector> #include <string> using namespace std; struct Term { string word; string definition; }; struct Dictionary { vector<Term> term; … Software Development c++ | |
hi friends, i have a problem with using vb.net application, i want to take backup of my database from my vb.net application so that user clicks the button and backup can be copied in a drive . Software Development vb.net | |
I have a main form with datagridview attached to the form. i calling datagridview when the form load, but am getting the 'property access must assign to the property or use it's value. Please help me correct the error. Attached is the form to help analysis the problem. thanks Gyamfi … Software Development dataset open-source vb.net | |
Somebody pls help i want the code.... Software Development java | |
please help me! im doing a date comparing project where in i compare the expiration date and the current date i put this on the general [CODE]dim mydate as string[/CODE] then at the formload [CODE]mydate = format(now,"mm/dd/yyyy")[/CODE] and also on my database id format the Expiration field as Date with … Software Development visual-basic | |
Hi everyone, I have small Problem. I have to take input as a string say blue,green,red, etc split this into blue green red respectively separately and then add those into an ArrayList Clr. I have written System.out.println(" Enter Color "); String input = br.readLine(); ArrayList clr = new ArrayList(); String … Software Development java | |
I'm doing a a program that converts time from 24 hours to 12 hours . I'm doing it using the constructor in class time 12 taking one argument which is of type class time 24 and making the conversion . I've got an error and I don't know where is … Software Development c++ visual-studio | |
Please Help, the user can only input today's date and tomorrow's date... How can i get it?? example valid dates are: Today's date: March 01, 2011 and tomorrow's date: March 02, 2011 if the dates are not valid then error.... Thank You... [CODE] Dim DD As String : Dim MM … Software Development vb.net | |
Below are the instructions for what I am currently working on. I am having 2 problems first is printing the values stored in my array right now i have it set up in a for loop but there seems to be something wrong with the syntax of my System.out statement … | |
Hi All, Just starting my online C programming class and my textbook states "In a computer language, a token is the smallest unit of the language that has a unique meaning. Thus, the reserved words, programmer-created identifiers, and all special mathematical symbols, such as + and -, are considered tokens … | |
Hi all, I have implemented some code for simple columnar encryption. The algorithm is encrypting properly as I want. But during decryption it's giving me some errors. Please go through and suggest me if any idea [code] public static void encrypt(RandomAccessFile f,RandomAccessFile d,int columns) throws Exception { d.seek(10); // SEEK … Software Development algorithm encryption java | |
object reference not set to an instance of an object I'm develop a C# window form application in VS2008. when run the exe file in PC. It come out message box.(object reference not set to an instance of an object). When I change the connection string to normal style like … Software Development dataset open-source xml | |
Hi Guys / Gals, First off, if I'm not in the right forum for this question, I apologize. For this question I figured I would ask some seasoned coding professionals :). I do realize that this type of question is not a simple yes / no, but i would just … Software Development vb.net | |
hello i am trying to write a program that allows user to make a list using vectors and iterators i am able to add a title, list items, remove all, but were my trouble is when i want to remove just one from the list i am not sure how … Software Development c++ | |
Guys, is there a way to programatically and more efficiently sort records displayed in a datagridview control? If so, how? Software Development vb.net | |
new to c++, working with vectors my question is can a string in a vector hold for example a string like " super mario bros" ( with the spaces) to continue i am trying to to make a list that people can add to , and if user where to … Software Development c++ | |
Is anyone aware of a way to do this? I considered adding a while statement to the listening loop of the server to evaluate if an integer is >= a certain value, and if so to enter another loop until it's not true, and that would allow the server to … Software Development | |
Hi, I am getting an error message as follows: java.lang.NoClassDefFoundError: inventorypart1/Beverages Caused by: java.lang.ClassNotFoundException: inventorypart1.Beverages I have been running programs with no problem and with this message I am confused. I cannot see what I am doing wrong but I think I have been looking at it too long. Any … Software Development java | |
![]() | Hey, so i've looked around online for a bit, and after finding similar, but not exact (as in it doesn't help me), i'm gonna post my problem here :P. I'm working on a class to handle Complex numbers. This is going to require a lot of operator overloads and the … Software Development c++ data-science ![]() |
Hi Here is my question. My project is basically a addition test for 5 to 9 year old children. On my form I have a button which when clicked, it inputs a number from 1 to 10,( which is chosen by the user via an combo box drop down), into … Software Development vb.net visual-basic | |
So I'm trying to overload the extraction operator, but I keep getting an ambiguous overload error. Here's the extraction that I'm using: [CODE] bool cc = false; cout << CC; [/CODE] And here's the overload function. [CODE] ostream& operator<< (ostream &out, bool &C1){ if(C1) out << "A"; if(!C1) out << … Software Development c++ | |
Hi Guys, Here I am trying to create a very simple function to change a Frame background color as by a btn event handling as following: [CODE] from Tkinter import * class App: def __init__(self, parent): self.myParent = parent self.fm = Frame(parent) self.fm.pack() self.btnBlue = Button(self.fm, text = "Blue") self.btnBlue.bind("<Button-1>", … | |
hi, how to declare static data memeber of a class and how to define it? [CODE] class Hop { protected: static struct NStrct{ int nCount; } } [/CODE] how to implement it? for example if the static member is "static const count", you would declare the static member in implementation … Software Development c++ | |
Hello, I've been looking at this problem for a few hours, and I can't figure it out. We had to test this code and fix it if we find errors (it's a splay tree): [CODE] public class SplayBST { Node root; int count; int level = 0; public SplayBST() { … Software Development java programming-construct | |
why does this[CODE]movw (%eax), 4(%esp)[/CODE] generate an error messgae after invoking the assembler. using GAS. Software Development assembly | |
here is a program code i want to create an application that create frame and write the string on it and when i click the close tab of frame it will close the frame please help me...its very urgent.. [code]import java.awt.event.*; class SampleFrame { SampleFrame(String title) { super(title); MyWindowAdapter adapter … Software Development java | |
Hi, I've a multi line string, which I want to delete the first 22 lines from, I then want to use re.findall (which appears to only work on strings). Is there an easier way to do it than writing the string to a file, reading in as a list, deleting … Software Development python | |
Hi All So I have 2 forms form 1 has a list of checkboxes on it form 2 needs to check if one of the form 1 checkboxes is checked. Please see the code below: texton is a value passed from a function parameter of type string [CODE] If (Form1.Controls.Item("checkbox" … Software Development vb.net | |
Hi there, If I have two Forms, for example: Form1.cs and Form2.cs and one Form1, there is a button which if clicked, it would close Form1 and open Form2. How would you go about doing that? And is there any better way of implementing this? (This is something I'm considering … Software Development | |
Yes, i'm a noob - Bite me. And yes, I've read seemingly countless tutorials which explain, or, "try" to explain what a "Constructor" is. Obviously, they failed to digest in my brain. Is there any well-to-do person in here who can help me? Is there anyone who can possibly explain … Software Development | |
can anyone help me........... i've created a form1 with a progressbar............and i want the form1 to close at the time when the progressbar reaches 100.........and at the same time i want form2 to display............ can anyone help me to do that............ Software Development c# | |
Hey guys! I have a school project and I cant figure out the coding to make it work correctly. This is what I am supposed to do: Write a class with a main() method and two static methods. Your program should prompt the user for an integer that is no … Software Development java | |
Hi, In my proj i need to populate a gridview based on the selected value. I have abt 5 to 6 fields for searching including dropdown list and textboxes. Dropdown list is for country, region etc.. and the textboxes are for from_date and to_date. i'm using ms-access DB. so when … Software Development | |
In my proj i'm using ms-access DB.. i have two fields namely sms_date,sms_time.. i myself enter the records to the DB.. I need to populate the gridview with the records within the given range of date.. i hav a calendar control to select the date(mm/dd/yyyy) and user should type the … Software Development | |
![]() | i have problem . how make a 100 random number series. i need a code. plz plz plz help me Software Development c++ ![]() |
![]() | i make this progrm . first i generate this of 100 number . then user cheaked the user how many time number is repeated in this series. but i want random series of 100 number . please check it & how to create a random series in this program. [CODE] … Software Development c++ ![]() |
Can anybody help me with java code to monitor system power,that is to check if a machine is running on battery or on ac power Software Development java | |
Hi Ia want to show text in a multi-line textbox, but my problem is how do I start a new line when using code like so.. [CODE] TxtBox_TechTalk.Text = " Good Effort.. You Got " & Lbl_TotalMark.Text & " Lets try the next test. Click the Subtraction Test button to … Software Development vb.net | |
Hi, I have created an application to send data from WCF server application to my client side application. For this I have added a custom serialization instead of the default serialization. And now its sending data to the client as stream and I am able to de-serialize the object back … Software Development client-server xml | |
Hello, Does anyone know how to set the text colour but for a specific character? E.g. If I enter "Phillip" I want it to display: P[COLOR="Green"]H[/COLOR]illip So that just 1 character is coloured? Heres the code I've written: [code] public void paint(Graphics g) { String elements; elements = nameField.getText(); char … Software Development java | |
I'm having trouble figuring out how to use exceptions to check if a file stream was created successfully. I know I can use if statements, but how do I do this using try/catch statements? It compiles successfully but it gives me an error when I supply a non-existent filename as … Software Development c++ file-stream ios programming-construct | |
Im using this code ! con.Open() cmd = New OleDbCommand("select * from RoomTypeA", con) conreader = cmd.ExecuteReader Do While conreader.Read If conreader.Item("TimeEnd") = Me.TextBox6.Text Then Me.RTypeListA.Items(0).Selected = True Me.RTypeListA.Select() End If Loop cmd.Dispose() con.Close() conreader.Close() i want to select the item in listview that has the same TimeEnd with textbox6.. … | |
Hi guys, I am trying to modify my program so that when i entered an invalid number, it will say that this is invalid and loop me back to the starting point. I just cant find the point to do that. either it will just say invalid and continues, or … | |
[code=c] int i=0,j=0; char operand[30]; char lbl[20],opr,num[20]; while(i<30) lbl[i]=num[i]=operand[i++]=NULL; cin>>operand; for(i=0; operand[i]!='+' || operand[i]!='-'; i++) lbl[i]=operand[i]; opr=operand[i++]; while(operand[i]!=NULL) num[j++]=operand[i++]; [/code] ..is there any mistake in this piece of code, my execution is getting stuck at [code=c] lbl[i]=operand[i]; [/code] Software Development c++ | |
I wrote a program that interactively allows you to import files directly from your HDD into another python program. When building a new program, you simply call my program, navigator, and it lets you choose a directory and it prints out a numbered list of file: file a 1 file … Software Development python | |
Hi guys. I downloaded pygame and a few other modules for Python. I know that I have to put them in a certain folder to make sure Python can read them, but what is that exactly? I'm running a Mac, OS 10.6.6. I already tried putting it in the main … Software Development python |
The End.