132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xLuFeT

hello guys, This is my problem for example. My program is on my computer the image location of my picture is on my computer then i want to debug my program into other computer but the picture is not appear because the location path is changed this is my code …

Software Development image microsoft-office vb.net
Member Avatar for tinstaafl
0
187
Member Avatar for alice.cooper.18659

I am trying to make a histogram that represent the number of letter grades that are calculated. So the program reads in a csv file, pulls out the name, average grade and letter grade. From there it creates a histogram based on the letter Grades. Input: Alicia Marks,89,90,100,95,75,85,94,100,90,92 Bobby Ricks,98,79,87,79,9,98,7,19,98,78 …

Software Development java
0
100
Member Avatar for jose.a.rueda.5

Hi, I have this program in C that prints me a right character triangle but I created it in a way that it asks me for the number of rows I want to print, but what I actually want to insert is the letter that I want at the bottom, …

Software Development c
Member Avatar for tinstaafl
0
137
Member Avatar for Asotop

Hello again. Had yet another problem. This is the following log: Maalinger: Node: 1 Dato og KL: 2013-05-03 14:10:57 Puls: 554 Blodtrykk: 376 Kroppstemperatur: 20 Respirasjonsrate: 20$ Maalinger: Node: 1 Dato og KL: 2013-05-03 14:11:07 Puls: 554 Blodtrykk: 376 Kroppstemperatur: 20 Respirasjonsrate: 20$ Maalinger: Node: 1 Dato og KL: 2013-05-03 …

Software Development
Member Avatar for tinstaafl
0
252
Member Avatar for SirMahlon

#include <iostream> #include <ctime> #include <cstdlib> #include <iostream> using namespace std; For all 6-digit numbers from 100000 to 999999, find the numbers that, if you add the top three digits to the bottom three digits, and square the result, it will equal the original number. For example, for 123456, you’d …

Software Development c++
Member Avatar for SirMahlon
0
202
Member Avatar for Yustme

Hi everybody, I'm new in programming. Getting started with C. Im trying to do a few easy things like to uppercase a string. But i got stuck... This is what i have so far: [code] void toupper( char *text ) { char c[] = "testING"; } [/code] And im not …

Software Development c c# c++
Member Avatar for brcsur
0
9K
Member Avatar for wschamps42

I have a few code snippets from a tutorial Im reading my friend gave me to learn c++, and a lot of it is written in shorthand but I cannot fully understand the shorthand code. return c < Cnt ? &foo[c]:NULL;; this: return (cc > 0 && cc <= mCnt)?&foo[cc-1]:NULL; …

Software Development c c# c++
Member Avatar for wschamps42
0
177
Member Avatar for kartikguha

I am working on a project in which i do some calculations for products and produce some end results then browse an excel file containing reference value for the products, but now i require that if a particular product is not found, that product should be automatically added to the …

Software Development microsoft-office vb.net
Member Avatar for kartikguha
0
4K
Member Avatar for PM312

I am trying to populate combobox from access database but not geting populated only message 1 is displayed message 2 ,3 & 4 are not displayed, nither any eror is shown ------------------------------------ Imports System.Data.OleDb Public Class FrmPlPostCodeNl Public acsconn As New OleDb.OleDbConnection Public acsdr As OleDbDataReader Public strSql As String …

Software Development microsoft-access open-source vb.net
Member Avatar for PM312
0
218
Member Avatar for harishjoy

What does one mean when they say a particular folder should go as **win32 release** for production?

Software Development c
Member Avatar for harishjoy
0
103
Member Avatar for harishjoy

Hi Team, I have 2 questions: 1. If I create a DLL using VS 2005 for my application and then use the same DLL in some other machine which has vs 2005 redistibutables, it should work right? Please confirm. 2. I get debug assertion failed on a DLL. What could …

Software Development c
Member Avatar for harishjoy
0
295
Member Avatar for the_ yuo

if input is 0 150 17 the last number is 17 i need program that find how many 17 in 0 to 150? output should be 2 NOTE the program should run for any 3 input number

Software Development java
Member Avatar for chetas
0
304
Member Avatar for Asotop

Hello good sirs. I'm currently working on a project where I'm simulating a patientmonitor. Im using background worker to update the values every second. I got a treshhold on the values receives, so lets say that pulse = 140, its > 120, so it sends an alarm message to the …

Software Development
Member Avatar for Asotop
0
127
Member Avatar for DarkLightning7

I could not get c function calls to work inside of nasm so i wrote my own read integer procedure. Im sure its inefficient and could be greatly imporved but right now I'm interested in where the negative sign went. Any help is greatly apreiciated. ;---------------------------------------------------------; ;reads a 64 bit …

Software Development assembly
Member Avatar for Assembly Guy
0
233
Member Avatar for kyle.mace.35

can someone please help for me to change this function to iterative? int recursive(int n) { int total = 0; if(n>=3) return recursive(n-1) + 2*recursive(n-2) + 2*recursive(n-3); else if(n>=2) return total + recursive(n-1) + 2*recursive(n-2); else return total+1; }

Software Development c++
Member Avatar for tinstaafl
0
120
Member Avatar for jose.a.rueda.5

hi! i have a program in C++ that produces a right triangle of character and i need the same program, i mean a program that makes the same function, but in C. This is my program in C++ : #include <iostream> using namespace std; int main() { int i,j; char …

Software Development c c++
Member Avatar for mridul.ahuja
0
233
Member Avatar for fffttt

How to set that one panel contains three panels and each panels has buttons and textfield

Software Development gui java
Member Avatar for JamesCherrill
0
80
Member Avatar for kirkjabe

sir i have this question... I do have 3 folders in drive D:/ namely :Backup, Trea and Inven.. now wat I want to happen using VB 6.0 is dat should have a button in my program that will automatically copy the two folders (Trea and Inven) and in Backup folder …

Software Development visual-basic
Member Avatar for mridul.ahuja
0
112
Member Avatar for ChargrO

Hi guys I've been making a simple program using arrays and would like to add a function for a password instead of it being stored in one chunk of my button code. I'm not real good at functions yet and was wondering if someone could help me out. My code …

Software Development pay-per-click vb.net
Member Avatar for ChargrO
0
201
Member Avatar for DarkLightning7

So ive been teaching myself x86 over the last couple days now im trying to call c functions and am getting segmentation faults. if someone could explain how to call them properly that would be great. here is my code: print integer is just he control string %d as i …

Software Development assembly
Member Avatar for DarkLightning7
0
5K
Member Avatar for MRehanQadri

#include <iostream> #include <fstream> using namespace std; class a{ public: void set(int x){num = x;} int get(){return num;} private: int num; }; int main(){ ofstream o_("test.txt"); o_.close(); ofstream os("test.txt", ios::binary | **ios::app**); a o; o.set(1); os.write(reinterpret_cast<char*>(&o), sizeof(a) ); // a o2; // o.set(2); // os.write(reinterpret_cast<char*>(&o), sizeof(a) ); os.close(); a o3,o4; …

Software Development c++ ios os-x
Member Avatar for MRehanQadri
0
2K
Member Avatar for ChemE_Programma

Hello everyone, I am trying to set a global variable in a module so that I can call it from any form or command button. I thought that I would declare the vairable by "public x as double" then set "x = 45" But how do I use "x" in …

Software Development visual-basic
Member Avatar for tinstaafl
0
260
Member Avatar for teo236

I am writting a simple C++ programm and I want to generate outputs to the console but with the functions 'fwrite' and 'printf'. However, I can't print special characters like 'á', 'Ă©', ... Here is a simple code: printf("Special character: 'ñ'"); Were the output was `±` I found that those …

Software Development c++ visual-studio
Member Avatar for tinstaafl
0
362
Member Avatar for achinthaadd

hi.. i maked small application. it work my machine well. but i tried to install it to other pc whic has win7 64bit. it got error when run applicantion ( setup installed whitout error) **"error error microsoft.ace.oledb.12.0 provider is not registered"** How i fix error and can i know how …

Software Development vb.net
Member Avatar for achinthaadd
0
186
Member Avatar for lewashby

In the following program I'M trying to take a number no more than 12 digits long and make it a factor of 3. If the input is 1, the program would turn the number into 001. If the input is 12, the program would turn the number into 012. If …

Software Development c++
Member Avatar for tinstaafl
0
122
Member Avatar for samuel terngu

I have created a datagridview on a vb.nt form with drug_id,brand_name,date_made,date_expired as columns and i want to get a vb.net procedure or vb.net code that will insert the data on the datagridview to my Access database when i click insert button on the form.My database contains int_id column which is …

Software Development vb.net
Member Avatar for kRod
0
2K
Member Avatar for Violet_82

Hi all, I have just finished with my tict-tac-toe program, and I thought I'd post it here if anybody fancy giving me any feedback. Also, I have a problem with printing the board, probably due to my lack of knowledge in using `printf` as opposed to `println`. Anyway this is …

Software Development java
Member Avatar for Violet_82
0
237
Member Avatar for gobiking

Hello, I have been messing around and writing more and more intricate calculator programs on MVE C++. The issue I am having right now is my program is not running unless I give my add, sub, etc. a value. When I try to just leave them as int add; or …

Software Development c++ programming-construct
Member Avatar for gobiking
0
226
Member Avatar for dancks

From an exercise in a cocoa programming book I'm trying to make a to do list app that simply adds, removes and change the entries in the table. I have a lot of things wrong with it. relevant info: * add button: add entry with text from text field. If …

Software Development gui objective-c user-interface
Member Avatar for dancks
0
766
Member Avatar for LeNenne

Hi and thanks for all help. How to erase a file file.Delete (App.Path & "\backup\PhoneTel.mdb") it do not work. Or do like this instead that the file phonetel.mdb is uppdating evry time you press enter.

Software Development visual-basic
Member Avatar for Jx_Man
0
124
Member Avatar for gobiking

Hello, I am new to C++ and I was trying to write a simple calculator program that has a do-while loop and also includes a series of != statements. Even though I make the statements with all the appropriate keystrokes it keeps giving me my invalid sign statement. Also, I …

Software Development c++
Member Avatar for Labdabeta
0
296
Member Avatar for mike.woeber.5

I would like to know how to design a program(a) to run outside another program(b), that will click a button that comes up while using the program(b). Reason being, is the program that I am using constantly asks me to hit next after scanning a product, so I want to …

Software Development java
Member Avatar for mike.woeber.5
0
150
Member Avatar for MRehanQadri

Kindly Remove its errors and tell me the reason for the error. Code: https://www.box.com/s/enl4h6loqcnc7jqqgujq

Software Development c++
Member Avatar for MRehanQadri
0
188
Member Avatar for Shahrukh017

How a designer of a class can ensure that no one outside the class can make a copy of the objects of their class?

Software Development c++
Member Avatar for Moschops
0
112
Member Avatar for Mocabilly

Hi all, We use a .hta vbscript from a fileserver, but after office 2007 has been intalled, the script does not read/write from/to a .mdb file on that same fileserver. The script does work (with office 2007), if it is started from a desktop instead of the fileserver. (reading/writing the …

Member Avatar for Mocabilly
0
301
Member Avatar for somjit{}

this is the problem code : import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.io.IOException; public class Prepared { public static void main(String[] args) { try { readerHelper r = readerHelper.GET_INSTANCE; System.out.print("enter username: "); String user = r.is().readLine(); System.out.print("enter password: "); String pass = r.is().readLine(); Connection con …

Software Development java mysql sql
Member Avatar for somjit{}
0
225
Member Avatar for SLMQC

I am trying to write the information below (name, employee no., etc.) to a file using StreamWriter. I'm able to enter the data, click the save button, enter/change the save location and file name and save the document. When I open the saved document, its blank and none of the …

Software Development file-system visual-basic
Member Avatar for SLMQC
0
167
Member Avatar for somjit{}

the following is taken from joshua bloch's effective java. pg 82: public class InstrumentedHashSet<E> extends HashSet<E> { // The number of attempted element insertions private int addCount = 0; public InstrumentedHashSet() { } public InstrumentedHashSet(int initCap, float loadFactor) { super(initCap, loadFactor); } @Override public boolean add(E e) { addCount++; return …

Software Development java
Member Avatar for somjit{}
0
176
Member Avatar for eig132062

#include <string> #include <ctime> #include <fstream> #include <iostream> #include <cstdlib> #include <cmath> #include <iomanip> using namespace std; `static unsigned int Q[41790],indx=41790,carry=362436,xcng=1236789,xs=521288629; unsigned int refill()// refill f(n) for SuperKISS { int i; unsigned long long t; for (i=0;i<41790;i++) { t = 7010176ULL * Q[i] + carry; carry = (t>>32); Q[i] = …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
208
Member Avatar for ses03

here is my code: this is my select query where I concatenated the firstname, lastname, and middle initial..(and display it on the data grid) Private Sub DisplayListOfPosition() query = "SELECT profNo as 'No', CONCAT(profFName,', ', profLName, ' ', profMI,'.') as 'Name', profAddress as 'Address', gender as 'Gender' FROM tbl_professor_bs" FillDBGrid(query, …

Software Development vb.net
Member Avatar for ses03
0
208
Member Avatar for creativehacker

I am able to add a link to a datagridview but the problem is I want all the links with same name. But I am getting the name from database data [CODE] DataGridViewLinkColumn linkColumn = new DataGridViewLinkColumn(); linkColumn.Text = "View"; linkColumn.HeaderText = "View"; linkColumn.Name = "View"; linkColumn.DataPropertyName = "PART_NO";[/CODE] This …

Software Development
Member Avatar for praveshsingh
0
478
Member Avatar for krishnisilva

Hi , I am using C# to do my projects and I have connected to a MS SQL database file and I am using MS visual studio 2008 standard edition. I need to get all the users first name and the last name and display in a combo box when …

Software Development c c# c++ sql visual-studio
Member Avatar for curos
0
2K
Member Avatar for de Source

hi, i have a drop down list populated with column names of tbl_student and a text box for searching specific value coresponding to the value selected in drop down list i do not have much knowlewdge about qureies might b m lacking there error is Incorrect syntax near '=' my …

Software Development sql
Member Avatar for de Source
0
838
Member Avatar for 404notfound

I'm following a [tutorial](http://www.codeproject.com/Articles/16951/Populating-data-from-a-CSV-file-to-a-DataGridView), which was going great, until I actually ran the project and got an error: > No row can be added to a DataGridView control that does not have columns. Columns must be added first. this error occured at: Me.DataGridView1.Rows.Add(Splitline) I've searched all over but can't find …

Software Development vb.net
Member Avatar for tinstaafl
0
280
Member Avatar for thanzeem7

Can anyone know how to set the Crystal Report path as App.path. Because in my project, the report path in **LocalDisk(D:)**. I copy the debug folder to another computer with only one **LocalDisk(C:)**. It display error. So i need the reports in app path. How i perform this?

Software Development vb.net
Member Avatar for thanzeem7
0
613
Member Avatar for leah.s.h

You will need to check that the four parameters entered by the user are blank, so you will do the same as you did before but four times. To Identify if the User Presses <enter> You have written a JAVA program that creates a CD object with four instance variables, …

Software Development java
Member Avatar for stultuske
0
305
Member Avatar for pearl.kumar1

These files'print new.exe.config' and 'print new.vshost.exe.config' are created Automatically after Restart my system(Not Properly Shutdown).After open the project and run.It shows Error Like 'MY ATTACHMENT'

Software Development vb.net
Member Avatar for pearl.kumar1
0
109
Member Avatar for yksrmc

Hi Perl Experts, I'm new for perl. Thanks to give some time for my question.I have extract shared positions between two files and now I have one file like following. File is tab delimited Chr1 position QUAL GT_1 GT_2 1. chr1 478493 595 G/T G/C 2. chr1 879243 700 A/T …

Software Development file-system perl
Member Avatar for yksrmc
0
2K
Member Avatar for adrian.luna.7311

can you pls help me for my project in turbo c++ oop

Software Development c++ oop
Member Avatar for adrian.luna.7311
0
51
Member Avatar for bumsfeld

I was trying to come up with a dictionary of functions, but get it not to work.

Software Development python
Member Avatar for Kyss
0
240

The End.