132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kazekagerandy

how can i zoom an image inside a picturebox? and i also want to know how can i make a picture inside the picturebox draggable while at the same time, it can be zoomed in and out. my goal is to crop an image inside the picturebox and i can …

Software Development image vb.net
Member Avatar for kazekagerandy
0
2K
Member Avatar for Akins72

[CODE] /* Programmer: Date: March 30th, 2011 Filename: DiceGame2.java Purpose: Java program that lets the player roll 5 normal 6 sided die. The player gets to choose which of the die to keep or which to reroll - explains it in messages to the player. Reroll the selected die not …

Software Development java java-swing user-interface
Member Avatar for Akins72
0
207
Member Avatar for kipslem

Hello, Could someone help me with this one? I have developed a small application. It has a MDIParent form on which the other childforms are displayed. I have a Panel on the MDIParent on which there are buttons to call up the MDIChild forms. Now my issue is, when anyone …

Software Development display gui vb.net
Member Avatar for kipslem
0
694
Member Avatar for NichtSoGut

Hey, So I've got these instructions for a piece of work, but I don't understand what it's saying, there are prototypes for functions but like I said, I don't understand them. [CODE]typedef struct BigInteger* big_integer_t; // so I know typedef allows you to assign different names to existing types, but …

Software Development c
Member Avatar for gusano79
0
127
Member Avatar for Hazardous_Byte

Hey everyone! It has been a very long time since I posted, but I have a new question for you guys. So, I made a sort of "remote-desktop" program that allows me to move the mouse from another computer. However, the mouse will move to where I want it but …

Software Development pc-peripheral socket-programming vb.net
0
163
Member Avatar for Mr.BunyRabit

Hey there. Now Reaaaaly close to finishing my project =), had a bit of scope creep with the person we are doing the project for. uffff, yea i know... so now im saving all the details to my mysql database. like this field. "name" of the person, i would save …

Software Development mysql
Member Avatar for Mr.BunyRabit
0
126
Member Avatar for ajaybali

I'm starting to have more source files than is easily managed and was wondering if it's possible to put the .java files into sub-folders of the package folder they are already in? I'm using eclipse if that makes a difference.

Software Development java
Member Avatar for Ezzaral
0
88
Member Avatar for ajaybali

Hi, I have a frame with a combobox. the combox is editable. It should show [Select] in its text field when we open the frame but in the drop down, [Select] should not be shown as a drop down item. Now I have implemented the combobos as: combo.addItem("Select"); combo.addItem("A"); combo.addItem("B"); …

Software Development java
Member Avatar for Ezzaral
0
78
Member Avatar for inzombiak

Im writing a program that creates matrices and what not then count different things based on the elements in the matrix. That all works fine except 1 part, dividing 2 specific numbers. What htis is for isint important because everything works fine EXCEPT that one part. Anyway, im supposed to …

Software Development c++
Member Avatar for VernonDozier
0
106
Member Avatar for danholding

input [CODE=python]import math print(repr(math.pi)) print(str(math.pi)) [/CODE] output [CODE=python]3.141592653589793 3.141592653589793[/CODE] could someone please tell me what the difference between [CODE=python]repr[/CODE] and [CODE=python]str[/CODE] is as the example on the documentation does not help as they both return the same figure? surely it does something more complex?

Software Development python
Member Avatar for vegaseat
0
1K
Member Avatar for CodyOebel

I am using the following code and it's working perfectly for windows XP. The game I am creating this for is known as Dransik. What this does is when I my character gets poisoned. My program automatically cures this issue using basic macro's. The problem is my program is not …

Software Development c++ flash windows-vista
Member Avatar for makman99
0
256
Member Avatar for SMITA6076

I'm working on a CyberPet assignment and I'm not sure how to do the following: 'Then write an [ICODE]encounter ( CyberPet )[/ICODE] method that allows one CyberPet to encounter another and will describe the encounter by returning a String data type. Note that the method should take a CyberPet parameter. …

Software Development java
Member Avatar for SMITA6076
0
599
Member Avatar for AhmedGhazey

Given a word, check whether it is a simple English word, with these characteristics: Contains at least one vowel, Doesn’t contain three consecutive vowels or consonants, Vowels ‘e’ and ‘o’ can be repeated twice consecutively, but other vowels can’t. Can it be done using traditional regular expression?!! the question what …

Software Development java
Member Avatar for AhmedGhazey
0
144
Member Avatar for mas51

I am getting myself deeper into trouble on a program I am working on. I strated out with only four errors and am now up to twelve (I am currently learning and working with six languages-c++,html,javascript,PHP,SQL,and c#). I think my languages are running together! This program is from a textbook, …

Software Development c++
Member Avatar for jonsca
0
230
Member Avatar for 47pirates

Is it possible to create a microsoft access database (mdb) file through a java program? and how to register the thus created mdb file to ODBC center? thanx in advance

Software Development java microsoft-access
Member Avatar for mKorbel
0
249
Member Avatar for stefilina

Hy! I want to improve the design of my windows application.I've searched a lot on google but i couldn't find anything good. Can everyone please tell me some web addresses or maybe turorials were I can find stuff about the design of a windows application?Something like a special form for …

Software Development web-design
Member Avatar for stefilina
0
131
Member Avatar for Usmaan

Hi there, As you may or may not know, CPU-Z is a free software which can be downloaded online to help the user understand what components he or she has inside their computer. Components such as CPU, RAM, Chipset and certain helpful aspects of hardware such as RAM speed. I'm …

Software Development
Member Avatar for ddanbe
0
129
Member Avatar for Farhad.idrees

like we clear textbox item txtname.clear().. so how we can bring combo box main item.... i have combo box of date... and text of combo box is "Select Date" after insertin the data i want to bring back "select Date" on combo box.. Hope someone will help me.. Regards.. Farhad

Software Development
Member Avatar for Farhad.idrees
0
177
Member Avatar for jacksparrow01

how wud you write a code that wud convert a string of any input into a cool X formation for example if you had a string "names" how would you write it in the formation: [CODE][I]n n a a m e e s s[/I][/CODE] Or for example if you had …

Software Development python
Member Avatar for jacksparrow01
0
172
Member Avatar for vivekagrawal

I have a search form there is a search textbox for search by name. i want when i type any text onto the textbox then the names shows on listbox. and when i click on any name of list box then all data related to this name fill on textbox, …

Software Development
Member Avatar for vivekagrawal
0
121
Member Avatar for ddanbe

You can get your hands on to usefull information from within your C# program. Use the static System.Environment class! Take a look at this snippet, which can be used as is in a Console application. I have not exhausted all the possibilities, if you want you can look them up …

Software Development
Member Avatar for Usmaan
0
721
Member Avatar for gcclinux

Hello, I am new to this codding stuff and I am only doing it for fun (personal little project) and for learing as I am not programer in any language apart from knowledge in shell scripting :( Anyway after a few weeks looking at examples and searching the net and …

Software Development java java-netbeans shell-scripting
Member Avatar for dononelson
0
157
Member Avatar for Carrots

Hi there, I'm completely new to Java. I am trying to use [I]import[/I] in a project, but despite using what I think is the right code, my application fails to build. When I build my app, it builds and runs fine, but I want to use [I]JFileChooser[/I], so add this …

Software Development ide java java-swing
Member Avatar for Carrots
0
109
Member Avatar for SMITA6076

I have two classes. The first class is called [ICODE]EmployeePayRoll.java[/ICODE] (this compiles fine) and the second is called [ICODE]TestEmployeePayRoll.java[/ICODE] (this does not compile). The trouble I'm having is that I'm trying to pass in methods as parameters when I instantiate my objects in the main method of the test class. …

Software Development java
Member Avatar for SMITA6076
0
302
Member Avatar for MisterSinyster

Create a constructor for the Delivery class that accepts arguments for the year, month, and delivery number within the month, delivery distance code, and weight of the package. The constructor determines the six-digit delivery number and delivery fee. Also include a method that displays every Delivery object field. Save the …

Software Development java java-swing
Member Avatar for dononelson
0
113
Member Avatar for arezz09

i create 2 combobox in form, comboproduct & combomodel. i using accessdatabase and using oledbconnection..database in debug folder... i create 1 table, i name it"stock" & 2 column.. first column is product,second model.. i wont load data in product column into comboproduct and model to combomodel..like binding data.. anyone help …

Software Development vb.net
Member Avatar for arezz09
0
331
Member Avatar for lxXTaCoXxl

I know there are others out there who haven't figured it out yet I figure I'll help out. The code snippet included will over-ride the pre-designed menu highlight. :D Just change the color of the pen or brush to whatever you want the highlight to be. :) All of the …

Software Development
0
3K
Member Avatar for e-papa

It solves quadratic equations, for both real and complex roots. Please answer the pol to let me know how I'm doing. This function just needs the python 3.x environment, no modules needed.

Software Development python
Member Avatar for e-papa
0
4K
Member Avatar for GhostMonkey

Hi, I need some help writing a text file into an array. I've got the text file opening and displaying but its at the bottom of the page instead of where the array is. Would it work if I just set the position to (0,0)? Heres the code for the …

Software Development c++
Member Avatar for GhostMonkey
0
77
Member Avatar for ashrafu1

Hello am trying to do this program as my project.and i was able to fix lots of errors but this few errors i do not know what to do. as my 1st and last semester for programing, am not really good in this subject. i added the errors list hope …

Software Development c++ ios open-source
Member Avatar for ashrafu1
0
202
Member Avatar for ThePythonNoob

(Python code 3.0) I have been trying to make it that when you the number it will loop around, I tried this: If guess==num: #this is randomly generated number ask for yes or no the playagain if answer==yes replay=1 play_guess==0 if replay=1 play=("yes") however this does not work, please could …

Software Development python
Member Avatar for richieking
0
123
Member Avatar for ztdep

Dear friends: I write a vector class "vec" based on the template, i am confused greatly by the "const" keyword appeared at the left most when the = operator is defined. const vec& operator=(const vec & a) Could you please tell me what is the function of this "const". I …

Software Development c++
Member Avatar for mike_2000_17
0
184
Member Avatar for NewOrder

i thought if it was possible to serialize a List into a file on your hard drive and then send it over net with streaming?

Software Development hard-drive streaming-service
Member Avatar for Momerath
0
151
Member Avatar for piscess

[CODE]Protected Sub registerStudButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles registerStudButton.Click If Page.IsValid Then Dim selectedProgram As String() = studProgramDropDownList.SelectedItem.Text.Split(New Char() {" "}) Dim selectedIntake As String = intakeDropDownList.SelectedItem.Text Dim selectedSupervisor As String = supervisorDropDownList.SelectedItem.Text Dim contactNo As String If contactStudTextBox.Text <> "" Then contactNo = contactStudTextBox.Text.Trim Else contactNo …

Software Development vb.net
Member Avatar for piscess
0
121
Member Avatar for ukfreak

Hi, how do i do this:- The dyndns that allows Admin to get result from different location. No need to get the database over from another location, able to view the report and print. Using VB.net and SQL Server 2008

Software Development sql vb.net
Member Avatar for dxider
0
195
Member Avatar for mincuu

i have this assignment to submit tomorrow(friday) and i am having difficulties updating my text files. actually, i have to be able to update the text files by searching and deleting items. please, check the code below.. so far, i am receiving no errors except that the calculation part gives …

Software Development app-store c++ ios
Member Avatar for jonsca
0
300
Member Avatar for triumphost

How do I find a window by partial title.. or if the title contains a certain word.. I was thinking GetWindowText but that requires that I have the handle already.. I was going to enum windows I think that I can search for a window title containing the string.. if …

Software Development c++
Member Avatar for Ancient Dragon
0
282
Member Avatar for Tellalca

Hey there; I'm having trouble with fork() and wait() functions. In the code below I'm trying to create a child process and first let the child process do its work then parent process finish execution. I use wait() function in the parent process but the output shows that child process …

Software Development c++
Member Avatar for Tellalca
0
241
Member Avatar for Mark_48

Hi guys im having a lot of problems trying to code. I have opened a csv file and have read it using strings.I have splitted the strings by the ','. I want to load each of these values into a 2 dimensional array! but im having problems. Ultimatly i want …

Software Development mathematics
Member Avatar for Mark_48
0
157
Member Avatar for Jerix

Hey, I'm trying to write a program right now with the following requirements: 1. Read a CSV file for field ID#. 2. Compare it to a second CSV file for the same ID # 3. If Csv1ID == Csv2ID, write the rows from both files to outputfile. So basically I …

Software Development python
Member Avatar for TrustyTony
0
506
Member Avatar for pseudorandom21

Hello, I'm hoping you can help me make a smart decision. I have some code written in native C++, a full program actually--and I need to use it with C#. The application is, at the moment, very basic. It has a console user interface, and settings need to be changed …

Software Development c c# c++ user-interface
Member Avatar for George Truesdel
0
788
Member Avatar for sureshprg

I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem?

Software Development c c# c++ visual-studio
Member Avatar for ddanbe
0
104
Member Avatar for MisterSinyster

it compiles fine but when i go to run the program the only output is "Cut Shampoo" and the program ends. Any help will be greatly appreciated i need to have this finished soon. Description Create a class for services offered by a hair-styling salon. Data fields include a String …

Software Development java
Member Avatar for mKorbel
0
598
Member Avatar for stereomatching

[code] template<typename anyFunctor = printTxt> //printTxt is somekind of functor void testFunctor() { anyFunctor f; } void testFunctor2() { testFunctor(); } [/code] 1 : if [b]type anyFunctor[/b] need 3 arguments to initialize it, what should I do? Do I have another way to make this become more adaptable except of …

Software Development c++
Member Avatar for stereomatching
0
135
Member Avatar for parijat24

Hi , I have interesting problem as I have a file 'A' which looks like [CODE]>BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]105[/COLOR] 136 [B]Ank[/B] [COLOR="red"]NGCTPLHYAASKDRYEIALMLLENGADPNATD[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]141[/COLOR] 169 [B]Ank [/B] [COLOR="red"]TPLHRASAKGNYRLIQLLLRQSASTNIQD[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]172 [/COLOR] 202 [B]Ank [/B] [COLOR="Red"]GNTPLHLACDEERVEAAKLLVEHGASIYIEN[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"] 40 [/COLOR] 71 …

Software Development python
Member Avatar for TrustyTony
0
196
Member Avatar for a.muqeet khan

[CODE]#include "stdafx.h" #include <iostream> using namespace std; class distance { int feet; float inches; public : distance ():feet(0),inches(0) {}; distance(float in,int ft): feet(ft),inches(in) {}; void getdist() {cout<<"enter the values of feeet and inches "; cin>> feet>>inches;} void showdist() {cout<<"feet= "<<feet<<"\n inches="<<inches;} distance add_dis(distance);}; distance distance::add_dis(distance d2) { distance temp; temp.inches= …

Software Development c++ visual-studio
Member Avatar for a.muqeet khan
0
169
Member Avatar for Arjun_Sarankulu

This is inner for loop I have the collection Arraylist which contain 10 lines And i am performing some operation on that If any line is blank it should for the next line and i m declaring the string in which m taking that line and if(string == "") {break; …

Software Development
Member Avatar for Arjun_Sarankulu
0
123
Member Avatar for sumprit

Sir, i have used two JButtons(Next,Previous) to perform actions. In a JTable, before clicking JButtons there is my 1st result. once i clicked the Next JButton then it show me the 2nd results in a JTable, and again clicking Next, it shows the 3rd result in JTable. Same thing applies …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for fonzi

So, i have to methods in a non main class and i need to figure out how to print both the println in a chart with two columns should look something like this x : y x : y x : y x : y x : y but instead …

Software Development finance java
Member Avatar for fonzi
0
127
Member Avatar for fonzi

so i am working on a assigment for school, and i need help with the java.util.Calendar , i am trying to increment the year of as today by one each index of an array . This functions needs to be inside a toString(). so i need some help i know …

Software Development finance java
Member Avatar for fonzi
0
226

The End.