132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kiryoku

Please help to solve this problem.....i am using c++ programming language.... the output of the problem is.... [ATTACH]11520[/ATTACH] i only have this... help me plsss....... [ICODE]#include <iostream> using namespace std; int main() { int a, b, c, e, i, j, k, m; int z=1; int n=10; for (a = e …

Software Development c++
Member Avatar for Salem
0
165
Member Avatar for anne_lise

hi i am trying to use incbet.c alone . it is presently availabe as library (with its makefile) as given below . i wanted to know all the files used by incbet.c . i dont know details about make file . i tried to to look at GNU tutorial on …

Software Development c unix
Member Avatar for Salem
0
193
Member Avatar for serkan sendur

i get an exception when i am trying to save an xml document. the interesting thing about this problem is i dont get it when i deploy the pocket pc application using visual studio. when i create my smart cab project and run this in pocket pc, the same application …

Software Development visual-studio xml
Member Avatar for serkan sendur
0
424
Member Avatar for kz07

Is there any way to go to a specific line of a text file and print it to screen? I used getline to do this, but what if i need to enter a number and the program will go to that line number and print it to the screen. is …

Software Development c++
Member Avatar for Ancient Dragon
0
4K
Member Avatar for thilinam

HI, I am a Beginner to C#. I have knowledge in C++ programming. please give me a reference to learn C#.

Software Development c c# c++
Member Avatar for ddanbe
0
90
Member Avatar for speedy gonzalos

Hi, I am fairly a newbie to vb.net and am developing an inventory control windows application for a client. I am creating a search form for my application. This search form searches the categorys table and returns the results in a datagrid view. The search bit of it is working, …

Software Development vb.net
Member Avatar for kvprajapati
0
276
Member Avatar for hoke

Hullo. I would be very nearly eternally grateful if someone would explain how to convert a void pointer's target (eg 0xda9f000) into a string in C. Both my own brain and google have failed me on this one. I can do this in printf using the wonderfully inelegant line: printf("Value:'%p' …

Software Development c
Member Avatar for Nathan Campos
0
6K
Member Avatar for nalasimbha

Hi, I have a question related to pointers to base and derived classes. I have the following base and derived class: [CODE] class A { protected: double a,x; public: void set_ax(); virtual void mult_ax(); }; class B:virtual public A { protected: double b; public: void set_b(); void mult_ax(); }; class …

Software Development c++
Member Avatar for nalasimbha
0
101
Member Avatar for rp_prasanna

I wanted to validate some values using Javscript. My senario is like this: i have a variable something like this "$[LANGCOD] $[PHONENO] $[CARDNO] " In the text box i may give like this $[sdfssf] now i sholud check if the text box value sequence is present in the above string. …

Software Development java
Member Avatar for ~s.o.s~
0
94
Member Avatar for chanlichin

[QUOTE]I am facing the problem in select the item dates. This is because i only want the condition of month from table dates. So i think the data set i write it get the error. Any one can help me,Thanks.[/QUOTE] [CODE] con.Open() sql = "SELECT DISTINCT Month(dates) FROM summary WHERE …

Software Development sql vb.net
Member Avatar for chanlichin
0
132
Member Avatar for Miganders

im curios since i just completed mine [URL="http://www.daniweb.com/forums/thread221217.html"]my first program (thread)[/URL]

Software Development c++
Member Avatar for William Hemsworth
0
103
Member Avatar for serkan sendur

when i build the smart cab project i need to right click on dependencies and click refresh. then i need to build the project again to see those dlls in the output folder. is this a known bug i dont know, but because of this i need to add all …

Software Development
Member Avatar for serkan sendur
0
102
Member Avatar for udhayakumar_g

Hi I am a new user in VBNet. Someboady Please help me to find the solution for the following. Atpresent I am woking in a electronics based project. I measure the voltage and current measurements in to some string variables. So on each press of a button the values in …

Software Development display vb.net
Member Avatar for sknake
0
114
Member Avatar for Behi Jon

Hi . How we can design graphical menus in c++ for a multimedia device ? Thanks ...

Software Development c++ multimedia
Member Avatar for Nick Evan
0
272
Member Avatar for manutd4life

Am getting problem with this update statement: Here's the code: [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "Update Sales set CustomerId='" & txtCustomerId1.Text & "',WatchId='" & txtWatchId1.Text & _ "',Dateofsales='" & txtDate.Text & "',Quantity='" …

Software Development vb.net
Member Avatar for yorro
0
110
Member Avatar for densman

[B]I am developing a database programme on VB 5, but i do not want to use MS Access as the database. Is there any help available for Oracle or SQL Server databases? Thanks[/B]

Software Development oracle visual-basic
Member Avatar for sknake
0
93
Member Avatar for hmortensen

Hi all, I’m doing some automation for a nightly deployment of some software. My program should: Open a program Send shortcut key press to the program Push a button And close the program again. So far I can open the program, bring it to front, send shortcut keys, but I …

Software Development c++
Member Avatar for hmortensen
0
434
Member Avatar for Moirae

Hello, I have this problem with multidimensional array on Form. [QUOTE]I have multidimensional array (like 5x5 matrix), but I can't add buttons on the form, if I use Controls.Add it adds only one button, and if i use Controls.AddRange program gives me an error [/QUOTE] I want to make a …

Software Development c++
Member Avatar for Moirae
0
104
Member Avatar for Piya27

Hi All, My update query refuses to update the data in the Excel sheet via OLEDB connection. I am able to insert and retireve the records but could not update. Though my syntax is correct and when I execute the query using ExecuteNonQuery, it shows no error no exceptions but …

Software Development vb.net
Member Avatar for samir_ibrahim
0
253
Member Avatar for redreed

hi guys i am doing a project and i need so help plzzz [URL="http://s891.photobucket.com/albums/ac111/redblood_bucket/?action=view&current=uu_000.png"]http://s891.photobucket.com/albums/ac111/redblood_bucket/?action=view&current=uu_000.png[/URL] at this link u can find a pic this a small part of my project the problem is that i want everything that i type or want to display like welcome to the back blah blah …

Software Development c++
Member Avatar for redreed
0
286
Member Avatar for learningthings

Hi! I have a grayscale image in my pictureBox. I want to box up the white pixels in the image using the rectangle. Can anyone teach me how to write the code. Thanks in advance .. Best regards,

Software Development c# image
Member Avatar for sknake
0
1K
Member Avatar for ksan

[LEFT]i have an assignment to make a bus reservation system that will return in main 35 times and increase the ticket number,using function arrays,and looping and can anyone help me ive been doing this assignment for 3 weeks now and i cant do it. [/LEFT]

Software Development c
Member Avatar for MrNoob
0
180
Member Avatar for ddanbe

I'm using VS 2008 C# Express edition here. Try to use a CheckedListBox, which I think is just a fancy ListBox. In designmode I can set the property SelectionMode : None (? rather strange for what I think is a list of checkboxes) One MultiSimple MultiExtended When I select one …

Software Development
Member Avatar for chundachovis
0
413
Member Avatar for matMalo

Hi guys, I've a problem calling a 'parent' PyQt4 method from inside an object that inerits it. Here is the code: [ICODE] import sys from PyQt4 import QtCore, QtGui class ItiaQPushButton(QtGui.QPushButton): def __init__(self, txt): super(ItiaQPushButton, self).__init__("Hello") print super(ItiaQPushButton, self).__doc__ #QtGui.QPushButton.setText("BO") def setText2(self, txt): self.setText(txt) #super(ItiaQPushButton, self).setText("PROVA") class Window(QtGui.QWidget): def __init__(self, …

Software Development python
Member Avatar for Gribouillis
0
151
Member Avatar for Behi Jon

Hi ... Is there a way to write a program in c++ that get a decimal number and convert it to its equivalent in hexadecimal without using arrays ? A bit guidance please .... Thanks ...

Software Development c++
Member Avatar for Nick Evan
0
158
Member Avatar for D.JOHN

Dear experts, I am new to the subject of bitwise operator. I know some of the basics like the gates and how the gates function eg. and gate, or gate, exclusive nor gates. And also how to change decimal numbers to binary numbers. But I am not quite sure about …

Software Development c++
Member Avatar for D.JOHN
0
707
Member Avatar for frank.zappa

Is it possible to run a .py file on a computer that doesn't have Python installed? I'm asking this because I was messing around with py2exe and noticed that every time I built an executable, it would create a 'python26.dll' along with some other files. I was wondering, if I …

Software Development python
Member Avatar for sravan953
0
814
Member Avatar for jrosh

How to add scrolbars to a panel... i dnt wanna use a scroll pane....jst add scrol bars to the Jpanel.....Is it possible...? IF NOT let me knw how to some text with scrol bars..

Software Development java
Member Avatar for masijade
0
83
Member Avatar for pnkanchi

How to retrieve Motherboard, Hard Disk serial numbers and other related information on Windows 64 bit OS?

Software Development c++
Member Avatar for pnkanchi
0
252
Member Avatar for csy

I need to build a small application to read/set the figure in app.config file, which in remoting section channel port value, how to do it programmatically? as following example, how can I read/set the 209 value in coding? pls help!Thanks! ----------------------------------------------------------------- <system.runtime.remoting> <customErrors mode="off"/> <application> <channels> <channel ref="tcp" port="[COLOR="Red"]209[/COLOR]"> <serverProviders> …

Software Development
Member Avatar for csy
0
102
Member Avatar for jrosh

i added Jcheckboxes to a jpanel. They can't be aligned vertically. They always appear horizontaly or vertically with very large spaces between them. How can i allign them as i want....(with out using netbeans)

Software Development java
Member Avatar for masijade
0
102
Member Avatar for aru211285

Hi everyone, I wrote the below small code to run one command line argument in my program but somehow couldnt understand how to store or retrieve the output generated by that command line.So i would be very thankful if someone helps me with this. Runtime rt = Runtime.getRuntime(); Process pr …

Software Development java
Member Avatar for masijade
0
103
Member Avatar for Se7Olutionyg

[CODE]#include <iostream> #include <iomanip> #include <cctype> #include "account.h" #include "CharRange.h" using namespace std; void displayMenu(); void makeDeposit(Account &); void withdraw(Account&); int main() { Account savings; // account object to model a saving account CharRange input('A', 'G') char choice; cout << fixed << showpoint << setprecision (2); do { displayMenu(); choice …

Software Development c++
Member Avatar for Salem
0
84
Member Avatar for redserpent7

Hi I am in desperate need of help, I need to manage an application dependency in Visual Studio. The application links to a DLL only on a specific version of windows, lets say Windows 7. and on other environments, the DLL should not be loaded. How will I be able …

Software Development c++ microsoft visual-studio
Member Avatar for redserpent7
0
163
Member Avatar for priyairani00

what will b the coding of a program.. "program to swap two no. using third variable"

Software Development c
Member Avatar for priyairani00
0
90
Member Avatar for dearjee

Hi all, I just started learning Visual Basic. But a friend told me that this language is outdated now, you should learn vb.net or c#.. Is he right? Is vb.net is extended version of vb? I mean if i learn vb then i may easily switch to vb.net?? please anwer …

Software Development vb.net visual-basic
Member Avatar for vb5prgrmr
0
107
Member Avatar for F2guy

I have class eventqueue_t which is derived from the abstract class event_storage_t. When I compile the code I get: make mpixlcxx -c -O3 brain.cpp mpixlcxx -c -O3 config.cpp mpixlcxx -c -O3 connection.cpp "eventqueue.h", line 17.29: 1540-0408 (S) The base class "event_storage_t" is declared but not defined. make: *** [connection.o] Error …

Software Development c++ queue
Member Avatar for F2guy
0
261
Member Avatar for riemusic20

Hi, I'm new to the whole programming environment. I'm currently taking an object oriented programming class and am a bit lost on my first assignment. I know there is already thread for how to draw a diamond but it doesn't answer my question. I'm trying to draw a diamond with …

Software Development c++
Member Avatar for DdoubleD
0
112
Member Avatar for treyd

I have an assignment that I dont know where to begin. If someone could guide me along I would much appreciate it! Thanks alot. Write a method public static int[] avgRows(int[][] a) {} This method takes a 2-dimensional array as input and returns an array containing the averages of each …

Software Development java
Member Avatar for treyd
0
110
Member Avatar for katwalatapan

Hello, I would like to work on POSIX thread programming using TC v3.0. The required libraries for its development are STL (that's what I got from some online research). Could anyone please let me know: 1.) Where to download STL libraries. 2.) How to configure them with TC v3.0 3.) …

Software Development c
Member Avatar for Ancient Dragon
0
139
Member Avatar for AutoPython

Okay, I have yet another question that I could not find.I noticed that you can't set variables in for loops without having to do something (like in batch). I've tried googling it and doing a site search, I have gotten no results. So what would the code or command be …

Software Development python
Member Avatar for AutoPython
0
104
Member Avatar for sixstorm1

Hi everyone, I am trying to print content from a Win32 richedit control, but it doesn't work. The text wraps to the half width of the page, and after printing, the text in the richedit is also messed up (word wrap to the half width of the box). I use …

Software Development api c++ windows-api
0
152
Member Avatar for kernel>panic

Hi I am just wondering if it would be possible to add compression to this encryption program I have? It will compress the file before it encrypts it for faster encryption time. Thanks for your help.

Software Development c++ encryption
Member Avatar for DdoubleD
0
226
Member Avatar for msr

Hello, Could you please give me some info about sharing data between forms? I have a variable List<component> component_list; which "component" class is declared in a "Component.cs". How to make that two forms see that class? (if I have to make something..) And how to create "List<component> component_list" that it …

Software Development
Member Avatar for Diamonddrake
0
98
Member Avatar for goody11

Hey, I was working on a program in windows API where there are multiple edit boxes and there are push buttons. If a pushbutton is clicked, I want the program to find the edit box that the cursor is in and add the character to that edit box. Now I …

Software Development api c++ windows-api
Member Avatar for Frederick2
0
129
Member Avatar for rrspen316

What I would like to do is to add a dropdown menu instead of having the buttons for the three loans. I tried a few different things but just cannot figure out how to do this and get it to work. Please can someone help? Here is my code with …

Software Development java java-swing window-manager
Member Avatar for BestJewSinceJC
0
275
Member Avatar for kkcaddy

hey i just wanted to know if the available tutorials will be enough for me to improve from a beginner to maybe someday a teacher in java programming.

Software Development java
Member Avatar for BestJewSinceJC
0
114
Member Avatar for asafoatse

pls a little help to a :-/guy, In my main method am working on a collection of numbers in an array. I want to sort the numbers efter then would like to see which index number holds the value 14. As you can see in what i did so far …

Software Development
Member Avatar for jatin24
0
141
Member Avatar for nanoh2001

Hello dears in Daniweb, I'm a beginner in vb.net I have a question regarding searching in Access Databases. to illustrate: if I have this table in Access [ATTACH]11292[/ATTACH] which contains the name, mobile, Telephone, address and the area (highlighted in Red) Now if I want to Search for persons who …

Software Development vb.net
Member Avatar for nanoh2001
0
1K
Member Avatar for Rastafari

[B][U]An overview of what my program does[/U][/B] I'm given a main.cpp file with some function prototypes that I have to define in a separate .cpp to manipulate an image file ( basically a 15 x 15 matrix of 1's and 0's) [B][U]The result of your current code[/U][/B] I dont know …

Software Development c++ file-stream visual-studio
Member Avatar for VernonDozier
0
116

The End.