132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for newack

I have designed Random number guessing game in windows form application. after user enters guessed number,hits button. for button click i entered code: private void buttonEnter_Click(object sender, EventArgs e) { string invalue; int number; Random r = new Random(); int target = r.Next(0, 100); invalue = textBox1.Text; counter++; label4.Text = …

Software Development
Member Avatar for lexii
1
398
Member Avatar for otengkwaku

To download streaming videos on window is very easy after all there are so many softwares to do that for you but on linux it is not soo easy. There is howevery this command line tool that helps you do this [youtube-dl](https://github.com/rg3/youtube-dl. But this command line tool lacks some features …

Software Development github open-source python window-manager
1
109
Member Avatar for vegaseat

Just in time for the season, a star. (Playing with my grandson on the Raspberry Pi computer)

Software Development python raspberry-pi
Member Avatar for sneekula
1
5K
Member Avatar for Slavi

Hey guys, I have a quick question here, I have Python 2 installed on my machine and I read a book on Python and Vega's great threads. However, my next book that I am about to read states that I need Python 3 to compile the code on their examples, …

Software Development python
Member Avatar for HiHe
1
289
Member Avatar for EddieC

Microsoft this week acquired [url=http://www.teamprise.com/]Teamprise[/url], a division of [url=http://www.sourcegear.com/]SourceGear[/url] that built tools to give developers access to Visual Studio 2008 Team Foundation Server from systems running Linux, Mac OS X and Unix.SourceGear's flagship [url=http://www.sourcegear.com/sos/]SourceOffSite[/url] provides remote access to Visual SouceSafe, Microsoft's version control system. Teamprise comes in [url=http://www.teamprise.com/products/download/]three forms[/url]. The …

Software Development c++ os-x unix visual-studio
Member Avatar for mike_2000_17
1
1K
Member Avatar for mikeandike22

If you are a programmer than you probably know or at least know of C++ well now a company called Digital Mars is developing the D programming lanugage. [I] "D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with …

Software Development c c# c++ ruby
Member Avatar for The Old Man
1
476
Member Avatar for vegaseat

Once you are on the internet, you have to come up with passwords. After a while it will be difficult to remember those passwords. You could write them down somewhere, but the wrong person could find them. Why not have Python help you to come up with a logical password …

Software Development python
Member Avatar for Gribouillis
1
436
Member Avatar for Ben_8

Hi guys Just started to get into Python so this site seems liek a gtreat resource for hints and tips. Nice to meet you all. Ben

Software Development python
Member Avatar for Gribouillis
1
95
Member Avatar for Mr.M

Hi DW I have a Canon MP250 printer which can scan, copy, and print. I want to create my own ScanGear of a direct program to instruct the printer to print, and scan. I do have the disc that came with the printer but I just want to play around …

Software Development printer vb.net
Member Avatar for Richard Mon
1
7K
Member Avatar for Deepesh_1

I have been asked to design an API that allows the user to do this and do that in c++.. What exactly is an API. In c++ is an API a .header file? Are the methods in class header file the API to allow user to interact with our .cpp …

Software Development api c++
Member Avatar for mike_2000_17
1
418
Member Avatar for alexandar.valentinov

As you probably know 'C++' doesn't allow either passing or returning arrays by value (don't mislead yourself that declaring array parameters will give you that functionality, every parameter declared as array will be 'adjusted' to a pointer to it's first element - which is some kind of odd, but 'C++' …

Software Development c++
Member Avatar for mike_2000_17
1
180
Member Avatar for steph7

Hello, so I'm a student and in one of my projects I have to capture the image of a client from a WebCamp and then save it on the database. Now, I'm having some problems and doubts. I've found some videos where they use the library JMF (Java Media Framework), …

Software Development image java java-jsp webcam
Member Avatar for JamesCherrill
1
1K
Member Avatar for justzamir

I am totaly new to C++, and i am trying to get sum of two digits, but i am getting some error, will somebody please correct my code. Regards

Software Development c++
Member Avatar for jencas
1
338
Member Avatar for happygeek

Think that macro viruses written in VBA (Visual Basic for Applications) are just something that people using the Internet a couple of decades ago had to worry about? Think again. Word macro attacks never went away, they just went into decline. New evidence suggests they could be making something of …

Software Development abuse cybersecurity microsoft visual-basic
Member Avatar for happygeek
1
1K
Member Avatar for cambalinho

i know move the mouse for where i want. but how can send a click message to another program?

Software Development c++
Member Avatar for cambalinho
1
216
Member Avatar for sneekula

Draw a group of shapes on the Tkinter GUI toolkit canvas and animate the group using the common tag names.

Software Development gui html-css python tkinter
1
5K
Member Avatar for ddanbe

The idea for this snippet came from vegaseat, who wrote a very nifty RPN calculator in Python, simulating a switch/case statement, something that Python is missing. See this code on page 19 in the projects for beginners thread on the Python software development forum. In my opinion, he did a …

Software Development
Member Avatar for xrjf
1
539
Member Avatar for harshchandra

This will convert a decimal number into Gray code .

Software Development c
Member Avatar for sunktugg
1
2K
Member Avatar for kwabyna.lilwayne

Hi i have been roaming for codes everywhere couldnt even one of what i wanted I am a new beginner and i dont understand their codes .. Would someone here be kind enough to show me how to exchange files within sockets This is my code for the server -------------------SERVER------------------ …

Software Development file-system vb.net
Member Avatar for Theresa_2
1
155
Member Avatar for J.C. SolvoTerra

After trying to manipulate PNG files and failing miserably discovering that the standard GDI doesn't provide support for any PNG parameters decided to provide some basic image manipulation functions built into .Net that I came across on my investigations. 1. Adjust Image Quality 2. Flip Image Horizontally 3. Flip Image …

Software Development image vb.net
Member Avatar for Santanu.Das
1
2K
Member Avatar for crodriguez08

Hey there, I'm having trouble getting my program to read every instruction to then execute it, as well as displaying everything correctly. Right now my program displays mainly garbage and for now I simply want it to be able to successfully run a simple addition program, so any advice or …

Software Development c++ mathematics
Member Avatar for CPTSNGR
1
2K
Member Avatar for Yudz_1

Write a program that does reservations for a theatre with 5 rows of seats, and 9 seats per row. The rows are numbered from ‘A’ to ‘E’ (back to front) and the seats from 1 to 9 in each row. The user should be presented with a seat plan (showing …

Software Development c++
Member Avatar for L7Sqr
1
628
Member Avatar for Builder_1

#include<iostream> #include<conio.h> #include<string> using namespace std; struct node{ char data; node * next; }; void queue1(); void queue2(); void queue3(); void queue4(); void concatenate(); node * firstnodeptr1=NULL; node * lastnodeptr=NULL; node * firstnodeptr2=NULL; node * firstnodeptr3=NULL; node * firstnodeptr4=NULL; node *finalfirstnodeptr=NULL; int counter1=1,counter2=1,counter3=1,counter4=1; void main(){ char ch; do{ cout<<"enter the …

Software Development c++ linked-list queue
Member Avatar for NathanOliver
1
497
Member Avatar for M.Haephrati

Using Visual Studio 2013 C++, I got compilation errors that I couldn't explain. The compilation errors were: *main.cpp(325): error C2601: 'FLAG' : local function definitions are illegal main.cpp(323): this line contains a '{' which has not yet been matched main.cpp(326): fatal error C1075: end of file found before the left …

Software Development c++ visual-studio
Member Avatar for mike_2000_17
1
713
Member Avatar for Mz.AvIuM

good day everyone, we're creating a software for our thesis, and im just a beginner and i dont know what to do with my printing with this fill up form.. thanks for those who want to help :) im using vb.net 2008

Software Development vb.net
Member Avatar for Santanu.Das
1
198
Member Avatar for rob.sigmon.1

Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use movie title, for example). In the subclass, create a method to calculate the value of the inventory of a product …

Software Development java
Member Avatar for Schol-R-LEA
1
560
Member Avatar for Edwins_1

Suppose we have a polynomial f(x) = 4 – x3. We want to find the value of x that makes f(x) = 0. (This value, call it t, is the cube root of 4. In fact we can use the bisection method to find the nth root of a number.) …

Software Development c++
Member Avatar for magdaekeya
1
223
Member Avatar for J.C. SolvoTerra

NOTE: The games GUI is not fully implemented, so changing it's image and difficulty is done manually in the Button.Click Event NOTE: Whether you download the VS2013 source file or copy and paste the code, you need to download, and extract the two image files to the project's "Bin\Debug" directory. …

Software Development gaming image vb.net
Member Avatar for J.C. SolvoTerra
1
324
Member Avatar for NardCake

This tutorial is designed to get someone started with D that hasn't used it yet, it assumes you have some type of programming experience. # What is D? # In one sentence (from [dlang.org](http://dlang.org)) *"D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and …

Software Development oop open-source
Member Avatar for Tarek_2
1
803
Member Avatar for VIeditorlover

Hi everybody, I'd like to ask you if there are some ways how to protect .NET exe and dlls against decompilation. [B]I am not interested in any form of obfuscation[/B], only methods based on (or equivalent to) compiling traditional compilers to machine language. There doesn't matter if commercial or open …

Software Development asp.net assembly open-source
Member Avatar for JOSheaIV
1
1K
Member Avatar for theashman88

I know this has been asked before, but I can't find any simple answers for a noob like me in C#. What exactly is a static method. I mean what does it mean to be static vs. nonstatic. I know in the code with the main method we use `public …

Software Development oop
Member Avatar for RichardGalaviz
1
308
Member Avatar for zachattack05

I'm sorry if this is the wrong place to put this, but since I normally code in C#, and my potential solution would involve using C# I figured this would be the best place to start. I've been given a task at work to allow our customers the ability to …

Software Development encryption
Member Avatar for RichardGalaviz
1
454
Member Avatar for J.C. SolvoTerra

I have used several methods to save a program's settings in the past. * System Registry * INI files (Encrypted\Plain) * XML file as a resource or external file * XML app.config etc. I'm wondering either: 1. What's your preferred method for saving your program's settings? 2. Is there a …

Software Development vb.net
Member Avatar for J.C. SolvoTerra
1
404
Member Avatar for J.C. SolvoTerra

I'm currently working on a collection of sub-projects, one of which was a backup manager. I needed to be able to allow the user to specify a backup time and a repeat interval. After thinking about the solution, decided it would be best for the user to provide an Initial …

Software Development vb.net
Member Avatar for J.C. SolvoTerra
1
693
Member Avatar for cse.avinash

Hello every one Can I have a better algorithm to find the nth prime number, where 1<= n <=5000000. for e.g., 1st prime number is 2. 10th prime number is 29. 100th prime number is 541. 1000th prime number is 7919. 10000th prime number is 104729. 100000th prime number is …

Software Development algorithm c mathematics
Member Avatar for vantrendin
1
6K
Member Avatar for red711

Hi, I'm new to perl, and need help about comparing 2 columns within 2 different .tsv files. I have search through the forum for some similar case of mine, such as [url]http://www.daniweb.com/software-development/perl/threads/335711[/url], [url]http://www.daniweb.com/software-development/perl/threads/336421[/url] and [url]http://www.daniweb.com/software-development/perl/threads/311399[/url] , I have tried to modified them according to my needs but somehow the final …

Member Avatar for 2teez
1
560
Member Avatar for DawnofanewEra

Hello. I've written a simple program that will once read text into a file and then append some other text when it starts reading again. In other words, adding text to an already existing one. My program doesn't do that but instead it keeps overwriting the older text. How can …

Software Development file-system java
Member Avatar for TylerD75
1
215
Member Avatar for PM312

Hi i want to display version information on my MDI form text Below code displays "1.0.0.0" it doesnot display rivision no `Me.Text = System.Windows.Forms.Application.ProductVersion` how can i display version revision ? thanks

Software Development display vb.net
Member Avatar for Deep Modi
1
4K
Member Avatar for NardCake

Hello! Recently I've been working on a project which requires an API, the user supplies a function pointer which returns a specific value, this function needs a list of string arguments, similar to what you may find in the "main" function. I first thought maybe some sort of linked list …

Software Development api c github linked-list
Member Avatar for dinad578
1
5K
Member Avatar for masterofpuppets

[CODE]from Tkinter import * root = Tk() tipwindow = None # Creates a tooptip box for a widget. def createToolTip( widget, text ): def enter( event ): global tipwindow x = y = 0 if tipwindow or not text: return x, y, cx, cy = widget.bbox( "insert" ) x += …

Software Development python tkinter
Member Avatar for richard.grigonis
1
356
Member Avatar for Pablo149

Hey there everyone, I have been a computer programming instructor for several years now. I like helping my students, but every year, they are the same age, and have generally the same skill set. So yes, I'm getting bored: it just feels like doing the same thing year in year …

Software Development java
Member Avatar for Hiroshe
1
233
Member Avatar for ddanbe

I you ever would have the need to do this conversion you probably would use `string myStr = Convert.ToString(myInt,2);` which does the job. Here is presented another way to do this with some simple formatting included. Some highlights for newbies and not so newbies: Line 9: Custom enum type Line …

Software Development
1
292
Member Avatar for Tycellent

Hey Guys, Was wondering if anyone could help me with this sort function for a vector of struct type. What i'm aiming to do is to make a score board being based on a player's score and print out the scores (along with the name) in descending order. I've looked …

Software Development c++
Member Avatar for Tycellent
1
452
Member Avatar for surya55

Hi everyone, consider below code: interface i{ void test(); } class A implements i{ void test(){//code goes here} } class B implements i{ void test(){//code goes here} } here,we can implement method straightaway in class itself, without using interface like, class A{ void test(){//code goes here} } why we want …

Software Development java
Member Avatar for ~s.o.s~
1
230
Member Avatar for niccid76

I am new to Java programming and I am struggling and I need help understanding how to write this code for writing a statement public method called calculate interest that accepts account balance and interest rate as arguments. This method should calculate and return the interest by multiplying the two …

Software Development java
Member Avatar for Taywin
1
218
Member Avatar for dickersonka

A common question that routinely comes up is how to share data between forms. I have outlined two common ways to pass data between forms, among many others. I have used a public property on the output form to accept a value and update the display. I also have a …

Software Development
Member Avatar for jamespello
1
2K
Member Avatar for Katangka

Hello! I've seen a thousand dicsussion about how to make an .exe file from your .cpp source code, but none of it seems to help me: since I have the .exe file, I just can't run it on any other computer. Can anybody help me out, what libraries should I …

Software Development c++
Member Avatar for misi
1
10K
Member Avatar for kalidas.rajendran.1

i am lookng for some sample c coding for fuzzy logic, can anyone help me in developig fuzzy logic in c,.. i had developed my fuzzy rules in matlab, now i hav to develop the c coding for the developed model, can anyoe help me in developing the c code, …

Software Development c# c++
Member Avatar for nelsonfaboan.rios
1
2K
Member Avatar for anuradha71

THIS IS MY CODE.... bUt i am not getting the data between the given dates IN THE DATAGRID VIEW Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ConnString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= C:\Users\Anand\Documents\db.accdb" Dim dfrom As DateTime = DateTimePicker2.Value Dim dto …

Software Development dataset display open-source visual-basic
Member Avatar for pritaeas
1
264
Member Avatar for Vagabond

The user is asked to input a number in either Hex, Octal or Decimal, which is then converted to Hex, Octal & Decimal. The user can exit the program from the MAIN MENU or by the Escape key after each convertion. Compiler : Borland Turbo C++ v4.5.

Software Development c++
Member Avatar for pritaeas
1
1K

The End.