132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Taras20

Hi everyone, I need to use integer that is typed into textbox to do some math functions. here is what i have: Private Sub btnDivide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click dim x as integer dim y as integer dim tbox as integer tbox = (Textbox1.Text) x …

Software Development vb.net
Member Avatar for TnTinMN
0
585
Member Avatar for waqas.zafar.125

hey guys ! i am working on a card game .. so far i have printed the cards and then shuffled them .. Now it says that Each player has a stack of cards. At the beginning of the game before dealing, this stack is empty. When dealing the cards, …

Software Development c++
Member Avatar for Agni
0
169
Member Avatar for Frensi

Whenever I try to run this nothing happens. Does anyone know what's wrong? package hobbits; public class Hobbits { String name; public static void main(String[] args) { Hobbits []h = new Hobbits[3]; int z = 0; int x = 0; while (z < 4){ h[z] = new Hobbits(); if (z …

Software Development java
Member Avatar for thepastimer
0
201
Member Avatar for otengkwaku

Hi guys i know that in linux you create a c file and use make or gcc or clang to compile it and then run it. My question is how do you run a c file or c++ file in vs2012 with out creating a solution. Also how do you …

Software Development c c++ visual-studio
Member Avatar for otengkwaku
0
336
Member Avatar for BWASS

I want to read a datafile which consits of 5 coloums and 4 rows, which consists of numbers seperated by commas. The first line of the data file looks like this: 103343, 24, 55, 24,12. I have started my program by allowing to input the file in my program, however …

Software Development c file-system operating-system
Member Avatar for deceptikon
0
106
Member Avatar for Sammys.Man

Hi Guys, wondered if someone could help please? in my customer form i have managed to pull in the data from the table to the right txtboxes, and i can move forwards and backwards ("happy days") but now im trying to update a record, this one has seem to thrown …

Software Development open-source vb.net
Member Avatar for Sammys.Man
0
257
Member Avatar for rwe0

I installed the new **pillow 2.0** on windows 7 python 3.3 using one of the installers with no problems. Apparently that installer provides the jpeg support necessary for Vegaseat's program (link below). However, I am having some kind of trouble getting the jpeg support to work on Ubuntu. After my …

Software Development python tkinter ubuntu
Member Avatar for vegaseat
0
847
Member Avatar for mkweska

Hello all...this is stumping me...it keeps returning a repetition of num ten times rather than multplying by 10...Which way can I fix this? def main(): num = input('Please enter a number: ') print(times_ten(num)) def times_ten(num): return 10 * num main() Thanks!!!

Software Development python
Member Avatar for vegaseat
0
303
Member Avatar for bobrown101

Hey guys, I'm making a hangman project just for fun, and i was wondering if you could help me. * I have 5 classes * class 1- main (basically controlls everything except recognizing where the letters are located in the word and printing the hangman picture) * class 2- char_array …

Software Development java
Member Avatar for somjit{}
0
430
Member Avatar for Subomi

Hey, please how can i logically sort for numbers in a list list = [10, 5, 2, 7, 20] without the sort() using only if statements and for loops and no while loop.

Software Development python
Member Avatar for vegaseat
0
294
Member Avatar for yazz110

Ok so I'm using a buffered reader to read a file and it works alright but my problem is I have integers in this file I have to find and place into an array and I don't know how to do this(feel so stupid). I'm trying to work on a …

Software Development java
Member Avatar for yazz110
0
286
Member Avatar for Ismatus3

Hello , the problem i'm facing is how to insert a cliquable image in a frame , i show the code : def InterfaceDeps(): global interf0 interf0 = Toplevel() interf0.geometry("500x400") interf0.title(' Test Data') f1 = Frame(interf0, bg="blue", width=500, height=500) f1.pack( fill=X, expand=0) ####### Image ############# imageinfo = Image.open("C:/Documents and Settings/Administrateur/Bureau/Python_tests/nvprojet/Info1.jpg") …

Software Development image python tkinter
Member Avatar for Ismatus3
0
6K
Member Avatar for prateek29chandra

hi guys. i hve a database name event. i hve a studentaccount table and faculty account table. studentaccount table has id,vstudentname columns and faculty account has id,vfacultyname columns. i want to add both table ids to combobox. how can i acheive that. i hve successfully managed to do it for …

Software Development open-source
Member Avatar for prateek29chandra
0
249
Member Avatar for Allorango

how to decrypt dll?? i have asdecr.dll file how to decrypt this dll?? please explain in detail

Software Development c++
Member Avatar for Nutster
0
427
Member Avatar for pheonixkid

Sorry for my poor english as i'm not a native english speaker and writer, but i have written a code which calculates big numbers, adding subtracting and multiplying. when multiplying, adding and subracting numbers, it works, but when i try adding 0 to 0 or subtracting 0 to 0 or …

Software Development java
Member Avatar for pheonixkid
0
280
Member Avatar for Tinnin

Hi All, I'm taking a different approach to importing the csv to access and trying to import the csv to the dataset. I've found the following code but it's giving me an error Dim fileToOpen As String Dim da As New OleDbDataAdapter() Dim ds As New DataSet() fileToOpen = ImportFiles.SelectedItem …

Member Avatar for Tinnin
0
239
Member Avatar for tony75

Hi Im working with the old exercise in python and I need help please. The goal of this exercise is to extract information and statistical data from a log file. You can use the logfile generated by the linux kernel. You should write a python code which gives the following …

Software Development linux-kernel python
Member Avatar for tony75
0
138
Member Avatar for blagovest.tdorov

Hello, hud_draw "1" hud_fastswitch "1" hud_saytext_internal "1" hud_takesshots "0" joystick "0" lookspring "0" lookstrafe "0.000000" m_filter "0" m_forward "1" m_pitch "0.022" m_side "0.8" name "name" m_yaw "0.022" model "gordon" MP3FadeTime "2.0" MP3Volume "0.620000" mp_decals "300" setinfo _bxc "whatever" net_graph "3" I need to select only `name` and `setinfo _bxc` and …

Software Development vb.net
Member Avatar for Begginnerdev
0
338
Member Avatar for Tinnin

Hi All, I'm trying to import the contents of a csv file to an access database. I have a database named myDatabase with a table named myTable. It has columns A-E say. I have a csv file with headings in the first row which are called say S-Z. I want …

Member Avatar for deceptikon
0
964
Member Avatar for riahc3

Hello Im trying to send a HTML email but I want to encrust into the HTML a image without it being a attachment. The content of the email is pure HTML so in order to do img src it needs to be a live link AFAIK. If it can be …

Software Development email html-css image java
Member Avatar for riahc3
0
162
Member Avatar for dinesh012

con1.Open() Dim com2 As New OleDb.OleDbCommand("insert into Department(DNo,DName,Manager,AddressL1,AddressL2,City,Telephone,E-mail)values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "')", con1) com2.ExecuteNonQuery() MessageBox.Show("Succsessfuly Inserted", "Insert", MessageBoxButtons.OK) con1.Close() Me.Hide() Form2.Show() it …

Software Development vb.net
Member Avatar for annaharris
0
139
Member Avatar for toldav

Hi, I'm having issues with driver class is giving me issues. The code needs 2 for loops requirement. The driver class will create an array of 3 CircusClown objects. Use a loop to get user input for your 3 objects. Use a loop to print the toString() method of your …

Software Development java
Member Avatar for toldav
0
278
Member Avatar for Learningvinit

When we pass arg which is of type va_list as a parameter to a different function which calls vsprintf and vfprint giving one of the parameter as args, It gives core dump. But when we make a copy (i.e va_copy) and pass copy to one of vsprintf or vfprintf and …

Software Development c
Member Avatar for L7Sqr
0
541
Member Avatar for shawn.main.7

#include "stdafx.h" #include <iostream> using namespace std; int getScore(int& score); int calculateGrade(int score); int _tmain() { int courseScore; cout << " Line 1: Based on the course score" << " this program computes the " << "course grade." << endl; getScore(courseScore); int calculateGrade(courseScore); system ("pause"); return 0; } int getScore(int& …

Software Development c++
Member Avatar for deltascrow
0
636
Member Avatar for Acidburn

Hello, It's been a long time since I've done some polymorhpic programming and nowI'm struggling to get my head round it again Here's what I've got... an interface public interface INote { string note { get; set; } } I've 2 options dervived from this public class Disclipinary : INote …

Software Development
Member Avatar for Acidburn
0
104
Member Avatar for inaxassan

I need help with implementing grow and shrink Here is the actually instructions---> •grow(). This method, when called, will “grow” arrayStack by utilizing the strategy outlined in 2 above. This method will only be called by push(). Note that grow() should be private. •shrink(). This method, when called, will shrink …

Software Development java
Member Avatar for JamesCherrill
0
184
Member Avatar for istore221

Okey pros i have a small question.assume that below sinario where i have a Two tables called Organizatioin and Organization_Members (One organization can have many members 1 to Meny) **Organizatioin** Organization_ID - PK Organization_Name Tel **Organization_Members** Member_ID - PK Organization_ID - FK First_Name Last_Name Tel I recently developed a system …

Software Development c#
Member Avatar for Ketsuekiame
0
210
Member Avatar for compulove

Hello, I am trying to implement the repository pattern with my tests so that I can save and review all test information at a later point. So far I have a shell of what I need to do but as of now I am stuck on where to go from …

Software Development
Member Avatar for Ketsuekiame
0
438
Member Avatar for Shania_01

Hello, i'm trying to add some values in the database (ms access) but i am having the following error: Error:java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Can somebody help? Here is my code: package db_con; import java.sql.*; /* * To change this template, …

Member Avatar for jwenting
0
346
Member Avatar for jithinjohny

which is better for a noob programmer ? netbeans or jcreator? or any other ? please help me thanks in advance

Software Development java
Member Avatar for jwenting
0
1K
Member Avatar for ambar_bs

Hi, I want to retrieve the full WSDL file content, i.e. the XML content preferably as a string. The input will be the URL of the WSDL. If anyone has got any idea then please do reply. - Thanks Ambar

Software Development xml
Member Avatar for pitic
0
189
Member Avatar for dasdgfds

Hi I am trying to create a GUI game where you slide your player to obsticals in order to get to the middle. The basic assignment rules are as follows The world should be represented using a 5 x 5 grid. Empty spaces, obstacles, the destination, and the player should …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
365
Member Avatar for prateek29chandra

hi everyone i need some help. am using visual studio 2008 with sql server 2005. i have a table name "mca1sub1" nd its fields are "cStudentCode,vassignmentI,vassignmentII,Internal,Total". now in my project whenever a faculty adds a new student thn "cstudentcode" in table "mca1sub1" is automatically updated . i have left all …

Software Development visual-studio
Member Avatar for cyberdaemon
0
146
Member Avatar for prateek29chandra

Table name is Chatting. stored procedure name is chat. problem is i cn see confirmation msg tht the message has been sent but i cnt see that data into the table. what am i doing wrong. /*** table chatting USE [Event] GO /****** Object: Table [dbo].[Chatting] Script Date: 04/03/2013 23:53:29 …

Software Development open-source
Member Avatar for cyberdaemon
0
188
Member Avatar for HankReardon

Hello, Would someone be willing to take a look at this segment of code? I am trying to figure out how this segment of code operates. I can see how the program can evaluate a simple prefix statement like + 7 6. I cannot see how the program can solve …

Software Development java
Member Avatar for HankReardon
0
266
Member Avatar for hbhatti18

This is what I am required to do using basic java programning, I am very new to this and was wondering if someone could help me out from what I have read in my book I am suppose to use if else and decision statements. What O dont understand is …

Software Development java
Member Avatar for thanatos2
0
1K
Member Avatar for digrev01

i am pretty new to java i wrote this code but setText doesnt work i mean i cant reset the contol after type a value .what is wrong friends [CODE] private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) { String gelen=jTextField1.getText(); Random rnd=new Random(); int secilen=new Integer(rnd.nextInt(3)); if(Integer.parseInt(gelen)>secilen){ jOptionPane2.setBackground(Color.GREEN); jOptionPane2.setMessage("Girdiğiniz sayı "+gelen +"\n Benim …

Software Development java java-swing
Member Avatar for stultuske
0
133
Member Avatar for mczupryniak

Hi everyone I have windows form application connected to mysql database. To menage this base I use mysql.net connector. After I make some changes in datatable in my app, I use rowChanged handler to store changes in mysql. Here is code I use in handler: cmdBuilder = New MySqlCommandBuilder(dataAdapter) dataAdapter.Update(datatable) …

Software Development app-store mysql vb.net
Member Avatar for mczupryniak
0
571
Member Avatar for boshu

Hi, I am trying to write a small shell script that will take user input on SVN branch and validate that the requested branch exists in SVN. And then continue with other operations if the branch is valid. I tried the following but seems its not working right: VALID_BRANCHES="4.2.1 4.1.0 …

Software Development shell-scripting
Member Avatar for Watael
0
268
Member Avatar for xXghostXx

I made that small project that contains this small database and I want to know how I can get data form this small database using the primary key (Student ID) [here is screenshot for my database table ](http://www.4shared.com/photo/8bS4gVZ9/Capture.html?) [and here is screenshot for the find form ](http://www.4shared.com/photo/ICP8DUKZ/Capture1.html?) anyone can point …

Software Development vb.net
Member Avatar for Reverend Jim
0
189
Member Avatar for Sammys.Man

Hi Guys, wondering if someone could help me please, this is probably easy for most, but im a beginner :) i want to make an array from my dataset dataset is from (tbl_Employees) i want the array to hold 3 columns/items = item 1 (Username), item 2 (password) item 3 …

Software Development dataset vb.net
Member Avatar for Sammys.Man
0
130
Member Avatar for malloju

i am posting the code below.... please tell me where the error is ..... i am new to codeblocks.... the error comes at swt and iswt function as undefined referrence........ #include <iostream> #include <fstream> #include "wavelet2d.h" #include <vector> #include <string> #include <cmath> using namespace std; int main() { cout << …

Software Development c++
Member Avatar for Moschops
0
145
Member Avatar for Fix_It

Does KeBugCheck only work in a driver ? Andy [code] start: xor eax,eax or esi, 300h add eax, 220h nop cmp [eax], esi pop esi pop ebx jnz short done xor ecx, ecx push ecx ; BugCheckParameter4 push ecx ; BugCheckParameter3 push ecx ; BugCheckParameter2 push ecx ; BugCheckParameter1 push …

Software Development assembly
Member Avatar for Fix_It
0
129
Member Avatar for tricket_7

I am supposed to create a binary tree using strings typed in by the user, to build a balanced tree using recursion. When I type in letters: A, B, C, D, E, F and the output is set up for preorder output, what I am getting is:A B D F …

Software Development java
Member Avatar for tricket_7
0
9K
Member Avatar for ellosbibu

https://www.dropbox.com/s/twtl38huxeeetsx/ProgettoApachePoi.rar in this link there is my project, i create a java text editor for open docx documents. the text editor should do the basics functions of a text editor, as copy, paste , select all, delete, exit, new, open , save and save as. i tested the code and …

Software Development java
Member Avatar for deltascrow
0
521
Member Avatar for notacoop

Hello I watched lots of tutorials but i can't find what i need. I have two fields `textbox1` and `textbox2` and 1 button `button1` WHen button button1 is pressed request is send to mysite.com/user.php?user=`textbox1`&password=`textbox2` ( i have the php code) and if the response is `exist` new form to be …

Software Development php vb.net
Member Avatar for deceptikon
0
132
Member Avatar for Naruse

Hi I want to get pixel value from picture. Anyone know how to do this? Regard

Software Development image visual-basic
Member Avatar for Jx_Man
0
1K
Member Avatar for tomz6

What is the most efficient way to read a bit at a particular position in a byte?

Software Development c++
Member Avatar for RonalBertogi
0
255
Member Avatar for tubzz

Declare an integer variable size of 10 elements, input the elements. find the sum of the elements. display the elements. display sum using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int size, sum = 0; Console.WriteLine("input 10 elements"); size=Convert.ToInt32(Console.ReadLine()); …

Software Development
Member Avatar for Ketsuekiame
0
315
Member Avatar for dreday92

For some reason I keep getting the errors: "cop4530::BST<int>::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: "cop4530::BST<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::buildFromInputString(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)", referenced from: Im positive that it has to do with something with the function that that begins at line 114, please help.

Software Development c++
Member Avatar for RonalBertogi
0
283

The End.