132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anita_jojo20

plz help meeeeeee my program include 5 people that if choise 1-wrte name people 2- ACCOUNT 3-SUPPLY account and with add 1 people choise 1-SUPPLY account 2-update of account plz i can not write plz how i write this program :'(

Software Development c++
Member Avatar for griswolf
0
183
Member Avatar for dani_member

Hello Daniweb users, I am developing a small client for messaging, the messaging part is okay! :) Now the problem is with the GUI. I want to implement a "tabbed chat interface", similar to that of MSN or iChat. I am implementing a JTabbedPane for each "window". My problem is, …

Software Development gui java java-swing
Member Avatar for dani_member
0
415
Member Avatar for protocol

Hi, how can i send message from mobile to pc then the pc must retrive data from database, finally send it again to mobile? can any help me please

Software Development vb.net
Member Avatar for Luc001
0
69
Member Avatar for echellwig

Hi, I am having some trouble using the int function on an element of a list. My code currently looks like this. [CODE]for j in range(int(L)): for k in range(int(Allele[j])): alleleslocus_j.insert(k,loci.readline())[/CODE] where Allele is a list of length L inputted by the user. I am having problems with the second …

Software Development python
Member Avatar for echellwig
0
182
Member Avatar for eggmatters

Hi all, My cpp is rusty as all get out and I'm wondering why this doesn't seem to work. I've basically created a .cpp file with all of the structs and lower level data types in it. One of these is an enumerated type. The file. structs.cpp is as follows: …

Software Development c++
Member Avatar for eggmatters
0
148
Member Avatar for MrBlack

I created 2 winforms in one i create a button .when i click the button i want to go to the next form(form2) and close the form1. plz give me the code . this is my code it is not working form1 [CODE] namespace MyTest1 { public partial class Form1 …

Software Development
Member Avatar for MrBlack
0
101
Member Avatar for frantonio

I am trying to write a program in Assembly (IA-32 architecture), that reverses the string input from the user. I've tried to use push and pop, but I can't seem to get any output. Here is the code. Any Suggestions? INCLUDE Irvine32.inc .data str1 BYTE "Enter a string of characters: …

Software Development assembly
Member Avatar for wildgoose
0
3K
Member Avatar for Jeronim

Topic title is not the best but nvm I have been looking for this on internet but cant it find anything useful. [CODE]#include <windows.h> void main() { ShellExecute(NULL, "open", "http://dreamincode.net", NULL, NULL, SW_SHOWNORMAL); }[/CODE] This is function which I have found on net to open URL, problem of this function …

Software Development c++
Member Avatar for Jeronim
0
1K
Member Avatar for bubacke

hi all, i tried this code, but it doesnt work, it says vector subscript out of range: (sorry, i just dont understand how to correctly post code, if someone could tell me, please?) #include <iostream> #include <vector> using namespace std; vector<int> v; v.push_back(1); v.push_back(2); if (2 < v.size() && v[2] …

Software Development c++
Member Avatar for bubacke
0
132
Member Avatar for Grep

Hi all, In order to run an excel macro, I need my personal.xls excel file open so I open it along with the file I'd like to run the macro in. Problem is when I close the program I use save/close. But for some reason it still pops up a …

Software Development perl
Member Avatar for mitchems
0
957
Member Avatar for Dimansu

hi, I have a textbox where i dont want numbers to be typed.I have a code for it but when the user types only letters and goes to a new line and saves it wont allow to save.How can i fix this? Match matchFullNameRegex = Regex.Match(fullNameTextBox.Text, "^[a-zA-Z ]*$"); if (!matchFullNameRegex.Success) …

Software Development regex
Member Avatar for ddanbe
0
84
Member Avatar for loly

hey guys .. ausome forum ... i know the basics of c programming but i am going on to the next level and i am having some diffculties ..with multi-threading ... theres this program i read but i couldnt solve ,, hope some one here knows how to help me.. …

Software Development c
Member Avatar for raviranjanprasa
0
2K
Member Avatar for gedas

hi guys i have been researching about wii remotes and that they could be used to create interactive whiteboards. the software for interactive whiteboard originally has been created by johnny lee in c# well im not an expert in c sharp nor in java :) but i found a version …

Software Development java java-netbeans
Member Avatar for gedas
0
92
Member Avatar for ryan461

I've got a couple of pdf's on python, but im having trouble grasping how to build classes. Was trying to do it for a poker program and i think im in over my head with that idea. (its a bit big just doing it with functions). So id like an …

Software Development pdf python
Member Avatar for ryan461
0
127
Member Avatar for serkankucuk

I have a Windows application. I want to convert windows app to website, but with no differences on code. How can I do this convertion, please help me?

Software Development delphi pascal
Member Avatar for ennis
0
121
Member Avatar for Simes

[CODE=python]#Code should always be in a method or class #Always start variable names with lowercase, classes could be capital #input.upper() allows the user to use lower or upper case for each option import random from operator import itemgetter def isint(x): try: int(x) return True except: return False print "Invalid guess. …

Software Development python
Member Avatar for Simes
0
109
Member Avatar for tiddster

I have a list containing strings. I want to make a directory for each item in the list, with the name of the directory being the string. Does anyone know if this can be done, and it so, how?

Software Development python
Member Avatar for raj_developer
0
218
Member Avatar for jimJohnson

Here are my instructions and I think I have it done but I just realized I need to use memory mapped IO. I am reading over the book and doing research on it but just dont know how to change it and my deadline is Friday. Can someone take a …

Software Development c++ open-source
Member Avatar for Taywin
0
181
Member Avatar for moshe12007

i dont know how to read from database SQL. i try this : [CODE] string sql = "Select * from Table1 "; DataSet ds = new DataSet(); string connStr = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True"; SqlConnection conn = new SqlConnection(connStr); SqlCommand cmd = new SqlCommand(sql, conn); conn.Open(); SqlDataAdapter adapter = new …

Software Development c c# c++ dataset open-source sql
Member Avatar for nick.crane
0
99
Member Avatar for sandorlev

Hello, guys! I've written a GUI for a program. It's written like shit, the goal was to get it done fast. Well it didn't exactly work out, so when I refresh the data, every label disappears. Here is the code: [CODE] class GUI: def __init__(self, master): self.master = master self.label …

Software Development gui python tkinter
Member Avatar for TrustyTony
0
10K
Member Avatar for dhruv_arora

I made a c++ program. I used cin.getline() function so I could input a string from the user. But when I run the program it does not input anything nor gives me a change to input anything instead it goes to the next statemement. For eg. this is my program …

Software Development c++
Member Avatar for dhruv_arora
0
113
Member Avatar for dhruv_arora

What's the difference between return (0); and return 0;

Software Development c++
Member Avatar for debugger09
0
90
Member Avatar for ShortYute

I'm knew to C++ and I always seem to have a problem but all I want to do is to pass an Object to a function by reference.. Thanks in advance Oh I user boost for directories, paths and files... Also I use c strings for UserName and password as …

Software Development c++
Member Avatar for ShortYute
0
922
Member Avatar for sonya_sml

Hi I recently developed a reportingApp which after downloading xml report from third party, converts it into csv format. This 3 party changed the dtd version of the reports saying it should not affect anyone But my app broke as the xmlns reference changed, thus it didn't performed conversion. so …

Software Development xml
Member Avatar for sonya_sml
0
921
Member Avatar for Krefie

Ola As I understand functions and methods can be used to reduce duplicate coding by calling the said functions or methods by components or procedures. Now, when is it better(uses less system resources) to use duplicate coding than functions\methods or vica versa, i.e if you have 3 or 4 lines …

Software Development java
Member Avatar for Krefie
0
260
Member Avatar for ranjita.cdt.esg

can anyone guide me to good websites with respect to this topic "image deblur without original image" I have gone through a number of papers and codes for a week. all examples had codes which took a original good image added a blur function & then deblurred that image. I …

Software Development c image
Member Avatar for 0x69
0
1K
Member Avatar for smita mone

how do you implement RPC using c #?

Software Development c#
Member Avatar for nick.crane
0
88
Member Avatar for Utte

Hello. I have a little problem with using a .dll in my visual studio 2008 project. The dll is created by bjam. The guide i followed was: [URL="http://www.rasterbar.com/products/libtorrent/building.html"]http://www.rasterbar.com/products/libtorrent/building.html[/URL] There is also a vs 2008 guide but i do not know enough about visual studio to follow it. [URL="http://code.rasterbar.com/libtorrent/wiki/BuildVS2008"]http://code.rasterbar.com/libtorrent/wiki/BuildVS2008[/URL] Well i …

Software Development c++ visual-studio
Member Avatar for darreno
0
266
Member Avatar for FudgeCoder

It won't let me build my project. It's just a simple one file thing since I am just learning. When I click build or debug it prints "Launch failed. Binary not found." What do I do? EDIT: I am on a mac.

Software Development c++ ide
Member Avatar for theABCasian
0
127
Member Avatar for Unbidden Ghost

Hi I am in need of some guidance here. basically I want to know if Java is busy dying a slow death and if it is not what else does one need to learn to have a complete and marketable skill set? java dying slow death: dot net has come …

Software Development asp.net java
Member Avatar for Stefano Mtangoo
0
346
Member Avatar for Tkumar

Is their any way Voice Recording and Uploading in server can be done via Web Application? I'm using ASP.Net for my project. My guess is may be via some ActiveX control....but I'm not sure how to do that. If anybody has something, I would appreciate the help.

Software Development asp.net web-server
Member Avatar for Tkumar
0
90
Member Avatar for KcNaveen

Can I create a class inside a method,could anyone Explain me with a simple example ?

Software Development java
Member Avatar for kiwisteffu
0
74
Member Avatar for tajtosh

Hi, I am creating an application for remainder. and I want it to be run in background and monitor all its tasks. I need help about how to make a java application to be run in background. It should work in linux as well as in windows. Help me....!

Software Development java
Member Avatar for sivasrinu
0
640
Member Avatar for frozie

Im trying to make a password input box but i dont know how to make it read and check if the password is right from file pwp.pw, so if password is right then it will let me come to form1. This code is inside of form1 in form1_load [CODE] If …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
82
Member Avatar for Augustin

Hi, I am beginner to WIN32 API Programming. I need to develop a voice recorder application using Win32 Waveform Audio API interface in C# or VB.NET .. Gus please help me on how to start programming...Related articles please show me the link.

Software Development api audio vb.net
Member Avatar for mca_msp
0
222
Member Avatar for mattloto

I need a way to communicate with other exe's. Almost like being able to call cout but to a exe, not the output stream. Both of the apps would be in c++. I know cout is for output stream, sstream is for any stream, fstream is for files, something like …

Software Development c++
Member Avatar for mkvist
0
290
Member Avatar for vijaycare

Hi, I am using vb2005 with access database and I have a crystal report which I want to preview and print only the last saved record. How can I do it? Can any one help me with sample code

Software Development vb.net
Member Avatar for vijaycare
0
138
Member Avatar for Stefano Mtangoo

In simple terms, to write windows DLL I have to define DllMain and do switch stuffs and then export functions using __declspec(dllexport). If I'm right the question comes what about linux? I want to write it in ubuntu box and I'm stucked! How do Coding DLLs differ from .SO? Thanks!

Software Development c++ ubuntu
Member Avatar for Stefano Mtangoo
0
145
Member Avatar for RaniThomas

Hi All, I hv written a java swing class in Eclipse IDE. i hope the code is 100% correct but when im running the class, the error message is displaying in the console. As [COLOR="Red"]Exception in thread "main" java.lang.NoClassDefFoundError: com/cname/lct/madm/gui/madmplugin/rani/ConfirmExitDialog[/COLOR] Below is my code [CODE] package com.cname.lct.madm.gui.madmplugin.rani; import java.awt.*; import …

Software Development gui ide java java-swing
Member Avatar for RaniThomas
0
327
Member Avatar for octavia

Hi all fri, Is it possible to have 2 (button_click) events in a same namespace? I need answer in super urgent :) who wants to help me ?????? Thanks million :)

Software Development
Member Avatar for octavia
0
84
Member Avatar for dylgod

Hi am creating a simple Java calculator and I keep getting the error: DylCalc.java:21: cannot find symbol symbol : variable Total location: class DylCalc JOptionPane.showMessageDialog(null,value1+" - "+value2+ "="+Total); ^ Here is my code is anyone has any Ideas: import javax.swing.JOptionPane; /** This program is a simple Addition, Subtraction, Multiplication and …

Software Development java java-swing
Member Avatar for Victor C.
0
82
Member Avatar for Tank50

Hi guys I want to join two tables and executive the sql statement.I mention what is code i wrote ,Once Complie the code it says Error1 The left-hand side of an assignment must be a variable, property or indexer [CODE]SqlConnection Con3 = new SqlConnection("Data Source=IT;Initial Catalog=Test;Integrated Security=True"); Con3.Open(); string str1 …

Software Development open-source
Member Avatar for kvprajapati
0
294
Member Avatar for SoulMazer

Ugh, this is quite frustrating. I am writing a series of CGI scripts with Python that all work perfectly until I add in a stylesheet reference. Interestingly, if I put the styling rules inside the CGI script, it runs perfectly; it only throws an error when it is in an …

Software Development apache html-css python
0
123
Member Avatar for twc2102

I am using Visual C++ 2010 and created a CLR EXE debug project and wrote a function, which I am able to call from main in my program. If I take the exact same code and put it in a dll, then I get a compile error from the line …

Software Development asp.net c++
Member Avatar for twc2102
0
2K
Member Avatar for YasaminKh

Hi everyone, I'm working with a text file. I want to read a part of it into a string. Here is a sample: <MEAN method="jackknife">3.97e-06</MEAN> In the above line i want to put the number 3.97e-06 into a string. The code that i wrote can find the position of the …

Software Development c++ file-system
Member Avatar for Kanoisa
0
116
Member Avatar for dansnyderECE

I'm trying to convert part of a string. Say I have a bunch of strings and I want to search through all of them, and whenever one of them have the string "34" contained within, I want to convert that part of the string to "XX". Imagine the following: [CODE] …

Software Development c++
Member Avatar for dansnyderECE
0
152
Member Avatar for rbascom

Hello all .. My environment: VS2008/VB using Data Sources (datasets, binding sources, table adapters) to interact with MS Access 2007 database. My application: A Master form displaying a 4-level hierarchy of data using listboxes instead of grids. Data source for each listbox is a query containing child table data and …

Software Development vb.net
Member Avatar for syrwom
0
153
Member Avatar for nu2cpp

Hi Guys, I need to convert a 1D array into a 2D array. Usually a easy problem but my problem is the way data is stored in the 1D array The structure of the 1D array is r0c0, r0c1, r1c0, r1c1, etc etc so for example if my 1D array …

Software Development c++ data-structure
Member Avatar for Radical Edward
0
9K
Member Avatar for sfrider0

Say I have a pac-man applet and I have a counter that increments every time a dot is eaten, and I want to save that for every player, for every game, so there will be a total number of dots eaten from everybody combined. The counter will never reset, just …

Software Development java
Member Avatar for NormR1
0
177
Member Avatar for YasaminKh

Hi there, I'm working with a file. I want to write a code that returns a particular string located somewhere in the file. I have the starting position of the desired string and it's length so I thought that i can use substr(starting position, length of the string) but it …

Software Development c++
Member Avatar for YasaminKh
0
127

The End.