132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Suzie999

I've been using [DB Browser for SQLite](http://sourceforge.net/projects/sqlitebrowser/) to peer inside database for debugging. It's been very good and simple to use. However it does not support a DB which has a password. It is fine with DB that I do not have password. Wondering if anyone knows of a db …

Software Development peer-to-peer sqlite
Member Avatar for Suzie999
0
701
Member Avatar for lapo3399

I'm new to Python, and as I was coding for Project Euler to develop my skills in this language, I needed a function for converting between two bases. I know that int() can convert anything to base 10, but before I looked for a Python module concerning this math, I …

Software Development python
Member Avatar for vegaseat
0
2K
Member Avatar for tony75

Hi I have this key How can I add \x between two number of hex as you see in my example. f0cbf260e0ca8ec2431089fb393a1c29513aaaa5847d13e8be84760968e64dc6 Change to “\xf0\xcb\xf2\x60\xe0\xca\x8e\xc2\x43\x10\x89\xfb\x39\x3a\x1c\x29\x51\x3a\xaa\xa5\x84\x7d\x13\xe8\xbe\x84\x76\x09\x68\xe6\x4d\xc6” I appreciate your help

Software Development python
Member Avatar for EMERSON_1
0
10K
Member Avatar for MustafaScript
Member Avatar for EMERSON_1
0
440
Member Avatar for ramkishor

how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me..

Software Development
Member Avatar for ramkishor
0
697
Member Avatar for Pobunjenik

Hi, so I've got this multithreaded server which correctly waits for clients and assigns them to a worker thread. From there, the client is sent an object `Packet` which contains variables `Player` and `Round` (simplified, it contains more data but these are the most important). I'm building a simple top …

Software Development client-server java socket-programming
Member Avatar for JamesCherrill
0
439
Member Avatar for sk8ergirl

this is my background http://s13.postimg.org/6zejiqc87/1429994667798.png in current code user can move sprite to any location, but I want the user to only move sprite to specific location. I have one Sprite (s1) I want to move it to specific position as you can see my background have line and dots …

Software Development objective-c
0
149
Member Avatar for kearradcrs

Use an array to store the grades. Use a looping structure to populate the array. Calculate the numeric average based upon the 4 equally-weighted numeric grades. Display each of the 4 numeric grades from the array on the screen using a looping structure. Display the numeric average. Create a function …

Software Development c++
Member Avatar for David W
0
195
Member Avatar for Hassaan_2

hi all ihave required a program any body help me please Write a programme that use three arrays mango, orange and banana to store the number of fruits purchased by customer. The programme inputs the number of mangoes, oranges and bananas to be purchase by customer and stored them in …

Software Development c++
Member Avatar for David W
0
437
Member Avatar for wilsonchama

Hi guys, I am trying to update a single column in an already existing record with a value in a textbox in Access database using VB.NET 2008 express edition. This is how it should happen, combo box is drawing product IDs from the table and two textboxes display product description …

Software Development microsoft-access vb.net
Member Avatar for JerrimePatient
0
2K
Member Avatar for Seher_1

how to calculate term frequency,inverse document frequency(tf-idf) for own text files that consists of many terms.

Software Development python
Member Avatar for Gribouillis
0
167
Member Avatar for webber2015

Hello, we have to create a football scoreboard in Visual Basic. Purpose: The application calculates the points scored during a football game by one team Requirements: 1. The user clicks the enter score button in an input box object to enter a score after the football team scores 1. Each …

Software Development vb.net visual-basic
Member Avatar for hericles
0
491
Member Avatar for webber2015

Little League Batting Average Windows Application: Finds the avg batting average of the starting line-up of nine little league baseball players. The user enters the present batting avg of each of the nine players to compute the team batting avg. 1.The user clicks the Enter Batting Averages button to enter …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
454
Member Avatar for Petcheco

Hello, guys. The four adjacent digits in the 1000-digit number that have the greatest product are 9 × 9 × 8 × 9 = 5832. 73167176531330624919225119674426574742355349194934 96983520312774506326239578318016984801869478851843 85861560789112949495459501737958331952853208805511 12540698747158523863050715693290963295227443043557 66896648950445244523161731856403098711121722383113 62229893423380308135336276614282806444486645238749 30358907296290491560440772390713810515859307960866 70172427121883998797908792274921901699720888093776 65727333001053367881220235421809751254540594752243 52584907711670556013604839586446706324415722155397 53697817977846174064955149290862569321978468622482 83972241375657056057490261407972968652414535100474 82166370484403199890008895243450658541227588666881 16427171479924442928230863465674813919123162824586 17866458359124566529476545682848912883142607690042 24219022671055626321111109370544217506941658960408 07198403850962455444362981230987879927244284909188 84580156166097919133875499200524063689912560717606 05886116467109405077541002256983155200055935729725 71636269561882670428252483600823257530420752963450 Find the thirteen adjacent digits …

Software Development c++
Member Avatar for Petcheco
0
291
Member Avatar for turntomyleft

One of my first programs was coded on paper tape. Another was via punched cards. I foresaw amazing stuff, e.g., artificial intelligence, models for weather, space travel, etc., but never imagined we would come this far in only 60 years. I now have a programmer son who wants me to …

Software Development ide open-source python
Member Avatar for vegaseat
0
785
Member Avatar for Bharat_2

I want to calculate user steps(like pedometer).I know that with iPhone 5s, 6 and 6+ we can use `CMStepcount` or `CMPedometer` or class(which use M7 chip of devices) but iPhone 5 and lower versions does not support M7 chip, so we can't use `CoreMotion`. By searching all over internet i …

Software Development algorithm ios iphone objective-c
Member Avatar for rubberman
0
339
Member Avatar for BustACode
Member Avatar for vegaseat
0
1K
Member Avatar for shahera.arafat

hello everybody ^^ I have to make a calander ,and to let the user to insert any event ! the calander it self is working <<but I don't know how can I write the code to give the user the ability to enter a new event by entering some fields …

Software Development java java-swing
Member Avatar for shahera.arafat
0
146
Member Avatar for jez9

I tried to make a setup file wherein i want to install and unistall the application/system that i made but when i try to run the application and i tried to save, edit, order and other stuff in the application it says "Operation must use an updateable query" i use …

Software Development vb.net
Member Avatar for Santanu.Das
0
258
Member Avatar for pars99

I have to draw an image using Graphics and Graphics2D. The image is Monstercat How would you guys suggest I do the parts that have several curves to them? Do I use multiple QuadCurve2D or is there a way to do it in one method? ![monstercat_logo_vector_by_lmw_ybc-d63hlvv.png](/attachments/large/4/d4b5cb7925e7eff4a402233b59be737f.png "align-center") On a side …

Software Development java
Member Avatar for JamesCherrill
0
231
Member Avatar for sirlink99

Hello Everyone. I am wondering if anyone has any experience working with Korean characters. I attempted to find out how to split them up, but I have had no success thus far. What I was thinking is having a character like "안" and having it split up into "ㅇ", "ㅏ"and …

Software Development java
Member Avatar for sirlink99
0
428
Member Avatar for autoXP

need some assistance. I am currently learning vb.net with sql. I have two textboxes (txtValue and txtText) , a dropdownlist (ddl1) and save button (btnAdd). I insert value to txtValue and txtText (eg: txtValue: A and txtText: Apple). when i click button Add, The value will display in dropdownlist (like …

Software Development apple dataset session vb.net
Member Avatar for autoXP
0
447
Member Avatar for basitji

hi all friends plz help me. i have an assingment giving by sir. write a program that accepts three values from user and print the highest value from them? remember: The program should be for turbo c.

Software Development c++
Member Avatar for rubberman
0
101
Member Avatar for Petcheco

Hello, guys. Here's the challenge: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? I wrote my code: #include …

Software Development c++
Member Avatar for Petcheco
0
321
Member Avatar for rnyamonga

Hi guys, I need help with some homework... hopefully this is the right forum. So my last project assignment is making a shopping cart and having the user add, remove items therefrom. I am having a problem adjusting the totals after the items get removed from the cart: Using Lists …

Software Development vb.net visual-basic
Member Avatar for rnyamonga
0
728
Member Avatar for bananacat

Hi. I'm using 3 classes: the Character class, the Scanner class, and the Test class. This is the Character class: public class Character { private char cargo = '\u0007'; private String sourceText = ""; private int sourceIndex = 0; private int lineIndex = 0; private int columnIndex = 0; public …

Software Development java
Member Avatar for rproffitt
0
350
Member Avatar for RikTelner

recently ive seen video of a man which showed on how A* works, that is some algorhythm for pathfinding in 2d in games, to show this he made a game in c# (visual studio only), where he could explore the "maze" board in 3d and could see the red square …

Software Development c# opengl video visual-studio
Member Avatar for RikTelner
0
2K
Member Avatar for paul1145

Public Function setEmailSend(ByVal sSubject As String, ByVal sBody As String, _ ByVal sTo As String) As Boolean Dim oApp As Outlook._Application Dim oMsg As Outlook._MailItem setEmailSend = False oApp = New Outlook.Application oMsg = CType(oApp.CreateItem(Outlook.OlItemType.olMailItem), Outlook._MailItem) oMsg.BodyFormat = Outlook.OlBodyFormat.olFormatRichText oMsg.Subject = sSubject oMsg.To = sTo 'here I need the current …

Software Development vb.net
Member Avatar for paul1145
0
672
Member Avatar for Julie_2

7— File Data Statistics In this project, you will write a program to read a series of values from a file and calculate the following statistics: • A count of the number of values read from the file • The sum (total) of the values read from the file • …

Software Development python
Member Avatar for vegaseat
0
187
Member Avatar for CodeWarrior14

Hello, A simple program I am writing uses a struct to store a key and key size variable. However I get an error that states that my struct variable is being used without being initialized... I dont really know why it is telling me that. Code: `keygen.hpp` #include <ctime> #include …

Software Development c++
Member Avatar for jencas
0
177
Member Avatar for divinity02

hi everyone i am building this java command line game. it is called counting numbers game. here is the detail descripbing of the game This game consists of 10 questions which are broken down into 3 game rounds. See below for rules regarding the game rounds: Round 1 This round …

Software Development java
Member Avatar for rubberman
0
236
Member Avatar for 04279169

04279169@uofn.edu.om Do Muluplication in this program ? #include<iostream> using namespace std; class Node { private: int row;// different data type for other apps int column; int value; Node *next; // the link pointer to next item public: Node(int x=0,int y=0,int z=0,Node * ptr=NULL); // constructor int getRow(); int getColumn(); int …

Software Development c++
Member Avatar for startomana
0
211
Member Avatar for kxjakkk

I'm attempting to make a small program that when a user inputs a string, it counts all the letters. Here's what I've got so far: import java.util.Map; import java.util.HashMap; import java.util.Set; import java.util.TreeSet; import java.util.Scanner; public class LetterTypeCount { public static void main(String[] args) { // create HashMap to store …

Software Development java
Member Avatar for JamesCherrill
0
311
Member Avatar for autoXP

I need some assistance here. I currently learning and i would like to create a simple webpage (as a hobby). I have two textboxes (textbox1 and textbox2) , a dropdownlist (ddlist) and save button (btnSave). I insert value to textbox1 and textbox2 (eg: textbox1: A and textbox2: Apple). when i …

Software Development apple session vb.net visual-studio
Member Avatar for autoXP
0
241
Member Avatar for westsiderailway

hi there, Dim queryString As String = "select avg(pumpnum) from petrol_table" Using adapter As New SqlDataAdapter(queryString, connectionString) Dim table As New DataTable adapter.Fill(table) Dim row As DataRow = table.Rows(0) TextBox5.Text = row.ToString as the code stands now, all i get in the textbox is "system.data.datarow" the column called "pumpnum" is …

Software Development display vb.net
Member Avatar for westsiderailway
0
3K
Member Avatar for haven_u

Could someone help me out with implemeting a simple http POST method that receive and data through a socket. I would like to know how to simply get values entered in a html form. Since data receive form the socket includes headers as well as the actual data of interest.It …

Software Development first-post python seo
Member Avatar for snippsat
0
187
Member Avatar for python1

How can we save a text file we make using python in another directory?The default directory is always the directory in which , the program is ? is there any way to change this?Can this be done when we are creating the file (FILE=open(filename,"w")) thanks in advance

Software Development file-system python
Member Avatar for Parikshit_1
0
44K
Member Avatar for jamesjohnson25

The perl command is perl /opt/translation/moses/scripts/tokenizer/tokenizer.perl -l en < Eng-hin.translation.en > Input/tokenization/Eng-hin.translation.tok.en I want to execute the above perl command in python script ,Here the perl command is executed successfully in Popen() but no output file is created at location "Input/tokenization/Eng-hin.translation.tok.en". var = "-l en < Input/Corpus/"+inputfilename+" > Input/tokenization/Eng-hin.translation.tok.en" pipe …

Software Development perl python
Member Avatar for woooee
0
415
Member Avatar for Pobunjenik

So I'm building this pretty simple top trumps card game as part of an assignment. I have the game logic built, the swing GUI is in place and I plan to do all the calculation on the server app and have it update the client up with the game's state, …

Member Avatar for Pobunjenik
0
688
Member Avatar for Kenneth_3

I am trying to compile the following code and I keep getting a reference error for my output file through a function. The purpose of the program is to read a file, sort through arrays, and output into a certain form. I am sure it is something small, but I …

Software Development c++
Member Avatar for Kenneth_3
0
165
Member Avatar for karodhill

a)I am working on a payroll program The first base class is bonus the class should contain 2 public properties salesid and sales. Include a default constructor and a parameeterized constructor in the class.Also include a a getbonus method(function) that calculates a salespersons bonus using the formula sales*0.05 b) create …

Software Development vb.net
Member Avatar for karodhill
0
252
Member Avatar for PM312

I am trying to update pdf file to sql but getting error (line 17) as **operator '&' is not defined for types 'string' and '1-dimensional array of byte'** on beow line cmd.CommandText = "UPDATE PDC_CHQ_IN_HAND set PDC_CHQ_IN_HAND.PDF='" & data & "'WHERE PDC_CHQ_IN_HAND.RefNo='" & TxtRefNo.Text & "'" * my code is* …

Software Development pdf vb.net
Member Avatar for PM312
0
3K
Member Avatar for CSprogA

basicly my project is making a shopping list which allow the user to: - type 1 to add a new shopping list - type 2 to add an item on existing shopping list - type 3 to check certain items in a certain list as bought - type 4 to …

Software Development c c# c++
Member Avatar for Schol-R-LEA
0
9K
Member Avatar for Melissa_2

I am working on an assignment for my object oriented programming class, it is a very simple program, but it has raised a question. My assignment is to create a rectangle class where I just assign points. The thing is we write our programs with notepad and run them through …

Software Development java
Member Avatar for JamesCherrill
0
168
Member Avatar for William_17

Hello everyone, I need a little help from you guys. I need to find the position of some strings , these strings store in a file named "queryfile" , from an other file named "datafile". However, my programe just work on a single "word" , can't find the position of …

Software Development c
Member Avatar for rubberman
0
240
Member Avatar for westsiderailway

Hello everyone, Dim SI As String = "" SI = CheckedListBox1.SelectedItem Dim TextcommandSQL As String = "" Dim myCOLUMN As String = "" myCOLUMN = ComboBox1.SelectedItem TextcommandSQL = "SELECT * FROM test_table where " & myCOLUMN & " = " & SI MsgBox(TextcommandSQL) Dim con As New SqlConnection con.ConnectionString = …

Software Development open-source sql vb.net
Member Avatar for westsiderailway
0
372
Member Avatar for markdean1989

Hi, my question is very simple. Like the title says; How to declare an object? I have this declaration in my program; Class_name Object_name; and it is giving me an error, saying "Expected a ';' before "Object_name" And this is driving me nuts because putting a ';' before the object …

Software Development c++
Member Avatar for deceptikon
0
378
Member Avatar for Mayukh_1

Hey is there anybody who works with SDCC to make projects for 8051 microcontroller series on Macbook. If yes then can you please post the working make file, specially the part which loads the program in the device. I am confused what to write specifically with the program tag in …

Software Development c
Member Avatar for Mayukh_1
0
763
Member Avatar for Erica_2

So i am back again, working with arrays this time. I can get it to run in the main but i am not sure how to make this code into a void function . #include <iostream> #include <iomanip> #include <string> using namespace std; int main () { // Declare variables …

Software Development c++
Member Avatar for Erica_2
0
589
Member Avatar for complete

I have a silverlight app that uses TextBox XAML controls. In the c++ code-behind, IXRTextBoxPtr types are associated with these textboxes using "FindName" like this: FindName(L"ColNum3", &m_pColNum3); (where ColNum3 corresponds with the XAML CODE like this: ) Then, the code assigns the pointer like this: std::wstring wsTransfer; // gets the …

Software Development asp.net c++
Member Avatar for complete
0
882

The End.