43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for phorce

I'm working on a project that generates roughly between 13x512 values in which I compare at run-time. So the program outflow will be sort of as follows: - Program executes - Extracts (1) 12x512 - Extracts (2) 12x512 - Compares (1) to (2) - Extract (3) - Compares (3) to …

Software Development c++
Member Avatar for Moschops
0
235
Member Avatar for Ahmed.C

Hi. I was just wondering if there is a simple way to get the file size of a selected program. The thing is that if i select a word document or etc the file size should be 2.34MB not like 2355.2 in KB or B. If the file size is …

Software Development file-system vb.net
Member Avatar for Ahmed.C
0
183
Member Avatar for PratikM

Hi there, I'm back again and this time I have another question: So I figured out that I have to use Array Lists for my last question, but now, I have another problem: How do I get all the user inputs separated into different strings so that the user may …

Software Development java
Member Avatar for JamesCherrill
0
485
Member Avatar for Rahul47

Here is what i coded for a simple binary to octal converion. If no of digits in binary are multiple of 3 then it works fine but get crashed otherwise . . . . am not able to figure our how to pad up for the grouping of 3 when …

Software Development c
Member Avatar for somjit{}
0
370
Member Avatar for gayzlein

Hello, i need a code to show data from database into textbox i have this request "select count(*) from table" i work with access database andi want show the result in textbox pleaase help

Software Development vb.net
Member Avatar for gayzlein
0
8K
Member Avatar for dws.ash04

Hi, so yeah. what i'm trying to do is load an image from my database create some graphics to it. probably just some lines and marks and save it back to my database. here's so far what I got. for creating graphics: } private void pictureBox3_MouseDown(object sender, MouseEventArgs e) { …

Software Development open-source
Member Avatar for dws.ash04
0
940
Member Avatar for weeraa

I'm bit new to C#. I just want to change the start up form in my project. (This is a windows form application). There is a field named with STARTUP OBJECT and a dropdownlist in Project properties. But my problem is I have created few forms in my project and …

Software Development
Member Avatar for weeraa
0
265
Member Avatar for timmyjoshua

pls, how do i add sound to my c# form.... e.g after a user clicks a button then a certain sound should prompt..i heard of signal IR but i don't understand it...

Software Development c#
Member Avatar for ddanbe
0
97
Member Avatar for Olagsfark

Please i got a problem linking my .cpp files together in my c++ project. I dnt knw how to specify the file path for #include . Please any help?

Software Development c++
Member Avatar for phorce
0
219
Member Avatar for manel1989

Hi everyone! I would like to know how to show my Form21 from a click on a button in Form1 I used this code here: #include "Form21.h" /// Form21 ^maForm2 = gcnew Form21(); maForm21->Show(); I do not know why it does not work yet I found it in FAQC + …

Software Development c++ visual-studio
Member Avatar for ddanbe
0
294
Member Avatar for Aakeem

I was wondering if there was a way to use the values in a list one would create. Such as secrete_door = [1,2,3,4] print "Choose the right door and you may proceed." print "Guess a door 1 through 4." # I would like to pull a number from the list …

Software Development python
Member Avatar for ddanbe
0
155
Member Avatar for DarkLightning7

I need to get the value of the primarykey for the most reciently created entry in an h2 database only problem is i cant figure out how to call scope_identity() which is supposed to return a resultSet with the most reciently created key. Here is the function i am using: …

Software Development html-css java sql
Member Avatar for ~s.o.s~
0
691
Member Avatar for murali2489

Hi All, I am having a tablespace named Incident which has eight columns . The first column is index which i kept as auto increment. The columns are 1.index(auto_increment) 2.ticket_no (String) 3.date(String) 4.description (String) 5.priority (int) 6.state (String) 7.follow_up (String) 8.status (String) Now i tried to insert test row in …

Software Development java java-swing sql
Member Avatar for murali2489
0
427
Member Avatar for vividiah

hi good morning, I would like to ask why when I run my program, but it appears a message like this "Runtime error '381 'Invalid property array index". I am confused about this because I am still a beginner :) what is the solution for this? This is my code: …

Software Development visual-basic
Member Avatar for vividiah
0
2K
Member Avatar for PratikM

Hi there, So I am trying to make a program that will allow me to input multiple users and be able to store data under their names. My problem is that I don't know how to make it so that the user can input as many names as he/she wants …

Software Development java
Member Avatar for PratikM
0
116
Member Avatar for patrickmhando

How can i delete a record from a datagrid when i highlighting a certain row in my vb.net form ? I expect good answers from you guys. Thanks.

Software Development vb.net
Member Avatar for Stuugie
0
54
Member Avatar for Muhammad Waqar_1

Hi, i have a problem here i am trying to write to a file through fwrite and read through fread functions. it asks me to enter 5 values with no problem but when i trying to read from a file it prints 6 values, the 5th values prints twice what's …

Software Development c
Member Avatar for Muhammad Waqar_1
0
203
Member Avatar for ddanbe

After reading the intresting articles of vegaseat, I finally decided to get my toes wet. So I installed Pyton 3.3.2 amd the plugin for Visual Studio 2010. The best learning is of course practice, so I started coding right away. Here is my first try: import sys print('Hello World') print('I …

Software Development python visual-studio
Member Avatar for vegaseat
0
278
Member Avatar for cool_zephyr

I got a string `\x3Cb\x3EHello, World\x3C\x2Fb\x3E` as a webresponse..i think it means `<b>Hello, World</b>` but i don't know how to unescape that sequence into java string..could anyone please help me with this?? Thank you.

Software Development java
Member Avatar for cool_zephyr
0
695
Member Avatar for HiHe

Can anyone give this a try? '''print_error_python33.py there are times when a print() trailing newline disappears with Python 3.3.0 this does not happen with Python 3.2.3 or Python 2.7.3 ''' size = 180000 print("creating long string of %d sevens" % size) # create a long string of digits s2 = …

Software Development daniweb-bug python
Member Avatar for vegaseat
0
338
Member Avatar for akhilchandranms

how can i make the system (execution process )wait for some periode of time

Software Development java
Member Avatar for JamesCherrill
0
309
Member Avatar for rectifryer

I am currently trying to use the "find" command with symbollic links created by a tcl script that are pointing at another file in another directory (RH5). My script is written in bash, however: find /home/directory/subdirectory -name *.gz -type f -printf '%T@ %p\n' | sort -n | tail -n 1 …

Software Development shell-scripting
Member Avatar for rectifryer
0
166
Member Avatar for saeef007

Write a Java program that prompts for an individual’s age and prompts him/her to pay the price of a train ticket based on the following conditions: If age is greater or equal to 12 but less than 65, Rs 375.75 is charged. If age is less than 12 but greater …

Software Development java
Member Avatar for nira9
-2
110
Member Avatar for every1play

Hi guys, I am creating a 2D casual game and i encounter a problem. The problem is that I have a highscore features that saves to a text file by storing the name and score Now i wanted it to sort using bubblesort and structures. How can i achieve that? …

Software Development c++
Member Avatar for rubberman
0
317
Member Avatar for Paul_15

I am developing an application which I have added 2 combobox's (possibly not the best way but it works fine in the most part) which I import data into from a CSV file. I have added code in so that users can add to this file, again this works fine. …

Software Development linked-list vb.net
Member Avatar for Paul_15
0
145
Member Avatar for Paul_15

I have created an application (in VB Express 2008) which allows me to distribute some useful web pages to users. The problem I'm experiencing is sorting on ComboBox1 (renamed to PageName) and this then throws the URL Address combobox (ComboBox2) out of sequence. Any help on this? Tried using the …

Software Development vb.net
Member Avatar for Paul_15
0
117
Member Avatar for pc20912

TabControl1.SelectedTab.Controls(4).Text =”Test” Control and Tab Pages created in runtime. (No of Tab pages depend on user input) How to handle this control without control Number. ? (Is any way to handle with Control Name)

Software Development vb.net
Member Avatar for pc20912
0
295
Member Avatar for andrew.mendonca.967

Write a program to read the coefficients of a series of quadratic equations from a text file and print the associated roots, or appropriate errors if there are no real roots, to another text file. The coefficients of a quadratic are the a, b and c of an expression of …

Software Development c++ file-stream
Member Avatar for nitin1
0
187
Member Avatar for somjit{}

whats even more is that if i create any new file in the "src" folder of the project , it doesnt create any new bin folder to place the class file. i dont know where the class files are of the compiled source code . only when i manually `javac …

Software Development github java
Member Avatar for somjit{}
0
4K
Member Avatar for dreking6

newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= …

Software Development gui python tkinter
Member Avatar for dreking6
0
2K
Member Avatar for ProDev7

Hello guys could anyone explain what is the point in: #define DEBUG and #define NDEBUG? when should we use them and how?? I'd like to see some examples any help is highly appreciated

Software Development c++
Member Avatar for ProDev7
0
207
Member Avatar for nikki05

Hi, I read many articles about this, but I still couldn't manage to solve it. I want to select the item of a listbox with MouseEnter event. It should be something similar like this Private Sub LBox_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles LBox.MouseDown If e.Button = MouseButtons.Right Then Dim …

Software Development vb.net
Member Avatar for nikki05
0
1K
Member Avatar for kRod

Good Day all, My question is When I get the schema of an EXCEL worksheet with Column headers I get what's expected the names of the columns but when I get the schema of a worksheet without headers I get the first row of data as the Column Names. The …

Software Development microsoft-office vb.net
Member Avatar for kRod
0
495
Member Avatar for durgesh1

hello all i tried to fetch data from databse and try to stored it in an array and i want to compare new value that come from database with array if this new value is already stored in this array i like to executed new query if not in array …

Software Development java
Member Avatar for durgesh1
0
242
Member Avatar for nikki05

Hi, I have one form with multiple controls (e.g. Button,Textbox, RadioButton, ComboBox, etc.). I want to set the focus dynamically on a control using key F4 to highlight that control. Scenario: 1.Suppose the user clicks on any control 2.Press Key F4 to highlight that control so that the user will …

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

Hi. I've been working on this FTP client for a while and in it is Show selected image. I'm currently using this code: PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(ToolStripLabel1.Text))) I added it to the Form load event. The picture I'm acquiring is from an FTP server but each time it …

Software Development image legal vb.net
Member Avatar for tinstaafl
0
780
Member Avatar for StatiX

Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. I use the unique primary key in the datagridview as not visible so once the row is selected, i can get that integer and populate …

Software Development vb.net
Member Avatar for gever
0
74K
Member Avatar for MasterHacker110

I am trying to read all the files in a folder, if the file name == that of the name the user entered, the text of a button (that when on clicked will open the file) will be set to the file name. But my code for some reason doesn't …

Software Development java java-swing oracle
Member Avatar for MasterHacker110
0
276
Member Avatar for nikki05

Hi I am storing name and texts of controls (Label, Button, ComboBox, ListBox, etc.) into a dictionary. With ContainsKey, I am able to find the texts of Labels, Buttons, and RadioButtons. However, I am getting problem to find the items of ComboBox. Appreciate if you have an idea. If _dic.ContainsKey(selectedControl.Name) …

Software Development vb.net
Member Avatar for nikki05
0
230
Member Avatar for <M/>

This is a shameful question for me to ask but how do i keep the debug window open... it keeps on closing automatically rather than me closing it manually. I am using visual studios and it used to work when I just simply click (ctrl + f5). I doesn't work …

Software Development c visual-studio
Member Avatar for <M/>
0
207
Member Avatar for <M/>

How do i create a c project properly in visual studios. They (Youtube) say to click on the C++ button and change it from .cpp to .c. But when I debug my code to see my code compiled, I get an error saying that a PDB file is missing. What …

Software Development c perl visual-studio
Member Avatar for <M/>
0
130
Member Avatar for castajiz_2

Hi again, before a year ago when we were doing the graphics class at college my professor said that the coordinate system is reversed in programming that means that the Y axe is positive when facing down and the X axe is negative when facing right , however when using …

Software Development c#
Member Avatar for lolafuertes
0
289
Member Avatar for MasterHacker110

Ok so I have this problem: A friend that does a lot of online banking wants to keep track of their activity, so they save the "information" in a .docx file every time they are done. Now recently they have so many files that it is a hassle to search …

Software Development java
Member Avatar for MasterHacker110
0
179
Member Avatar for lupacarjie

Hello! I am creating an assembly program that accepts a single character and displays the alphabet in reverse. The requirements are (1) The input character should be displayed (2) The alphabet should be displayed vertically and (3) Only the letter 'Z' should be accepted as input. I have managed to …

Software Development assembly display
Member Avatar for lupacarjie
0
9K
Member Avatar for muyiwaj

i'm a programming beginner, and wanted an information for developing a soft from scratch. Pls. do assist me. Thanks

Software Development python
-1
75
Member Avatar for MasterHacker110

I have a simple program that is suppose to read character by character from a file, then if a counter reached a certain limit, it will print those characters in hex format and continue reading the next character from file: Here is my code, but it isnt working correctly, instead …

Software Development c++
Member Avatar for vajeerpatel
0
153
Member Avatar for somjit{}

while trying to compare times between two different ways of determing whether a number is odd/even without using modulo, i thought of using `long long int`s which my codeblocks compiler aint supports . and so i installed pelles c.( supports c99/c11 which inturn supports long long stuff.. ) and im …

Software Development c
Member Avatar for somjit{}
0
2K
Member Avatar for laavanya

what is the logic to count number of objects created implicitly and explicitly inside the same program..Please help.

Software Development c++
Member Avatar for laavanya
0
2K
Member Avatar for bob.henry.1884

//****************************// //*****DO NOT TOUCH THESE*****// //****************************// import java.util.*; import java.io.*; public class NumberGuessingGame{ public static int num; //variable to hold randomly generated number public static int guess; //variable to hold user inputs public static String ans; //variable to hold user input for y/n public static int guessnumber = 7; //variable …

Software Development java
Member Avatar for bob.henry.1884
0
252
Member Avatar for amvx86

Hey what's up everyone? I have a script here that works when i execute it from command line, and when I double-click it. Now, there is something interesting going on here. 1) When the program is executed by process.start it does not load (even when called from cmd.exe /c ...) …

Software Development python vb.net visual-basic
0
198

The End.