132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anitha10

i hav a menustrip and created mdi forms in this i hav child forms, i want to open one child form and hide the remaining child forms. Give me the solution for this question

Software Development c c# c++
Member Avatar for Nick Evan
0
100
Member Avatar for calnastic

Hi I'm trying to generate two random numbers using the ramdom class. However, I always get the same random number for both variables. Is there a way I can get two distinct numbers? Thanks.

Software Development
Member Avatar for Geekitygeek
0
82
Member Avatar for cheeseboy

Hi there. I am getting the errors below when I am trying to compile this code using DEV C++. [Linker error] undefined reference to 'CheckLeapYear'(int) [Linker error] undefined reference to 'CalcDayNumOfYear'(int) [Linker error] undefined reference to 'CheckLeapYear'(int) Id returned 1 exit status Please help. Below I have included my coding …

Software Development c++
Member Avatar for JasonHippy
0
198
Member Avatar for jemimaloh

hi there, my programme stores all the coordinates from a text file into an arrayList. And from the arrayList I want to read out 3 elements at a time. Each element being a pair of (x, y) values already in a arrayList, e.g.[...., 34.123 2.121,....]. Now I need to read …

Software Development java
Member Avatar for jemimaloh
0
136
Member Avatar for ferkevin04

I have a project which deal with DAILY TIME RECORD, i want to add the time in my form to the current record. Here it is. if i enter my EmployeeID then click cmdFind the records will be given [CODE]Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Private Sub cmdFind_Click() …

Software Development visual-basic
Member Avatar for AndreRet
0
141
Member Avatar for bobsta

Hi I need to write data which I have successfully read in from a text file, to a new file. The original text file contains data for many objects. The read in data is stored using stl vectors in 3 nested objects: Structure, Polygon and Point i.e. a Structure contains …

Software Development c++ data-structure
Member Avatar for bobsta
0
164
Member Avatar for jiraiya

Hi everyone, I want to intitialise an object to perform a certain computation and wait for the object to finish, but I'm not sure what the best way is to go about this. Here's a couple of methods to give you an idea of what I'd like to do: [CODE] …

Software Development java
Member Avatar for JamesCherrill
0
148
Member Avatar for LuciaP

Hello1! First af all, excuse me for my bad english! I need to read user input that contains a certain command. My problem is that it depends on the command, the amount of strings i'll need to read. For example, there's a command with the following sintaxis: Command1 name = …

Software Development c
Member Avatar for LuciaP
0
205
Member Avatar for shandow

#include <iostream> using namespace std; int main() { int i,j,k; int Matrix1[3][3] = { {1,2,3}, {4,5,6}, {1,2,3}, }; int Matrix2[3][3] = { {3,2,1}, {6,5,4}, {3,2,1}, }; int Matrix3[3][3]; cout << "Matrix 1: " << endl; for( i = 0; i < 3; i++) { for( j = 0; j < …

Software Development c++
Member Avatar for sandeep.ank
0
97
Member Avatar for revolution3396

I need a vb code as below This is my login page [ATTACH]16718[/ATTACH] This is my login page code Private Sub StudentLoginButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StudentLoginButton.Click Dim connection As New OleDbConnection("Provider = Microsoft.ACE.OLEDB.12.0;Data Source = ../Data/Student.accdb;") Dim command As New OleDbCommand("SELECT * FROM Student WHERE …

Member Avatar for Animal Mother
0
158
Member Avatar for sujathaarsid

please can any one write the code without using pointers and in a simplest way... my question is finding substring position in main string .....these both strings you have to take at the run time and dont use any library methods.....you yourself have to write the code.....please give eply ASAP.....

Software Development c
Member Avatar for Adak
0
152
Member Avatar for Animal Mother

Hi everyone Could someone please help me, I need to loop through all the records in a column in my access database, Currently my program only views the first record in the column and does not go any further, I tried a While loop but I get a NullException error …

Software Development microsoft-access open-source vb.net
Member Avatar for Animal Mother
0
1K
Member Avatar for inddeveloper

Hi, I have requirement on shell scripting. I require scripts for the following 1) Full backup(application and DB) 2) incremental back up of files 3) restoring of files Please help me in providing the scripts. Thanks in advance

Software Development shell-scripting
Member Avatar for inddeveloper
0
339
Member Avatar for vponnoju

Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some …

Software Development apache ide java java-jsp
Member Avatar for vponnoju
0
279
Member Avatar for Krs13

Hi, I want to update records in the access table which is connected to vb. Can somebody give code for that please. (ie)when i click add button the entered fields should get updated in the tables and the form should be refreshed again to enter datas.

Software Development visual-basic
Member Avatar for kinwang2009
0
164
Member Avatar for Victor C.

I am trying to find a tutorial to lean how to use a JFileChooser in order to read a file and convert it into a tick mark chart. I seen it on a demonstration video on sun.com and I thought it looked awesome. Sadly, I tried to google for tutorials …

Software Development java
Member Avatar for Victor C.
0
75
Member Avatar for BLY

Continuing from my previous program,the code now can update but can't insert.There will be an error on ExecuteQuery.The program is suppose to identify if the id exist or not.You can probably tell from the coding. Trying to insert but i'm not sure if i set dateID parameter correctly to check …

Software Development
Member Avatar for BLY
0
115
Member Avatar for locomotive

how do i print the 3 most common word that begins with capitals? also how do i count how many times they appear?

Software Development python
Member Avatar for snippsat
0
139
Member Avatar for aikiart

Good morning, I've got a general question about overloading operators. Suppose you have a class that overloads the + operator and overloads the = operator, if you do something like this length3 = length1 + length2, will you automatically call both the overloaded + and = operator and if so, …

Software Development c++
Member Avatar for aikiart
0
315
Member Avatar for chamika.deshan

Hello I am confused with an error saying. [QUOTE]Error 1 error C2664: 'const char *TiXmlElement::Attribute(const char *) const' : cannot convert parameter 1 from 'char *(__cdecl *)(void)' to 'const char *' c:\GameProject\TheGameProject\ContentManager\src\NodeWater.cpp 38 [/QUOTE] I have a method that returns a const char* as follows [CODE]class XMLNodeNames { public: static …

Software Development c++
Member Avatar for chamika.deshan
0
194
Member Avatar for -Ice-

[CODE]import java.io.*; import java.text.*; import java.util.*; /** * FileSentenceReader - Uses sound i18n method to parse sentences. * Created 12/03, Last mofified 09/07 * @author: Tony Dahlman */ public class FileSentenceReader { /** Reads through a text file, parsing it into sentences * in sound i18n fashion. Returns an ArrayList …

Software Development file-stream java
Member Avatar for coil
0
105
Member Avatar for Ranx

Hoping someone out there can help. I have a fairly simple piece of code for viewing files [code] System.Diagnostics.Process.Start(tFileInfo.FullName) [/Code] Basically passes the path of a file to the process and let Windows deal with how to open it. Have also tried [code] Dim myProcess As New System.Diagnostics.Process With myProcess …

Software Development pdf vb.net
Member Avatar for Ranx
0
181
Member Avatar for Vivek Venkatesh

Hi...I am thinking of building a Word Processor in Java for my project... The problem is that there are many components in Java for that..like JTextComponent, JTextField, JTextArea, JTextPane, JEditorPane, and some styled Documents too... Can anyone say me which one to use considering the fact that My Project should …

Software Development java
Member Avatar for VernonDozier
0
1K
Member Avatar for Chosen13

Hello, Me and my development team are not sure how to get a users username/uid from their login on the website into the C++ application. I use PHP Cookies and Sessions for that. Is there anyway that this could work? Thanks.

Software Development c++
Member Avatar for VernonDozier
0
284
Member Avatar for mani_1991

hai, i have to calculate the internet bandwidth of the system using java program.... please give any ideas to acheve it........ thanks,in advance

Software Development java
Member Avatar for mani_1991
0
497
Member Avatar for nv136

Hello everyone, I am not a professional at vb.net so help me out. I have made a small program and a want to add a serial control to it.... here is my code.... Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text …

Software Development vb.net
Member Avatar for nv136
0
537
Member Avatar for carbonfinger

Hey guys I'm writing a program that profiles the speed of different algorithms and I have been using the getTickCount() method in order to do so. However the program is reporting that the algorithm took 0ms. Doesn't have to be too accurate but currently 'RunTime' is coming up as 0. …

Software Development algorithm c++
Member Avatar for Kanoisa
0
137
Member Avatar for rowley4

I need to sort my array in alphabetical order. The program inputs N words(strings) and outputs them in alphabetical order. I have started out by using specific words to make sure everything is working correctly. I need to change this to accept any input. Any help would be appreciated! [CODE]public …

Software Development java
Member Avatar for tong1
0
301
Member Avatar for zack_falcon

I am doing a Quiz Generator / Viewer project, which requries the use of a database for the numerous questions the teacher has to put in, as well as the user names, passwords, etc. I used Microsoft Access (2000, I think) because I found it easier to use. For the …

Software Development c# microsoft-access open-source
Member Avatar for zack_falcon
0
143
Member Avatar for SHENGTON

Hello, I'm still a novice with this C programming and I got some problems with my program. I got 3 errors and 3 warnings with my Linked List. I attached an image for you to see. Someone can help me how to solve this problem? Here's my code: [CODE=C]#include<stdio.h> #include<stdlib.h> …

Software Development c linked-list
Member Avatar for abhimanipal
0
113
Member Avatar for rcjay2

Everyone, I am having a problem with trying to get this to prompt the user for the correct input. I would like to user to be required to enter numbers only after it prompts him/her at "How much money would you like to convert today? (above 100): " My question …

Software Development c
Member Avatar for abhimanipal
0
180
Member Avatar for Nathaniel10

I tried to do an excercise from Stroupstrup's book. The reader is asked to reverse the order of elements in a vector so that if originally vector[0] = 1, vector [1] = 2, and vector[2] = 3, then new vector has newvec[0] = 3, newvec[1] = 2, and newvec[2] = …

Software Development c++
Member Avatar for Nathaniel10
0
194
Member Avatar for aminit

HellOo I've started to write a simple code to seprates the input integer , for example , if tried to enter 4444 , then it will sperate them by a space to be 4 4 4 4 , so any idea? Thanks

Software Development c
Member Avatar for abhimanipal
0
77
Member Avatar for Tlhoks

Please assist Iam getting this "13 C:\Dev-Cpp\main1.c [Warning] return makes integer from pointer without a cast " from the program below when i try to compile it. [CODE]#include <stdio.h> #include <stdlib.h> #include <conio.h> #include <time.h> #include <math.h> int main() { /*getLarger();*/ /*getRandom();*/ printDetails(); getch(); return /*getLarger,getRandom,*/printDetails; } int printDetails() { …

Software Development c
Member Avatar for abhimanipal
0
92
Member Avatar for smcguffee

Ok, I'm really getting helpful answers from this site!!! Here's my new C++ question: How much code can go in an initializer list? Can I call new SomeClass() to get a pointer to initialize something even if it wasn't in the original argment list? Can I do math on the …

Software Development c++
Member Avatar for StuXYZ
0
99
Member Avatar for kazkikay12

GUYS i want to make a program that used to enter 7-digit number and determine the largest , smallest and the median and average of the seven number i want also to display the entered number its equivalent in binary, ocatal and hexadecimal value the sample output must be like …

Software Development c++
Member Avatar for Nathaniel10
0
119
Member Avatar for JDuch

>>> import g4 >>> g4.systs() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'systs' Why is that ? The code works ok from shell >>> import time >>> def systs(): return str(time.localtime()[5]) >>> systs() '18' g4.py ------- [CODE] import os import …

Software Development python
Member Avatar for JDuch
0
574
Member Avatar for Jamesbch

Hello, I've a tricky issue with a use of my macro. I specify the max length of a string parsed by sscanf with a macro define. Since I write all of my macro value between parenthesis (if it is a number) It should fix the operation problems (it's why we …

Software Development c
Member Avatar for Jamesbch
0
235
Member Avatar for smcguffee

Dear all, I'm starting to get the hang of this C++ business, but I have one question that I just realized I don't have an answer to. Suppose I want to call a constructor from within a constructor to reduce redundancy in the parts that are identical. I seem to …

Software Development c++
Member Avatar for smcguffee
0
119
Member Avatar for koveras vehcna

Hello everyone, I am currently working on a code and I got stuck in a part. My algorithm is a text generator that operates on project Gutenberg and its flow is like this: Enter a sentence as input 1-Pick longest word of input sentence 2-Search the longest word of the …

Software Development algorithm python regex
Member Avatar for griswolf
0
256
Member Avatar for JamesSWeber

Re: Extra zeroes at EOF when Inputing numbers in a NotePad file.txt into a VB program. Hi All, It sure looks like I am picking up unwanted carriage control or other non viewable characters as a zero or as two zeroes, when I enter a list of numbers (a sample) …

Software Development visual-basic
Member Avatar for AndreRet
0
188
Member Avatar for kkusuk

Hello everyone.. how to write "75 18" (binary) in offset 004012BC? [CODE]Dim Fhand As Integer Dim Offst As Long Dim DataP As Byte Private Sub Command1_Click() Fhand = FreeFile Offst = &H4012BC DataP = &H4B + &H12 'this is 75 18(binary), is this the right way to write 75 18? …

Software Development visual-basic
Member Avatar for AndreRet
0
122
Member Avatar for junjun61991

i need to search a all related title of the book in my database.. the code below search only exact title..where do i insert an * wildcard to search all related keyword title..ex. if i search computer, all titles that contains keyword computer will be displayed...thanks Adodc2.Recordset.Filter = "[book]='" & …

Software Development visual-basic
Member Avatar for AndreRet
0
97
Member Avatar for giannoui

Hello everyone, I'm trying to develop a program which read from a text file data. Then display one data line per time with 2 sec delay in an lcd which is connected throught the internet. I get a run time error'424' here myFile = File.ReadAllLines("c:\account.txt") '//load file. [CODE] Dim LineNumber …

Software Development display file-system visual-basic
Member Avatar for AndreRet
0
133
Member Avatar for Roger101

Hi, I know how to stor multiple values in has table with single key.Basically HOH But i am not able to do the same when the hash has multiple keys I am trying something like this and when i try to print it gives garbage value for the has keys.. …

Software Development perl
Member Avatar for Roger101
0
206
Member Avatar for JDuch

After importing the script below as g4.py as >>import g4 followed by >>> pad ="ram:t/list.lha" >>> g4.extract(pad,"path") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "g4.py", line 52, in extract return takeaction.get(itemnw,errhandler)(fromvar) TypeError: errhandler() takes no arguments (1 given) This error does not appear when i …

Software Development python
Member Avatar for JDuch
0
378
Member Avatar for raghujosh

Environmental Variable: System variable(both) 1. A new GRAILS_HOME variable installed pointing to the Grails folder. 2.PATH: C:\Grails\bin appended . However I get an error message sayings grails is not a recognized command. I am a new to grails. The documentation says its very simple and I have tried different ways …

Software Development java
Member Avatar for raghujosh
0
389
Member Avatar for rahul8590

[URL="http://www.daniweb.com/forums/thread305436.html"]http://www.daniweb.com/forums/thread305436.html[/URL] accidentally i posted in the wrong forum.

Software Development sql visual-basic
Member Avatar for AndreRet
0
119
Member Avatar for rahul8590

I have a search a particular filename in my msaccess file . if i search through ID no , i am able to fetch the output . but if i am searching by comparing filenames then i am getting error [CODE] Private Sub cmdSearch_Click() Dim key As String, str As …

Software Development sql vb.net
Member Avatar for AndreRet
0
290
Member Avatar for Tony Barber

Hi, I am connecting a scanner to a USB port. The scanner works as a com port connection. Before I can talk to the scanner I need to know which com port the scanner is using. When I know which com port it is on I can wake it up …

Software Development visual-basic
Member Avatar for AndreRet
0
237

The End.