886 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for matt21mcr

Hello everyone, I am writing this post again because there were ambiguities in the previous one. I need help with this task tomorrow. I will present what I have, what I got from you and ask which code is best to use to perform this task. I will start with …

Software Development c++
Member Avatar for Reverend Jim
0
618
Member Avatar for M_27

I made this game equivalent to tictactoe but with a slight twist called find the X between two players using socket programming with Java. Don't know where I went wrong in trying to find the X but for some odd reason my count variable never updates allowing the victory message …

Software Development java
Member Avatar for JamesCherrill
0
485
Member Avatar for Mariam_9
Member Avatar for vegaseat

Just trying to find out which of these five isprime functions is the fastest.

Software Development python
Member Avatar for paddy3118
1
2K
Member Avatar for Saran_1

I have scoured Stack over flow and the Pandas documentation for a solution to this issue. I am attempting to recursively move through a directory and concatenate all of the headers and their respective row values. Below is what I have so far after much experimentation with other libraries: import …

Software Development file-system python
Member Avatar for m_26
0
18K
Member Avatar for joy_deep

Hello, I am new to Python. I am learning boxsizer. I want to put two buttons on my panel. One at top right corner and one at bottom right corner. How do I achieve this? Thanks

Software Development python
Member Avatar for Jonny_4
0
994
Member Avatar for sofia-net

Hello, help me When you apply the save, an error occurs Dim c As Integer Dim val As String If cmbfeuille.Text = "" Then Exit Sub xlApp.ScreenUpdating = False xlApp.DisplayAlerts = False xlWorkBook = xlApp.Workbooks.Open(chemin) xlWorkSheet = CType(xlWorkBook.Worksheets(cmbfeuille.Text), Excel.Worksheet) For l As Integer = 1 To DataGridView1.RowCount - 1 For …

Software Development vb.net visual-basic
Member Avatar for RobDownUnder
0
405
Member Avatar for henks

first of all, I wanna say hi to u all as I'm new to daniweb. I'm a freshman in a college so I don't know much of c yet. So please be understanding in case that I will ask some n00b question later on :) So this is my problem...first …

Software Development c
Member Avatar for therese_1
0
501
Member Avatar for ddanbe

Wanted to let two forms work together. One form would be the input form and the main form would consume this data. I managed to succeed with the help of a few of my friends here at daniweb., who helped me setup a static form. Just posted a bit of …

Software Development mathematics
Member Avatar for JamesCherrill
1
2K
Member Avatar for pixma

Hi! We are a 4 member group for our thesis and we already have submitted 5 topic proposals yet nothing was accepted...and here are the topics: enrollment system, gadgets on track, employment resource system, subdivision technical entry pass Now, I need a help for new ideas that can be developed …

Software Development vb.net
Member Avatar for Aldrin_1
0
6K
Member Avatar for BirdaoGwra

Hi, I am getting an error while making a vector. frame.h #include <wx/wx.h> class Frame : public wxPanel { public: Frame(wxPanel* parent, int xx, int yy); ~Frame(); private: int x; int y; } frame.cpp #include "frame.h" Frame::Frame(wxPanel* parent, int xx, int yy) :wxPanel(parent) { x = xx; y = yy; …

Software Development c++
0
841
Member Avatar for Kincso

This is a program to get a student mark, as an input from user and print its grade based on the following criteria: if mark>=80 print 'A' if mark between 70-80 print 'B' if mark between 60-70 print 'C' if mark between 50-60 print 'D' if mark < 50 print …

Software Development python
Member Avatar for Reverend Jim
0
634
Member Avatar for Gacso

Hello everyone! I'm sorry to bother you all, but I really need your help. I'm an economy and management student at uni, but somewhy I have to deal with programming. We got a task that looks like this: There's a 5x5 sized field where there are 8-8 disks for both …

Software Development c#
Member Avatar for Reverend Jim
0
341
Member Avatar for zdreggs

Hello, I am trying to understand how to use C-style strings in C++. My goal is to store a C-style strings into a string type array. If I pass "This is a test" into word_token, it displays: This Is A test So from here I believe my setup is almost …

Software Development c++
Member Avatar for rproffitt
0
259
Member Avatar for Satyam_1

Hi, I hv vb.net applivcation. I have following CODE1 to save data & to prevent duplicate data entry into table. The following code I put in button save event. However I want to put this CODE2 in perticluar textbox e.g. here SpecimenNoTextBox. so that when the user enter duplicate SpecimenNo.it …

Software Development vb.net
Member Avatar for kamal_22
0
5K
Member Avatar for trippinz

What happens is when the dialog comes up, if I press cancel it opens "c:\\text.txt" How do i make it so that if i press cancel the program reads nothing (it reads "c:\\text.txt" right now) SaveFileDialog [code] private void button38_Click(object sender, EventArgs e) { string l_text; string l_filename = "c:\\text.txt"; …

Software Development
Member Avatar for JamesCherrill
0
3K
Member Avatar for RudolfRyan

I have this small monitoring system which monitors customers on daily, weekly, and monthly payments. How do i sum all the numeric values in the "type of payment column"? How do i delete the current record selected by the user? IE, i select a name, then hit delete, deletes all …

Software Development
Member Avatar for puppynp
0
2K
Member Avatar for glez_b

I interpolated temperature data observed on an urban area formed by 12 locations. Now i would like to remove all interpolated values that are outside the shapefile layer. How can i do it? The shapefile links: https://www.dropbox.com/s/0u76k3yegvr09sx/LimiteAMG.shp?dl=0 https://www.dropbox.com/s/yxsmm3v2ey3ngsp/LimiteAMG.cpg?dl=0 https://www.dropbox.com/s/yx05n31dfkggbb6/LimiteAMG.dbf?dl=0 https://www.dropbox.com/s/a6nk0xczgjeen2d/LimiteAMG.prj?dl=0 https://www.dropbox.com/s/royw7s51n2f0a6x/LimiteAMG.qpj?dl=0 https://www.dropbox.com/s/7k44dcl1k5891qc/LimiteAMG.shx?dl=0 The Data is: Lat Lon T 0 20.8208 …

Software Development python
Member Avatar for rproffitt
0
1K
Member Avatar for Jeyaa

Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'TextBox1.Text = Token() If Button1.Enabled = True Then Label1.Text = Label1.Text + " A1 " If Button1.BackColor = Color.Yellow Then Button1.BackColor = Color.Red Else Button1.BackColor = Color.Yellow End If Else Label2.Text = "" Label2.Text = True End …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
1K
Member Avatar for oanahmed

Hi! I want to learn programming. I'm 14 years old and very fond of computing. The only problem I face is *Which programming language should I learn?* or should I learn *Programming* i.e I learn the basics of programming so that I will be capable of learning any programming language. …

Software Development
Member Avatar for dianaaadams
2
1K
Member Avatar for kouty

I have a function pointer to calculate addition, substraction, etc for 2 inputed arguments and 1 inputed operation. It works fine when the code return the indexed function pointer (with the inputed index) function pointer with both inputed arguments. but when I initialize a variable with as value this indexed …

Software Development c
Member Avatar for ravss
1
600
Member Avatar for Rohan_12

HI everyone, _SBLOCK *allocateMemBlock(size_t size) [ _SBLOCK *block = (_SBLOCK*)sbrk(0); void *memadr = (void*)sbrk(0); void *allocate_mem = (void*)sbrk(BLOCK_SIZE + size); if(allocate_mem == (void*)-1) [ return NULL; ] else [ block->next = NULL; block->isfree = false; block->size = size; block->memoryAddress = memadr+BLOCK_SIZE; return block; ]

Software Development c++
Member Avatar for ravss
0
2K
Member Avatar for TickleMeElmo

Hey guys, I'm in desparate need of assistance with my A-Level project. I'm writing a Banking system in Python and I'm being told by the idle log that a function hasn't been defined - even though that function is right above it! My Full Code is: #'http://effbot.org/tkinterbook/tkinter-index.htm' <<< Tkinter Tutorials …

Software Development python
Member Avatar for woooee
0
1K
Member Avatar for dseto200

Listed below is the original word jumble python program. According to the exercise i'm supposed to add hints see next thread on my modified program however it doesn't work correctly. [code=python] # Word Jumble # # The computer picks a random word then "jumbles" it # The player has to …

Software Development python
Member Avatar for Akash_22
1
7K
Member Avatar for Joshua Louiz

how to select an item in the combobox and then put item quantity in the textbox. and how to price the combobox items. Really need help .. Next week is my system defense.. Thank you

Software Development vb.net
Member Avatar for Reverend Jim
0
1K
Member Avatar for Vrunda_1

Create a Project name Banking which will have the following classes with the given instance variables and the methods Create a class Account with first name , last name, address , phone number, balance (instance variables) Withdrawal and deposit methods Create checking account class extending the account class, Having additional …

Software Development java
Member Avatar for Reverend Jim
0
306
Member Avatar for Depression1

Hi, I've been having issues with my program where I make the rocket do what its supposed to do when it comes to outputting a filled and hollow rocket body depending on either a odd or even value. The only problem I am currently having is duplicating the body length …

Software Development
Member Avatar for rproffitt
1
945
Member Avatar for Violet_82

Hi all, I have an application which saves data (books details like book title, author and location) to a mySql db and performs CRUD operations. I thought I'd use hibernate to take care of the ORM side of things and everything was OK when it came to create a record, …

Software Development java
0
927
Member Avatar for Blink383

My problem is setting the size of the JButton. I want it to be a little button centered below the "Hello World" JLabel field (as it is now it spans the full width of the JFrame). I am unsure what is causing the setPreferredsize to be ignored. I am an …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for Saboor880

Hi! I have made a POS Sotware. I have used only one JFrame as Main/Home Screen of the software and used JDialogs for all other screens. In this post I have concern with the 2 screens; Home Screen(which is a Jframe) and Sales Screen(which is a JDialog). As Home Screen …

Software Development java
Member Avatar for JamesCherrill
0
1K

The End.