43,549 Solved Topics
Remove Filter ![]() | |
Hi I just wonder how to enabled the X in the right upper corner of a form. When I press the X then I will that it goes to cmdquit and the program is ending. How to do that Lennie Software Development visual-basic | |
Hey, when I execute the following code I get "App instance has no attribute rolls" I have no clue as to why this is and any help would be awesome, Thanks. import Tkinter class App: def __init__(self, master): self.sticky_all = Tkinter.N+Tkinter.W+Tkinter.E+Tkinter.S self.frame = Tkinter.Frame(master) self.frame.pack() # Dice Buttons. self.bd4 = … | |
Hi. In a project of mine, I have many different files 1.h, 1.cpp, 2.h, 2.cpp, 3.h, 3.cpp etc. Some of the functionality in them depend on veriables or functions in the others. If I juggle the #includes around I can get around most of it, for instance, if functionality in … Software Development c++ | |
I have this line of code if (passLength >= 1) { for (i = 0; i <= 62; i++) { if (ascii[i] == inPass[0]) { outPass[0] = inPass[0]; i=100; } } } else { return "Please enter a Password"; } I basically want the program to check through an array … Software Development java | |
in my code (below) im looking to stop using long list of if statements to randomly select a phrase, how would i use an array to accomplish the same task? link to code http://ideone.com/0l8xiI Software Development python | |
I choose a program that can read data from a txt file. Now, I input two column from txt file and i want to substract first value of 2nd column to every value of 2nd column. finally I want the sum of substracted values. Can anyone please help me. Actually, … Software Development c++ mathematics | |
for my combobox i want to prevent user from typing **further text** if the typed text **do not match part** of combobox items i.e from starting Autocomplete mode set to SuggestAppend Autocompletesource set ot Listitems Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress Dim i As … Software Development vb.net | |
I have to do a project where the imust create a class that draws a crayon and then an applet that draws a box of those crayons. I can get the box to draw, just not the crayons. Help? CLASS import java.awt.*; public class Crayon { private final int BOTTOM … Software Development java | |
I know that C# is translated to MISL which is run by the CLR into machine code. .Net provides different languages such as VB and F# and C++. Are the different high level languages translated into the same MSIL language? Is there a difference between MSIL of C# and MISL … Software Development | |
I am attempting to replicate the grid you see below taken from a popular accounting software program. I'm not after the title bar or any of the other controls, just a data grid view that behaves like the one shown, kinda like a check register. Does anyone know if this … Software Development | |
hello ! i want to disable my usb port using c# or vb.net ,is it possible to do so using .net ? if yes then any idea how i can do this ? Regards Software Development vb.net | |
When there is a if while else in pseudocode how do you interpret it in a flow chart. For example, a1 if c1 { a2 while c2 { a3 } } else { a4 } is the else statement connected to the if statement or the while statement and if … Software Development c++ | |
Hello everyone... I've searched a lot for this but i can't really figure this out. My project consists of 5 .c files and 4 .h headers. all in the same folder. I compile them separately succesfully but when it comes to group compiling (gcc -o progname and all the code … Software Development c | |
i have decleared all variables as double. Sub kaat() goldkaatinratti = (Val(txtbox_tolagoldweight.Text * 96) + Val(txtbox_mashagoldweight.Text * 8) + Val(txtbox_rattigoldweight.Text)) * 8 / 96 End Sub but when i leave the textboxes empty it gives ma the error (Conversion from string "" to type 'Double' is not valid.) i CANNOT … Software Development vb.net | |
I have been getting used to c++ as I have been trying various scenarious on programs and exand on them with new concepts. This is my first try at exporting data from command line to a text file and the program runs fine with all the calculations. The real issue … Software Development c++ file-system | |
Hey guys, I'm trying to learn how to use classes and work with seperate files, and I been reading about it and now I tryed making a little short "Hello World" thingy but I don't really understand the self. things, I thought I did but it's not working so I … Software Development python | |
Hey guys, I wasn't exactly sure where to put this post, but this was my best guess: I'm on a HPC and wanted to use vim as a python IDE and was trying to install my own version of vim (7.3) with a python interpreter. I use configure to enable … | |
i just want to make a mp3 player, but i got problem at my mp3 path. this is my code: Public Class Form1 Private Sub Import_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Import.Click FBD.ShowDialog() TextBox1.Text = FBD.SelectedPath Dim folderInfo As New IO.DirectoryInfo(TextBox1.Text) Dim arrFilesInFolder() As IO.FileInfo Dim fileInFolder … Software Development vb.net | |
Hey there, I have a question regarding the builder pattern that I need someone with more experience to clarify for me. I have this User class that has an inner, public static Builder class that has the same fields as User as well as the corresponding setter methods. Now, the … Software Development java | |
Hi everyone I'm studying the part about while-statement but I don't understand the explanation in the book really well and the example doesn't work for me so I can't see it with my own eyes how it works. Can someone explain what the while-statement means and does? Also can you … Software Development c++ programming-construct | |
![]() | Hello All, I'm having trouble with a little string search. My code downloads a webpage that contains a table of a list of sharenames, the company name and a margin rate in the following format: [CODE]<tr class="odd"> <td>AAC</td> <td>Australian Agricultural Company Limited.</td> <td>35.00%</td> <td> No </td> <td> No </td> <td> … Software Development regex |
I'm back: Is there any place I could send what I have as a project to be looked at for help? Signed The Pest I'm trying to copy/rename a file using conditionals and a string variable Thanks for your help Jeff Software Development visual-basic | |
I am currently taking a programming class. I finished my work early one day and was bored so.. I decided to make a randomizer that will only pick a number a single time. I have been trying to make it, but I run into continous errors with it. It seems … Software Development vb.net visual-basic | |
- Please how is possible (probably dirty hack) to create [How to Create Translucent and Shaped Windows](http://docs.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html) - undecorated container (returns *java.awt.IllegalComponentStateException: The frame is displayable.*) - change Look and Feel for (returns *AWT-EventQueue-0" java.awt.IllegalComponentStateException: The frame is decorated*) - by using code from linked official tutorial . import java.awt.*; … Software Development gui java java-swing oracle | |
i am making a module in vb.net which will convert number of grams to number of tola masha and ratti respectively. 1 tola = 12 masha 1 masha= 8 ratti while 1 tola = 12.5 grams i can make number of tolas by number of grams \ 12.5 but can … Software Development vb.net | |
Using Winsock and C++, I have successfully created a server which runs on my pc good and well. The problem is, I would like this same (console) server to run at a different IP address (that is not my home IP address). If my server (which is called server.exe) is … Software Development c++ | |
I added a DataBase.accdb file into a project (VS 2010) then created a DataSet. but now I've a small problem: I want to have the connection string in the app.config file, to allow customer to edit it. I go to the app.config file and find no connection string created inside. … Software Development dataset file-system | |
I have 2 parameters ID - txtID.text Name - txtName.text I would like to select (SQL): SELECT ID ,NAME FROM TABLE WHERE If ID is not null read in txtID If Name is not null read in txtName If ID is null read all in select statement If Name not … Software Development | |
Sorry guys, this is a huge chunk of code that looks inefficient as f***. This was for a class I had last spring, so I'm not rying to cheat I just want an answer. So here's the assignment, Develop an object-oriented program to produce a grade report and an error … Software Development c++ | |
whats wrong with this code? It keeps giving me an "unreachable code detected " exception public static int search(string Registration) { // this method will search for registration, if found it will return the index value , else it will return max value + 1 for (int x = 0; … Software Development | |
Hello, I'm trying to program a basic program at the moment and have run into some difficulties. I have a method as follows: public static void loadDB() { // load data into datasets - this will be called on form2 the login screen loadTblStaff(); loadTblCars(); } the method is called … Software Development dataset | |
I have been struggling with this since yesterday and I really need to get it finished. I have no clue why its not working. THe porblem im facing at the moment is as follows: I have a method loadDB(); That is looks like this: public static void loadDB() { // … Software Development dataset open-source | |
I am using MCI controls to play media files within some software. For the most part, it works OK but sometimes things go poorly (e.g. when the media file is corrupt). How can I either put the code into a try/catch (i.e. what exception do I look for?) or how … Software Development c++ | |
I am making a game in microoft visual basic. It is virtually finished, but I am having a problem. When you hit the start button a timer is activated making the character in the game equal mouse position. The problem is that the character is not actually going to the … Software Development gaming pc-peripheral vb.net | |
Hi to all I got flash mp3 player from my friend and I wanna your help becuase I'm not well flash and my friend was moved to Africa, here the actionscripts 2.0 code. my question is I don't to use the plalist.xml file I want to use direct link in … | |
Hello good day. I have an urgent need as it relates to creating a table. Is it possible to create sub-columns under a main column? Please see image file for clarification.  Ultimately, I want to create a coulmn heading, and then beneath that heading divide it's width into … Software Development java | |
Hi All, How can I get sample.xls from C:\users\sample\desktop\sample.xls to string? Thank you. Software Development | |
I am serializing an object and storing it on a file using one assembly and reading it and deserializing it using a different assembly. When the second assembly attempts to deserialize the object I get back the following error: Unable to find assembly 'CreateData, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Googling around I … Software Development assembly data-structure file-stream | |
Where can I download the random module, because I've been looking for weeks and can't find a site where I can download it. Software Development file-system python | |
hey all I was watching a tutorial on java game development.In that video,the guy was making a window a on the screen,then making an oval,then moving it. His code worked fine and i am 100% sure that my code is similar to his(i checked it a few times). What my … Software Development ide java java-netbeans java-swing | |
I'm trying to visualize how this will be set up... I need my VB.NET application to read year 2013 values (Year, Employee, and Annual Performance Score) from a CSV file and write them to an Access DB. This DB is linked to my VB.NET project using a dataset. No problem, … | |
hi guy, i have created an app why my beloved python. i have frozen it using cx_freeze for easy distribution but the problem is, on my development computer (win7) it runs perfectly but when i send it to a testing pc (windows XP sp3 32bit) it give me the error … Software Development python | |
This program is to calculate commission and this is the pseudo I wrote for it. Tell me if I'm right. 1 Declare variables 2 get sales 3 calculate if sale < 1500 Then commision= sale * 0,02 else commision= sale * 0,04 4 Dispaly commision Software Development vb.net | |
well here is the problem ! i am making a desktop application using vb.net and sql server for a local jeweler. i want to fetch "gold rate" to text box "txtbox_goldrate" from http://www.goldrates.pk . the other way is to use goldrate api from a webservice but that is not free … | |
immutable objects cannot be altered,whereas in line 3 x contains xyzabc. I want to know what exactly is happening with the string object. Thanks in advance Software Development java | |
hi I have method which accept file and want to compare with string for the above mention reason i did System.out.println(targetFolder.getAbsoluteFile().equals(listPropertyValue[1]/*which is a string */)+"\n"+targetFolder.getAbsoluteFile()+"\n"+listPropertyValue[1]); the value of listPropertyValue[1] and targetFolder.getAbsoluteFile() same value but it gives false. Please tell me where i am wrong Thnks Software Development java | |
3 years ago, one brother solved this problem, i need this program to make some calculation. actually, i have some fractional/decimal component t (like 2.0213, 3.047) this program can only take integer. Can anybody please help me !!! #include<iostream> #include<fstream> #include<string> #include<cstdlib> #include<cmath> #include<iomanip> #include <windows.h> using namespace std; //void … Software Development c++ | |
Okay so here's a good one for you guys, I have some theories but would like some help. So I have a project I just came up with while I was waking up this morning. Part of this project involves comparing 2D arrays (or Lists, if I say array assume … Software Development | |
![]() | I have a project I am working on and it involves java graphics which I am a novice at, I have uploaded the description of the project and the image of how it should look like, now i am having problems implementing the part of introducing the virus and drug … Software Development java java-swing |
Hi I want to know how to know if user is running the program for first time? I have a .txt file which will be loaded on start, but it is the first time and there is no such file. If anybody contributes, I will be happy Thanks in advance … Software Development visual-basic |
The End.