132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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? | |
[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 | |
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 | |
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 | |
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 … | |
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 … | |
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++ | |
What's the difference between return (0); and return 0; Software Development c++ | |
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++ | |
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 | |
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 | |
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 … | |
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 | |
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. | |
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 … | |
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 | |
Can I create a class inside a method,could anyone Explain me with a simple example ? Software Development java | |
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 | |
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 | |
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. | |
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++ | |
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 | |
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! | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ |
The End.