132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wolf_one

So, I'm a new programmer python is my first language. I'm trying to create a program to randomly open a pdf from a directory and read/display one page. Anyway thats what I got so far. I'm just wondering if theres a more efficient way to write this. Any advice? import …

Software Development pdf python
Member Avatar for chriswelborn
-1
273
Member Avatar for ecostas

Hi. I need help with defining on which monitor a given form is to be presented. I know I can discover how many monitors a computer has with screen.MonitorCount. But I haven't found yet how to change the settings. For example, I'd like to have a one-form application to run …

Software Development pascal
Member Avatar for raymhuff
-1
3K
Member Avatar for sidnei

This code show how to made a MDI Form Borderless. Tested on Visual Basic 6 under Windows XP SP3 platform.

Software Development visual-basic
Member Avatar for anbarasan
-1
703
Member Avatar for cnet1989

I'm a computer science major and I'm taking an intro to C++ programming course. I have to write a program that reads in the data from a .txt file and echoprint it, and also print the data again but with every fifth word with 10 underscores. I was able to …

Software Development c++ data-science ios
Member Avatar for mike_2000_17
-1
620
Member Avatar for Himanshu Chawla

I Want to create a form in which the pop-out form should disable the background form just like save as dialog box in notepad. Please ANybody Help me .. I am Creating Application and Need it very urgent .

Software Development
Member Avatar for tinstaafl
-1
292
Member Avatar for setu basak

package com.example.crypton; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts; import android.provider.Contacts.People; import android.provider.ContactsContract; import android.provider.ContactsContract.CommonDataKinds; import android.provider.ContactsContract.CommonDataKinds.Phone; import android.provider.ContactsContract.CommonDataKinds.StructuredName; import android.provider.ContactsContract.Data; import android.telephony.SmsManager; import android.util.Log; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import android.app.PendingIntent; public class CREATEMESSAGE extends …

Software Development android android-development java
Member Avatar for setu basak
-1
256
Member Avatar for aadarsh_khare

Could anyone help me in understanding what does below Python code do? Also please help me in converting it into Java. import random howMany = random.randint(0,1000) stats = {} for i in range(howMany): value = random.randint(0,500) stats.setdefault(value,0) stats[value]+=1 for item in stats: if stats[item] > 1: print item

Software Development java python
Member Avatar for JasonHippy
-1
277
Member Avatar for Etniespr101

Hey guys, I am incredibly new to c++ and need a little help on a matrix multiplyer program... [code] #include <iomanip> #include <iostream> using namespace std; int main() { int **mat1; int **mat2; int **result; int row,col; cout<<"Please enter row/col"<<endl; cin>>row>>col; mat1 = new int *[row]; mat2 = new int …

Software Development c c# c++ matrix-multiplication
Member Avatar for Musa_Jutt
-1
625
Member Avatar for gbhs

Hi To All, I am a newbie. I have 4 computers that I want to connect together as a LAN. I have a switch and ready cables. One of the computers C1 will have a sqldatabase to be accessed by the other computers C2,C3 and C4. 1. How do I …

Software Development asp.net lan-wan vb.net
Member Avatar for gbhs
-1
1K
Member Avatar for ng5

I have a form with a calendar and a textbox with 2 buttons. The calendar is the vb 2010 tool and the textbox overlaps it so that when a day is selected on the calendar you can make an appointment for that day. i have a save button and a …

Software Development vb.net visual-basic
Member Avatar for ben.ot.18
-1
439
Member Avatar for junaid tariq

Dear Sir, I am student of BS(CS) in COMSATS, Islamabad, Pakistan. I am working on my final year project of OCRNL (Optical Character Recognition Naskh Ligature, Naskh is Urdu font, the national language of Pakistan). My project is in final stage and I am having the following problem: i) textString1 …

Software Development gui
Member Avatar for Billyseven
-1
404
Member Avatar for missy maretele

need help with the following java program a.s.a.p please a pension fund company maintains employee date of birth details in order to calculate each employee's package value for retirement. the retirement age is 65 years old and each employee accumulates 0.015% of monthly salary towards retirement. write a java program …

Software Development gui java
Member Avatar for stultuske
-1
860
Member Avatar for Himanshu Chawla

what is jquery ? What is java script and what are prerequirements for learning javascript ? What is the diiference between advance java and core java ? What is AJAX ? As i am beginner to JAVA and want to learn about java and thats y i am asking this …

Software Development java javascript javascript-jquery
Member Avatar for rotten69
-1
448
Member Avatar for twofel

hi, Menu on a Windows Form for Dev C++ hi, i have devc++ version 5.2.0.3 after compiling this prog i got following message: 110 46 C:\Users!__DEVCPP PROJEKTE\menu.cpp [Error] cast from 'HMENU {aka HMENU__*}' to 'UINT {aka unsigned int}' loses precision [-fpermissive] 100 56 C:\Users!__DEVCPP PROJEKTE\menu.cpp [Warning] deprecated conversion from string …

Software Development c++
Member Avatar for pritaeas
-1
586
Member Avatar for harinath_2007

Hi..Stress is a common thing in every programmer's life. So here is a way you can reduce your stress.. Write System.exit(0); in your code whenever you are in stress..:) Comment your own tips too to avoid stress

Software Development java
Member Avatar for ~s.o.s~
-1
268
Member Avatar for user777

Hi Everybody, Could somebody let me know the search code in a database (mdb database : with 1 table only) to write for a search command. I am using ADODC1 connection. Please also let me know for the above table if i want to add a new contact to the …

Software Development visual-basic
Member Avatar for AndreRet
-1
2K
Member Avatar for Akshay nand

Assignment 1: Simple Text Editor using C programming in Linux Environment The goal of this assignment is to help you practice c programming. A tutorial on Linux commands and c programming is given at the end of this assignment. Resources/examples of c programming is given in Moodle and further help …

Software Development algorithm c ide
Member Avatar for L7Sqr
-1
1K
Member Avatar for jeremywduncan

def is_anagram(t,u): if sorted(t)== sorted (u): return True else: return False print is_anagram('realtor', 'rotlear') # True print is_anagram('superpuff','local') # False print is_anagram('alla', 'lala') # True print is_anagram('tools', 'stool') # True print is_anagram('double', 'trouble') # False

Software Development python
Member Avatar for TrustyTony
-1
784
Member Avatar for on93

anyone know what is this error , how to fix it ??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define MAX 6 #define size 10 using namespace std; struct student { string name; int id; string prog; double cgpa; }; class stinfo { private: student data[size]; int last; public: stinfo(); void selectionSort(int A[]); void …

Software Development c++
Member Avatar for Banfa
-1
571
Member Avatar for jocelyn.eyog
Member Avatar for stultuske
-1
1K
Member Avatar for krul.ezanie

can someone help me ? i have problem to make airplane seating program.. what it need is i ust put the details of the booker in the seat.. for example , when we want to check who already booked this seat,we click that seat and it will appear name and …

Software Development c++
Member Avatar for deceptikon
-1
362
Member Avatar for dana2292

hello every one i'm a new member in this web site i'm really happy coz i found the best web to leran the computer language it is will be better if some one explean for me the array in c# and syntax of using array , i hope some one …

Software Development c#
Member Avatar for dana2292
-1
435
Member Avatar for chinaexpert1

Hi Folks, My partner and I are experienced investment professionals with a background in mathematics. We are picking up Python now and we're gonna take this free online class from UC Berkeley on AI programming. We're looking for a third to join in our study group, contrast approaches, discuss topics, …

Member Avatar for TrustyTony
-1
254
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to backup my mysql database.

Software Development mysql vb.net
Member Avatar for joshl_1995
-1
366
Member Avatar for archelle

Hello guys, im a newbie in vb programming. I just want to know how to compute total working hours. for EXAMPLE, i started 8:00 AM And goes out 13:00, the total time would be 4 hrs. because 12:00-1:30 is lunch break.

Software Development vb.net
Member Avatar for Reverend Jim
-1
322
Member Avatar for slasel

I tried to create those 6 radiobuttons(bh1,bh2,bh3,bh4,bh5,bh6) using a for and placing them in a dictionary but I get the following error whenever they should be displayed! I have attached a folder with the images. Any help please is highly appreciated! Thank you Exception in Tkinter callback Traceback (most recent …

Software Development python tkinter
Member Avatar for vegaseat
-1
347
Member Avatar for Huxaifa

int main() { float a,b,c; cin>>a >> b >>c; if(a<(b+c) && b < (a+c) && c< (a+b)) { cout<<"\nIt is a Triangle.”; if (a==b && b==c) cout<<"\nIt is a Equiletaral Triangle.”; if(a==b || a==c || b==c) cout<<"\nIt is a Isoceles Triangle.”; else cout<<"\nIt is a Scalene Triangle.”; } else cout<<"This …

Software Development c++ java
Member Avatar for DEAD TERMINATOR
-1
367
Member Avatar for pranav034

hi guys i am a student of b-tech i want a ppt for my mini project i.e. web browser using vb.net .If u Know the sites from which i can get it plzz tell.....

Software Development vb.net web-browser
Member Avatar for Reverend Jim
-1
407
Member Avatar for heavy.is.happy

Hello. How do i make a flood fill in python? For exampel. I choose to download this picture of world countries. I save this as picture.png in a folder. The folder also contains a python file whith the name change.py. The change.py file is gonna change USA to yellow. To …

Software Development image python
Member Avatar for Lardmeister
-1
2K
Member Avatar for kw42chan

Dear all, I m a newbie in C. When do the questions in "C Programming for Absolute Beginners" (MICHAEL VINE, 2008) When talked about structure programming, there is a question. Write A function that prints an ATM menu—it receives no parameters and returns no value. Void displaymenu() /********************* Function Prototypes …

Software Development c
Member Avatar for deceptikon
-1
259
Member Avatar for hunain261

I m a student and i want to make a project in VB.Net but i am really confuse so kindly anyone which have special command in vb.net plz guide me what i do which is better for me.. Thnx

Software Development vb.net
Member Avatar for tinstaafl
-1
429
Member Avatar for furjaw

Visual Basic.Net: I have a DataGridView in Last Name sequence. Is it possible to when a user types the first letter of a last name that it displays all rows with last names that start with that letter. When he types the second letter, it displays all records whose last …

Software Development vb.net visual-basic
Member Avatar for isharpk
-1
4K
Member Avatar for inaxassan

Design a schedule class for classes that a student takes during a semester? This is not a homework `class schedule: def classes(self, course, points, level,): self.course= course self.points = points self.level = level def get_course(self): return course.name` I am stock here

Software Development python
Member Avatar for vegaseat
-1
756
Member Avatar for inaxassan

class airlineTicket: def __init__(self, start, destination, dateoftravel, firstClass,\ economy, business, price): self.start = start self.destination = destination self.dateoftravel = dateoftravel self.firstClass = firstClass self.economy = economy self.business = business self.price = price Design a class for an airline ticket. Some of the fields of an airline ticket are start, destination, …

Software Development python
Member Avatar for sneekula
-1
2K
Member Avatar for Cosmo_Kramer

So I am done with the code below, I will run it like this "python hw3.py < code.txt" I think I have a problem with the indentation or something. the code.txt has a mixed up text in it that is offset using a caesar cipher but it has to be …

Software Development python
Member Avatar for Cosmo_Kramer
-1
307
Member Avatar for greystreet34

Hi, I'm working on an assignment where I have to convert military time to standard time. I think I mostly have it solved except for when the minutes are between 0 and 10. For example, 909 should read 9:09 am, but it prints 9:9 am. I'm not sure how to …

Software Development java
Member Avatar for greystreet34
-1
3K
Member Avatar for vindom

Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to …

Member Avatar for vindom
-1
1K
Member Avatar for shorty001

anyone please guide me to create a exe program in visual C++ 2005. Thank you

Software Development c++
Member Avatar for ps- india
-1
2K
Member Avatar for tomexlfc

Hello everyone. Please I am writing an system application for a company that must generate inquiry id and order id automatically. Whenever a customer makes a new inquiry or new order by clicking the add button, an automatic number should be displayed in the text box and when it's saved, …

Software Development vb.net
Member Avatar for jertos
-1
5K
Member Avatar for tarareddy

i found this code for pacman i want some one to explain me how it works i am new to java game programming so my doubts might be silly for few of u i just understood the array part of creating the maze i have written all my doubts thank …

Software Development java java-swing
Member Avatar for tarareddy
-1
7K
Member Avatar for anandschiru

import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; import java.util.Date; /* <applet code="gui.class" width=250 height=100> </applet> */ public class gui1 extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { …

Software Development gui java java-swing
Member Avatar for anandschiru
-1
281
Member Avatar for chandrabhanu

This program in C finds 2 Longest common subsequence of 2 given strings(say X and Y),entered without any space on the screen individually,altering X and Y strings.I compiled and executed this above program successfully in Dev Cpp compiler as a C file(not a c++ file).

Software Development c
Member Avatar for hahahahohoho
-1
271
Member Avatar for joey777

I would like to see how the solution 3.16 looks after it's all done. I've tried to run my program, but it won't run. Can someone please forward what it should look like before I run the program. I must be missing something...?

Software Development c++
Member Avatar for BobS0327
-1
570
Member Avatar for lebo.bytes

Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = …

Software Development dataset display vb.net
Member Avatar for G_Waddell
-1
675
Member Avatar for arie92

i have 5 form that with 4 form to enter input and the last form is to make a calculation and display the output.But the problem is,i cannot get the calculation and the output to be played because the last form does not attach the input that i have enter …

Software Development visual-basic
Member Avatar for Jx_Man
-1
257
Member Avatar for PseudoGuard

Here is the assignment (Part A). In this part you will write a function to generate random numbers in a specified range. Specicially we want you to write a function named generateRandom that generates a single random number in a range specified by the user. The function takes two integer …

Software Development c++ ios
Member Avatar for KaeLL
-1
291
Member Avatar for don.fck.wit.cleeve

import java.io.*; import java.util.*; public class Cleeve { /** * @param args */ public static void main(String[] args) throws IOException { File inFile = new File("Sport.txt"); Scanner inFile2 = new Scanner(inFile); File outFile = new File("Proffesional.txt"); PrintWriter outfile = new PrintWriter(outFile); File outFile2 = new File("AmaturElse.txt"); PrintWriter outfile2 = new …

Software Development file-system java
Member Avatar for JamesCherrill
-1
488
Member Avatar for mh.cool992

Help me to solve this problem Conversion from string "LastName" to type 'Double' is not valid. Private Sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() With OleDa .UpdateCommand = New OleDb.OleDbCommand() .UpdateCommand.CommandText = "UPDATE [INVENTRY] SET [ItemCode] = @ItemCode , [ItemName] = @ItemName , …

Software Development vb.net
Member Avatar for Reverend Jim
-1
287
Member Avatar for silvercats

1. Is a 32bit register 32 bits in size and a 64bit is 64bits? 2.What is decoding in a processor? 3.Are there real pcitures of processor registers? where?

Software Development assembly
Member Avatar for mathematician
-1
278
Member Avatar for jalpesh_007

Dear all, I have stuck with one problem. I have taken one Hashmap, Performing some input operation,remove operation on it. So after performing remove operation, i want value of 2 successive key in two different array. Also i want to match 1st key's value with all other keys' value. Like …

Software Development java programming-construct
Member Avatar for JamesCherrill
-1
1K

The End.