132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sin-da-cat

Can somebody help me with this? I'm not sure if this is the right forum section, so if it's not, please let me know. The problem goes like this: I need to create a program that has a recursive function which checks whether or not the given string is a …

Software Development c
Member Avatar for farooqiumar
0
2K
Member Avatar for chuwy

Hi I have a problem with my mdi Child Form, when i close it with Form1Child.Close() then it close with any problem but when y i want to open again with Form1Child.Show(); i got a message that said "Cannot access a disposed object." what can i do??? thanks

Software Development
0
60
Member Avatar for DarkC0de

hi every body I have small system for emails which I must save all user in one file and all message in one file :( . the problem is : i want the user to write a message and when he end it click Ctrl+d then write Ctrl+d in end …

Software Development c++
Member Avatar for DarkC0de
0
774
Member Avatar for aladar04

[CODE]/*manimbo_mp4.java*/ import java.io.*; public class manimbo_mp4{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); /*initializing STRING FORMAT variables *smmort holds monthly mortgage amount *spaym holds mortgage payment amount *sremb holds principal amount*/ String smmort,spaym,sremb; /*initializing LONG FORMAT variables *lmmort holds monthly mortgage amount *lpaym holds …

Software Development java
Member Avatar for aladar04
0
400
Member Avatar for mueed

can any1 tell me how to display a array of pixels into a gray image using c

Software Development c image
Member Avatar for Salem
0
94
Member Avatar for jjohnson0819

I wrote a custom web service to submit a form from sharepoint to sql. The form works properly and says the form submitted sucessfully but no data is stored in sql. I am pulling my hair out. Any help would be appreciated. Code is below. [CODE]<%@ WebService language="VB" class="Submit" %> …

Software Development sharepoint vb.net web-server xml
Member Avatar for Elehas
0
151
Member Avatar for jimib

I have a very complex multi-page form I am developing in the Crystal Reports which is included in VS2008. There is always 1 Page A. There may be 1 or more page B. There may be 1 or more Page C. Page A has 7 subreports and a header from …

Software Development vb.net
Member Avatar for jimib
0
178
Member Avatar for PinoyDev

Good day.! What a frustration drives me just this day.! Last night we got power lost. Just this day when i open my vb project, ive got an error message says that project1 cannot be loaded. When i try to open one form on that project it also returned, form1 …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
2K
Member Avatar for pac-man

Hi guys, I found this thread ([url]http://www.daniweb.com/forums/thread19814.html[/url]) that gave me guidance on this topic but I wanted to further develop my understanding. I understand that in Java, everything 'passes by value', even references. That is, a copy of the value is passed to the parameter so the original value is …

Software Development java
Member Avatar for JamesCherrill
0
189
Member Avatar for bobnoby

Hi, I've been working on a program that lets you make cartoons. You have to draw one frame at a time. This works fine. The problem is, all you can do is playback the cartoons, you can't save them. I need to find out how to save multiple picture files …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
100
Member Avatar for zawpai

Hi, Could you please show me where my error is? I have created one "DLL" file by myself. Then, I want to reuse it in another project, but the system prompt error message whenever I call that "DLL" function. I created "DLL" with "ActiveXDll". The following is my dll code. …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
247
Member Avatar for destroyed

HEY...I need some help......i need a c++ code that segments a image.....i need it for my projet...i tried so hard but didnot find it yet....Help Plzzzzzzz

Software Development c++ image
Member Avatar for Narue
0
124
Member Avatar for hopefullin

Hello, I need some help with python GUI. There are one image(image1), two plots(plot1, plot2) in the GUI. I want they share the same axes. I tried with many methods but only found that just one axis is shared. Another problem is the image and plot redraw flicker. How to …

Software Development gui os-x python
Member Avatar for hopefullin
0
420
Member Avatar for mustafaneguib

ok guys, i can not figure out the following problem that i faced just a while ago while trying out some filing in c++. the code is as follows: [code=c++] #include<iostream> #include<fstream> #include<string> using namespace std; int main() { ifstream readFile; readFile.open("Input.txt"); string sample; readFile>>sample; cout<<"Here is a line: "<<sample<<endl; …

Software Development c c# c++
Member Avatar for Nick Evan
0
363
Member Avatar for addikted

hi.can u plz tell me where to put printf for timecount.here is the code for quicksort i wanted to calculate the time it takes. [CODE]#include< stdio.h> #include< conio.h> #include <time.h> #include <ctime> void shellsort(int a[],int n) { int j,i,k,m,mid; for(m = n/2;m>0;m/=2) { for(j = m;j< n;j++) { for(i=j-m;i>=0;i-=m) { …

Software Development c++
Member Avatar for rahul8590
0
664
Member Avatar for jemz

plz help me how to make this code that accepts 10 integers and display the largest.thanks in advance ...hoping for your positive responds

Software Development display java
Member Avatar for jemz
0
104
Member Avatar for Clawsy

Hi, I have an application with one JFrame and two modeless JDialogs. When I mimimize the JFrame, the dialogs are still there, not minimized. So i need to hide them. I can hide them with WindowDeactivated event which runs one time when the JFrame is minimized but when I want …

Software Development java
Member Avatar for Clawsy
0
1K
Member Avatar for nick447923

I am a beginning programmer and am having a problem with adding a record to a customer table in a Microsoft Access database. I have worked for hours reading my textbook and troubleshooting to no avail. When I execute this code below the record is not added and I do …

Software Development microsoft-access sql vb.net
Member Avatar for nick447923
0
109
Member Avatar for number87

when I try to compile my project file in devcpp I get the following error: I tried googling but nothing seems to help when i tried them. CreateProcess((null), C:/cygwin/bin /sh.exe -c "g++.exe -c test.cpp -o test.o -I\"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include\" -I\"C:/Dev-Cpp/include/c++/3.4.2/backward\" -I\"C:/Dev-Cpp/include/c++/3.4.2/mingw32\" -I\"C:/Dev-Cpp/include/c++/3.4.2\" -I\"C:/Dev-Cpp/include\" ", ...) failed. Access is denied. C:\Users\dedl\Desktop\SAIM\SAIM3\OpenGLGLUT\Makefile.win [Build Error] …

Software Development c++
Member Avatar for number87
0
3K
Member Avatar for yasinirshad

Hi, Am getting this error "System.NullReferenceException: Object reference not set to an instance of an object." This error comes when i am trying to export crystal report in excel format. Exporting to pdf works fine though. On local development machine, exporting to pdf and excel works. On server, only exporting …

Software Development pdf vb.net
Member Avatar for guytang
0
249
Member Avatar for phoenix_dwarf

Hi there, I'm trying to write a metronome for my brother (who is a drummer). He tried a few that was downloadable but want's to have a custom one according to his specs... Now i only have 1-2 months of C# programming experience (1 month for the following each aswell: …

Software Development
Member Avatar for phoenix_dwarf
0
157
Member Avatar for xavier666

I was making a DEQUE program utilizing two separate lists for forward and backward traversal. But what I think I've done is ended up making [U]two separate lists[/U], having same data but only their [U]order reversed[/U], thus wasting memory :'(. So what I want to know is this how a …

Software Development c
Member Avatar for Narue
0
173
Member Avatar for jefanot

Hey, I wrote this code that makes you type two things, then it checks if it is the same. Well, that was it was supposed to do, but then it kept saying: expected primary-expression before "else" expected ';' before "else" Here's the code [CODE] #include <iostream> #include <time.h> #include <windows.h> …

Software Development c++
Member Avatar for muzamal
0
1K
Member Avatar for sathya8819

Hi, I would like to know if there is any way using C# to free the memory being used. I have a very complex application where OutOfMemoryException occurs frequently. Is there any code or any other possibility to free the used memory, say at the beginning of each iteration of …

Software Development
Member Avatar for sathya8819
0
115
Member Avatar for kevndcks

[CODE]private JButton getBtnSave() { //if(btnSave == null) { btnSave = new JButton(); btnSave.setToolTipText("Save scan output"); btnSave.setText("Save"); btnSave.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { try { String lines[] = taOutput.getText().split("\\n"); for(int i = 0; i < lines.length; i++) { System.out.println("Value: " + i); BufferedWriter bw = new BufferedWriter(new FileWriter("audits.txt")); String …

Software Development file-system java
Member Avatar for javaAddict
0
424
Member Avatar for cwarn23

Hi and I have made a simple Java function/method and for some reason it is not working. It doesn't show errors. It doesn't display results. It returns nothing and forces other things around it to do nothing. Below is my script. [CODE]private String get_url(String address) { String result=""; try { …

Software Development java
Member Avatar for padtes
0
126
Member Avatar for coolcool

can anyone suggest how to write a notepad app using c??algorithm for programming is needed..gui is not so important..graphics in c enough..i just need the idea of what to do..pls help me...

Software Development algorithm c gui
Member Avatar for Ancient Dragon
0
91
Member Avatar for judge6

Hi, what I am trying to achieve is to extract a certain word from a .txt file, eg. "word". I am also running an XML file into a dataset. Within this dataset I want to locate the column which has the name "word" (same string from txt file). Once I …

Software Development dataset vb.net xml
Member Avatar for judge6
0
86
Member Avatar for Bonx

First of all, normally i create web apps, so i'm a newbie to winforms. I have created a dataset with data from my DB and using that as my datasource for my gridview, a little bit of code: [code] // Define Connection string string DB_ConnStr = ConfigurationManager.ConnectionStrings["SupportTool.Properties.Settings.DB_Contact_ConnStr"].ConnectionString; // Define SQL …

Software Development dataset
Member Avatar for Bonx
0
88
Member Avatar for polisetty

i tried to copy the result of the java compilation to the text file using javac zz.java > compile.txt It works if the program has no errors and it did not work if it have errors

Software Development java
Member Avatar for parry_kulk
0
105
Member Avatar for musthafa.aj

hello! i written a program..it has for loop and calling thread.sleep for every increment of for loop.. at the same time i initially called Swing Jtable which shows status of every for loop increment... when i executing main program swing table appearing but no content filled for every execution ... …

Software Development java java-swing
Member Avatar for rahul8590
0
103
Member Avatar for sathya8819

Hi, I am implementing a code which uses the FolderBrowserDialog control. Here is my code : [CODE]FolderBrowserDialog folder = new FolderBrowserDialog(); DialogResult result = folder.ShowDialog(); if (result == DialogResult.OK) { try { string path = folder.SelectedPath; string[] files = Directory.GetFiles(path, "*.jpeg"); foreach (string file in files) { using (Stream s …

Software Development file-stream
Member Avatar for sathya8819
0
340
Member Avatar for JAM1011

Hey there, I am having a little trouble with my select statement. It works grand until I but a where clause in. then I the follow error [I]Syntax error (missing operator) in query expression 'MacStatus where((Rating =70 ))'.[/I] This is the string I am submitting to the DataBase . [CODE] …

Software Development vb.net
Member Avatar for JAM1011
0
104
Member Avatar for amlanjyoti.s

Hello, this is the first time I am posting in DaniWeb.com. I am a first semester student of B.Sc(IT). Me and some of my batch mates are looking forward to organize a sort of code war, to give ourselves a test of team based projects and a sense of friendly …

Software Development c#
Member Avatar for sathya8819
0
135
Member Avatar for teen-omar

Hey guys, I'm quite new to Java and I usually try to get things done on my own, but it seems like I'm just sooo lost now. Would really appreciate any help you guys can give me So here's the problem: I need my program to read a text file …

Software Development file-system java
Member Avatar for javaAddict
0
134
Member Avatar for sushantp

People who have worked in JTAPI applications or more so with Cisco JTAPI must be aware of the makecall.java program. Well I am new to JTAPI and what better to start off then this example provided with the cisco SDK. Well I am using CCM 1.4 and its working perfectly …

Software Development java
Member Avatar for knowledgelover
0
269
Member Avatar for Gaiety

I am writing a program to create a window and a box in which the statements are printed but i am unable to get the correct out put. some times after executing the program its showing the commad line but what ever the commands i enter are not visible at …

Software Development c
Member Avatar for Salem
0
132
Member Avatar for JBeginer7891

Hi everyone please help on this: I am developping a program in java, but I need the user to enter his/her details if they are compatible with the values in a database table he/she get access to the main interface. here is what I've done so far [CODE]import java.awt.BorderLayout; import …

Software Development gui java java-swing user-interface
Member Avatar for JBeginer7891
0
129
Member Avatar for JayOne

Ok, at university we did a lot of Java. And I can remember the tutor saying "Exceptions are great for debugging applications, but shouldn't be used in deployed applications for error handling". Now I'm kinda confused, because I feel they provide a lot of flexibility in handling errors. So why …

Software Development
Member Avatar for kvprajapati
0
119
Member Avatar for explorepython

Hello all, I want to display a hyperlink in qt. For this i need to display the link for the url (as underlined text). I can achieve it easily using style sheets and the url can be opened with webbrowser module.. I want to get the clicked signal of the …

Software Development python qt
Member Avatar for explorepython
0
752
Member Avatar for snarb

Hello, I'm new to vb. Basically, I want to learn how to remove the last part of a string if its seperated by spaces... For Example (How to change): "John said 687" To "687" or "John decided to say hello" To "hello" in otherwords, the last word of the string, …

Software Development vb.net
Member Avatar for tede_saputra
0
141
Member Avatar for blitz9

Hi, I tried to make a game trainer, static address can be done. But since the game change it's address every time the game restarted it's make me frustated. Do you have a solution for this?

Software Development c++
Member Avatar for blitz9
0
83
Member Avatar for manishanibhwani

in one of the question for beginners a program for moving a file was asked. i cud not find the algo can anyone suggest me the algo????????????

Software Development c++
Member Avatar for Ancient Dragon
0
197
Member Avatar for jad2010

I am trying to build a VB.NET 2005 windows app which gets cars info from a webpage(webapplication) that has a username and password. I was able to programmatically login to this webpage(by automatically populating the input boxes using webbrowser control) And after I logged in, I could view the cars …

Software Development vb.net
Member Avatar for jad2010
0
199
Member Avatar for basketball4567

I do realize that this is ugly code but i cant seem to have this program output "Your old". I dont know why my if statement is not working. Thanks [CODE]/* This class is to be used as new readline method */ import java.io.*; class ReadInput { public static void …

Software Development java
Member Avatar for darkagn
0
122
Member Avatar for mrnutty

In this challenge there are 3 question, beginner, intermediate, and others. Beginner: [b] [ICODE]1) Find the sum of all Natural numbers that are a multiple of 3 or 11, from 1 to 100,000. [/ICODE][/b] Intermediate: [b] [ICODE]The prime factors of 13195 are 5, 7, 13 and 29. What is the …

Software Development c++
Member Avatar for mrnutty
0
146
Member Avatar for sidnei

Hi, in my job, we use VB6 applications to control various needs, such as supply management, sell, buying, etc... We use ZEBRA printers, with ZPL print codes, directly from LPT1, wich seems like above code: Open "LPT1" For Output As #1 Print #1, "SOME TEXT TO PRINT" Close #1 (Of …

Software Development printer visual-basic
Member Avatar for SCBWV
0
1K
Member Avatar for zrin

Hi! I am working on another program, this time it's a guessing game. I have spend so many hours late in the night, but i can't figure out how to fix this problem. I won't the program to read the input number and display if it is bigger, smaller or …

Software Development gui python tkinter
Member Avatar for zrin
0
112
Member Avatar for Skeen

So I'm quite new to c++, and I'm really into pointers, does anyone got like, an idea on how to really get to know pointers, assignments, tasks, tutorials, ect. Basically, my knowledge in C++, is classes, operator overloading, and like simple stuff, so if you're able to come up with …

Software Development c++ opengl
Member Avatar for manishanibhwani
0
93
Member Avatar for mythili_sharon

i need the difference between i++ and ++i, where is i++ used and where ++i is used

Software Development c++
Member Avatar for manishanibhwani
0
140

The End.