132,726 Archived Topics
Remove Filter ![]() | |
Hi, I am using visual studio 2008. I have a winforms app that takes data from an xml doc. I store the data in a ms sql database that I have created via a stored procedure. When Irun the app the data from the xml doc is captured and put … | |
hi I want to write a VBA program, where i want to convert the currency notes into coins. I made a userform with one label, one textbox and one command button. Simply i want to write the codes under command button and want to run the program. After running the … Software Development vb.net | |
I am a learner in java . I want to connect my MYSQL database table to a combo box. I created 3 combo box on my jpanel.When I select first two combo box items its automatically call the data base and show the particular content from my table in the … Software Development java | |
I have to use a software package written in c with many different files. It has an executable file with a variable - cc=/usr/bin/gcc cc is later used in that file to compile other files present in the software. wenever i try to run this file I get an error … Software Development c file-system ubuntu | |
For starters, mine is C#, closely followed by VB.NET Software Development | |
1st off, just want to say if you're reading this, thank you for taking your time to help me out, I really need it. Ok now on to my question: Using C++ I'm attempting to use a "for"loop to ask user to input two integers, then the loop should add … | |
I would be really nice if someone presents an idea of how to link mySQL with A Java Program.. Tried it many times but unsuccessful. An example would be much useful. Thanks!!!!!!! Software Development java | |
(sorry i miss-typed dev c++ IDE) hi, i am a CS class right now, and my professor uses VS 2010. I on the other hand am cheap, and i opted to get dev c++ as a Integrated developing environment. I wrote this code for a project due tomorrow and it … | |
hi all. i have a two-dimensional array of System.Drawing.Color that I wish to populate with random colors. I have created a class called Utilities that I want to place a RandomColor() method so that various classes within my program can use it... so this is what the utilities class looks … Software Development | |
Hi! Im a newbie here.... I got a problem with my program...My linked list is ok but everytime I export the data to the file, things don't work in a proper way..I will show my code...pls help me...thanks... [code] labname[20]="lab445.txt"; /****************FWRITE FUNCTION**********************/ void save_data(information *lab,char labname[]) { FILE *fp; int … Software Development c linked-list | |
Hello all, I have a text file called: concentrations.dat The file contains a lot of different data. Here's the data that I'm interested in: # ET: list of elements <ET> 'Cu' 'C' 'Sr' 'He' 'Mg' 'O' 'Cr' What I want to do is read the elements into a vector called … Software Development c++ file-system | |
Hello. How can i make count-down timer on MFC program? Thank you Software Development c++ | |
Is there a way to list all open file handles for a certain process using the pid? Software Development c++ | |
Write an application that reads a line of text from the keyboard and prints a table indicating the number of occurrences of each letter of the alphabet in the text. For example, the phrase To be, or not to be: that is the question: contains one "a," two "b's," no … Software Development java | |
I use an xslt to get some ID attribute..when new xml file is built.. Here is a input xml file.. <page num="App. A-1"/> <title>Appendix A</title> <subtitle>The Thompson Memorandum</subtitle> <para align="left"><content-style font-style="bold">U.S. Department of Justice</content-style></para> <para>Office of the Deputy Attorney General</para> <para>The Deputy Attorney General</para> <para>January 20, 2003</para> <table frame="none" width="100%"> … Software Development xml | |
Here is my code: [code] import java.util.*; public class SavingAccount extends BankAccount { // Begin public class SavingAccount extends BankAccount private double minAmount; public boolean withdraw(double amount) { // Begin public boolean withdraw(double amount) if (getbalance() >= amount + minAmount) { // Begin if statement super.withdraw(amount); return true; } // … Software Development java | |
There are many decent sites for C++. However, some of Dev, including me, works most of the time offline. So I need to have one for reference. If anyone knows a decent one then please post a link Thanks | |
Hello. Can anyone please explain why the following code is not producing any runtime error? [CODE]int a[] = {1, 0}; printf("%d", a[-1]); [/CODE] PS:im using VC++ 2008. Thanks. Software Development c++ | |
hey i had started coding in java.I want to display the pixels format of image with the following code but i get errors...Can anyone suggest my code?? [code]public void Pixelvalue(Image img){ int[] pixelss = new int[w * h]; PixelGrabber pg = new PixelGrabber(img, 0, 0, w, h, pixelss, 0, w); … | |
I think I have a hard time understanding the return() statement. I have to make a program where a user gives the lower limit and upper limit as input. After that, the program should give all prime numbers that are between those 2 numbers. A testcase would be: input: 10 … Software Development c | |
Hi , can any one explain me this code public class Howcome { public static void main(String[] args) { System.out.println(“Bank of America”); [B][url]https://www.bankofamerica.com[/url][/B] System.out.println(“Online Banking”); } even though https:// BofA lyin as orphan string in between this codes compiles and executes fine..??? Software Development java | |
My friend said me a document that contains a large no. of spaces for eg- Where is the CeBit computer show held annually Hannover, Germany What is Error 403 ? Site Access Forbidden/Password Protected What is Error 404 ? Page/Site not found -in HTTP What is HotJava First web browser … Software Development c++ web-browser | |
Hey Guys, I am pretty new to C#. Below is some code that i am using to send data serially to an Arduino controller. It just has some push buttons which move the wheels/motors etc of an RC car i have. I have put some text boxes onto the form … Software Development | |
[CODE]import java.util.*; public class EmployeeNames{ private String EmpYee []; private int count; int x; public EmployeeNames(int size){ String EmpYee []=new String [size]; count=0; } public EmployeeNames(){ this(10); } public boolean isFull(){ return count= EmpYee.length; } public boolean isEmpty(){ return count=0; } public void add(int x){ if(! isFull()) EmpYee[count++]=x; else System.out.println("\n … Software Development java | |
Hi Everyone, Do you know how i can get the values using Regular Expression between the opening and closing tags of xml files? I need to process xml files using python and i just need to get the values between tags. For example: [CODE]<name value>my name is </name value>[/CODE] i … | |
I am new to Microprocessor 8086. i should submit this assignment by monday evening. Can anybody help me with this question? Q1 Write an 8086 assembly language program that will compute: 2.0 * log10 X for x = 0.1, 1.0, 10.0, 100.5, 1000.0, and six other values using a loop. … Software Development assembly | |
I made a quick program as my first venture into c++ but it seems to be buggy. As far as i can see my code seems logical, but the endl; above firaddress seems to be interfeering. Can anyone help please? [CODE]#include <iostream> #include <string> using namespace std; int main() { … Software Development c++ | |
hi all... whats the difference between os.popen and subprocess.popen?? what does shell=True in subprocess.call really mean? if os.popen is used for snmpwalk, will there be any problem such as exceeding pipe capacity? what is the capacity of the file objcet connected to pipe using os.popen?/ how much data can it … Software Development python | |
I have 10 buttons and a textbox on my widow form. 11th button to fire the operation. Task is that i need to input a no. in the textbox ranging from 1-10, and press the fire button. This should change the forecolor of the respective button in the form. Suppose … Software Development gui microsoft-access | |
Hello, I have made a program based rs 232 port with MFC. I want to get system call which gives me state, wether power is turn on or off. is there any system call which gives information of powerstatus? Thanks to all. Software Development c++ | |
Can anyone help me in join the 3 combo boxes with filters The main idea is there are 3 combo boxes when we select an item in the first combo box the related items should apper on the remaining 3 combo boxes and when we select an item on the … Software Development java | |
Hey guys/gals for some reason in my main function my first while loop will not take in more than two values. any reasons why that wont happen? and just to be on the safe side, did I implement my remove function properly? [CODE]#ifndef SORTEDLIST_H #define SORTEDLIST_H #include<iostream> using namespace std; … Software Development c++ linked-list | |
Hey! I want to create a program that should be able to run Android OS like VMWare does, is this possible in C#? I do not have very much knowledge in C#, but is this possible? - Have you got any examples? - Could you point me to a direction … Software Development android android-development | |
Hi everyone Im just a new student in c++ and im trying to read data from a file this file looks like 36 69 115 226 278 343 345 358 368 370 401 450 489 494 573 577 581 583 610 682 692 705 722 832 862 886 908 923 … Software Development c++ file-system | |
Hi guys, Please help me when i install my application on clients it only connect with one user like Naveed/Password on domain but when i login on domain by using other user it gives me connection error what should i modify in my connecting string. [CODE]"PMS.My.MySettings.ConnectionString" connectionString="Provider=SQLOLEDB;Data Source=ITS;Integrated Security=SSPI;Initial Catalog=Payment"[/CODE] … Software Development vb.net | |
hi all can u pls help me regarding iterating through an integer variable within a subprocess call here is what i exactly want to do for n in range(1,16): subprocess.call(['snmpset', '-v2c', '-c arct1c', '192.168.5.157', '.1.3.6.1.4.1.18489.1.2.1.5.1.2.0', 'i ','n']) i.e., i want to iterate through snmpwalk..but its not working:( it shows 'bad … Software Development python | |
So what I am trying to do is to have a header file which declares lists in it. Everytime I complie it, it does not know what a list is. Here is my header file called MergeSort.h [code] #include<list> class MergeSort{ public: MergeSort(); bool sortedIsEmpty(); int sortedGetLenght(); bool sortedInsert(int); bool … Software Development c++ file-system | |
Ok, i have this form which contains a Datagrid control, i have fix the 1st problem i encountered which is how to connect it to my Dbase to display the content of one of my tables. Now my problem is, i cant delete records in my Dbase thru selecting it … Software Development visual-basic | |
[CODE]for i in range(len(sumprop3)): for j in range(len(x2)): if j==i: print x2[j], atomnumber[i:i+8] [/CODE] For atomnumber[i:i+8] it is printing the range ie [1,2,3,4,5,6,7,8]. I want it to print just [1,8]. How would I do this? Software Development python | |
Hi i am using C# to connect to Access database. The problem i am facing is not with database though. I have used a statement like [CODE]string.Format("UPDATE TABLENAME SET FIELDNAME = '{0}' ", txtMembers.Text);[/CODE] the problem i am facing is if the user enters 'hello', the whole text along with … Software Development | |
I haven't noticed this until I tried it today and boom! Compiler complained: [COLOR="Red"] error: constructors cannot be declared virtual[/COLOR] Why then Constructor is not okay while destructor is, in such as class as this? Thanks [CODE=C++]class MyAbstractClass{ public: virtual MyAbstractClass(std::string username, std::string password)=0; virtual ~MyAbstractClass(std::string username, std::string password)=0; virtual … Software Development c++ | |
I'm on a shared computer and i'm using sql server 2005. I'm in a limited user account, everytime I click a database it says 'database not accessible', also there's a error 916 when I tried attaching a database. How to fix this? Software Development | |
Hi! i am trying to compile/link a simple application that uses a library called OpenDBX. I have already compiled and installed that library. Now, i am trying to do a simple client of it. The client (Prueba.c) is just like this: [CODE] #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <odbx.h> … Software Development c | |
Can someone tell me what wrong with this code i am supposed to create an array of struct of cars and then add 1 to the car sold then find the inventory value comprising of all car values this is my infile lexus IS 35000 10 bmw 740 90000 5 … Software Development c++ | |
Hi everyone! How do I make a drop-down menu in vb 2008. This menu would appear when the user right-click anywhere in the form. The menu that I am referring to is just like in windows when you want to refresh your computer, open a file, copy or cut some … Software Development vb.net | |
I m new in c#.net, i m working on project which generate menu dynamically, i have done this point, but not retrieve menu text at menu click, i just want to get text of menu. my code is follows: namespace myProg { public partial class frmMenu : Form { DataTable … Software Development | |
hi friends, i am doing a project which is based on smtp mail server.. i need a class that ho we are accessing an message header or custom header for an incoming mails... Software Development c# | |
the following are my utility.h which i got from my professor there is error 2332 on line 5 & 6 after doing a bit of searching i do understand what does the error means but i just not quite sure how to fix it! can someone explain it to me?? … Software Development c++ | |
The End.