199,114 Archived Topics
Remove Filter ![]() | |
My project I am working on is a product location system for a large supermarket. My current issue is that the map I am using to display the product location is assembled from rectangle objects which I will then change the colour of when required. The array storing the locations … | |
Hi, Im brand new to VB and almost completely new to scripting. Where could I find a list of the most basic and useful commands with explanations, or even just like a dictionary of commands in VB? Also, (this is a painfully easy question but searches haven't come up with … | |
Hi I am running a simple application which has three Radio Button and I have two problem with that as following: 1- First of all, two of the radio buttons [R2(Blue) and R3(Green)] are automatically selected when I run the code!(As you can see in attached screen shot). I tried … | |
[CODE] #include "includes" int main() { time_t rawtime; struct tm * timeinfo; char buffer [80]; time ( &rawtime ); timeinfo = localtime ( &rawtime ); string timetest; timetest= strftime (buffer,80,"%Y-%m-%d",timeinfo); puts (buffer); } [/CODE] now instead of print the time i want add the value of the time to a … | |
I have the following code: [CODE] static void foo<T>(this List<T> list, T t) { ... } [/CODE] So in order to call the extension method I'll have to do this: [CODE] myList.foo<myType>(myVar); [/CODE] Is it possible to change my code so that I can call my method like this: [CODE] … | |
Hi! Can someone help me? I have a datagridview and I declared this code: [CODE] i = dgStudentsHandled.CurrentRow.Index txtStudentNumber.Text = dgStudentsHandled.Item(0, i).Value [/CODE]. I can get the value of the first cell of the first row of the first column. But I have to get the value of the first … | |
In these problem I have to find triangular number by the number of it's divisors. The program takes about 0.65 seconds to find the first triangular number with >100 divisors and about 87 seconds for the number with >200 divisors which means that my algorithm is very inefficient. Any help … | |
Had an assigment making a bankaccount, and validating the account owners age, this is just a bit of the code..... [code]public boolean checkDate(String myDate) // my date should be in the format 20111224 { int year = Integer.parseInt(myDate.substring(0, 4));// convert the year 2011 to int int month = Integer.parseInt(myDate.substring(4,6)); //convert … | |
return printLCS(i-1, j-1) + index(x, i); i found this in a recursive java program, well [B]that is being done is[/B] return index(x, i) (returns a character) and same time continue recursion? | |
Hi! I develop the app, that must be binded to hardware-specific information. This is a part of license protection scenario. The serial number of motherboard must be obtained. How to do it under Windows ? | |
I'm making a simple java calculator. I'm done with the GUI part but don't know how to start on it's functions. Anyone can tell and help me how to start it's function? [CODE]import javax.swing.*; import java.awt.*; class Calculator extends JFrame { private JPanel p1,p2; private JTextField tf; private JButton b[]; … | |
I am trying to drag a program originally written in Borland C version 3 into the light of the present using Visual C++ 2010. I have a curious, apparently simple, problem. The program read data from a file. I can create a noddy program that opens and reads the contents … | |
Hello everyone I have written a small c++ program where two files are compared line by line and in case the lines are different, the differing ones are put into a report.txt document.But its not working right! The first few lines which are same are not put into the report.txt, … | |
[CODE]#include<stdio.h> #include<conio.h> main() { clrscr(); double sales[10]; int index; double largestsale,smallestsale,sum,average; //initializing for(index=0;index<5;index++) sales[index]=0.0; //reading printf("Enter Value:\n"); for(index=0;index<5;index++) scanf("%d",&sales[index]); //printing for(index=0;index<5;index++) if(sales[index]<index) printf("%2d",sales[index]); //sum & average sum=0; for(index=0;index<5;index++){ sum = sum+sales[index];} average = sum/5; printf("\nThe Sum is %d",sum); printf("\nThe Average is %d",average); //largestsale int maxIndex = 0; for(index=1;index<5;index++) if(sales[maxIndex] < … | |
hi, i have develop an application in vb.net which is running well with windows xp but when i install it to win 7 basic home it doesn'nt execute at all. It stops when it reach the form that has flash player. I have instal flash player version 10 but it … | |
HELP!! can someone please help me, because i need to create a game in which i have to count how many times i've pressed enter in a matter of 1 minute. | |
Hi! Since my last thread hasn't been answered and I simply cannot wait until it gets answered, how can I validade what is being written on a textbox? I need to know when the user types a "-" (minus) char. And when he do so, an message appears (preferably an … | |
Is it good practice to do all instantiation inside the Main() method and not in any other classes? | |
cananyone tell me wats goin on in these files???? especially the 1st,3rd and 5th..... i hav tried a lot but cudnt figure out wats going on in the above mentiones files...my job is to prepare code for it.....anyone plz help! [URL="http://incognito.co.in/programs.zip"]http://incognito.co.in/programs.zip[/URL] | |
Hello All, I have a little experience with C programming but from last 2-3 years i didnt use C. Now i have to develop a GUI which can send and receive data via RS232. Basically i have to send via CAN (Control Area Network) which is a BUS use in … | |
OK, so I know that I can search binary records in C, by entering the number and returning the corresponding data, however I need to search a binary file using text. In my opinion I would need to load this file into a buffer and search the buffer for the … | |
I need help with an assigment - I am to create a number systems table which consist of converting a decimal number to binary, octal, and hexadecimal. Here is my code i have so far but does not create output - any suggestions would be great - thanks #include <iostream> … | |
Hello, First, this is an extension to homework. I have all the requirements completed, but I'm attempting to write a switch that will allow me to toggle between sorting on actual data structs, or on smart pointers to data structs. By themselves, they both work, but when attempting to combine … | |
Hi all I have been tasked to implement a median filter on an image - this involves creating a window that will traverse the entire image. When the window goes out of bounds of the image, the guilty indices are supposed to be set to zero. My problem is that … | |
Hi all. I am trying to add a record into the database wothout much success. sometimes it works and sometimes it returns error "[B]overflow exception unhandled[/B]" And even the database is not all the time updated. How do you add the Datatimepicker value into the database...? Will really appreciate help … | |
Hi everyone, I'm in a spot of bother. Attached is an image which should help better show what I'm about to ask for assistance with. :) [url]http://img96.imageshack.us/img96/7624/sqlm.jpg[/url] What I have, is 2 tables that associate each other with 'packholder' In the table shown, you can see Packholder - 1, 2, … | |
currently i am developing an image processing software it loads images from disk to application for processing .As more and more images loaded to application memory used for each image is not freed so system become slow and slow.In java theory it is stated that garbage collector automatically deallocate unused … | |
I have created 3 sorting methods. My problem is I need to have the user tell the program which sorting method they would like the computer to use. This sounds simple but I am confused on how to do this. My classes are below. If someone could help me out … | |
PLease help me !! how can i uppercase the half only of the string and the half is in lower case?? | |
im trying to replicate the screen contens in my application .. i need a certain area of the screen to be drawn in my app...although this code works fine, its very very slow...takes more than 20 seconds with inferior quality and around 30-40 with best quality... is there a quicker … | |
Hi Can you help me please how can i encrypt my password in ms access just like this “¼ÞÔ:o½½ñ²6³' so that if someone will open my database they could not read the password..can you help me please.Thank you in advance hoping for your positive response.... | |
Hello, I want to make a code to sort the numbers in array from the biggest to the smallest. How can I do it? [CODE]static void Main(string[] args) { int[] Array = { 108, 112, 87, 71, 49, 105, 49, 78, 63, 42 }; int length = Array.Length; }[/CODE] Any … | |
HI, I WANT TO BUILD A TREE STRUCTURE BY TOKENIZING THE WKT STRING STREAM ( BELOW ). ALSO I WANT TO ACCESS AND STORE THE VALUES OF THE CHILD NODES IN THE TREE. EX : VARIABLE PROCS_NAME : "OSGB 1936 / British National Grid" . I AM ATTACHING THE REQUIRED … | |
Hi there i'm Faiz firstly i know nothing in this area. i hope u all can help me i want to create an atomated excel files actually this software exceLINX ( my research software) build in excel files.then this exceLINX software is the main software to trigger my data acquisition … | |
I need and interface sample for supermarket inventory that work with access data base. I am sorry i am new to vb and i got assignemnt which i have to complet real soon..help out | |
I have this Algorithm that sorts array of integers implemented in a simple inventory system in Visual Basic 6.0 for my thesis. The system can sort items by total price, unit price, quantity, etc. But when the input number is within 7 or more digits (ex: 3,382,328), the application produces … | |
Hi, I have developed a simple result program in excel 2003. I have stuck up at the following point: I have total seven subjects based on which I need to prepare a result. My aim is to find out failures. My condition is, if a student secures less than 35 … | |
I have been working on converting a selection sort pseudocode to assembler 370 code. The pseudocode is as follows: [CODE]BEGIN initially is a pointer to the first entry END is a pointer to the last entry I and LOW are also pointers 1 is the length of one entry Do … | |
Hi, I am creating a program for television shows/programs. everything works fine...time taken by a particular program, total time wasted in a day, week and used in day, week, specific hours etc. i am having problem during data entry. after the user clicks "Add Program", it is added to a … | |
Good day guys! How to connect mysql to visual basic 2008? thanks... | |
I've seen this done before. I'm pretty sure its done with JDIC, does anyone have example code of this? I'd really like to know how to do this. Thanks | |
I am new here and didn't do well on a problem in school and was wondering what i did wrong! PROBLEM: Create a Book class that stores book information. Your Book class will store the following: •book title •author’s first name •author’s last name •book ISBN-10 number •publisher •price Create … | |
i have ID numbers that i want to enter it into my database using filling form by user. so i need to validate this number format. number format should be like this. first 9 numbers and after nine numbers it must have a letter V. (123456789V) i need to validate … | |
hi can somebody help me out i have form that the user need to fill and at the end of the form the use have to make a payment via alert pay which they will be taken to the page buy clicking on the alert pay button but haw can … | |
I simply want to input some from data into my javascript library. The form has the name "signup" and a link has on onclick property to call the "interface_signup()" function in javascript shown below. This is obviously a ridiculous way to do it, but my attempts to use "this" or … | |
Hi, quick question... i am making a program without a form for windows ce and so i am trying to work in console but it seems some of the code cannot be implemented. does DllImport suppose to work in console? Thx & BR Ran. | |
[CODE]a = [[[0] for col in range(4)] for row in range(4)][/CODE] I do that code and it runs fine, and then I manipulate that list with code I have later and it runs fine at a reasonable speed. But if I put this code in a module. Module ListToFillUp.py [CODE]def … | |
hello, i'm a newbie. [U]are c and c++ really similar?[/U] some people say that they are extremely similar, and taking the path of learning c first is better. i'd like to learn both c and c++. [U]which one is better to start with?[/U] and as i mentioned before, i don't … | |
Hello all, I have developed one application which import all databases into recordstore. This executes successfully, but the problem comes when I try to Filter my records. here the code is : [CODE]public void itemStateChanged(Item item) { if (item == choiceGroup_ProductCompany) { RecordFilter filter = new RecordFilter() { public boolean … | |
hi, Below is my code to delete the transaction. It suppose to delete the data once the transaction but the data remain there....I don't find there is a problem with the code but some how it doesn't work. It capture the data in the table but it returns = 0 … |
The End.