132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sahithi.visvanathan

include a member function named rangeSearch. The function should search the list for a specified range values, defined by two numbers. All value found to be within the range shall be returned a pointer to a list of Nodes in search range. If no value is found, the function should …

Software Development c++ linked-list
Member Avatar for Unimportant
0
208
Member Avatar for jaai

hi could anyone help me come out of this problem.. I've my project with one mdi and three child forms.. when i run the mdi child forms vb6 stops working and it shows the following: Problem signature: Problem Event Name: APPCRASH Application Name: vb6.exe Application Version: 6.0.81.76 Application Timestamp: 3592011f …

Software Development visual-basic
Member Avatar for darprogra
0
3K
Member Avatar for revellution

Hi everyone! Sorry for the novel but I don't want to waste anyone's time by not explaining what I have already tried before they try it too... So I just installed Blender which requires Python 2.6 but I'm learning Python 3.1 at the moment. I've never programmed before but I …

Software Development python
Member Avatar for jordanrkaufman
0
460
Member Avatar for Shurui

I have a piece of Java code where users will get a bunch of outputs (outputs are numbers). I am trying to edit this code so that I can display the output as a Java Applet via webpage. Here's a part of the result I need to show. String s1 …

Software Development java
Member Avatar for iamthwee
0
246
Member Avatar for kiail

Okay, I've made a save file dialog, and I've been reading but I personally haven't found much useful information that I understand in creating a save button. I have this as a SaveAs. I'm guessing the save button event is probably very very close to this, but with or without …

Software Development
Member Avatar for kiail
0
227
Member Avatar for jkvt

Hello, I am trying to create an outer join in Linq using DefaultIfEmpty. It does not seem to be working. Basically I want c.TotalAmount to be 0 if it does not exist in the second/right table. Any ideas as to what I might be doing wrong? The query does execute, …

Software Development asp.net
Member Avatar for jkvt
0
317
Member Avatar for kiail

Hello, I'm here to ask a question about listboxes/textboxes. I have two forms. The main form has a listbox with some buttons on it. Two buttons open a 2nd form, if I open the 2nd form using the Open button, the textboxes should be blank. I have this part figured …

Software Development
Member Avatar for tinstaafl
0
197
Member Avatar for Suzie999

A short while ago I was intrigued by a reply made by nullptr in [this thread](http://www.daniweb.com/software-development/cpp/threads/458583/shellexecuteex-api). So I began to look for ways to access the rest of IE (IWebBrowser2) interface, and met limited and varied success. Accessing for instance a <div></div> element in a wep page html document was …

Software Development api c++ daniweb-api html-css
Member Avatar for Suzie999
0
270
Member Avatar for LennieKuah

Hi Friends, I need your help. Please help me. I am trying to retrieve data from Excel Spreadsheet to fill DataGridView for display prior to updating SQL SERVER using DataGridView Row individually. But the coding is not working as this is the first time I done the coding. this code …

Software Development vb.net
Member Avatar for Reverend Jim
0
421
Member Avatar for Adrian_1

A lecturer has a text file which includes a list of students name and final exam marks. Create a Java program which: * Read all the records from the file * Sort all the records from the file and * Exit from application

Software Development java
Member Avatar for Adrian_1
0
166
Member Avatar for srikanth2321

Hi, I have a "Save" button with the following code Save.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent evt) { k = k+1; System.out.println(k); } }); somehow, it is executing multiple times with single click on the button (k values is 4 at times). I googled it but couldn't find some helpful …

Software Development java
Member Avatar for mKorbel
0
150
Member Avatar for srikanth2321

Hi, I have a split container in my frame where the right container has a Jtable and left is filled with different collapse panels displaying detailed data from different parts of the table. If the user clicks on a column then a collapse panel expands and display the information If …

Software Development java
Member Avatar for srikanth2321
0
172
Member Avatar for robgeek

Hi guys, I am confused on how can I access a same class reference object , that is created in class ReadInoiceFile, and be accessed in ReadErrorFile. To be more specific: I have a class called Transaction And then I have a class called ReadInvoiceFile. And finally I have a …

Software Development java microsoft-access
Member Avatar for JamesCherrill
0
278
Member Avatar for murali2489

Hi All, I have written an application for traffic Study which takes traffic load for seven days, inputting traffic load during morning,lunch,evening and night for each day. The output im getting is this Morning Lunch Evening Night Average Day 0 : 5 5 5 5 5 Day 1 : 5 …

Software Development file-system java
Member Avatar for JamesCherrill
0
260
Member Avatar for nchy13

Following is the code snippet to override exception::what() function, but what I couldn't figure out how removing const-ness of the function produces following null terminated character string "std::exception". What I could think of is that since exception::what() is const its overriding should also be const. But, even if it is …

Software Development c++
Member Avatar for mike_2000_17
0
194
Member Avatar for nchy13

This is a program to reverse the string in place. I have used pass by pointer. Interestingly I have changed the pointer in reverse function which is notable by seeing its output but the pointer which was passed in main function still points to the start of string. This is …

Software Development c++
Member Avatar for deceptikon
0
167
Member Avatar for Fangling

Hi, i have a database with the following details: SCHOOL CAMPUS ADMINNO MODULECODE MODULEGRP SEG AMK 100810R EG3932 EG3932-G1 SEG AMK 100810R EG3933 EG3933-G1 SEG AMK 101427Y EG3901 EG3901-G1 SEG AMK 101427Y EG3902 EG3902-G1 SEG AMK 101427Y EGS650 EGS650-G1 SEG AMK 103852S EG3901 EG3901-G1 SEG AMK 103852S EG3904 EG3904-G1 now …

Software Development display listview vb.net
Member Avatar for Fangling
0
209
Member Avatar for DarrelMan

I get an unknown source error when I try to use the Scanner class. fabric is the name of my Scanner ojbect. while(fabric.hasNext()) { fabricID[fabricCounter] = fabric.nextInt(); name[fabricCounter] = fabric.next(); description[fabricCounter] = fabric.next(); price[fabricCounter] = fabric.nextDouble(); qty[fabricCounter] = fabric.nextInt(); vendor[fabricCounter] = fabric.next(); fabricCounter++; System.out.println("made it down here"); }//end while fabric.close(); …

Software Development java
Member Avatar for JamesCherrill
0
304
Member Avatar for mrkm1188

Is there a way to add folder permissions to a folder without wiping out the current permissions on the folder?

Software Development vb.net
Member Avatar for mrkm1188
0
118
Member Avatar for mrkm1188

I have a VB application that creates project folders on a network drive and I want any user who runs the application to be able to create the folders but the root folder permissions don't allow users to do anyhting besides read access. Is there a way to have the …

Software Development vb.net
Member Avatar for mrkm1188
0
384
Member Avatar for new_developer

Hi there, I want to know about wchar_t data type i.e. how it is used and why we use it. And also what is the difference between char and wchar_t. One last thing why we write L before wchar_t initialization. #include <iostream.h> void main() { wchar_t w; w = L'A'; …

Software Development c++
Member Avatar for deceptikon
0
158
Member Avatar for Shanti C

Hi All, Im generating some output files(kind of reports) in my reportGenerator class.Acutally im creating then into hard disk and showing them in browser. But i want this scenario to be developed into my project : Want to return the generated file as stream to another class, and show that …

Software Development file-stream java
Member Avatar for JamesCherrill
0
147
Member Avatar for waqas.zafar.125

Hi there! I have a problem in dealing with dynamic arrays. I have initialized the objects and now i want to print them. My main function looks like this: char* namesList[] = {"Brad Shaw","Aimen Adams","Sal Dimitry","Cristi Anreaz","Poala James"}; int idList[]={232,444,135,52,134}; Team t; Team t1( namesList,idList,5,"waqas"); //t1.Print_team(); My class Team looks …

Software Development c++
Member Avatar for David W
0
209
Member Avatar for razamughal67

How to Extract url links to a url web address. Hello everyone i hope all is well. I want to extract all link to a Url Address in a list. for Example: i have a url link : www.geynstuff.com now we want to get all Url link in a listbox …

Software Development visual-basic
Member Avatar for jhai_salvador
0
846
Member Avatar for Azad Omer

We all use `this` keyword many times explisit with our instance fields or constructor, however, this refers to* current object*, for example: class Foo imlements ActionListener{ Foo fooObject; public Foo(){ //.... button.addActionListener(this);//this work as we pass the current object reference as an argument //or button.addActionListener(fooObject);// this will compile, but the …

Software Development java
Member Avatar for stultuske
0
293
Member Avatar for mark192

I'm sure there is a simple way to make a keystrok such as the up arrow adjust the location of the picture box, however I don't know how to tell the program to perhaps [code] picturebox1.location = picturebox1.location + 1 [/code] when a key is pressed... help please!

Software Development vb.net
Member Avatar for sinici.grand
0
237
Member Avatar for mikewyatt

Help! application is rapidly degrading..... I have had problems with netbeans being able to keep subprojects incorporated with the main projects (loaded into tabs). Usually solved by recompiling the missing .java file, doing a clean build and they load back in. Now I have the error, component cannot be intantiated.... …

Software Development ide java java-netbeans
Member Avatar for mikewyatt
0
253
Member Avatar for neetika reddy

Hi, I am trying to get TextBox. Whenever I click on the button I should get a TextBox. Here is my code. But I am getting only one TextBox. Collapse private void button1_Click_1(object sender, EventArgs e) { txtRun = new TextBox(); txtRun.Name = "txtDynamic"; txtRun.Location = new System.Drawing.Point(20, 18); txtRun.Size …

Software Development c#
Member Avatar for LyndonBroz
0
5K
Member Avatar for anglaissam

if (defined($ARGV[0]) && $ARGV[0] ne "") { $f=""; #initialize $f $dir = $ARGV[0]; chomp($dir); #directory paths should use '' instead of '/' if ($dir =~ /^\w:\//) { $_ = $dir; s/\//\\/ig; $dir = $_; } #seperate filename from directory path if given if ($dir =~ /.*\.htm$|\.html$/i) { $f = substr($dir, …

Software Development perl
Member Avatar for anglaissam
0
198
Member Avatar for Labdabeta

I have a program using old data for a game I play to indicate which pixels correspond to the health bar in my game. (my program just loops until a button is clicked and presses a key if the health bar drops too low). Unfortunately the health bar has moved …

Software Development api c++ microsoft
Member Avatar for triumphost
0
800
Member Avatar for cisumma

Hello, I have an app that runs good in the NETBEANS ide. When I run it as a stanalone exec.jar and place the executable in the project folder or when I place the executable on the thumb drive it runs with anomolies. When I run the app from a thumb …

Software Development ide java java-netbeans
Member Avatar for cisumma
0
188
Member Avatar for Renga

I want help to solve this issue. I have a datatable which is created by doing an 'Inner Join' of three tables. This datatable is bound to a datagridview for display of the records. I want to use the bindingsource methods for doing the delete / update on the underlying …

Software Development vb.net
Member Avatar for Renga
0
877
Member Avatar for Ancient Dragon

I have a program with DataGridView which is bound to MS Access table. When I addept to update I get "Syntax error in INSERT INTO", but no explanation about the syntax error. Column names in the table have a space in them, such as "Last Name". Could that be the …

Software Development multithreading vb.net
Member Avatar for Ancient Dragon
0
525
Member Avatar for Ismatus3

Hello , I'm working to build a programme that connects to MySQL database using Tkinter .In a step , i wanted to create dynamicly a number of entries widgets ( here : tailles_entry[i] ) depending on the number of elements of a list ( here liste1 ) . I could …

Software Development python tkinter
Member Avatar for Ismatus3
0
5K
Member Avatar for yagelnnn1

Hey, I have a little problem that I can't resolve, maybe you can: I want to write in a textbox a number, let's say 3. Then I'll click on a button and in the combobox it'll add the items 1, 2 and 3. Thank you for helping!

Software Development vb.net
Member Avatar for yagelnnn1
0
193
Member Avatar for ShadyTrips

Hello guys, Im looking to learn VB from the ground up and wanted to know if there are any in depth informative tutorials online which are free but extensive in content. Many Thanks for any suggestions Shady

Software Development vb.net
Member Avatar for ShadyTrips
0
142
Member Avatar for Fangling

i have an excel file which contains the following: (only part of the file) 1 SEG-AMK EG1832 Mechanics and Materials 286 1.5 EG1832 2 SEG-AMK EG1833 Electrical Principles 375 1.5 EG1833 EG1952 EG1903 3 SEG-AMK EG1835.1 Engineering Mathematics (1) 456 1.5 EG1835 EG1001 4 SEG-AMK EG1835.2 Engineering Mathematics (2) 363 …

Software Development engineering mathematics vb.net
Member Avatar for Fangling
0
209
Member Avatar for london-G

Hello, I have a textfield price. The user has to input a price(currency) into it. I would like to do something so that when the user types in a curreny it will automatically add the commas and the zero when needed. If the user was to type in 1000000 it …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for ZIPB

I want to compare a date in a database to today's date and it they are equal. Display the contents of the related date in the database in datagridview on a new form. This is my code Private Sub TimerAppoint_Tick(sender As Object, e As EventArgs) Handles TimerAppoint.Tick Dim TheDate As …

Software Development dataset vb.net
Member Avatar for shann_
0
517
Member Avatar for rom.

Hi there, I need a simple socket server which will echo a client message to all connected clients. I've found this easy py script below, but it only echos the string to the client that sent the message. Any way to mod this so that it will send the message …

Software Development client-server python socket-programming
Member Avatar for silver.moon.37819
0
2K
Member Avatar for nitin1

actually, I was reading C++ from some time , but here i want to learn and imprve my OOPS concepts. IF you have some good links or some e-books or some good book name , please help me here. i have learnt from wiki, my one C book in which …

Software Development c++
Member Avatar for soutrik
0
245
Member Avatar for KellzDD

I need help with some methods in my constructor class. My first method receives scores, computes test totals, stores them in an array and returns them. public int[] computeStudentTotals (int[][] scores) { } My next method computes grades. It invokes the computeStudentTotals method to compute the totals of three tests …

Software Development java
Member Avatar for stultuske
0
245
Member Avatar for overwraith

How do I create a function that accepts by refrence an array of character pointers? I need to be able to overwrite the contents of an array of character pointers, hence I need a pointer to that array. Here is some of my code, but it is throwing errors, so …

Software Development c
Member Avatar for Unimportant
0
380
Member Avatar for Lp_baez

Hi I learning c++ through a book but I have found that one of the examples provided by the book is an infinite loop. So I was wonderring if anyoone can help me stop it. I tried using the 'break;' statement in every 'for' body to stop the loop but …

Software Development c c# c++
Member Avatar for Lp_baez
0
1K
Member Avatar for nileshahir

i want save image in directory path and also save path in database...sqlserver 2005 and retrive in in same folde and path

Software Development image vb.net
Member Avatar for talerKK
0
126
Member Avatar for pars99

I want to set a text field to look through a switch statement to find the corresponding case. Can I just do that like this? switch(textField){ case 'someCase': // do something break; default: // do something else break; } Considering I already created an outlet for it in the @interface …

Software Development objective-c
Member Avatar for pars99
0
125
Member Avatar for DarkLightning7

Ok so im working on a mapping library for my pathfinding system and im trying to figure out what Data structure would be best to use for rapid calls up to several hundred a second, as low memory usage as possible, and not too difficult to store and load pieces(chunks) …

Member Avatar for DarkLightning7
0
204
Member Avatar for raging_the_fire

Been stuck on this for bloody ages. Seems like no easy way to do it! Would appricate some help, thanks! #include <stdio.h> #include <stdlib.h> #include <time.h> char (char *s, const int len) { { static const char alphanum[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; "123456789"; for (int i = 0; i < len; ++i) …

Software Development c c# c++
Member Avatar for iamthwee
0
3K
Member Avatar for ashking

I have a bit of vb.net code that will search for a string, then get a certain amount of characters after it and display in within a text box. My issue is that is some cases there are more than one string of text I need to display, so rather …

Software Development vb.net
Member Avatar for ashking
0
156
Member Avatar for ManishGaikwad

Hi All, Can anybody help me in finding this out? I want to delete csv file using C#.Net? I am using:- File.Delete("E:\TestFolder\filename.csv"); OR if (System.IO.File.Exists("E:\TestFolder\filename.csv")) { System.IO.File.Delete("E:\TestFolder\filename.csv"); } But both above are giving exception as:- Cannot access the file "E:\TestFolder\filename.csv" because it is being used by another process. Test Folder …

Software Development file-system
Member Avatar for deceptikon
0
502

The End.