199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mike Askew

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 …

Member Avatar for Mike Askew
0
212
Member Avatar for Amadman114

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 …

Member Avatar for Jx_Man
0
124
Member Avatar for Behseini

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 …

Member Avatar for Behseini
0
5K
Member Avatar for Mr_PoP

[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 …

Member Avatar for jrhitokiri
0
135
Member Avatar for moni94

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] …

Member Avatar for Momerath
0
96
Member Avatar for paulablanca

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 …

Member Avatar for Jx_Man
0
332
Member Avatar for george61

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 …

Member Avatar for Momerath
0
528
Member Avatar for Saint OTB

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 …

Member Avatar for peter_budo
0
2K
Member Avatar for lse123

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?

Member Avatar for JamesCherrill
0
185
Member Avatar for AntonAL

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 ?

Member Avatar for somjit{}
0
2K
Member Avatar for imKEN

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[]; …

Member Avatar for imKEN
0
318
Member Avatar for normanallen

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 …

Member Avatar for normanallen
0
220
Member Avatar for sreekiranws

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, …

Member Avatar for Agni
0
424
Member Avatar for Shodow

[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] < …

Member Avatar for jonsca
0
152
Member Avatar for swathys

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 …

Member Avatar for Pgmer
0
237
Member Avatar for cheers07

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.

Member Avatar for cheers07
0
250
Member Avatar for RenanLazarotto

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 …

Member Avatar for codeorder
0
176
Member Avatar for james6754

Is it good practice to do all instantiation inside the Main() method and not in any other classes?

Member Avatar for ddanbe
0
86
Member Avatar for sahil1991

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]

Member Avatar for Ancient Dragon
0
128
Member Avatar for ODs

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 …

Member Avatar for Ancient Dragon
0
435
Member Avatar for MichaelSammels

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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for borich_cj

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> …

Member Avatar for caut_baia
0
314
Member Avatar for Koinutron

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 …

Member Avatar for Koinutron
0
416
Member Avatar for bakwanyana

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 …

Member Avatar for bakwanyana
0
262
Member Avatar for chanthung

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 …

Member Avatar for chanthung
0
134
Member Avatar for Coyx

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, …

Member Avatar for Coyx
0
211
Member Avatar for premtpt

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 …

0
64
Member Avatar for sc0field1

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 …

Member Avatar for peter_budo
0
138
Member Avatar for makibao

PLease help me !! how can i uppercase the half only of the string and the half is in lower case??

Member Avatar for makibao
0
149
Member Avatar for dos_killer

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 …

Member Avatar for vegaseat
0
246
Member Avatar for jemz

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....

Member Avatar for Jx_Man
0
104
Member Avatar for trume

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 …

Member Avatar for anilalogix
0
99
Member Avatar for nikhilsamkumar

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 …

Member Avatar for nikhilsamkumar
0
114
Member Avatar for faizshafie

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 …

Member Avatar for lolafuertes
0
181
Member Avatar for Hakeemiredia

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

Member Avatar for AndreRet
0
94
Member Avatar for kebbby

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for avirooge

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 …

Member Avatar for AndreRet
0
118
Member Avatar for Ca67

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 …

Member Avatar for GabrieleCF
0
205
Member Avatar for crazycat503

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 …

Member Avatar for AndreRet
0
116
Member Avatar for hdaccess
Member Avatar for oldezwe

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

Member Avatar for masijade
0
234
Member Avatar for Acklox

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 …

Member Avatar for JamesCherrill
0
194
Member Avatar for Kadafiz

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 …

Member Avatar for lyrico
0
2K
Member Avatar for eltonpiko

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 …

Member Avatar for Shanti C
0
486
Member Avatar for chris.aaker

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 …

Member Avatar for peter_budo
0
203
Member Avatar for ProgWr

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.

Member Avatar for ProgWr
0
784
Member Avatar for Peacer

[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 …

Member Avatar for Gribouillis
0
195
Member Avatar for honeythigh

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 …

Member Avatar for peter_budo
0
287
Member Avatar for Hakoo

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 …

Member Avatar for Hakoo
0
148
Member Avatar for swathys

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 …

Member Avatar for Pgmer
0
163

The End.