132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Goldfinch

I've been trying to figure out how to launch a java application from a single double click file like you would Microsoft Word or Firefox. I think I've seen a couple of Java applications that do this, but I haven't seen how.

Software Development java
Member Avatar for <M/>
0
204
Member Avatar for krebz

Hi Experts, I've got a school assigment in c language programming but this course is new to me. Q. Create 5 users - the 5th user would be the admin Admin would have privilledge to view user profile and disable user account. User Profile: Name, D.O.B, Gender, Occupation, Contact, Income …

Software Development c
Member Avatar for krebz
0
147
Member Avatar for Pobunjenik

Hi, thanks for looking at this thread. :) **The goal:** I have this 2D boolean array (from my [decoder](http://www.daniweb.com/software-development/java/threads/452559/decoder-simulatorcalculator-complement-of-2-problem) thread). I managed to write a method that goes through the rows and appends a '1' or a '0' to a string based on what's in the array (1 for true, …

Software Development java
Member Avatar for Pobunjenik
0
366
Member Avatar for Kosamov

Hi Everyone, I've been working on creating this code for a project I've been working on but I can't seem to get it to work. I'm creating a service class that I can then pass to a client class that will read a list of cities that ends in a …

Software Development java
Member Avatar for Kosamov
0
163
Member Avatar for dmanw100

I'm learning how to use the SDL libraries but I'm having a small problem playing the sound. The program appears to load the sound but either not play it or play it too low for me to hear. Here's my code so far: [CODE]#include "SDL/SDL.h" #include "SDL/SDL_mixer.h" Mix_Music *play_sound = …

Software Development c++
Member Avatar for hassan.ahmad
0
499
Member Avatar for Pobunjenik

Hi! It's me again and [this](http://en.wikipedia.org/wiki/Decoder) is a decoder! **The goal:** And I'm trying to make a program that solves logical problems related to the decoder device. For that I need a loop that write true/false into a boolean[][] based on the rules. Say we have a decoder with 3 …

Software Development java
Member Avatar for Pobunjenik
0
450
Member Avatar for MareoRaft

1. I see %f is for float, %@ is for string. Is %d for anything? Which % is for double? Which % is for BOOL? 2. What is the different between double and float? When I put float flow=-8.1234567890123456789; //4 bytes floating point double dobble=-8.1234567890123456789; //8 bytes floating point NSLog(@"flow …

Software Development objective-c
Member Avatar for geojia
0
168
Member Avatar for MareoRaft
Member Avatar for geojia
0
323
Member Avatar for klin1344

Hi everyone. I am doing a USACO training assignment, and the instructions are as follows: > Is Friday the 13th really an unusual event? > > That is, does the 13th of the month land on a Friday less often than on any other day of the week? To answer …

Software Development java oop
Member Avatar for klin1344
0
1K
Member Avatar for GaryWazHere

Hi, I need help with my c++ maze game. The problem that I'm having is my keys and doors. I don't really know how to unlock a door after obtaining a key. Heres my code, its a bit messy: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <process.h> #include <cstdlib> #include …

Software Development c++
Member Avatar for GaryWazHere
0
1K
Member Avatar for amvx86

Hello all, I am trying to get a bunch of sub-keys and values from the registry in vb 2010 and i remember in vb6 this was quite easy. Can anyone share code to help? Or a link where I can go? I've been searching for nearly 8 hours on line …

Software Development programming-construct vb.net
Member Avatar for amvx86
0
2K
Member Avatar for mnorton

Hi - I am a pretty remedial visual studio express user. I recently understood how to do cascading comboboxes using the binding sources of the related tables, eg tbl 1 Make, Table 2 model, so as eg only ford models displayed in cbo2 if Ford selected in cbo1 - thanks …

Software Development sql vb.net visual-basic
Member Avatar for mnorton
0
1K
Member Avatar for shaun.b

Hi Again, I have now completed my project and have deployed it successfully, however, i have some ilmerge and obfuscator post build commands that run successfully (I assume, as there are no errors). However, when i deploy the project using an installshield project, and install it on a test computer, …

Software Development
Member Avatar for shaun.b
0
274
Member Avatar for mkweska

Hello all! I was able to make a program that writes random numbers to a file depending on how many the user requests. I now need to write a program that read those numbers...prints them... then at the end adds all the numbers from each line together and adds them. …

Software Development python
Member Avatar for snippsat
0
176
Member Avatar for frontier6444

Hello, I am trying to figure out a way to open MS Word inside a panel in visual studio 2010. The code I have works for certain .exe files but if I try with word or excel it opens it's own window. Can anyone tell me if this is possible? …

Member Avatar for frontier6444
0
522
Member Avatar for mward92

I have made 4 classes that represent an Employee based Java GUI. They are Person, Employee (extends the Person class), EmployeeFrame (used to model a JFrame), and EmployeeTester (contains the main method to run the GUI). What I want the GUI to be able to do, is allow the user …

Software Development gui java oop
0
143
Member Avatar for mical700

Write a program with subclass InterestAccount and CDAccount. The driver program (Account.java) must perform following transactions: 1) Print the name of your bank and yours at the top. 2) Creat an Intrest Account for "Benjamin Franklin" with PIN of 1234 and a starting balance of $100. 3) Creat a CD …

Software Development java
Member Avatar for mical700
0
4K
Member Avatar for mkweska

Ok thank you in advance for any help! The problem: Write a program that asks the user for the name of a file. The program should display the contents of the file with each line preceded with a line number followed by a colon. The line numbering should start at …

Software Development file-system python
Member Avatar for snippsat
0
479
Member Avatar for baiumbg

I'm having trouble with a bit of code here. What I'm trying to do is paste multiple images(generated from a helper function) into a RichTextBox. Here's my code: string tempText = "For the arithmetic progression $a_1, a_2, a_3, ... a_9$ it's known that $a_2 + a_8 = 8$. The sum …

Software Development image
0
142
Member Avatar for Ismatus3

Hello , I am asking about how to create a cickable Area in a Tkinter windows , or if i can make a label Clickable ? this is how the labels are defined : for z in rows: distligne = 15 + distligne a = (z[0].strip(),z[1].strip(),z[2].strip()) print z[0] print a …

Software Development python tkinter
Member Avatar for Ismatus3
0
295
Member Avatar for ירון

i wrote some program in c++ that open csv file and do somthing and copy the resault to new CSV file after compile i get exe file. when i run the exe file, its working well (create the new CSV file) but if i try to run the exe file …

Software Development c++
Member Avatar for ירון
0
500
Member Avatar for dhananjay1

Can you give me information about Software development in C#

Software Development
Member Avatar for ddanbe
0
61
Member Avatar for Elixir42

Hi , Please can anyone help. I have a window(1280x768) that contains a resolution(1920x1080). I am trying to use ScreenToClient to obtain the mouse coordinates while in windowed format. I am drawing a line from a subject to the mouse cursor which works fine in fullscreen but not in windowed. …

Software Development c++
Member Avatar for Elixir42
0
516
Member Avatar for Nebil

Hi guys,i was having this problem with inserting a record into access database in visualstudio 2010. here's the problem,here's the code bridgenumber = TextBox1.Text.ToString() bridgename = TextBox2.Text districtname = ComboBox1.Text sectionname = ComboBox2.Text roadsegmentname = ComboBox3.Text bridgetype = ComboBox4.Text bridgespan1 = TextBox3.Text bridgecondition = ComboBox5.Text acquisitionyear1 = ComboBox6.Text evaluationyear1 = …

Software Development vb.net
Member Avatar for Nebil
0
761
Member Avatar for you207

Sample input: hello world a b c d Sample output: hello a world b c d Im stuck in a infinite while loop(while(j<maxStr+2)) and i need help to get out of it.Please help! Here is my code: #include "stdafx.h" #include <string.h> #define MAX_STR 5 int _tmain(int argc, _TCHAR* argv[]) { …

Software Development c
Member Avatar for Banfa
0
226
Member Avatar for ef_mag

Hi, i have plenty of excel files i have to read them and store the data in a database. I am using eclipse as editor and mySQL. I am using APACHE POI to read the excel files and JDBC for the connection. The excel files have the structure as the …

Software Development apache data-structure file-system java mysql
Member Avatar for JamesCherrill
0
2K
Member Avatar for ana_eht

Hi it's me again with the silly problems in my vb .net codes :( I have a serious problem with combo box i need to use the selected item in combo box when user selects for example GREEN from be drop down list after than i need to put that …

Software Development vb.net
Member Avatar for xyudha
0
757
Member Avatar for CSharpUser

Hello, I have an ASP web application and in the C# code behind I want to present the user with a simple yes/no dialog box that gives them the opportunity to save a file that their input has created. I've used a simple implementation of ClientScript.RegisterStartupScript elsewhere in the code …

Software Development
Member Avatar for swathi@123
0
1K
Member Avatar for terrier_unknown

hY THERE, i ve been working with c# for a while now but i just can t understand Why would i use classes when i can created methods. I found out that you can always use methods instead and that s bothering me a lot because i see people using …

Software Development
Member Avatar for ddanbe
0
144
Member Avatar for Sadun89

Hi friend, I’m very new to C# and I need some important help from you. That is, I wanna store value inside of array or array list that are inserted form text boxes. Finally I need to get sum of that stored value. How I need to do this. Do …

Software Development c#
Member Avatar for Sadun89
0
277
Member Avatar for joseph.lyons.754

Hey guys, i found this tutorial online that involved searching your database for an existing value. I have changed the code around so it fits with my system but when i run it the input displays but once i press ok the input box closes and nothin else happens. Heres …

Software Development java sql
Member Avatar for joseph.lyons.754
0
197
Member Avatar for saadi068

I am working on NoC simulator in ubuntu 12.04 c++ is supported, I want to make a script that call my whole program multiple times (for loop= e.g 10) and want to take average value from the functions that were called from other files. Should I create a new file …

Software Development c++ mathematics ubuntu
Member Avatar for saadi068
0
285
Member Avatar for zai04

is it possible to input your name, middle name and surname and then will display initilas in large block letter made up of same character it represents???

Software Development java
Member Avatar for stultuske
0
206
Member Avatar for benshums

Hi, I'm having trouble getting this linker bug to go away. I have 2 files: Socket.cpp and Socket.h. I know that these files are legitamite because my professor gave them to me during last semester. When I remove socket.cpp, everything compiles just fine. But with Socket.cpp, I get these errors. …

Software Development algorithm c++ queue visual-studio
Member Avatar for sakthilolita
0
339
Member Avatar for keval_hack

hi, [CODE] #include<stdio.h> #include<conio.h> struct cricket { char name[10]; char teamname[10]; float batavg; }c1[5]; void main() { int i,j; clrscr(); for(i=0;i<2;i++) { printf("Enter name:"); scanf("%s",c1[i].name); printf("Enter Team Name:"); scanf("%s",c1[i].teamname); printf("Enter Batting avg:"); scanf("%f",&c1[i].batavg); } for(i=0;i<2;i++) { printf("%s\n",c1[i].name); printf("%s\n",c1[i].teamname); printf("%f\n",c1[i].batavg); } getch(); } [/CODE] When i running the above program which …

Software Development c
Member Avatar for chiragkhimani
0
300
Member Avatar for terran1

Hello guys I have an application for face detection and recognition using OpenCV library and Qt (for multithreading and to handle XML files). When I run the app, it detects face and there is possibility to save it as a picture to a file. It happens after I click on …

Member Avatar for DeanMSands3
0
938
Member Avatar for nouth

textfileA = one word per line textfileB = multiple words per line textfileC = words that I have manually found already if words from textfileA also exist in textfileB, I need to replace the words in textfileB with "error" and write the replaced words from textfileB to new lines in …

Software Development python
Member Avatar for nouth
0
328
Member Avatar for tendaimare

I am getting this error when I try to pass an sql string to an external crystal report. extenal in the the report is not part of the project but a crystal report file. I have uploaded a summarised version of the project Dim Report As New CrystalReport1 Set rs …

Software Development visual-basic
Member Avatar for imBaCodes
0
727
Member Avatar for Papa_Don

Group, I've been working for several hours trying to correctly write to a database file. Here are the parameters: Database Name: DATADESIGNSOLUTIONS Table Name: PRINTERMAINT Column Names: PrinterID (primary Key), PrinterName, PrinterNumber, PrinterLocation, PrinterAddress I've been working at this two ways: through the Visual Basic code and through SQL Server …

Software Development open-source sql vb.net visual-basic
Member Avatar for Papa_Don
0
1K
Member Avatar for tdee

You will create a program that determines the language of a given input file based on the words in that file. The structure of the input files will be one word per line (all lowercase letters). You should read these words in one LETTER at a time. Each input file …

Software Development c++ data-structure ios open-source
Member Avatar for VernonDozier
0
240
Member Avatar for lcfjoertoft

I want to make a small logo in the upper corner of a Form rotate. I've seen on some forums that they have small avatars dancing and such, so I imagine it would be posible to make a tiny image rotate by it self up in the corner in a …

Software Development image vb.net
Member Avatar for klausnew
0
321
Member Avatar for Sammys.Man

hi guys, wondered if anyone could help please, i have populated my combobox with the names i want, but im at a total loss on how to populate the textboxes based on my selection im guessing its got something to do with combobox_selectedIndexChanged but i dont know how to do …

Software Development dataset open-source vb.net
Member Avatar for TnTinMN
0
1K
Member Avatar for rishif2

There is very simple application (it uses some special fonts). Now i wanna create a setup using package & Deployment wizard , So what should be done to add that fonts to the package . These fonts should be installed automatically when user run the setup and so that there …

Software Development visual-basic
Member Avatar for TnTinMN
0
133
Member Avatar for tricket_7

How do I implement a frequency counter in a treenode that increases when the user enters an existing word? I have a program where the user is asked to choose: enter string, search for string My frequency counter is not working properly. How do I keep track of the frequencies …

Software Development java
0
461
Member Avatar for riahc3

Hello I, like everyone else, has made a text based calculator but Ive never worked with GUI in Java. Im using MyEclipse. Very simple. Numbers, four symbols (+, *, / and -) and "=" Nothing else How would I even start with this? Thank you

Software Development gui java
Member Avatar for cisumma
0
387
Member Avatar for zachattack05

So I've been thinking about SQL security lately and wanted to see what others are doing. I have been using integrated security (window's authentication), stored procecedures when necessary and have done my best to limit access to tables and those stored procedures with SQL server in conjunction with my application. …

Software Development sql
Member Avatar for zachattack05
0
212
Member Avatar for Ismatus3

Hello , I am asking about houw to get a hand form of the mouse when it is over a "Label" , this Label is Clickable and defined like this : def callback(event): print "clicked at", event.x, event.y Interface1() lab1dep = Label(interf1, text="Departement Informatique" ,bg = "blue" ,font=("times",12, "bold"), fg …

Software Development python tkinter
Member Avatar for Ismatus3
0
229
Member Avatar for letlet_pogs

hello, guyzz,,i hope you can help me,,actually,,this is not my whole code.but please help me with this... public class Calculator { public static void main (String args[]) { String exp = JOptionPane.showInputDialog("Enter mathematical expression: "); exp = infixToPostfix(exp); JOptionPane.showMessageDialog(null,"Postfix expression: " +"\n"+ exp); public static String infixToPostfix (String infix) { …

Software Development java
Member Avatar for JamesCherrill
0
7K
Member Avatar for sayakc5

I am presently doing a project in vb 2008 where the database that i need is in MS Access... I have windows 7 64bit OS and msjet4.0.dll in the c:\WINDOWS\SYSWOW64 folder but still when i run the .vb code i get an error ...as follows.. The 'Microsoft.JET.OLEDB.4.0' provider is not …

Software Development microsoft-access vb.net
Member Avatar for TnTinMN
0
119
Member Avatar for greyfox32

I am working on a project for class. I have to write a program that reads in an infix expression and converts and it to postfix and evaluates it. Currently I have it to where I can convert an infix expression with no parentheses to postfix, but am having some …

Software Development java
0
169

The End.