199,112 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
What does one mean when they say a particular folder should go as **win32 release** for production? | |
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 … | |
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 | |
i have multiple users who need to update a table into mysql with a csv file they will need to do this by pasting the csv file into a text area on the website the first row of that file contains the name of each feild and i need to … ![]() | |
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 … | |
How to create website like, [URL="http://www.paktvlive.com/"]http://www.paktvlive.com/[/URL] [URL="http://www.freetv-watch.com/"]http://www.freetv-watch.com/[/URL] | |
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 … | |
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; } | |
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 … | |
I wanyt to create a progress bar for my website in which a user can skip registration steps and fill them afterwards. Like supposeuser has to compulsorily foll step 1 & 2 of the reg process but can skip the 3rd and do it later. On his dashboard after he … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
#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 … | |
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 … | |
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 … | |
mysql query problem Sample data of my mysql. id | id2 | sender | recipient | senderread | recipientread | Title 31 | 31 | A177 | B213, A256| yes | yes | Question123 32 | 31 | A256 | A177 | yes | no | Answer456 33 | 33 … ![]() | |
I'd like to figure out how to (if there is a way) to have 3 dependent dropdown boxes with a submit button that could filter my blog by label. It's for athletes who want to be recruited. I'd like for coaches to be able to select a sport, then select … ![]() | |
I am in the process of updating a website, which uses Highslide and a thumbnail strip on the bottom. The old website works ilke a charm but the new one fails. On my test website (newer layout) the thumbnail strip shows the last picture five times. [Page on original website](http://www.onderwaterwereld.org/library/nl-zout/anthozoa/alcyonium%20digitatum) … | |
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 … | |
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 … | |
Hello Masters, I am new in Codeignitor but i enjoy here.I have one problem like, I want only display value comparison last date *less then or equal* current date. **Last date <= current** date.here last date mention by user.If last date *greater then current date* then those value auto delete … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
Hi just start learning rails i found some difficulties to start the server under linux mint please find the errors i get /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a … | |
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 … | |
Kindly Remove its errors and tell me the reason for the error. Code: https://www.box.com/s/enl4h6loqcnc7jqqgujq | |
![]() | I want to add text string at the end of the text file. I used "a+" for it but it delete all the content and than enters text to it. So please help. |
How a designer of a class can ensure that no one outside the class can make a copy of the objects of their class? | |
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 … | |
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 … | |
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 … | |
Showbiz carousel and cycle problem Hello, I am looking for a jquery guru that can help with a plugin that I bought. The developer of the plugin does not answer me and I need to go live next week. The plugin is called: Showbiz Carousel. It is a carousel for … ![]() | |
Hi every body as i am very new to this technology and hardly know few things but my organisation gave me a sample application which is build in Asp/net mvc3 and along with it C#.. i need to do some slight modification and want to change a databasefrom from MS … | |
#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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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, … |
The End.