132,723 Archived Topics
Remove Filter ![]() | |
:( hi people i nid help in calculating an item from a texfile that exists from menu_cmbselectedIndex,i want to display total number of items when i click a combobox and should also display total amount for those items,pls respond A.S.A.P Software Development vb.net | |
Hi all, hope u guys r fine. i have a question about array.im using double array,but seems cant support bigger size and im planning to change it to arraylist.but the problem is, can i update the data in arraylist? [code] int value[]={9,8,9,7,9,7}; int[][] myTupple = new int[count][value.length]; repetition =1; for(int … Software Development java | |
[CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim r, d As Double Const Pi = 3.141596 r = Val(rtb.Text) d = Val(dtb.Text) If 0 < d < 360 Then r = d / 180 * Pi rtb.Text = Format(r, "0.00") dtb.Text = Format(d, "0.00") ElseIf … Software Development vb.net visual-basic | |
![]() | Hey guys i need the list of all assembly registers for Intel processor that I can use in Masm615 for integers, double and longs. I only Know this one “ax”, thanks Guys. Moving from java to assembly it is being a pain... Software Development assembly ![]() |
I am planning to create a simple bulls and cows( also know as mastermind board game) in C.The computer is supposed to make 4 digit code in which the allowed digits are 1,2,3,4,5,and 6 ! 0,7,8,9 are to omitted !! How do I make the computer create such a 4 … Software Development c | |
Hello... I've been working on a simple server using the sockets module and threads (just for fun btw ;p). I want to be able to connect to it by specifying a "channel" and then anything the client sends is recieved by all clients connected to the same "channel". Now I'm … Software Development client-server python | |
i want to generate non repeated random numbers from 0 to 156. here is the code for the purpose. but when i try to generate the random numbers more then 1 time by using a for loop, the same pattern on numbers repeats. how to solve this problem ? #include … Software Development c | |
I am having a small problem with dataset problem defination is: _____________________________________________________________ System.Data.OleDb.OleDbException was unhandled ErrorCode=-2147217843 Message="Not a valid password." Source="Microsoft JET Database Engine" ________________________________________________________________ and My connecting string is: _______________________________________________________________________________ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="D:\Shop Inventory\database\DATABASE.mdb";Persist Security Info=True;Jet OLEDB:Database Password=123456789" ________________________________________________________________________________ WHERE the password I added is right but whenever I try … Software Development dataset microsoft-access vb.net | |
Just a quick question, if string::npos represents the largest possible value for a string object, how can this value be -1 if it's an unsigned integer? I know this value will change for different compilers, as string::npos on my compiler is set to 4,294,967,295 which makes sense but I don't … Software Development c++ | |
I would like to know how to increase the speed of data loading into flexgrid from Database(SQL Server).currently im using a loop but this takes a lot of time when there are alot of data...pls give me a solution to this problem.. Thank you Software Development visual-basic | |
I need to take a class on using C++ Libraries. Something that's about 3 months in duration, with some sort of a test at the end. I could easily just go to google and start there, but I was afraid that I would just get a zillion classes, without any … | |
Can some1 giv me some clues to cont the deal card to players part ??? The program will deal cards once the user enter the numbers of player between 3-7, either five cards per player or seven cards per player depending upon the menu selection, to the players at the … Software Development c++ | |
Hi. Is is possible to create a lookup table of function pointers to functions with variable numbers/types of arguments? If not, can anyone recommend a solution for my problem? I have a list of commands corresponding to functions with variable types/numbers of arguments. Some don't take any arguments. I was … Software Development c++ | |
[CODE] #include <iostream> #include <iomanip> using namespace std; int main() { int rows; cout<< "put the number of rows here"" "; cin >> rows; cout<< "numbers here""\n "; int *arr = new int[ rows ]; for( int i = 0; i < rows; i++ ){ cin >> arr[ i ]; … Software Development c++ | |
how can i convert from double* to ref double? Software Development | |
I've already tried rendering text using the "CreateFont()" function, however, I am unable to achieve "clear" text. My text always looks.. blurry. I would like to achieve clear results as the results of Macromedia Flash's "Bitmap text" option, or even its "Anti-Alias for readability." Also, does anyone know how I … | |
[COLOR="Red"]I have a problem when i am writing a content into a files as a binary format.I noticed, that it writes the content two times into the file. Here is the code.[/COLOR] [CODE] #include<iostream> #include<string> #include<fstream> using namespace std; class store { protected: char pass[50]; public: fstream file; store(); ~store(); … Software Development app-store c++ file-system ios | |
[B]How do i resolve this error...i know this exception should be thrown only when i am using an older version jre to run my class file which should be compiled with a newer jdk but i have jdk 1.6 update 18 and jre 1.6 update 21 . thanks for any … Software Development java | |
I am trying to develop a software that can automatically search and download the correct subtitle for my movies. I need to compare the fps rates. How can i find the fps of a movie in java ? Software Development java | |
Hi, thanks for choosing to help me. I want to do a simple music player, you know, the slider with the seconds you're on, play/pause, stop, open file, show recent files,about and exit. I tried QT's Phonon, but it isn't working, I get a lot of errors trying to compile … | |
Hello, I am a software engineering student going into my final year in September and would like suggestions on topics for my final year project. Any suggestions will be appreciated Software Development engineering vb.net | |
I have created an Access (2010, but converted to 2007) database and I am building a front end to it using C#. I can't figure out how to provide the user with the means to create a new instance of that database. The idea is that the user can create … Software Development | |
Hi all, I'm using netbeans 1.6 ide to develop my project. When I build my project, netbeans create .jar file. but when I run it it also runs but not like When I run it from ide's run button. Some parts of application do not work example a button click … | |
see comments. set me straight. many, many thanks... [code=c] 3 questions about inheritance, pointers, & polymorphism #include <iostream> using namespace std; class baseClass { public: void nVirt() { cout << "not virtual, base " << endl; } virtual void yVirt() { cout << "virtual, base " << endl; } }; … Software Development c++ | |
I have 3 classes: Foo, Bar and Jim. [CODE] public class Foo { public float a = float.MaxValue; } public class Bar { public float a = float.MaxValue; } public class Jim { public float a = float.MaxValue; } [/CODE] I create a list that holds pairs of objects (classes … Software Development | |
i've this code, and when i run it, it produce garbage how to solve it???? [CODE]#include <stdio.h> #include <string.h> #include <stdbool.h> // using bool data type void function (void); char encode(char); char decode(char); void changeSecretCode(char, char); char code[27] ={'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'}; char secretCode[27] = {'Z','Y','X','W','V','U','T','S','R','Q','P','O','N','M','L','K','J','I','H','G','F','E','D','C','B','A'}; int main () { function(); system("pause"); return … Software Development c++ | |
uhm sir... the program must be like this... ..awwwhelp me plsss the rows and columns must input numbers manually ...and the result will be like multiplication table... the outcome must be like this: number of rows?: 5 number of columns: 6 input rows: 2 3 5 1 0 input columns: … Software Development c++ | |
[CODE]#include<iostream> #include<string> #define MAXnominees 3 using namespace std; class MemberData { protected: int ID ; char Name[20]; char Add[20] ; char Tel[15] ; public: void enterData(); void showData(void); }; void MemberData::enterData() //allow user enter member's particular { cout << "Please enter your Membership number: " << endl; cin >>ID; cout … Software Development c++ | |
I have windows XP version 5.1, SP 2. Tried installing Turbo C, on ruuning the install.exe, it does not take any input from keyboard. e.g. it says press Enter to continue. When I press Enter nothing happens. CAnt even close the install window. Have to kill it to close. Software Development c microsoft windows-xp | |
hi guys!:) ....first I'm new friend for u :$:$:$:$ and for first time I wanna to tell u that I wanna some help ....:S ..In the programming java... I have a game and I want to finish it....who can help me ???:S:S:S:S thx alot u r friend touma Software Development java | |
Hi everyone. I already know how to create a program using just one window.. but I'm having trouble creating a program with 2 windows. I used CreateWindow() to create my second window, however, my second window displays exactly what is on my main window! I figured the reason was because … Software Development c++ | |
How can i display unique number in a matrice . For example the matrice : 16483 23870 14509 26901 And this display : Nr: 0 -> 3 1 -> 3 2 -> 2 3 -> 2 4 -> 2 5 -> 1 6 -> 1 ......... . Plesae helo me | |
DEAR FRIENDS, I M NEW TO JAVA, PLEASE ANSWER MY QUESTIONS: 1. I am trying to use float and double in java? can u tell me how to use it? 2. I am trying to calculate simple interest in java ? please fix my code: public class simple { public … Software Development java | |
Hi, In vb i used data form wizard to create Master/Details form from a database. When i run that code i get a error in the below line: Private Sub Form_Load() [COLOR="red"]Set grdDataGrid.DataSource = datPrimaryRS.Recordset("ChildCMD").UnderlyingValue[/COLOR] End Sub It says Data error event hit err:[ADODC]: Unknown error. [ADO] then it says … Software Development visual-basic | |
I have a program that I would like to implement using Threading. I wand to load a form that takes a couple of minutes to open using threading. Here is my code [CODE] Imports System.Threading Public Class frmAdjustments Function LaunchForm() As Integer frmNewAdjustment.SetReceive(CurrentUser) frmNewAdjustment.Show() frmNewAdjustment.Hide() LaunchForm = Nothing End Function … Software Development multithreading vb.net | |
Could someone help me write code for the game of life in python 2.6. I am a beginner to programming, and I know how to use lists and have functions from a function library that include: setupgame()- which creates a grid,state=isAlive(cell), num=countNeighboursAlive(cell)in the neighbourhood, newState=decideState(state,num) stating whether the cell should … Software Development python | |
HI, can anyone help me pls on how to set the paper size of my datareport on printing. here is my code but it doesn't work. I don't know the reason why it does not work on me. Printer.PaperSize = 5 'SET TO LEGAL PAPER SIZE dr1.Orientation = rptOrientLandscape dr1.Show … Software Development legal printer visual-basic | |
I have got a very simple video player wrote using Visual Basic 2010. I have embedded the windows media player into the app without the controls. Right now it has simple play, pause and open buttons that work with wmp . Can anyone explain how to make a slider that … Software Development vb.net video visual-basic | |
Dear all, I have two columns in a tab-delimited text file. I want to randomly generate a pair of entries from column1 and column2. Example - Want to randomise following pairs so that each value will have different partner after randomisation. Actually I have a very big file with 5000 … Software Development python | |
Greetings: That`s my question, until know i`ve been doing it by a batch file that i execute then read, is there a way to do it without the batch?, what i need is to list all of the Word (.doc) files of a given directory Thanks in advance Software Development c | |
import javax.swing.JOptionPane; class homework{ public static void main(string[]args) { String ipt,n,h,r,r2,h2,b1,b2; Double iptipt; JOptionPane.showMessageDialog(null,"1… of a Circle\n" + "2.Area of a Trapezoid\n" + "3.Volume of a Sphere\n" + "4.Volume of a Cylinder"); ipt = JOptionPane.showInputDialog(null,"Input your desired choice(1,2,3,4)"); iptipt = Double.parseDouble(ipt); if (iptipt == 1) ------ IF ELSE STATEMENTS WILL … Software Development java java-swing | |
Hi, Here's my scenario. I am given records and the datastructure of each column in the records at runtime. A sample looks like this, [code] char[] | int16 | int32 | double abcd | 2 | 96 | 1024 ghi | 3 | 104 | 2048 [/code] I cannot predefine … Software Development c++ data-structure ![]() | |
Hi All, I have been programming for a while, currently a junior CS student. Programming has always felt very natural to me and I pick up new concepts quickly and I generally retain most of what I learn. However, when it comes to converting between Dec/Bin/Hex as well as performing … Software Development c++ ![]() | |
Hello, can someone please assist with my application... An automation system collects 512 measurement points per sensor. Each measurement point has dedicated OPC tag which I can read using OpenOPC for Python. However, with multiple sensors, the OPC server can lag. So, the automation system programmer created an "array of … | |
Hi, I am new. I did my my best to read the rules first so please pardon me if i missed any. My qestion is in regards to filling up a matrix diagonally: "Write a method that accepts a square matrix. Assume that the size of the matrix is declared … Software Development java | |
Hi, I'm having some problems with this bit of code. I need to randomly open some files that have numbers as their filenames. i came up with this snippet to be able to open them from numbers 0 to 99. The code should randomly pick a number and try to … Software Development c++ ios ubuntu windows-vista | |
hi i had develop a simple program using vb.net with ms access it run with no error on my local but if i put it on a share network i face a problem throw out by the system stating the error below "request for the permission of type 'system.data.oledbpermission,system.data,version=2.0.0.0, culture=neutral,publickeytoken=b77a5c561934e089'failed." … Software Development vb.net | |
hello I'm beginner on c#. I'm getting this error: System.NullReferenceException was unhandled and my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using GittiGidiyor; using GittiGidiyor.City; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { [B]CityService cityservice = ServiceProvider.getCityService();[/B] cityServiceResponse response = cityservice.getCities(1, 3, "", "tr"); if … Software Development | |
Can someone help me with my code? It compiles fine but when i run it it crashes after i input my lottery numbers. Im supposed to write a program that takes a input file with names and 6 numbers 1-50 and then the user is asked to input 6 random … Software Development c |
The End.