132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for napninjanx

I bought this eBook called Programming Python O'Reilly 4th Edition 2010 And people told me to start out with Python instead of C, cause C Is for experiance users, at the moment I have no knowelege In programming, only know the basics :)

Software Development python
Member Avatar for vegaseat
0
180
Member Avatar for selwyne

Hi there, I have created a vb.net application. Every time i open any of the reports for the first time on only some of the computers then it says Logon Failed. Please try again. When i then open the report again it opens fine! The report however opens first time …

Software Development vb.net
Member Avatar for Dili1234
0
223
Member Avatar for siddiquedu

Sir, I have 2 column having so many points. In the 2nd column there r 3 highest peak points like(6,4 and3) bellow 6 5 5 4 4 4 3 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 2 3 4 5 6 …

Software Development c++
Member Avatar for siddiquedu
0
299
Member Avatar for uzziel

Write a program that asks the user to enter the number of Research projects done by 10 different students (Student 1, Student 2, ..., Student 10). Once the data has been entered the program must analyze the data and output the student who did the most Research projects

Software Development c++
Member Avatar for new_developer
0
339
Member Avatar for javanoob101

Hello everyone, I am using a timer to control the speed of the monsters in my game, however I can't change the delay of the timer because i'm using Timer animation = new Timer (speed, this); to make a timer... How can I change the speed (speed is an int …

Software Development java
Member Avatar for javanoob101
0
284
Member Avatar for game4tress

I'm trying to place a texture in a 3d object, using Visual Basic and WPF, but I'm not being able to do it. If instead of an image I render a blue square, by replacing the line mymodel3dgroup.Children.Add(New GeometryModel3D(mymesh, df)) for mymodel3dgroup.Children.Add(New GeometryModel3D(mymesh, New DiffuseMaterial(Brushes.Blue))) then I get a blue …

Software Development asp.net vb.net visual-basic
Member Avatar for Begginnerdev
0
621
Member Avatar for kindofsudden

Seems like this should be simple. I am binding comboboxes successfully to my Access DB. It looks like this: Dim da As New OleDbDataAdapter(asql, con) Dim ds As New DataSet da.Fill(ds) cboEmployeeNumber.ValueMember = "ID" cboEmployeeNumber.DataSource = ds.Tables(0) cboEmployeeNumber.SelectedIndex = 0 Works great. Then I try to bind a text box …

Software Development dataset vb.net
Member Avatar for Begginnerdev
0
215
Member Avatar for Start4me

Hello. I'm quite new to Java, but I've worked on Graphics before. I have a couple of questions which are: I want to make a night sky in Java with stars which randomly switch to big stars from small and back, repeating for a set time. I also want the …

Software Development image java
Member Avatar for JamesCherrill
0
381
Member Avatar for Cwww

Hello, i have create a human tree, the only remains is to get the codes in Huffman tree (0-Left, 1-Right) How i can traverse the tree and for every letter-weight in tree to get the path of 0101 How my code works ***1st Part - Nodes Initialisation*** - Create Tree …

Software Development c
Member Avatar for Cwww
0
278
Member Avatar for FaisalSarfraz

Hi all I am new to java programming. I need a litte helop. I want to take some results from database so i am trying to connect to database. I have dowloaded jdbcmysql connector but having no idea how to add it in eclipse or jre. Plus i am having …

Software Development ide java mysql
Member Avatar for jwenting
0
354
Member Avatar for dragonofspam

I need some help figuring out where I have gone wrong on my program. It is a classic classroom program, where the program creates a random number and gives high, low response untill the user enters the correct number. I have the GUI working and I know the action to …

Software Development gaming java java-swing
Member Avatar for stultuske
0
328
Member Avatar for amvx86

This may sound like a crazy request. However, anyone from the vb 6.0 days will know what I'm talking about. Remember how the editor had the +/- signs that you can hide the code but it would be as follows: public sub this () End sub and clicking the + …

Software Development vb.net
Member Avatar for amvx86
0
155
Member Avatar for LeNenne

I have tried some but it will not work as I will If I press the X button on titel bar then I will it goes to cmdquit where I have to choose vbyes or vbno. The tests I haave done just quit the program at once without any chance …

Software Development visual-basic
Member Avatar for rishif2
0
444
Member Avatar for Briki
Member Avatar for Schol-R-LEA
0
127
Member Avatar for sujanthi.kumari

# include <iostream.h> # include <conio.h> int main() { float income=0; int tax=0; float r1=0.0; float r2=0.1; float r3=0.2; float r4=0.3; float r5=0.4; float r6=0.5; cout<<"Enter income:"; cin>>income; if(income>=100,001) tax=income*r6; else if(income<=100,000 && income >=70,001) tax=income*r5; else if(income>=70,000 && income >=50,001) tax=income*r4; else if(income>=50,000 && income >=30,001) tax=income*r3; else if(income>=30,000 …

Software Development c++
Member Avatar for new_developer
0
183
Member Avatar for jt1250champ

I need help reading lines from text files. I have been trying to read the first line just using getline(stream,line) assuming that my text file starts on the first line. This line of the text file is supposed to tell you how many lines there are so the next step …

Software Development c++ file-stream
Member Avatar for new_developer
0
847
Member Avatar for douwe1971

Hi * I'm trying to make a program that converts a vertical list to a horizontal one which works. But am trying to build in check for some correct user input an I get an Indentation error File ".\dairymaster.py", line 19 pn_test = check_input('1', '2') ^ IndentationError: expected an indented …

Software Development python
Member Avatar for douwe1971
0
192
Member Avatar for soche123

the program exites as soon as it reaches the end but I want it to ask the user if they want to exit or continue again?

Software Development c++
Member Avatar for new_developer
0
235
Member Avatar for napninjanx

I have been reading this eBook called C Programming for the Absolute Beginner, Second Edition. I'm starting to get the hang of the logic at the moment Something just struck my mind. If a person wanted to build a program for photo editing. Kept It simple and basic only for …

Software Development
Member Avatar for Schol-R-LEA
0
323
Member Avatar for Venkat SM

Can anyone tell me about [COLOR="Red"]how to create my own format[/COLOR] like .azw(kindle device format),.mobi,.epub etc..Is it possible to create it using java? if yes then what are the steps to do that? I am doing project for e-publishing company they need one own proprietary format like the above formats …

Software Development java publishing
Member Avatar for peter_budo
0
2K
Member Avatar for chichi005

Could someone help me with this? ins.CommandText = " INSERT INTO CoupleTbl (acntId, kasal, spouseName) " & "SELECT (acntId, " & dtpMarriage.Value & " , '" & txtSpouseName.Text & "') FROM AccountsTbl INNER JOIN " & "CoupleTbl ON AccountsTbl.acntId = CoupleTbl.acntId);" ins.CommandType = CommandType.Text ins.Connection = con ins.ExecuteNonQuery() MsgBox("Record Inserted") …

Software Development vb.net
Member Avatar for Reverend Jim
0
328
Member Avatar for Doze_4u

I'm a little confused with an assignment here and i just needed someone to point me in the right direction. Design an inventory class that stores the following members: serialNum : An integer that holds a part’s serial number. manufactDate : A member that holds the date the part was …

Software Development c++ queue
Member Avatar for joshua.klaser
0
351
Member Avatar for Bill the Cat

I am trying to make an application for deploying to all our workstations at work. I am using VB.NET to create a Windows application. What I need to have done is for the app to open up and display the IP address, MAC address and computer name in text boxes. …

Software Development display dns vb.net
Member Avatar for ad48
0
4K
Member Avatar for manaila

I have a Java web application, which executes cmd command to load remote desktop window. Now I want everyone to load the remote resktop window from their pc through that web app. The problem is remote desktop window is loaded in the server NOT from the PC of the person …

Software Development java
Member Avatar for jwenting
0
211
Member Avatar for wolf29

I want to copy rows 3-5 to a new csv file. I can get the following code to copy the whole file to the new file but the only detail I have found about grabbing arbitrary rows consists of piecing array index numbers like in line 4 below. This may …

Software Development file-system python
Member Avatar for wolf29
0
17K
Member Avatar for MasterHacker110

When ever I try to run my project I get this error: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error MSB4018: The "Aapt" task failed unexpectedly. System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Xamarin.Android.Tasks.BuildToolsUtils.GetBuildToolsPath(String androidSdkDirectory) at Xamarin.Android.Tasks.Aapt.GenerateFullPathToTool() at Microsoft.Build.Utilities.ToolTask.ComputePathToTool() at Microsoft.Build.Utilities.ToolTask.Execute() at Xamarin.Android.Tasks.Aapt.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() (MSB4018) (test) And I dont …

Software Development android android-development xamarin
Member Avatar for MasterHacker110
0
303
Member Avatar for jtjudge

this is the error I am gtting. webide@raspberrypi /usr/share/adafruit/webide/repositories/my-pi-projects/temp4 $ sudo python temp4.py 86/1023 => 0.277 V => 27.7 °C 86/1023 => 0.277 V => 81.9 °F Traceback (most recent call last): File "temp4.py", line 55, in <module> display_temp() File "temp4.py", line 25, in display_temp temp = int(temperaturef [0]) # …

Software Development python raspberry-pi
Member Avatar for jtjudge
0
216
Member Avatar for Papa_Don

Hello Group! I've looked around to see if there is specific code in VB.net to do this, but I haven't seen any. I'm using ListView/Detail and want to ensure that it is sorted ascending by one specific column. That column is called "hdrLineNo". I know that I can choose "Sorting …

Software Development listview vb.net
Member Avatar for Jx_Man
0
8K
Member Avatar for sriramtashua

Hi there Daniweb! I have an assignment, but i am unfortunately stuck with one particular part of my assignment. Namely, as the title says, i need to sort an array of objects. Basically I have a HairSalon class with properties, Name, Time, and Price I then have a SortSalon Class …

Software Development java
Member Avatar for stultuske
0
199
Member Avatar for joshua.klaser

Essentially I have two header files, one called 'ACYDTypes.h' that contains the classes for the basic types of this system and the other called 'Settings.h' that contains function for general settings. In the Settings.h file, there is a namespace called 'Ac_Type_Settings', and within that is a class called 'AcTypeSettings'. This …

Software Development c++ oop
Member Avatar for joshua.klaser
0
232
Member Avatar for schroaus

Recently, I programmed a game in visual basic for my brothers birthday. I was planning on sending it to him through our schools email (other email sites are blocked) and when I tried to send the application my email was stopped with a mesages saying that I am not aloud …

Software Development vb.net visual-basic
Member Avatar for Mr.M
0
213
Member Avatar for MasterHacker110

I would like to start using the new fetures of c++0x like the constexpr. I currently have visual studio 2010 express c++ and I was wondering if there is a way to update the compiler but still use the same GUI? Oh and if anyone know how to permanantly disable …

Software Development c++ gui visual-studio
Member Avatar for MasterHacker110
0
350
Member Avatar for perrytje

Hello! I'm trying to code a C# server for flash apps, and I'm currently working on a broadcast function. When flash clients connect to the server they are added to the connClients list (List<TcpClient>), and with the following function I send the stuff to my flash apps: [CODE] public void …

Software Development client-server flash tcp-udp
Member Avatar for Ketsuekiame
0
632
Member Avatar for game06

trying to write 2d snake game in java just for fun. i have tile map as 2d array. the problem is that its is not drawing player in level 2d loop. let me know if there is better way to do this. only thing i have to use 2d array …

Software Development java
Member Avatar for sirlink99
0
1K
Member Avatar for soche123
Member Avatar for soche123

could you please tell me what is the logic behind different variations of priniting stars e.g **** ** * what loop will determine how many coloumns and rows are to be printed and how? Thank you very much!

Software Development c++
Member Avatar for Captain119
0
116
Member Avatar for matthewdiet

Im using Visual Studio Express 2010 My code TextBox1.Text=Int((Random)1-7) .............. What I basically want is it to give a random number from 1-7. I know im somehow close

Software Development vb.net visual-studio
Member Avatar for Reverend Jim
0
215
Member Avatar for Neokyuubi

Hello everyone. How can I get information from Active Directory by Printer name ? I have a list of IP addresses, i use 'System.Net.information.Dns' to get the printer name, there are 35 printers in all. I will use this Link to get propreties name , but i don't know how …

Software Development dns printer vb.net
Member Avatar for Neokyuubi
0
179
Member Avatar for rajesrmbioinfo

i was trying to create csv file by appending variables using print function what's wrong with this code why this prints ","."$j" to a new line **code is here - ** while( $i < 1000 ){ $j = 1; while( $mean_data_sorted[$i] == $mean_data_sorted[$i+1] ){ $i++; $j++; } open( nofile, '>>', …

Software Development perl
Member Avatar for 2teez
0
171
Member Avatar for soche123

sum=0; while(count<20) cin>>num; sum=sum+num; count++; I did made this one but I think it's wrong..can you help out guys? #include <iostream> #include <conio.h> using namespace std; int main() { int sum,num,count; count=0; while (count<20) { cout<<"cin num"<<endl; cin>>num; sum=sum+num; count++; } cout<<"sum="<<sum<<endl; getch(); return 0; }

Software Development c++
Member Avatar for soche123
0
2K
Member Avatar for harrybo

<p> I have a problem where I deleted a blank code page where it had nothing on it and after I deleted it an error came up when I wanted to debug my project and then it told me that there was build errors. Would be nice to have a …

Software Development vb.net visual-basic
Member Avatar for harrybo
0
100
Member Avatar for mintcrops

I'm using netbeans IDE and I created a Jframe with two Jpanels one is for Jbuttons and other one is for load another Jpanels to it when clicks those buttons. I tried to do it from buttonclick action. Jpanel2 j2=new Jpanel2(); JPanel1.add(j2); j2.setVisible(True); but this code is not working. I …

Software Development gui java user-interface
Member Avatar for mKorbel
0
345
Member Avatar for pwolf

i seem to get stuck a lot but... I want to have a method displayData() that when called will change richtTextBox.Text to a string value I have. But I don't know how to access the richt text box from within my method. I tried changing it to public using its …

Software Development
Member Avatar for tinstaafl
0
246
Member Avatar for UKnod

I am having a little difficulty witht he syntax of a lookup using access DB here is the code: "SELECT * FROM tblContacts WHERE ContactID IN (353,1520,2031); Order by ContactID" It works find without the order and I have tried without the ; or with the ; at the end, …

Software Development sql vb.net
Member Avatar for pritaeas
0
130
Member Avatar for mat0pad

So I'm making a IOS game and when I try testing my game in xcode simulator I get these errors below. Anyone have an idea what's wrong. Btw the behaivor is for unlocking new levels if actor collides with an object: Error in line 49: invalid operands of types 'objc_object*' …

Software Development c++ ide ios ipad iphone
Member Avatar for Labdabeta
0
379
Member Avatar for Lee Stone

What would be the best way to initialize a Multiple array (1,2,3) within an array (1,2,3) within an array(1,2,3)?

Software Development c++
Member Avatar for Lee Stone
0
342
Member Avatar for harsha_123

01. I'm working on a school java project using Netbeans IDE. 02. I need to display IReport in a JPanel Placed inside a JFrame with a button Click. 03. To Create the IReport I used ReportView Class downloaded from the Internet & in the button click Event I have following …

Software Development display ide java java-netbeans
Member Avatar for mintcrops
0
331
Member Avatar for silentdragoon

Can someone point me towards a dead basic, complete example of a hash table utilising chaining? I've got a working hash function, I am just getting really frustrated with not understanding what I don't understand with the setting up of the hash table. All the examples on the web I've …

Software Development c data-structure linked-list
Member Avatar for arshdeepkaur
0
674
Member Avatar for soche123

Write a program that counts words, characters, uppercase letters, lowercase letters, digits and special characters in a phrase

Software Development c++
Member Avatar for new_developer
0
183
Member Avatar for dreamcode2412

I have some problem with image processing (24-color bmp and 8-bit grayscale). I have read a *.bmp file. Can anyone help to rotate and flip bitmap image(using C++, without openCV library)? Thanks.

Software Development c++ image
Member Avatar for DeanMSands3
0
445

The End.