132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
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 | |
#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++ | |
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 … | |
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; … | |
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 | |
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 | |
What does one mean when they say a particular folder should go as **win32 release** for production? Software Development c | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 … | |
How to set that one panel contains three panels and each panels has buttons and textfield | |
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 | |
![]() | 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 ![]() |
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 | |
#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; … | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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 | |
Kindly Remove its errors and tell me the reason for the error. Code: https://www.box.com/s/enl4h6loqcnc7jqqgujq Software Development c++ | |
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 … Software Development client-server microsoft-access office-suite vbscript | |
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 … | |
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 | |
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 | |
#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] = … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
I was trying to come up with a dictionary of functions, but get it not to work. Software Development python |
The End.