43,549 Solved Topics
Remove Filter ![]() | |
i installed a codeblocks IDE in my flash drive while i was using windows 7. After downgrading to windows XP, the IDE won't open and an error message pops up "codeblocks.dll is not a windows dll." Pease assist in help me solving this. Thank you. | |
So, I'm coding a IDE in Python and I'm using Tkinter for the GUI. What I'm looking for is a way to add a "recent files" menu to the menu that opens when you right click the program's icon in Windows's task bar. I have a picture to show what … | |
I have no idea how to do this: Create a class called Date that contains three pieces of information as instance variables – a month, day and year e.g. 4, 14, 2007. All three of type int. Your class should have a constructor that initializes the three instance variables. Provide … Software Development java | |
Hi I keep having problem on trying to call the method 'in3050'.Please someone guide me on this???? Thanks public class NumberCheck { private static void main(String[] args) { int num1 = 31; int num2 = 40; boolean check = in3050(num1,num2); } public boolean in3050(int a, int b) { if (a … Software Development java | |
I am trying to write an app that can be used by different users with different access levels. I have some buttons that I am using a Inputbox to ask for and verify the password. I would like the change them to a password char txtbox However, I dont know … Software Development vb.net | |
Hi, I was wondering if someone could look at this person class I am working on. The first part is the class header with the constructors for the class. In the second part I am trying to write the code but when I declare the get_age and get_name objects I … Software Development c++ | |
i used this code to send email from vb6 form that connect with out look email account 'Dim olapp As New Outlook.Application 'Dim olMail As Outlook.MailItem 'Create a new mail object form the 'Outlook98 Application object 'Set olMail = olapp.CreateItem(olMailItem) 'Set the mail fields of the olMail object 'olMail.Subject = … Software Development email visual-basic | |
In this code at line number 7, 'p' is a 1D pointer then how come at the print statement it is being considered as 2D pointer ? and when we do 'a+1' then it would cross whole array. I am not able to understand this code. Please explain. Expected output … Software Development c | |
why is command2 in dataenvironment cannot be added on datareport.only the command1 is allowed in datareport.guys pls help me.. Software Development visual-basic | |
Good day!!! I have implemented the captcha verification to my application. But I am having a problem in it. I cannot able to find methods that can only reload the captcha image.Instead I have to reload the entire page. Is there any wa y to do it. This is my … Software Development | |
I'm trying to create a game of Go Fish in Python. But I've stumbled onto a little problem that I can't seem to figure out how to deal with. There is a human player (player 0) and three computer players (from 1-3). The human player goes first and chooses a … Software Development programming-construct python | |
Hi, I have done a test using the lock(lockobject), which will be an interesting question. I have created 2 background threads, that I start simultaniously. Threads uses a while(true) loop to produce the test. If we uncomment and use the lock(lockobject) in the code. None of the loops will write … Software Development file-stream | |
I'm looking throug the documentation at python.org for modules and functions allow me to do basic operations on in a Linux file system. I need to do simple things like list the file and folders in a directory 'ls' and change director 'cd'. I found these two pages that looked … Software Development python | |
ive been trying to improve my skills when it comes on to using maps and iterators but i seem to be mostly failing can someone please tell me where im going wrong or point me in the right direction compiler error a.cpp:20:55: error: conversion from ‘std::map<std::basic_string<char>, Object*>::iterator {aka std::_Rb_tree_iterator<std::pair<const std::basic_string<char>, … Software Development c++ | |
Hello Programmers! How can I convert a double to a string without losing its precision (i.e. values after the decimal point)? Thanks! Software Development c++ | |
my `display()` method is public and looks to be defined , however eclipse says that its not defined. this is a code for an amortized time resizing circular array. can someone help me out here ? also , please do point out if you see something else wrong with the … Software Development java | |
I'm trying to imitate the Windows 8 Start Menu preview'. Private Sub CornerHoverMouseOn() Handles CornerHover.MouseHover Dim CHL As Integer CHL = (Screen.PrimaryScreen.WorkingArea.Height - 100) CornerHover.Anchor = AnchorStyles.Bottom + AnchorStyles.Left CornerHover.Location = New Point(0, CHL) CornerHover.Height = 100 CornerHover.Width = 50 CornerHover.BackgroundImageLayout = ImageLayout.Stretch CornerHover.BackgroundImage = My.Resources.CornerHover End Sub Private Sub … | |
i have this new problem i hope that im not a spam here in this site.but i have to do this bcoz i have no where else to go.sorry for my english hope u understand me.in the picture that i uploaded i have textbox1 and textbox2 their value comes from … Software Development mathematics visual-basic | |
If there's a class called `foo` and you do `d = foo().someboundmethod`, will the instance of foo stil be there? Software Development python | |
'Text2.Text = "C:\MyPath\MyDocument.pdf" 'Shell "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" & " " & Text2.Text, vbNormalFocus this code correctly work for one user pc, but other users that use the system cant be open the file , how i can make the file published?? Software Development pdf visual-basic | |
<%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>Hello World</title> </head> <body> Hello World, <s:property value="name"/> </body> </html> I tried this code from an online tutorial. However eclipse says 'Can not find the tag library descriptor for "/struts-tags"' in line 2. Do I need to set … Software Development java | |
Hi all, Please help me solving following query: How to add global variable in C# window base application. This variable must be accessible to all forms. What I exactly want is: I have a variable "UserName" and "UserType". When user click "Submit" button on Login form, user name get stored … Software Development c# | |
I have the following structure: CObject { protected: char *mName; public: CObject(char *n) { mName=strdup(n); } }; CVector:public CObject { char *mValues[50]; int mElements; public: CVector(char *n):CObject(n) {} }; CMatrix:public CObject { char *mValues[50][50]; int mLines; int mColumns; public: CMatrix(char *n):CObject(n) {} }; My main function: int main() { pV=new … | |
In the following program, why is the count function failing? I'M getting an error that it needs at leat one argument and that I have given it 0. I have here count(number), how is number no an argument? According to the documentation the start and end points are optional. I … Software Development python | |
Traceback (most recent call last): File "C:/Users/James/Desktop/Quikemail.py", line 54, in send s.sendmail(me, you, msg.as_string()) File "C:\python 25\lib\email\message.py", line 131, in as_string g.flatten(self, unixfrom=unixfrom) File "C:\python 25\lib\email\generator.py", line 84, in flatten self._write(msg) File "C:\python 25\lib\email\generator.py", line 116, in _write self._write_headers(msg) File "C:\python 25\lib\email\generator.py", line 162, in _write_headers header_name=h, continuation_ws='\t').encode() File "C:\python … | |
Hello, I have a chain of inherited classes like this: class A { protected: int a; public: int getA(){return a;} }; class B:public A { protected: int b; public: int getB(){return b;} }; Based on that you can see that the public can only read the values in those classes, … | |
Hello, I am getting an error on this line: ReceivedData = NetStream.Read(CryptData, 0, Size) This is the information it gives me: A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in System.dll Additional information: Specified argument was out of the range of valid values. If you could help me understand why … Software Development vb.net | |
am a python beginner, receeently started learning about classesand i wrote this got this little code that keeps bringing this error . please i need someone here to help debug it: class employee(): ` empcount=0` def _init_(self,name,salary): self.name=name self.salary=salary employee.empcount=+1 def displaycount(self): print 'Total employee: %d' %employee.empcount def displayemployee(self): print … | |
Hi guys, I wanted to do a simple calculation using vb.net.That is i would have some values that are used as an input read from excel in the calculation.the values may be changed or used as they are. In the vb side i would have some textboxes that garb the … Software Development vb.net | |
I'm having trouble with this: import java.util.Scanner; public class triangleLoop { public static void main (String[] args) { int height, row, col, spa; String hyp; Scanner kbd = new Scanner(System.in); System.out.println("Enter the desired height of the triangle: "); height = kbd.nextInt(); System.out.println("What side do you want the hypoteneuse on? (left/right)"); … Software Development java | |
I was trying to array a string within a string. And I keep on receiving a compiler error. So I’m wondering if is even possible to string a string within a string? Because that’s the error I keep on getting. If not then what is another way to create a … | |
how to make a looping with a array? this is my program, it make a visual basic 6. this is program to input a many song to database, and the list song in a list box. if we selected one song in a list, otomatic specific song will appear in … Software Development visual-basic | |
I have always had this question, but I couldn't quite find anything that answered it. I was hoping someone could shed some light on the question... Thank you in advance. Software Development c++ | |
I have an abstract class CArticle and two derived classes CBook and CMagazine. I also have a class CLibrary where i want to add articles. Its members are an int variable to count the articles and a double pointer of CArticle. I have the following main function: int main() { … Software Development c++ | |
Hello Good day. I have an interesting question as it relates to adding a background image to a JPanel (or whichever component is best for what I'm trying to achieve. Hopefully I'll get some help here.) I have a large picture that I want to use as a background image … | |
Hello, I was just noticing that the 'const'ness of references often causes me to rewrite a large chunk of my code with pointers. For example if I have a class that needs access to a large amount of data from another class I would love to use a reference. However … Software Development c++ | |
Hi , I am new to hibernate and facing issues with composite key mapping.Please help,.While running class name Example,At line 36:- **List sites = session.createQuery("Select h from SiteStageDto h").list();** code is returning null pointer,the hql is returing right query but unable to fetch data to list. I am also posting … | |
i have 3 textbox text1 & text 2 for input & text3 for sum of text1 and text2.plss help me guysss Software Development visual-basic | |
Hi All, I'm fairly new to using Linq but I thought I had a handle on it, apparently not though. I'm processing an XML file sent out as an error report by a third party. I have no control over this file and it has been developed to an industry … | |
I am getting this error "The program is still running! Do you wan to kill it?" from the python IDE when I run the following code. Any ideas why this is happening? #!/usr/bin/python import sys ######################################################################## # prints program usage ######################################################################## def printUsage(): print "** Print part of Bible **" … | |
I am attempting to make a Dictionary like software. The way this software will work is that You will be able to enter a word into a search bar, and the dictionary will search for the word. It will display the word, the pronunciation and the meaning of the word … Software Development java | |
Dear list, i have problem, i was going through with python programming and found there is something missing in case of float data types. what i am trying to do is: i am writing a simple program in which i asked user to input salary, i want to ristrict user … Software Development python | |
Hi All, I am trying to write a small app that reads a logfile in the form of: 01/07/2013 07:40:12 => Start of process. 01/07/2013 07:40:17 => Preparing authentication token 01/07/2013 07:40:17 => Attempting authentication with supplied credentials 01/07/2013 07:40:20 => Authentication successful! 01/07/2013 07:40:20 => Using BinarySecurityToken: a9d4e88c077e342d 01/07/2013 … Software Development display | |
Traceback (most recent call last): File "C:/Users/James/Desktop/hugevar.py", line 2, in <module> class var(tempfile.TemporaryFile): TypeError: Error when calling the metaclass bases function() argument 1 must be code, not str Why does this happen and how can I fix it? | |
I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the … Software Development python | |
Hi everyone, I'm getting the following error: Cannot apply indexing with [] to an expression of type 'System.Array' I'm trying to print out the first element of the array as a string. Can someone explain what the error message means? using System; using System.Collections.Generic; public class MyClass { public static … Software Development | |
hi every body , i have recently developed a system using vb6 forms but i need a help o f how to save and view a file with the pdf and .dwg and view it in a form , any help plz ?? Software Development pdf visual-basic | |
Close is a Custom Button I made. Dim CloseButton As New Close Private Sub CloseButtonCode() Handles Me.Load CloseButton.Anchor = AnchorStyles.Top And AnchorStyles.Right CloseButton.Enabled = True CloseButton.Location = New Point(1170, 0) CloseButton.Size = New Size(30, 30) CloseButton.Visible = True Controls.Add(CloseButton) AddHandler CloseButton.Click, AddressOf CloseButtonClick End Sub Whenever I Maximise, this button … Software Development vb.net | |
Well this is not as much as something that I dont know how to implement, but more something that I dont know why I would want to implement it. When I have a simple class, say this one: class Cube { public: Cube(int x, int y, int z); int return_area(); … Software Development c++ |
The End.