132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mars001

hello people, I have got a problem. I have written a program to simulate round robin scheduling program using visual c++ , version 6.0. Now, I want to add some simple graphics in my code so that a graphical representation of RR scheduling can be made. But, I don't know …

Software Development c++ qt
0
135
Member Avatar for bluehangook629

Hey guys, Im trying to include an item called "Please select ..." in a combobox which is populated using a dataadapter. As you can see below, combobox items are inserted into the item list using a tableadapter. It is followed by a set of codes that inserts "Please select ..." …

Software Development vb.net
Member Avatar for bluehangook629
0
151
Member Avatar for ajst

Hi DaniWeb, I'm new to delphi and was wondering if it is possible to embed forms inside one another. Example I have several forms working by it self and I want to move them forms onto a new blank form. Rather then copying and pasting the code is there a …

Software Development delphi pascal
Member Avatar for ajst
0
138
Member Avatar for tapandesai007

I have form where 4 buttons(Platinum, Diamond, Gold and Reset) are there, I have 3 Panel Control one for each of the first 3 buttons, what I want to do is that when I click on any one of the first three buttons the Panel for the respective buttons should …

Software Development dataset open-source perl
Member Avatar for nick.crane
0
349
Member Avatar for abhinavM

I want to create a new variable with each run of this while loop the syntax of loop is [CODE]while(rs.next() && i<=num) { String str(i)=rs.getString(1); }[/CODE] I want that with each run the value of i should be appended with str so that with each run a new string variable …

Software Development java
Member Avatar for Majestics
0
12K
Member Avatar for ChaseRLewis

My current project requires quite a bit of function pointer passing to guarantee the flexibility desired. Given how messy and annoying I find functions pointers to be I decided to create a wrapper class listed below. Works fine, however it would be nice if their was a method so I …

Software Development c++
Member Avatar for Narue
0
101
Member Avatar for eslenik

Hi everybody, i am trying to get IPs from a switch with vbs through telnet. i am recording that IPs to excel sheet. the problem is when i try to read that IP data vbs copy or paste it as a string. so telnet can not recognize string as a …

Software Development visual-basic
Member Avatar for hkdani
0
123
Member Avatar for Martin C++

Hello, Is there any infinty sign to assign to a variable ? I need my program to check if the value of one variable is smaller than the other, but i cant do it cause if i dont set a value to my variable at the beginning of the program …

Software Development c++
Member Avatar for Fbody
0
4K
Member Avatar for Jake.20

Need help in increasing the size of my array. i have this code but i don't know which of these code does not increase the size of my array even though i increment it. This is the declarations: [CODE] Dim movieArray(0) As String Dim ratingArray(0) As String Dim i As …

Software Development vb.net
Member Avatar for G_Waddell
0
864
Member Avatar for JoshuaBurleson

So I've finally fixed up the functionality of an address book I've been writing (not on to utilizing a GUI yet of course though.)However to save or reclaim the data from the last use of the address book I, obviously, need to write and reclaim it from a .txt file, …

Software Development file-system gui python
Member Avatar for JoshuaBurleson
0
252
Member Avatar for ialuvtimos

[CODE]# include <iostream> # include <string> using namespace std; int main () { string s1,s2; getline(cin,s1); for (int i=0;i<s1.length();i++) { if (s1[i]!='.' && s1[i]!=' ') { s2[i]=s2[i]+s1[i]; } s2=s2+' '; } }[/CODE] //string subscript out of range error why??

Software Development c++
Member Avatar for Fbody
0
116
Member Avatar for Armanious

Hi guys, I'm trying to create a "pool" of data that once added to is saved on a public domain. For example, data is stored at "url.com/data.txt". data.txt: [CODE]18473,948263,384292,47239,[/CODE] Client 1 connects to some url (which I need help with, thinking some PHP) with data as arguments. Adds: 39458,359835 Client …

Software Development abuse github java
Member Avatar for JeffGrigg
0
153
Member Avatar for Madawar

Why is this not working [CODE]//Character Manipulation #include <stdio.h> int main() { int x; //for loops int counter=0; //for input char character; char sentence[20]; printf("Press 1 to use getchar \n Press 2 to use gets \n Press 3 to use sscan \n "); scanf("%d",&x); switch(x) { case 1: printf("Enter something"); …

Software Development c
Member Avatar for plebbeh
0
1K
Member Avatar for tapandesai007

I have added a panel control at the design time and I want to add some buttons in the panel at the runtime, the code for adding the buttons in working perfectly, but the problem is with the Panel control, when the Buttons are added at the run time, the …

Software Development dataset open-source
Member Avatar for tapandesai007
0
218
Member Avatar for iAMyours

ahmm. let me ask, how do you make a program that saves a data that has been inputted by the user? and when you go back to that same menu, youll be able to review the datas you inputted .thanks alot for thos who'll reply.

Software Development c c# c++
Member Avatar for [Prototype]
0
2K
Member Avatar for vaishnu

Hi all I have to read data from a binary file .And that data is at a particular address F7F0 and i have to store that data in a variable . As far as i know the binary file contains address. But can that address be printed or taken for …

Software Development
Member Avatar for mshauny
0
176
Member Avatar for lcfjoertoft

I am having difficulty with a SQL query in my project. I have 3 tables. T1: - Date - ID - Location_ID T2: - Location - Location_ID T3: - ID - Result From this I need the T1.Date and T3.Result based on Location in T2. So my I need a …

Software Development sql vb.net
Member Avatar for Netcode
0
237
Member Avatar for khentz

Hi, currently I am creating a seat plan system. On my seat plan system, there are many workstations(around 150+ per floor). each workstation is define by a linklabel. when a user click on a particular workstation, a new form will appear. And that form will pop up to show who …

Software Development vb.net
Member Avatar for G_Waddell
0
345
Member Avatar for Derren

Hiya, As the title suggest is there a way to clear multiple text boxes with a single command as opposed to : [code] textbox1.clear() textbox2.clear() . .. ... textbox3500.clear() [/code] hmm something like allthetextboxesonthisform.clear() lol if only it was that easy ;) thanks in advance

Software Development vb.net
Member Avatar for Netcode
0
106
Member Avatar for Oneryavuz

i have some usercontrols in a dll and i need to use them on my other project i try to add reference method but its useless... icant see my controls on toolbox what should i do ?

Software Development vb.net
Member Avatar for Oneryavuz
0
93
Member Avatar for TeresaTa

Hello anybody I am trying to update table to access database in vb.net after changing password. But I have a problem in update error as following [CODE] Dim dbCommmand As New System.Data.OleDb.OleDbCommand Dim DBConnection As New System.Data.OleDb.OleDbConnection DBConnection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\thaeaye\Documents\Testing.mdb" dbCommmand.CommandType = CommandType.Text dbCommmand.Connection = DBConnection DBConnection.Open() dbCommmand.CommandText = …

Software Development microsoft-access open-source vb.net
Member Avatar for GeekByChoiCe
0
95
Member Avatar for king03

Hi guys how do I limit the units in my textbox to 15? when the total units is already in 15, I must not be able to select an item from my checkbox anymore. I have an attachment for you to use as your guide.

Software Development
Member Avatar for mshauny
0
133
Member Avatar for Shameema B

Hi, I have a windows application of C# which contains two text boxes (where we are entering ID and name) and a datagridView contol. I am storing the data entered through textboxes in the table and displaying data from the tablle in the daaGridView. Now I am adding a button …

Software Development
Member Avatar for nick.crane
0
74
Member Avatar for king03

how do I disable the selection of an item in a listbox? For example I already selected item1 from the listbox, I cannot select that same item1 again. How do i do that?

Software Development
Member Avatar for mshauny
0
162
Member Avatar for WishfulThinking

I am interested in a currency converter made from JAVA. I'm a beginner in learning JAVA programming language. I am thinking well I want the code to go out and get the current value of the US dollar and the current value of the EURO. Next I want it to …

Software Development java
Member Avatar for javaAddict
0
373
Member Avatar for g_amanu

i have about a 1000 excel files that have data sets.it was collected from about a 20 patients. so i have a script that reads data sets for each patient from all of the excel files. im having trouble printing the values in separate excel files that each file represents …

Software Development python
Member Avatar for peter_budo
0
463
Member Avatar for king03

I have an attachment below to show you how my program should work. How do I add 1500 to the textbox that shows the total amount to be charged if male is selected in the gender combobox ?

Software Development
Member Avatar for harishbansal90
0
113
Member Avatar for tapandesai007

I have a Windows Form where 225 buttons are added at the run time, also I have the database which have two columns (first column is the SeatNumber with the datatype nchar(4) and the other column is IsBooked with the datatype bit). The SeatNumber contains data like this, A1,A2,A3,A4................O13,O14,O15, The …

Software Development sql
Member Avatar for nick.crane
0
359
Member Avatar for pdhroche

Hi Guys, I am creating a stock management program, this program can have many business units on it (scenario is a stadium with several beverage outlets). I am using tabs to open the stock control for each unit, I am using a user control for the units, these are created …

Software Development
Member Avatar for pdhroche
0
138
Member Avatar for ljohan

What code will i use in c++, if i input 6 numbers and then i will get the 3rd, 5th, and 6th number? Example: Enter number :123456 3rd, 5th and 6th number : 356

Software Development c c# c++
Member Avatar for pratikkamble
0
176
Member Avatar for wamcclintock

Experts, I'm new to VB and I'm trying developing a VBA application to send and receive data to an RFID reader and put the result into Microsoft Access. Project has: Mscomm command1 (command button) Text boxes (Text1, Text2) At this stage i have developed the following code. [CODE]Private Sub Command1_Click() …

Software Development microsoft-access visual-basic
Member Avatar for emond
0
3K
Member Avatar for manugm_1987

Hi Since i am a newbie to win32 programming i am facing difficulty in understanding how to use these GetMessage(), SendMessage(), PostTHreadMessage() apis, please help me ... Here is the code [CODE]#include "stdafx.h" #include "windows.h" #include "stdio.h" #include "conio.h" #include "windef.h" #include "winbase.h" HINSTANCE hins; HOOKPROC hkprc; HHOOK hk; HANDLE …

Software Development api c++ visual-studio windows-api
Member Avatar for manugm_1987
0
2K
Member Avatar for swathys

hi, I have problem with my sql query. when i used direct insert statement in 2 different table and sort out using select statement by combining these 2 table's it perfecly give's the output that i wanted but when i apply the same method to the real application its working …

Software Development sql vb.net
Member Avatar for swathys
0
117
Member Avatar for Cross213
Member Avatar for Cross213
0
854
Member Avatar for GibsonGuitarGuy

How do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software.

Software Development vb.net visual-basic
Member Avatar for emond
0
1K
Member Avatar for ben1996123

Just tried to make a quick prime number checker: [CODE]#include <iostream> #include <cmath> using namespace std; void askForNumber(); bool checkPrime(); void printPrime(); void printNotPrime(); int numberEntered; int x = 2; bool isPrime = true; int main(){ askForNumber(); if(checkPrime(numberEntered) == true){ printPrime(); } else{ printNotPrime(); } return 0; } void askForNumber(){ …

Software Development c++
Member Avatar for VernonDozier
0
109
Member Avatar for haojam

Hi, I am running a perl script to retrieve common values in three columns at mysql tables. I would like to map three columns for finding same $chr, $start, $end or values within $start and $end if exists. I have attached the text files for two tables earlier. I would …

Software Development perl
0
101
Member Avatar for ryan311

can anyone help me on how to done w/ this for example i choose 9/1/2011 i want to get the previous date 8/31/2011. help me please.

Software Development vb.net
Member Avatar for ryan311
0
116
Member Avatar for sheennave

Hi ! I've been trying to integrate hibernate with spring framework for a week by using hibernate annotations. I am using hibernate-distribution 3.6.5 final and Spring framework 3.0.5 in the application. Error log looks like as below which troubles me a lot. Any piece of idea will be appreciated, please …

0
234
Member Avatar for iamjess147

What I need: I have a WPF/Vb.net application and need to delay a section of code from running, otherwise is keeps running.. I'd like to delay this section of code for 3 seconds. Problem: I am working with a scale and printer and when a weight item is placed on …

Software Development printer vb.net
Member Avatar for codeorder
0
217
Member Avatar for RenanLazarotto

Yay guys, it's me again. I am using the code from here: [url]http://www.daniweb.com/software-development/vbnet/code/370426[/url] to sort my listview items. But I want something more 'dynamic': when I click on a header column, I want that it changes the sorting based on the column that has been clicked. here is my code: …

Software Development listview vb.net
Member Avatar for codeorder
0
1K
Member Avatar for lena1990

hi i have combobox and list i want to put both of them in one border help me please

Software Development java
Member Avatar for lena1990
0
84
Member Avatar for PratikM

Hey guys... I have this code and i need to make the temperature part work with a function but i don't know how. So Any help is appreciated. Thanks *edit* Also, if there is any way to make this simpler, then please tell. [CODE] #include <iostream> #include <time.h> #include <string> …

Software Development c c# c++
Member Avatar for PratikM
0
218
Member Avatar for secretply

This is part of the last coding that codeorder helped me with. I didn't include this in the last post because I thought this was something that I was going to be able to do. Unfortunately, it is not working properly. In addition to the controls being removed, the control …

Software Development vb.net
Member Avatar for secretply
0
147
Member Avatar for sheennave

Hi all, I'm using Hibernate, HSQL and Spring. But i have the following ugly errors. I don't know what to do. Any help will be appreciated. [code=text]org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mySessionFactory' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Invocation of init method failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate …

Software Development apache java java-jsp
Member Avatar for sheennave
0
415
Member Avatar for zachattack05

Not sure how to do this one... I have a combobox that is bound to a datasource and I would like to add a entry to the tail end of the combobox that says "<Add New Item>" which, when clicked opens a wizard that will allow the user to add …

Software Development
Member Avatar for zachattack05
0
179
Member Avatar for RenanLazarotto

Hello guys. I have an integer that is storing the result of a division between two numbers. I usually recieve an result that looks like [ICODE]5,2496874654[/ICODE]. How can I limit the variable length so it looks more 'approximated', like [ICODE]5,25[/ICODE]? Thanks in advance!

Software Development vb.net
Member Avatar for RenanLazarotto
0
155
Member Avatar for dreadiscool

Hi everyone! For a 'learning' experience, I'm looking to write my own webserver in C#. I know most people would just write me down and say "Why are you wasting your time, just use a premade webserver!". But that's not the point - the point is to learn. I want …

Member Avatar for dreadiscool
0
2K
Member Avatar for thecoolman5

hi, i have this code: [CODE]#include<iostream> #include<sstream> #include<string> using namespace std; int main (char argc) { string n1 = "141+246+3+64"; int n2; int pos = -1; char toFind = '+'; do { pos = n1.find(toFind, pos+1); if(pos != -1) { stringstream(n1) >> n2; cout << n2 << endl; cout << …

Software Development c c# c++
Member Avatar for thecoolman5
0
305
Member Avatar for VIPER5646

Hi all I'm using a dialog form with two bottons and two Radio buttons. I'm oppening this Dialog when a button is clicked on the parent form. My situattion is when the Dialog opens the code in the button event continues to execute, but I only want it to continue …

Software Development vb.net
Member Avatar for VIPER5646
0
168

The End.