132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nice_true

Hi! I have coded a project in vb.net. It contains code that retrieves around 15 lakh records from the database and displays them in a grid. I use data adapter and fill the dataset with it. Then I specify the dataset as the datagrid's datasource. Now the problem is that …

Software Development dataset vb.net
Member Avatar for nice_true
0
229
Member Avatar for Jusa

Hi, I'm having trouble removing objects from a list. It seems that when I remove single objects in a loop, the loop kind of skips elements in the list, not continuing from the point where the last removal occurred. I want to remove only certain elements from a list, and …

Software Development python
Member Avatar for pandu22
0
519
Member Avatar for BOUKHARI

I m VERY new to SQL I have 2 table of itemized telephone call statements made during the same month. Table 1 has all the telephone call records whereas Table 2 does not have all the calls . The common filed in both tables are dates and number dialed. Please …

Software Development vb.net
Member Avatar for hollystyles
0
124
Member Avatar for tehloki

I'm trying to implement a Double-Linked List ADT in an array (contiguous memory only, no dynamic allocation at runtime). So far, all my code does is generate a seg fault whenever I try and add a new element. Here's the whole ADT, if anybody feels like looking over it. FILE: …

Software Development c linked-list
Member Avatar for Narue
0
126
Member Avatar for himanjim

Here is my code for an applet in java it runs well but shows error unreported exception java.io.IOException; at the functions highlighted in green I wanna ask the functions i've highlighted highlighted in green in code are supported in applets? Thnx in advance /* * Java(TM) SE 6 version. */ …

Software Development gui java java-swing
Member Avatar for masijade
0
106
Member Avatar for hawisme000

hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg …

Software Development visual-basic
Member Avatar for hawisme000
0
112
Member Avatar for balagangadharm

Can any one help me in generating a billing report in java without using any reporting tool. I should get the header, footer and pagebreaks.If the billing takes two pages then header should cum in first page and footer in last page..please help me I would be favourable for u …

Software Development java
Member Avatar for masijade
0
83
Member Avatar for dinkle

I am new to deplhi coding and need help and examples when it comes to browsing files, pulling out data from files, looping, retrieving data, saving files. Any links to examples or any thing pls help. Thanks

Software Development delphi pascal
Member Avatar for dinkle
0
289
Member Avatar for Prozeen

Hi, how do I use the EOF function with an Excel spreadsheet? I'm thinking that the EOF needs a file number. But in my code below, I don't have a file number. What do I need to do? Any links, code, info available? Thanks.[code]Dim app As excel.Application Dim book As …

Software Development visual-basic
Member Avatar for Prozeen
0
725
Member Avatar for arvindishukla

Hi All, Small can some please let me know hpw to use logical OR in csh scripts, below is the code line which is not running and i don't know why it is entring in "if" statement, even though i'm inputing value "1", set ans = $< echo $ans if …

Software Development shell-scripting
Member Avatar for arvindishukla
0
299
Member Avatar for step2stepgirl

I've tried so hard to do it but I couldn't so I really need help since I have to send it to my professor tonight so please HELP [code=cpp] class String{ char * const cp; // pointer to the first element int Alng; // the N# of the elements in …

Software Development c++
Member Avatar for step2stepgirl
0
121
Member Avatar for othz08

can someone help me with my assignment ^__^ pls give me the code of magic squared that will ask the user to enter the size of array matrix thank you!! ^_^

Software Development java
Member Avatar for masijade
0
31
Member Avatar for dc101

Hello, I can't seem to find any example code where a 2-dimensional array is returned from the function. This is my code: [code=C] char *updateBoard(char board[3][3], int position, char piece){ //board is changed here //want to return new board return board; } [/code] any suggestions are much appreciated.

Software Development c
Member Avatar for alsoumhi
0
91
Member Avatar for driplet

I have the following code, but compiling error message: "cannot convert parameter 1 from 'float' to 'float " when I call flow(v1, v2, v3, v4). Could any one out there help me to find the problem and fix it? Thank you! [code] #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #define Length …

Software Development c++
Member Avatar for Salem
0
294
Member Avatar for awo

i have a project on password authentication, and i have simulated and already implemented two very secure algorithms but i also need any body who could assist me with developing a password authentication technique that would not need any database for storing the database and it will not need any …

Software Development java
Member Avatar for awo
0
125
Member Avatar for jayz_raul

Hye there...any ideas or suggestion on to do PRINT function in vb.net? i really need an idea on how to develop it...

Software Development vb.net
Member Avatar for jayz_raul
0
86
Member Avatar for Steven_C

Hi all, I am want to know how an array looks like and I need a sample code. Basically i want to know how to add, delete and edit records using an Arraylist. Can anybody help please?

Software Development java
Member Avatar for jwenting
0
140
Member Avatar for ubercat

Hi all. I'm a new member [I]I posted the following in the stickied book thread as it seemed the most appropriate place for it. That was 2 days ago and no one responded so I probably guessed wrong. If I shouldn't have reposted, then I'm sorry. Here is the post …

Software Development c c# c++
Member Avatar for kako13
0
114
Member Avatar for jaepi

Hello there, I would just like ask what to use if you want to know if a variable is of type wchar_t* or char* using it in a flow control statement. Would this work? [code=c++] void Check(void* pVarToCheck){ if(sizeof(pVarToCheck) == sizeof(wchar_t))){ cout << "Variable is wchar_t*" << endl; }else if(sizeof(pVarToCheck) …

Software Development c++
Member Avatar for jaepi
0
989
Member Avatar for dt2611

Hey guys trying to compile code, and heres the error I receive. im fairly new to python programming so any help would be appreciated. thanks in advance. ms7538@ms:~/Desktop$ ./test.py Traceback (most recent call last): File "./test.py", line 10, in <module> class Panel1(wx.Panel): File "./test.py", line 22, in Panel1 bmp = …

Software Development file-stream python
Member Avatar for bumsfeld
0
84
Member Avatar for jimwalther

Hey, I have no idea why this code isnt working, im new to C++ so maybe im missing some fundamentals or something. But to me it looks perfectly fine.. the purpose of this program is to change binary into user code... if someone could help me out it would be …

Software Development c++
Member Avatar for jimwalther
0
164
Member Avatar for loimarie

pls help me create musical note using assembly language codes. can you please give me the right code to be use. hi,can anyone give me an asm code to create a melody of certain songs...asm codes use to produce a tone do,re,me,fa,so,la,ti,do...please...asap

Software Development assembly
Member Avatar for loimarie
0
91
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Software Development c++ file-system
Member Avatar for DemonSpeeding
0
102
Member Avatar for zandiago

The assignment is : Write a C++ program that calculates the volume of 3 different geometric shapes. Your program should give the user a menu like the following and repeat until the user wants to stop. Volume Calculation Program Select the Number of Your Chosen Object 1. Dumbbell 2. Axle …

Software Development c c# c++ printer
Member Avatar for zandiago
0
195
Member Avatar for ankit_nasa

[B]Run the algorithim for n>6. to introduce non- determinism, number each process 0..n-1; In each iteration, generate a random number r<=n.choose r processes randomly and allow only the chosen ones to execute the protocol. token sending/ recieving can be emulated by updating appropriate recieved[] bits. ignoring the diffusion part, see …

Software Development java
Member Avatar for orko
0
103
Member Avatar for diyerxa

Hello, I'm fairly new to VB.NET I'm trying to add a textbox to a tabpage, which neither exist at design/compile time. The TabControl1 already exists, but the textboxes and tabpages don't. Here is my code so far (without any way to add the textboxes). [CODE] Private Sub Button1_Click(ByVal sender As …

Software Development vb.net
Member Avatar for diyerxa
0
319
Member Avatar for lampie

Hello! I have problem here... I want to separate 12-07-1007 into 3 parts, which are day(12), month(7), and year(1007). I have made a function to do this separation and it works well. But i wonder if there is exist a [B]function in VB [/B] to do the separation? Thank U... …

Software Development visual-basic
Member Avatar for ramlisarip
0
159
Member Avatar for KimJack

Hello All, I have working for this simple little thing for the past few days and I am stuck. Can anyone tell me or explain a regex formula that will extract words from xml. [B]Example:[/B] <person> Sue Smith <age> 32 </age> <sex> female </sex> </person> <person> John <child> <name>Jim</name> <age> …

Software Development java regex xml
Member Avatar for Ezzaral
0
95
Member Avatar for IT Lover

Hi all ... I'm new member here and I would like to ask you plz if someone knows how to create a setup file 4 my JAVA project ... that installs my project as a program like any other one ((on program files,on desktop and may create a shortcut )) …

Software Development java
Member Avatar for IT Lover
0
85
Member Avatar for wthorpe

I could use some help with a [B]SQL SELECT LIKE[/B] command. I have two TextBox'es that I am using as input for two different searches through a SQL database with the result placed in a GridView. It is important to note that the search can be performed from either TextBox, …

Software Development vb.net
Member Avatar for wthorpe
0
112
Member Avatar for brendaky

Hi, could any one help to debug this code plz thanks in advance #!/usr/local/bin/perl # load_bulkups.pl - create bulkup orders from a csv file # the input file should be in the comma seperated, in the # following format: # site,vendor,sku(Stock Keeping Unit),forecast,qoh(Quantity on Hand),qoo(Quantiy on Order),buying_multiple,outl,demand,order # if an …

Software Development oracle perl
Member Avatar for KevinADC
0
135
Member Avatar for sickly_man

whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form info into a file (mediaRequest_log.txt). it gets this information by way of [code=perl] # get …

Software Development file-system perl
Member Avatar for KevinADC
0
129
Member Avatar for driplet

In BCB, I need to pass a two dimensional array to a function Ratio. I did this without pointers or reference. Could any body else tell me what I should revise if I want to use pointers or reference for input? [code] double Ratio(double a[3], double VA[3][3], int i) { …

Software Development c++
Member Avatar for driplet
0
154
Member Avatar for Genar Codina

I have a question related to placement new. When dealing with objects, in order to destroy an object created with placement new it has to be called the destructor of the object explicity; that is: [code] #include <new> using namespace std; //The following command really allocates the splace char * …

Software Development c++ storage
Member Avatar for Genar Codina
0
161
Member Avatar for leroi green

hello everyone, i'm in class and having problems with this method declaration. i'm brand new so please don't be too rough, just trying to understand what i'm doing wrong & what will be needed to fix it [code] public static int iMethod (int i); { while (true) { if (i …

Software Development java
Member Avatar for Ezzaral
0
93
Member Avatar for nsesem

i have an assignment about the meeting room capacity , in fact is about write a program that detremines whether a meeting room is in violation of fire law regulation regarding the maximum room capacity. i've trid so hard but right noe I'm stuck. i do need help..someone to help …

Software Development c++
Member Avatar for zandiago
0
114
Member Avatar for rohit saroha

hello, i am having a problem with starting of services of tomcat server ,when i write"http://localhost:8080/" it is not opening the home page.also when i start it 's services then it automatically stops after some time. plz help...................................................it's urgent.

Software Development java
Member Avatar for schoolsoluction
0
99
Member Avatar for hectic

I have a header file : abc.h and abc.template file and i want to use the template feature, how can i modfiy following program to change it completely in template abc.h file have [code=cplusplus] #idndef d_h #define d_h # include header files - cstdlib, iostream and string namespace xyz { …

Software Development c++
Member Avatar for vijayan121
0
510
Member Avatar for abar_sow

can anyone explain wat this program is abt. ? [code] import java.util.regex.*; import java.lang.*; import java.io.*; import java.util.*; public class ReadPara { public static void main(String[] args) { CharSequence inputStr; inputStr = "a\r\n\r\nb"; // Windows // Compile the pattern String patternStr = "(^.*\\S+.*$)+"; Pattern pattern = Pattern.compile(patternStr, Pattern.MULTILINE); Matcher matcher …

Software Development java regex
Member Avatar for masijade
0
116
Member Avatar for degamer106

One of the things that's been confusing me so far is why we have to override the paintcomponent() function after extending it. For example, this program draws an ellipse: [CODE]import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Ellipse2D; import javax.swing.JComponent; public class DrawEllipseComponent extends JComponent { public void paintComponent(Graphics g) { …

Software Development java java-swing
Member Avatar for Ezzaral
0
101
Member Avatar for sagarvs

hello everyone, Am a btech student.Iam now doing a project of watermarking using dsp processor.for that ,the image processing is to be done in borland C and using code composer it shud be called to a dsp processor.so if anyone,can please help me to get program codes for accessing a …

Software Development c++ image
Member Avatar for sagarvs
0
93
Member Avatar for ceyesuma

How do you use methods as args? I can not seem to get the string or file stored in the getters and setters to work as args for the printWriter.etc. Unless something else in this code is causing it. all the getters and setters work everywher else [code] /* * …

Software Development java
Member Avatar for ceyesuma
0
120
Member Avatar for sbakca

can anyone tell me how to write this in LC3 thanks [code=c] for (i=0, i < 3001, i++) { if (i == 0) A[i] = 0 A[i+1] = 0 else A[i] = i } for (i = 1, i < 30,i++) { for (i+i; j < 3001) { if (A[i] …

Software Development assembly
Member Avatar for Ancient Dragon
0
461
Member Avatar for tapannigam

class A{ void process() throws Exception{ throw new Exception(); } } public class ExtendTest extends A{ void process(){ System.out.print("ExtendTest"); } public static void main(String[] args) { A a = new ExtendTest(); a.process(); //line 1 new ExtendTest().process(); // line 2 } } Why does this program gives an unhandled Exception at …

Software Development java
Member Avatar for darkagn
0
82
Member Avatar for makmak02

I'm making a code that will add the squares of a range, ie input number is 4,the squares of 1+ square of 2+square of 3+square of 4 (1+4+9+16)= 30. In my code I'm using the caret symbol for the square but it just multiply the number by 2 and not …

Software Development c++
Member Avatar for Ancient Dragon
0
146
Member Avatar for nschessnerd

Hey does anyone know a way to make a program run at a certain time? no... i dont wantto use task scheduler basically a person sets a time in my program and it runs a method at said time. Ideas? Thanks m

Software Development visual-basic
Member Avatar for nschessnerd
0
84
Member Avatar for Nokkieja

Hi there, Is there a way in vb2005 to: passtrough the name of a control to an other sub? I have 5 pictureboxes. I want to do some action in the other sub, depending on what control has been clicked on. example: Private sub Picture1_Click() dim objControlName as Picturebox objControlname …

Software Development vb.net
Member Avatar for Nokkieja
0
77
Member Avatar for econobond007

My java task is to write a code that sorts dates from a text, using readline. so 1/04/2005 is good, not 22/44/1555.... exceptions perhaps... if anyone is free to help me, please mail or aim(acumenred)

Software Development java
Member Avatar for masijade
0
58
Member Avatar for me_j

I've a 'Birthday' form wherein when i click on Search command button, an input box is displayed. In this input box, i type in a month and when i click on OK i want details of all those students whose birthday falls in that month.i'm using ADO Data Connection.

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
76
Member Avatar for rinoa04

I am trying to connect to database using app.config instead of putting the connection settings in each form. Below are the coding that i used. It works in Microsoft Visual Studio 2003. However, it doesn't works in Microsoft Visual Studio 2005. It states that the System.Configuration is obsolete. Does anyone …

Software Development visual-studio xml
Member Avatar for Exelio
0
139

The End.