132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for WHchaz1027

Hi Daniweb, I spend a lot of time googling this problem and found no answer yet. The problem is I added a new column in my table, I have a dataset linked to that table and a source of data of my datagridview. Now, when I'm going to add a …

Software Development dataset vb.net
Member Avatar for bLuEmEzzy
0
871
Member Avatar for stefh

Hi pythoners! :) My question is very simple (the answer too, i hope): how to display files in a TreeCtrl? I've tried to use it, according to an example i've found on the web, but it displays only folder, subfolders. No files... I'll show you the portion of code i …

Software Development display python
Member Avatar for stefh
0
177
Member Avatar for kazekagerandy

please help me guys! vb doesnt apply the changes ive made on a certain form, whenever i play debug, i cant see the changes ive made :( even though ive changes the codes and added new controls, i cant really see them when i debug the application. heres an example: …

Software Development vb.net
Member Avatar for WHchaz1027
0
148
Member Avatar for carlitosway17

Hi I am trying to arrange the patients according to their condition that is Serious(S), Routine(R), Critical(C), and Expectant (E). I have the method but it is not implementing correctly as the program runs and builds successfully but it does not arrange them in that order any help would be …

Software Development
Member Avatar for Momerath
0
179
Member Avatar for senthilamp4

Hi Experts, Here i am trying to create a script for Auto Back up script to Back up files. files are taking a back up with help of archive zip module along with mentioned the date in corresponding Folder name. Here i am create one xml file for daily updation. …

Software Development file-system perl xml
Member Avatar for k_manimuthu
0
236
Member Avatar for eltonpiko

hi ive been wondering how translator work like google translator or others ive got a site im working on an i need to translate it from english to creol not Haitian Creole so a translator for my language is not available anywhere so i what to make my own so …

Software Development
Member Avatar for jon.kiparsky
0
1K
Member Avatar for ninjatalon

What are the purposes of using ifndef and define? When should it be used and why? I made a simple program in class just to go over the basic of Friends in classes but it wouldn't work and I was getting errors all over even though I went through it …

Software Development c++
Member Avatar for Fbody
0
118
Member Avatar for geoffy0404

i got an if statement that will display the letter A and the percent grade if there percent grade is between 90 and 100. and the else statement will do the same but its display a B if the grade is between 80 and 90, my problem is, even if …

Software Development c
Member Avatar for mtatadotcom
0
98
Member Avatar for JudeV

the output should be: Triangle Drawer Enter the size of the triangle: 0 The size is out of range. Enter the size of the triangle: 11 The size is out of range. Enter the size of the triangle: cats An invalid value was entered. Enter the size of the triangle: …

Software Development
Member Avatar for minitech
0
100
Member Avatar for Phinocio

I am making a text based game for my programming class, and am working on the saving system at the moment, however, when I run the save method, it overwrites the file, but doesn't insert the new data, it leaves the file blank. Here is the whole save class. [code]package …

Software Development file-system java
Member Avatar for jon.kiparsky
0
151
Member Avatar for iustitia

I need to make calculator with buttons for each digit and so on. My question is, if there is any way to make one function that will handle with all events for all digits? Now I have: [CODE] private void addDigit(char i) { // some calculation with 'i' } private …

Software Development c c# c++
Member Avatar for shootermac
0
160
Member Avatar for Rockpile

Hi there, I know there are some changes between Python 2x and 3x, and I know this is probably due to the changes with how 3x handles unicode and binary but I dont know how to make it work properly in 3x. In 3x my code returns the value I …

Software Development os-x python
Member Avatar for TrustyTony
0
286
Member Avatar for beejay321

The problem for my CMPT103 class is to write a program that takes a binary number as an integer and returns it as a decimal, i would be able to do this easily by taking it as a charecter array and dealing with each individual element but i dont understand …

Software Development c++
Member Avatar for WaltP
0
440
Member Avatar for shyla

[I][thread split from [URL="http://www.daniweb.com/forums/post1039331.html#post1039331"]here[/URL]][/I] Hi i have the same problem but instead of console app i need to make a gui one [code] this is what i have so far using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TubeSales { public …

Software Development gui
Member Avatar for shyla
0
113
Member Avatar for thekitoper

I am fairly new to c++, and I would like to know whether or not I need to have the library files present on the system to run a compiled program that used the library files to compile on a different system. Thank you.

Software Development api c++
Member Avatar for gerard4143
0
94
Member Avatar for Thropian

I'm writing a program in python,tkinter and I need the text on the button to update... is there a simple way to do this?

Software Development python tkinter
Member Avatar for Thropian
0
662
Member Avatar for yeldar13

Hi everyone, I am totally new to VB and am trying to put together a macro. In short, I want it to select a range, store the values as an array (employee names). Then I want to loop through the values in the array. For each iteration, I want to …

Software Development visual-basic
Member Avatar for monarchmk
0
292
Member Avatar for MaddTechwf

I have a few .reg files that I would like to be able to call from my app. How can I call these .reg files from an OnClick event? Is there a better way that I can do this?

Software Development vb.net
Member Avatar for RenanLazarotto
0
212
Member Avatar for Jessurider

hey this is my final year project........the project is that.........we are controlling a car using this software,.........i've made a code for video streaming too.........but when while capturing when i press the numberpad1 and numberpad3 for left right turn i finds a little delay in printing the counts in their corresponding …

Software Development c#
Member Avatar for Jessurider
0
143
Member Avatar for judithSampathwa

Hi there, i have a question in C#.NET report viewer. i save the phone number in the database as (234) 233-1346 . so if the use doesn't type in a phone number it will be saved as [() - ] which is show in side the squared brackets, without the …

Software Development asp.net c# display
Member Avatar for judithSampathwa
0
158
Member Avatar for thekitoper

[CODE] int main(int argc, char* argv[]) { std::cout << argc << std::endl; } [/CODE] The code above will print a number depending on the number of arguments added to it. However I am writing a game in c++/python and I need the program to accept a integer argument that will …

Software Development c++
Member Avatar for thekitoper
0
127
Member Avatar for jayzee1989

so im begining some project, and to try to check my work im trying to print out results as of point x to see whats going on. I just started and im already stuck, and I cant find any reason why I am getting an error. Here im trying to …

Software Development c
Member Avatar for jayzee1989
0
110
Member Avatar for Joshua Kidd

Hello, I am just wondering about multi-connected clients, connected to a server. Is there a possible way to do such? I have heard things about "WinSock" but IDK how to use that, if so can I have a documentation. And also I have learned about "Microsoft Direct Play" for multiuser …

Software Development vb.net
Member Avatar for Joshua Kidd
0
80
Member Avatar for Java_tyro

Hello, Help me in writing a logic for the program: User input: [COLOR="Red"]11[/COLOR]000 0[COLOR="Red"]11[/COLOR]00 00[COLOR="Red"]1[/COLOR]01 10001 01011 Two 1's are said to be connected if they are adjacent to each other horizontally, vertically & diagonally. Need to find the largest sector of 1's in the above input string. For example: …

Software Development java
Member Avatar for jon.kiparsky
0
217
Member Avatar for Harley_Quinn

Allrite so I'm writing this program - and I've been having some trouble with it - there are three parts to it 1. Write a function [CODE]void tolower(char* s)[/CODE] that replaces all uppercase characters in the C-style string s with lower case letter. - Two helper functions to use a)[CODE]bool …

Software Development c c# c++
Member Avatar for jonsca
0
183
Member Avatar for *Java*

Hi , How can I open an external program like ( word, notepad ) in JavaFrame Window ? not in external window ? thanks

Software Development java
Member Avatar for Ezzaral
0
198
Member Avatar for rockerjhr

I need to use mergesort to sort the data in a file that has the names and ages of 10 different people , first i have to sort the names in ascending ascii order and then i have to sort them by their age but im not sure how to …

Software Development c programming-construct
Member Avatar for rockerjhr
0
219
Member Avatar for cpiody

Hi, sorry to post about a bus error I realize there are many answers on others threads but none of them have been able to help me make sense of this problem. Im fairly new to C and have tried everything I can think of. The program is supposed to …

Software Development c
Member Avatar for cpiody
0
109
Member Avatar for TigrisAltaica

[CODE]#include <stdio.h> #include <math.h> FILE *input, *output; main() { int Max, Min, x[1000000],i=1,n=0,j=0; input = fopen ("Nube_de_Caminantes.txt","r"); n=getw(input); while (n !=EOF) { fscanf(input, "%i",x[i]); i++; n = getw(input); } fclose(input); }[/CODE] There is some stuff I need to do with the array once I have it, but I can't get …

Software Development c
Member Avatar for TigrisAltaica
0
154
Member Avatar for xxxtian

I am able to save an image from a picture box into the database of SQL. I used a byte array and filestream to read the image. [CODE]FileStream fs = new FileStream(imagename, FileMode.Open, FileAccess.Read) byte[] picbyte = new byte[fs.Length] fs.Read(picbyte, 0, System.Convert.ToInt32(fs.Length)) fs.Close()[/CODE] For some reason, I can't retrieve the …

Software Development dataset image sql
Member Avatar for xxxtian
0
188
Member Avatar for pilipino93

Hi, I've been researching these past few days on SendMessage and FindWindow and I've been looking at example source codes but I just can't seem to understand the process between it. At first I just wanted to send a simple message from a textbox to the open chat of another …

Software Development open-source
Member Avatar for pilipino93
0
197
Member Avatar for atticusr5

hello all, i am having a real hard time tracing down a logic problem and am looking for help. this program just does a binary search on a sorted list and returns a record. now it works for records that exist. however, i want it to continue searching until an …

Software Development c data-structure
Member Avatar for atticusr5
0
111
Member Avatar for daniel1977

Dear Friends: I am having trouble with this exercise. I was able to compile and create the list 0-7 and reverse. I am not sure where I went wrong. Thanks Danni #include <stack> #include <iostream> using namespace std; template <class stackType> void reversedStack(const stackType & originalStack, stackType &reversedStack) { stackType …

Software Development c++
Member Avatar for JamieLynnSEO
0
77
Member Avatar for hery

Hello, How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import …

Software Development open-source oracle
Member Avatar for hery
0
904
Member Avatar for vedel
Member Avatar for blondie.simon

Hello I have written a piece of code that works fine on my computer and all other computers that I have tried it on when running XP. I have tried it on a few machines running vista and they have all worked fine but one of my customers is running …

Software Development assembly vb.net windows-vista xml
Member Avatar for karthiyayiniyp
0
215
Member Avatar for slygoth

Write a function that accepts a pointer to a string and a character and returns the number of times the character is found in the string. [CODE] # include <stdio.h> # include <conio.h> # include <string.h> # include <stdlib.h> void countletter(char *str); int main() { char str; printf("Please enter a …

Software Development c
Member Avatar for slygoth
0
213
Member Avatar for anu07

I am getting a "misplaced break" error from this part of the code,the following is a part of the mfile function,the while loop should break if the entered string in temp equals to the one in exit....I don't know why it shouldn't work,any help?Thanks. [CODE] ofstream myfile; myfile.open(fn,ios::ate); cout<<"File has …

Software Development c++ ios
Member Avatar for anu07
0
852
Member Avatar for Amillia89

Hye,i have problem with looping.... this is my coding for now. [CODE]try{ Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/finalproject", "root", "Amillia89"); Statement stmt=con.createStatement(); // String pick = "select * from synonym where words like= "+st+"% "; ResultSet rs=stmt.executeQuery("select * from synonym where words like \""+st+"%\""); String words=""; if(rs.next()){ words=rs.getString("words"); ResultSetMetaData rsmd = …

Software Development java
Member Avatar for JamesCherrill
0
266
Member Avatar for andreasu

A simple streaming server-client pair with non-blocking user input can easily be coded in Python by using the 'select' module that provides a straightforward interface to the Unix select() system call. For Windows users however this is not an option as the acceptance of three empty sequences in the conventional …

Software Development client-server python socket-programming
0
594
Member Avatar for tasty

I have a question and here is what I am trying to do. Generate an array of 20 random numbers between 1-100 Display them as generated Sort them into descending order (Starting with the largest and going to the smallest Display the results I have started writing the code but …

Software Development vb.net
Member Avatar for Jx_Man
0
122
Member Avatar for Jennifer84

Hello I have a problem. I have a project that consists of 4 forms(Form1,Form2,Form3,Form4). I usually debugged this project. Now I might have done something stupid. I deleted the all 4 .h files. I did keep Form1.h file because I was doing a small program out of that file and …

Software Development c++
Member Avatar for Jennifer84
0
121
Member Avatar for bhanu1607

hi, Can any one tell me How to get url or uri from address bar dynamically in XSLT... It will helps me a lot. Regards Bhanu.

Software Development xml
Member Avatar for iceandrews
0
109
Member Avatar for akase2010

Now make a program so that it stores the values in increasing order, i.e., each time a value is added it is placed into its proper position in the list. Here is my code, I cant get it to put them in increasing order. [CODE] #include <iostream> using namespace std; …

Software Development c++
Member Avatar for Fbody
0
130
Member Avatar for ProgWr

Hi, i made a DLL from a Class Library project in C# and i am trying to use it using DllImport but i keep getting: Error RegConfig.exe MissingMethodException Can't find an entry point 'IntProg' in a PInvoke DLL 'ClassLibraryWinCe.dll' at RegConfig.Program.Main() when i try to run the program. MyWinCeClasses: [CODE] …

Software Development storage
Member Avatar for ProgWr
0
551
Member Avatar for CrimsonGT

I posted about this on Stack Overflow, but I think my explanation of the project wasn't clear, as none of the answers have really be on point. [B]Summary:[/B] I want to make a windows based software deployment system in C# NET. The idea is that a C# NET console application …

Software Development client-server
Member Avatar for Momerath
0
134
Member Avatar for imKEN

Need help on setting the values of username and password for my log-in menu: [CODE]import javax.swing.*; import java.awt.*; class Profile extends JFrame { private JPanel p,p1,p2,p3; private JTextField tf; private JPasswordField pf; private JLabel l1,l2; private JButton b; Profile() { p = new JPanel(); p1 = new JPanel(); p2 = …

Software Development gui java java-swing
Member Avatar for imKEN
0
127
Member Avatar for markdean.expres

Guys, how do I create a label that when clicked by the user, it will open a website using the default browser. I have seen the control LinkLabel but I do not know how it works or how to use it. Anyone please?

Software Development perl vb.net
Member Avatar for RenanLazarotto
0
89
Member Avatar for RenanLazarotto

Hey guys! I'm making a simple app that will need some DLLs that I'm using, but I don't want them to be in the same place as the main exe. How can I make my app to load these dlls from a specified folder, like %mainappfolder%\files\dlls ? Thanks!

Software Development vb.net
Member Avatar for RenanLazarotto
0
185
Member Avatar for RenanLazarotto

Hey guys, quick questions! 1- How can I check the size of a variable? Size in bytes, not length. (; 2- What data can be stored into byte variables? And what the maxium size of the variable? 3- How do I store data inside a byte variable? Thats all for …

Software Development vb.net
Member Avatar for RenanLazarotto
0
143

The End.