132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for iPoor

Hi Guys, i want to open .tiff and .tga images in my program's PictureBox but i am not able to open them, any Solution??

Software Development vb.net
Member Avatar for iPoor
0
2K
Member Avatar for ztdep

I have a Points class and a Segment class as follows: class Points { double x; double y; int Index=-1; } class Segment { Points Orig; Points End; Segment(const Points& a, const Points& b){Orig=a;End=b} void ChangeGlobalIndex() { do something to change the index of two end points. } } int …

Software Development c++
Member Avatar for rubberman
0
129
Member Avatar for Doogledude123

I have this method that is used to set the columns and data in the listview based on a string. I'm not sure how to add the columns I need programactically. I need to use different data types though. private void populateLeaderBoardList() { string btnContent = (string)btn_exportLeaderBoard.Content; if (btnContent.Contains("Totals")) { …

Software Development listview
0
191
Member Avatar for KevinAdam

I have basically a combobox and and a text box. What should i do is the combobox consist of subject code whereas the textbox consist of subject name which is stored in database. Can i know is there any ways that when an item from combobox is chosen, it is …

Software Development
Member Avatar for Reverend Jim
0
311
Member Avatar for Suzie999

My project uses local sql database. I tried the app on a non development machine for first time. Got a message saying it was downloading required files, sql 2008 express, at a whopping 600MB+ file. Please tell me I've done something wrong, and any user of my app will not …

Software Development sql
Member Avatar for Suzie999
0
351
Member Avatar for <HHH>

i'm trying to import random & urllib.request libraries in sublime test but it give my the below error File "C:\Users\7oss\Desktop\print.py", line 47 import random IndentationError: expected an indented block Any ideas ?

Software Development python
Member Avatar for rproffitt
0
166
Member Avatar for Bashy345

Trying to make the user write to a file and seeing if it exists and if they should override it print("Enter a file name to save your database to.") name = input('Enter name of text file: ')+'.txt' if name print ("Would you like to overwrite this file? Yes or No") …

Software Development file-system python
Member Avatar for Gribouillis
0
274
Member Avatar for chetan12

please help me for this program... You are working for a company designing cute, funny robot vacuum cleaners. At a high level, the robots’ behavior is divided into three modes: 1. Exploration 2. Vacuuming 3. Rampant Killing Unfortunately, while consumer testing shows that the last two modes are working perfectly, …

Software Development c++
Member Avatar for tinstaafl
0
386
Member Avatar for JOSheaIV

Alright this one is bugging the heck out of. I am developing some software that can auto generate a solution and projects within. I have the project templates already created (done by another co-worker), and zipped up. I have then added these as an embedded resource into my project. However, …

Software Development
Member Avatar for JOSheaIV
0
261
Member Avatar for render786

I am currently working on a code and there are three tasks. I am struggling on the last task - I have rearched alot and asked my teachers, i'v tried a variety of codes but there hasnt been any luck. Here is the task: complete all tasks and provide evidence …

Software Development python
Member Avatar for JamesCherrill
0
2K
Member Avatar for lielee

Hello. My VB.Net project is connected with MS Access. Whenever input in VB, it will save in Access. I don't have any problem with textbox but I don't know what to do with checkbox and radiobutton. I want, when checkbox or radiobutton is checked in VB, it will checked also …

Member Avatar for mars12345
0
2K
Member Avatar for Matt_20

Hello, I have done a little research as I want to create a piece of software. I discovered that the language I should learn was Python and that it should be easy to learn. I have started to read the information but I learn by doing so I thought I …

Software Development python
Member Avatar for Matt_20
0
393
Member Avatar for tig2810

Hello, Please could someone help me with the syntax to add orderlines to an order in the below? I just cant figure out the syntax for it. many thanks using System; using System.Collections.Generic; namespace ParentChild { class Program { static void Main(string[] args) { var Order = new Order { …

Software Development
Member Avatar for tig2810
0
170
Member Avatar for clife

Hi , Below is the code for printing even/odd numbers alternatively.But some how i am not able to achieve the result. I have seen a version with while loop http://www.bogotobogo.com/cplusplus/quiz_multithreading.php working perfect. But i would like to use one thread for printing one value instead of same thread running in …

Software Development c c++
Member Avatar for clife
0
194
Member Avatar for DenisOxon

I am writing a VB.Net (VS 2015) application to control equipment in real time which is connected via USB ports. The equipment requires that text string, terminated by a chr(13) be sent. Most commands will get a response back. For example one command (set VALVE1 ON) will open a valve …

Software Development pc-peripheral vb.net
Member Avatar for rproffitt
0
754
Member Avatar for tommyneedshelp

Hi I have an excel macro question in VBA. I have this code. I want it to go down each cell in row C and run the same if statement instead of just depending on cell C2. I want it to continue to C3, C4, C5, all the way till …

Software Development microsoft-office
Member Avatar for tommyneedshelp
0
254
Member Avatar for adikimicky

Hi everyone, I am trying to make a user login page. The user is required to fill username and password in textFields and when he clicks the Submit button, all details are needed to be written in the database. import javax.swing.*; import java.sql.*; import java.awt.*; import java.awt.event.*; public class register …

Software Development java java-swing
Member Avatar for Lakhveer
0
7K
Member Avatar for Tamir09

Ok, I know about how to check for the end of a file, but what I need to know, is if you create a new file, thats empty, how do you check if it really is empty, and if its the same as EOF, then what am I doing wrong …

Software Development file-system vb.net xml
Member Avatar for ddanbe
0
2K
Member Avatar for jennga

So I'm starting to learn Python (3.43) code on my own time and my friend who is a major in Comp Sci made up a little assignment for me to try to complete although I have no class experience. So what I need to do is make some code where …

Software Development python
Member Avatar for Gribouillis
0
3K
Member Avatar for Sneaky Pete

Hello everyone, I have a txt file with data which I want to import to an excel file, by button click. The first couple of lines of the txt file contains general information which I don't want to export. The program should only read the lines which contains a word …

Software Development file-system vb.net visual-basic
Member Avatar for Raul Perez
0
474
Member Avatar for Saboor880

Hello to all! I want to make my netbeans project executable and portable. i write a program which connects to Ms access database and execute an Insert Query. My program is running successfully. Now I want to made executeable of this project and want to run this executable on another …

Software Development ide java java-netbeans
Member Avatar for stultuske
0
250
Member Avatar for William Hemsworth

I'm working on a program that requires some very low level optimization. My question is, when precision isn't an important factor, how can I automatically use the most efficient floating point type for whatever architecture the program is being run on? As far as I'm aware, floats are more efficient …

Software Development
0
198
Member Avatar for Adnan_7

Hi guys, I need to create the following program: 1. Declare 2 5-element integer arrays. (a) One should be for the winning lottery number (hard code this as 12-35-34-2-5). (b) The other should be for the user's lottery number input. 2. Declare an integer to count the number of matching …

Software Development java
Member Avatar for JamesCherrill
0
3K
Member Avatar for hallianonline

I want to find the MAC address of network adopter, I have a working code too but my problem is it only works if IP addres is enabled otherwise it won't get the address is there any solution to find MAC address even if IP Enabled is false if its …

Software Development visual-basic
Member Avatar for DenisOxon
0
270
Member Avatar for COKEDUDE

My understanding of code blocks is that it uses gcc. So I am curious why gcc allows you to have a function called itoa, but code blocks does not let you have a function called itoa. Does anyone know?

Software Development c
Member Avatar for rproffitt
0
234
Member Avatar for vicky_dev

This program displays a simple analog clock to show the current system time. Uses a Hand class to create objects - hour, minute and seconds hands.The 'hands' are just straight lines, and two circles make the 'frame' of the clock. Compiles correctly on TurboC++ v3.0

Software Development c++
Member Avatar for salman_7
0
2K
Member Avatar for Papa_Don

Group, I've created and published a VB.net program. I've also installed this onto my computer. I want to set it up now to run via the Window Task Scheduler. However I need to locate the executable file to start the run. However I'm unable to find it using the name …

Software Development vb.net
Member Avatar for Minimalist
0
5K
Member Avatar for SoftBa

Hi there to all I'm trying to make application which should extract certain data from XML files. I'm using form, combobox and button. If someone could guide me because I'm not so familiar with programming... here is code example To populate Combobox1 and it works fine Private Sub form1_load(sender As …

Software Development vb.net visual-studio xml
Member Avatar for SoftBa
0
893
Member Avatar for anand01

Hi All, I want to generate report in a document format and the same should be converted in to pdf using JAVA. Can you please any one suggest me some libraries for the same. Thanks in advance Regards, Anand

Software Development api java pdf
Member Avatar for anand01
0
202
Member Avatar for TonyTGI

Hello! I recently installed windows vista on a old laptop, and i saw that it comes with a program called Windows photo gallery. Is there any way to make a program with all \ most of the features of that program? Thanks!

Software Development microsoft vb.net windows-vista
Member Avatar for Mr.M
0
502
Member Avatar for Iamateur

I am going through .net book. I happen to read that once we are storing the web form in asp.net ,it automatically shows local host path in save directory. But in my computer I don't see local host path. It shows the usual vb.net installed folder in C directory and …

Software Development asp asp.net file-system web-browser
Member Avatar for hericles
0
347
Member Avatar for isla.rose.3

Here is the original task: * The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per Pound 2 pounds or less $1.10 Over 2 pounds but not more than 6 pounds $2.20 Over 6 pounds but not more than 10 pounds $3.70 Over 10 pounds $3.80 …

Software Development python
Member Avatar for ashaa
0
3K
Member Avatar for george4986

I am Using a fingerprint Scanner for attendance posting. My aim is to copy the attendance log files from the fingerprint reader machine.the machine is connected to one of the lan ports on the same network.I know the ip address of the device and port no,But dont know how to …

Software Development
Member Avatar for salmankhalid
0
3K
Member Avatar for Doogledude123

I'm having some issues with my BSP Dungeon Generation and I'm not sure why! I'd greatly appreciate the help :) Occasionally I'll get an IllegalArgumentException in RandomHelper. That may help, but it's not the issue because it only happens rarely. As you can see, [this image](http://puu.sh/nb9Ir/70efbe5e81.png) shows that the Rooms …

Software Development java storage
Member Avatar for JamesCherrill
0
662
Member Avatar for Siara

Hello, I am working on a C# GUI in Visual Studio to write a program named ChatAWhile that allows a user to enter an area code and the length of time for a call in minutes, and then display the total cost of the call. The area codes given are …

Software Development gui visual-studio
Member Avatar for ddanbe
0
279
Member Avatar for Mr.M

Hi Dw. I have a project that uses Process to marge some files, now because the merging can take quite sometime I've used BackgroundWork. The main problem I'm facing is to know when the Process is done because I want to delete the files that it was merging with so …

Software Development vb.net
Member Avatar for Reverend Jim
0
3K
Member Avatar for Violet_82

HI guys, a while ago I built an application to save strings to file https://www.daniweb.com/programming/software-development/threads/501460/application-to-save-wordsentences-to-file and I was wondering, what if I wanted to have the ability to search those strings, say I can choose a search key, like "bring" and search all the strings (and when I say strings …

Software Development algorithm java
Member Avatar for Violet_82
0
734
Member Avatar for nithyananthanaiker

Hello guys. I am currently developing an OCR tool using Chain-code algorithm in Java. I was googling and found this code in Matlab. I have no idea on using Matlab. So, I need help from someone who's good in Matlab to convert it into Java. This will be a big …

Software Development java
Member Avatar for Neha_18
0
1K
Member Avatar for ztdep

Dear friends: I need to use a data structure which can start the first index of an array from a nagtive value. I have searched the MTL library, and bltiz lib, but it seems that they doesn't support this kind of vecotr. Could you please give me some suggestions. Regards

Software Development c++ data-structure
Member Avatar for tinstaafl
0
250
Member Avatar for cool_intentions

Hello everyone, I need help with VisualState.StateTriggers. The message I’m getting in my xaml code is: The member “State Triggers” is not recognised or is not accessible. I have try to use Blend to generate xaml code for triggers but the small button for that doesn’t exists. My project is …

Software Development visual-studio windows-10
Member Avatar for cool_intentions
0
168
Member Avatar for Indu_1

I have not used an object to call the function but have passed objects as parameters and call function without an object. Can anyone explain #include <iostream> using namespace std; class test { int a; public: test(int x): a(x) {} void display() { cout<<"the value of a is"<<a<<endl; } void …

Software Development c++
Member Avatar for David W
0
238
Member Avatar for Doogledude123

Why is my finally block not firing after projectDCThread.join() is called? This method IS in a class that implements Runnable, however it's not overriding the deprecated stop() method. public synchronized void stop() { if(isRunning || safeCloseRequested) { try { isRunning = false; projectDCThread.join(); } catch (InterruptedException e) { Logger.append("Exception thrown …

Software Development java
Member Avatar for Doogledude123
0
308
Member Avatar for James_55

//I need help trying to find a way to make all my variables local and also allowing the user to type in name of the data file for reading. Also do a simple search to retrieve the weather information for a single query date #include <iostream> #include <fstream> #include <string> …

Software Development c++ ios
Member Avatar for David W
0
248
Member Avatar for FX113

Hello Good people of Daniweb Forum, I am new in C# programing, I need a help from an experience coder in C#, I am working on a web application using ASP.NET. An application that will incorporate a Forced Matrix engine, a 5x1 Matrix, i.e. matrix of 5 slots, 1 level. …

Software Development
0
127
Member Avatar for kiran_10

In Excel sheet, Cell A5 will be given input value (ie., 1 to 5). If A5 = 1, then in cell range A8 to A30, it should count cell to the input value [which is 1. ie., A8, A9 etc] and that each cell will run small formula "=SUM(O17:T17)" and …

Software Development visual-basic
Member Avatar for Teme64
0
303
Member Avatar for Sandy_2

I have three pages page 1 :through a submit button in page 1 ... I want to be redirected in page2 in new tab and page3 in the same tab. Is that possible? Page1 contains : using (MemoryStream memoryStream = new MemoryStream()) { document.Save(memoryStream, false); memoryStream.Position = 0; Session["BinaryData"] = …

Software Development gui pdf session
Member Avatar for hericles
0
270
Member Avatar for PratikSagar
Member Avatar for Tomas_3

Hello guys, I am Toni Hacker, i browsed through this forum and I saw you guys really talk more about programming. i wanna make an operating system but i need a team. please its gonna be an open project. I need your advice and help. anybody care to help

Software Development c c++ java python
Member Avatar for Raul Perez
0
315
Member Avatar for Louis_4

I. You are required to develop 1. Develop Problem Analysis Chart (PAC) (5 marks) 2. Interactivity Chart (5 marks) 3. Input Process Output Chart(IPO) (5 marks) 4. Algorithms and Flowcharts for the following problem: (10 marks) A lecturer calculates grades by dropping the lowest Assignment score from FIVE assignment scores …

Software Development java
Member Avatar for Raul Perez
0
175
Member Avatar for rproffitt

One of the best tips I learned long ago was to turn on all warnings and error messages from the compiler or development system. Yet last week, once again a big system was being worked on and the bug was tracked down to *uninitialized variable*. Now this isn't specific to …

Software Development c c++
Member Avatar for Raul Perez
0
299

The End.