132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for </scorpion>

i try to fetch the data from the database and display text in the dropdownlist i got the error message `'dropdownlist' has a selectedvalue which is invalid because it does not exist in the list of items parameter name value` when selectedvalue does not exist in the list of items …

Software Development
Member Avatar for </scorpion>
0
2K
Member Avatar for Emma_3

This program is supposed to run through the menus to eventually display the area or volume of a shape depending on the user's menu choices and input. However, it won't run the final menu and I'm not sure why. There aren't any problems when it goes through the debugger, it …

Software Development c++ programming-construct
Member Avatar for AndrisP
0
219
Member Avatar for A Haunted Army

would it be possible to right a program that would create a sort of virtual audio device that would show up under playback devices and that i could set as default, the purpose of this virtual audio device would just be to redirect the audio stream to a different device …

Software Development api audio c++ google-api user-interface
Member Avatar for A Haunted Army
0
152
Member Avatar for eldiablo1121

Hello, I'm trying to program a Caesar Cipher, but I keep getting weird errors. My input is not being handled correctly. I have no idea, i've tried different variations, but it does not work, here is my code. import java.io.*; import java.util.Scanner; public class CaesarCipher { public static final int …

Software Development java
Member Avatar for Doogledude123
0
3K
Member Avatar for Sanjeetjmp

How can we use + operator in overloading?

Software Development c++
Member Avatar for rubberman
0
120
Member Avatar for dwild

textpad 5 generated an "unexspected and unrecoverable error" with a large data file of mine and at first i though it was due to length. (1280 lines, 188kb) but there are much bigger data files involved. (5 to 6000 lines and >30000 characters in one) it gives out e dmp …

Software Development java
Member Avatar for dwild
0
179
Member Avatar for nhrnjic6

This is the function : node* remove (node* p_tree, int key) { if ( p_tree == NULL ) { return NULL; } if ( p_tree->key_value == key ) { // the first two cases handle having zero or one child node if ( p_tree->p_left == NULL ) { node* p_right_subtree …

Software Development c++
Member Avatar for rubberman
0
147
Member Avatar for Seba Sama

Hello, Can someone help me understand what is (if it is) the difference between `string* myStr` and `string *myStr`? Or any other type of definitions like that: `int* myValue` vs `int *myValue`, `char* myChar` vs `char *myChar`. The position of the "star" is confusing me. I only used pointers like …

Software Development c++
Member Avatar for rubberman
0
381
Member Avatar for khadija.cheeko

I want to read data from database. the data is in arabic language. the character set of my database is AL32UTF8. when i try to retrive the data i get "????" please do reply how to solve this problem this is the code public static void main(String[] args) { // …

Software Development java oracle
Member Avatar for JamesCherrill
0
1K
Member Avatar for Doogledude123

I'm programming Blackjack and all is well, except after I type 'y' to hit again, the program terminates even though total is still less then 21. So my while statement is doing nothing? package com.github.geodox.blackjack; import java.util.Random; import java.util.Scanner; public class Blackjack { private static int total = 0; private …

Software Development github java
Member Avatar for Doogledude123
0
411
Member Avatar for Adeel Rahat

i am using turbo c++ 3.0 but it has not good graphics.i try visual studio and dev c++ but its syntax is changed. i want a compiler that has same syntax like turboc++. plz name it and give me a dowload link for 64bit os.

Software Development c c# c++ visual-studio
Member Avatar for ddanbe
0
328
Member Avatar for krnaveen14

I need to code a program to compare the datas in .csv file (.csv file is an excel file which will be seperated by , instead of cells by saving in.csv format). I've coded it fully and the required outout is also obtained. But i need a modified version of …

Software Development file-system java
Member Avatar for JamesCherrill
0
291
Member Avatar for Dinesh_9

Hi everyone, I am working on an small inventory management application for learning about swing and i am using jTable to display the contents of MySql table i have to refresh the contents of my jTable instantly whenever i Add an new customer but i couldn't do it because i …

Software Development java java-swing oracle
Member Avatar for Dinesh_9
0
1K
Member Avatar for aabbccbryanmark_1

hi guys i just wanna ask why does my program gets an error after i tried changing the formborder to none, the error i get is about the 'Windows' and 'Drawings' not being a part of 'System.Windows.Form.TabPage', what might be the problem of this?

Software Development vb.net
Member Avatar for aabbccbryanmark_1
0
229
Member Avatar for tuisan

I need help with a program for school. I am a very novice pascal programmer. I need to allow the person using the program to add a record and then search for it and view it. Currently, whenever I add a record via the program and try to search for …

Software Development file-system pascal seo
Member Avatar for tuisan
0
430
Member Avatar for অসীম

Hi all, I'm new to this site so please forgive my ignorances. I am a beginner at Java and I've been assigned to do a project about an Airline Reservation System. So the objectives required are: Reserve the ticket Cancel/Confirm Reservation Book the ticket Change / Cancel Booking Waiting List …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for CPT

First, to explain what I want to do: I have a folder structure like this: BSDS300\images\test\ -which contains JPEG files, and some other files(only .jpg files are of interest) BSDS300\human\color\ -which contains many folders, in which I have .seg files with the same name as the .jpg file Example: BSDS300\images\test\3096.jpg …

Software Development microsoft shell-scripting
Member Avatar for RikTelner
0
374
Member Avatar for custurd12

Im trying to average the user input by a string of numbers, It prints out without a problem but the output is very wrong Enter some numbers: 0,4,3,5 48.0 import java.util.Scanner; public class avg { public static void main(String[] args) { System.out.println("Enter some numbers"); Scanner in=new Scanner(System.in); String nums=in.nextLine(); double …

Software Development java
Member Avatar for scudzilla
0
123
Member Avatar for sanitak

Hi all , Im starting to learn visual basic and I have a question if all dont mind to answer me , I need to know and identify each individual component for this vb commands ? This = That.theOther (something) Much appreciated

Software Development vb.net visual-basic
Member Avatar for sanitak
0
216
Member Avatar for castajiz_2

cmd = new SqlCommand ("select beggining_school, end_school FROM Student,student_weekend,Weekend WHERE Student.ID=student_weekend.studentID AND student_weekend.WeekendID=Weekend.ID ", con); I just want to say that i don't have any problem concerning my code functionality. I would just like the design to be like the above example.That is, I dont'want my whole sql expression to …

Software Development sql visual-studio
Member Avatar for deceptikon
0
162
Member Avatar for pvr1

I have a datagridview (bound) which works fine as long as the users "accepts" each cell they type in by pressing the tab key. However, when they click in another cell before pressing "tab", the value is visible in the cell on the screen but is not actually there. What …

Software Development vb.net
Member Avatar for Minimalist
0
372
Member Avatar for DeanMSands3

Hey, DaniWeb! I need your opinions. I'm looking to expand my skillset, particularly in the Windows department. On a scale of "Eh, maybe later" to "Do it! Do it now!" what is your opinion on the importance of learning PowerShell as opposed to another life skill like Haskell, Mandarin Chinese, …

Software Development microsoft windows-api
Member Avatar for bogenbroom
0
201
Member Avatar for Elixir42

Dear Kind-Coders, I am trying to learn to use boost::shared_ptr to manage the lifetime of a DLL, but I am having a type conversion problem whilst setting it up. Please see the following code: #include <boost/make_shared.hpp> int main() { { class CMyClass { public: CMyClass() {} ~CMyClass() {} int MyInt; …

Software Development c++
Member Avatar for Elixir42
0
2K
Member Avatar for schugantor

Well I just started C++ and I'm trying to run the basic "Hello World" program. But it didn't work i tried EVERYTHING i even clicked the delete button. But NOTHING I don't know how to run a C++ program. ;( So can you please help me? ;)

Software Development c++
Member Avatar for mike_2000_17
0
165
Member Avatar for kshahnazari

its maybe a really dummie question but I was wondering is there any way to create a file (like txt) that the program can use its data but the users can't access it ? sql is an option but the data aren't large enough to be used. is there any …

Software Development
Member Avatar for deceptikon
0
160
Member Avatar for Salma_1

#include<iostream> using namespace std; int main() { int testcases,freq,amplituide; cin>>testcases; for(int i=1;i<=testcases;i++) { cin>>amplituide>>freq; for(int x=1;x<=freq;x++) { for(int j=1;j<=amplituide;j++) { cout<<endl; for(int jj=j;jj>=1;jj--) cout<<j; } for(int k=(amplituide-1);k>=1;k--) { cout<<endl; for(int kk=k;kk>=1;kk--) cout<<k; } if(x<freq) cout<<endl<<endl; } } return 0; } Inline Code Example Here

Software Development
Member Avatar for Salma_1
0
94
Member Avatar for Andy90

Hi, I recently developed a program which has source and header files in vc++! what I want to do is convert the same in C#. I got the idea of source files but how to import/use header files in C#(I want seperate file for class creation/ data initialization like header …

Software Development c#
Member Avatar for JMC31337
0
15K
Member Avatar for nhrnjic6

In function : node* insert_in_tree(int number,node* p_tree) { if(p_tree == 0) { node* newNode = new node; newNode->num = number; newNode->p_left = 0; newNode->p_right = 0; return newNode; } if(number < p_tree->num) { p_tree->p_left = insert_in_tree(number,p_tree->p_left); } else { p_tree->p_right = insert_in_tree(number,p_tree->p_right); } return p_tree; // refering to this } …

Software Development c++
Member Avatar for rubberman
0
183
Member Avatar for gatis_1

Help make 2 pascal programs 1.Ar random function to get two numbers from 1-6 and 1.no 2.10-20 and to display numbers from the first to 2 and the number of squares. 2.Ar random function to get two numbers from 2-5 and 1.no 2.15-20 and to display numbers from the first …

Software Development pascal
Member Avatar for gioni.volosenco
0
169
Member Avatar for mustafa.bahaa

hay guys iam new to c++ programming studing for c++.com iam getting to a point that i wirte a program and it doesn't run and i can't find anything realted to it , to know where is the problem so that's the program // cin with strings #include <iostream> #include …

Software Development c c# c++
Member Avatar for mustafa.bahaa
0
220
Member Avatar for jaimin4829

public partial class FrmEndDateSummaryOnLoad : FrmErpSimple { List<string> mVehicleRemainderList; //SMdiForm mMdiParent; string mCurrentUserId; string mCurrentPeriodId; DataTable dataTableVehicleID = new DataTable(); DataTable dataTableVehicleNextKMS = new DataTable(); public FrmEndDateSummaryOnLoad(CErpDataConnection pErpDataConnection, CUserLoginInfo pUserLoginInfo , CRegional pRegional) : base(pErpDataConnection, pUserLoginInfo) { InitializeComponent(); } protected override void OnLoad(EventArgs e) { mCurrentPeriodId = mUserLoginInfo.GetPeriodID(); mCurrentUserId = …

Software Development
Member Avatar for Maligui
0
291
Member Avatar for aabbccbryanmark_1

Me.ToolStripMaintenance.Font = New **System.Drawing**.Font("Bookman Old Style", 9.0!, **System.Drawing**.FontStyle.Regular, **System.Drawing**.GraphicsUnit.Point, CType(0, Byte)) Me.ToolStripMaintenance.Image = CType(resources.GetObject("ToolStripMaintenance.Image"), System.Drawing.Image) Me.ToolStripMaintenance.ImageAlign = **System.Drawing**.ContentAlignment.TopCenter Me.ToolStripMaintenance.Name = "ToolStripMaintenance" Me.ToolStripMaintenance.Size = New System.Drawing.Size(90, 70) Me.ToolStripMaintenance.Text = "&Maintenance" Me.ToolStripMaintenance.TextImageRelation = **System.Windows**.Forms.TextImageRelation.ImageAboveText heres a sample of my code with those error, can u help me identify what to do to …

Software Development vb.net
0
134
Member Avatar for bunyonb

What must one do to increase the speed and efficiency at which one learns and develops prorams in python(or in any other language)?

Software Development python
Member Avatar for bunyonb
0
236
Member Avatar for dlmagers

I have been working on this program for about a week now and I think I have it down pack. The issue I am having when I ask the user at the beginning of the game (human vs computer) everytime I run the program it asks me what my name …

Software Development java
Member Avatar for dlmagers
0
2K
Member Avatar for krystosan

i am trying to recieve input from external text editor using python's `subprocess` but I am not sure why i am getting the error diff = subprocess.Popen('open(os.path.join(os.getcwd(), "foo.txt") "w")', stdout=subprocess.PIPE) pr = subprocess.Popen(sublime, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True, stdin=diff.stdout) pr.wait() if pr.returncode == 0: msg = pr.stdout.read() print msg er = pr.stderr.read() …

Software Development python
Member Avatar for krystosan
0
378
Member Avatar for ganesh.naphade

I am new to socket programming.I am trying to send datagrams containing image data(jpg) from one host to another continuously.I want to use C++.I have not came across detailed steps on how to achieve this for images anywhere.can somebody explain or link me to such tutorials?

Software Development c++ socket-programming
Member Avatar for ddanbe
0
243
Member Avatar for RikTelner

It will sound like "Meh, bring me it, naw!". But it isn't as it seem to be. Do any of you, good people, know a method by which total novice (aka. noob). Could use any type of programming tutorial, program, scratch or anything. Which could make PNG shot of 3D …

Software Development
Member Avatar for RikTelner
0
203
Member Avatar for cacolukia

Hello guys! I am trying to build app with this requirements: *We need a class Person with properties Name, Address and Gender, and with the ability to Save and Load all properties to/from local file system* I am having trouble to make method that will create new person object (for …

Software Development
Member Avatar for cacolukia
0
188
Member Avatar for ddanbe

I have some data in a table, but instead of using something like `string[,] myTable = new string[3, 2];` I wanted to use List, because my table can grow or shrink and I cannot do that easily with arrays. So I got something like `List<List<string>> myTable = new List<List<double>>(3)(2);` But …

Software Development
Member Avatar for ddanbe
0
189
Member Avatar for anthony_5

I am using poco library to send a email first I installed the libraries on my ubuntu sudo apt-get install libpoco-dev code using namespace Poco::Net; int main (int argc, char **argv) { try { MailMessage msg; msg.addRecipient (MailRecipient (MailRecipient::PRIMARY_RECIPIENT, "john@gmail.com", "John")); msg.setSender ("Anthony Smiths <anthonysmiths5456@gmail.com>"); msg.setSubject ("sending a email using …

Software Development c++ email ubuntu
Member Avatar for Moschops
0
2K
Member Avatar for Aleks134

I would like to search a file for whether certain words are present and extract the parts of the sentence that contain the words; I would like to find words that are a particular part of speech, and extract the part of the sentence from the word before the previously …

Software Development c++
Member Avatar for Moschops
0
155
Member Avatar for khan shahid

hello frnds i want c language tutorial

Software Development c c# c++
Member Avatar for deceptikon
0
287
Member Avatar for Elias_3

I want the text in a textbox "txtConvertedInches" to be selected when i press the radio button "rbFromInches". private: System::Void rbFromInches_CheckedChanged(System::Object^ sender, System::EventArgs^ e) { bConvertingToInches = !rbFromInches->Checked; ToggleControls(); txtConvertedInches->SelectAll(); //I thought this would do it, but nothing happens }

Software Development c++
Member Avatar for Elias_3
0
207
Member Avatar for mavtcr

Friends...A small problem I have a combobox in which I want to add list from a field from a ACCESS databas Table.It works well My code is here ACRS.Open "SELECT * FROM Salary1", CN, adOpenStatic, adLockOptimistic Sfm = ACRS!Month Do Until ACRS.EOF CmbSfm.AddItem ACRS!Month ACRS.MoveNext Loop My problem is , …

Software Development visual-basic
Member Avatar for Minimalist
0
206
Member Avatar for mlohokare

Hi, ************************************************ [B]Below is my xml code[/B] [ICODE]<?xml version="1.0" encoding="UTF-8"?> <concept><title>TEST</title><body><title>CHECKING</title></body></concept>[/ICODE] ************************************************ [B]Below is my xslt code[/B] [ICODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template match="/"> <xsl:for-each select="concept"> <xsl:variable name="filename1"><xsl:value-of select="base-uri()" /></xsl:variable> <xsl:value-of select="$filename1" /> </xsl:for-each> </xsl:template> </xsl:stylesheet>[/ICODE] ************************************************ [B]Getting output[/B] D:\test\Checking.dita [B]Instead of this it should display only [/B] "Checking" …

Software Development xml
Member Avatar for Xeyem
0
4K
Member Avatar for Roily Lucky
Member Avatar for Reverend Jim
0
334
Member Avatar for CoilFyzx

Heelloooo good day. Thanks for seeking to help. I am creating a Java program(obviously). At the end of my work I wish to install it as (a)an .exe file. However I wish that after its installation, file type association would have been setup automatically(I phrased that latter part of the …

Software Development file-system java microsoft
Member Avatar for stultuske
0
304
Member Avatar for vishal anand.s

Hi i have a problem in binding DateTimePicker value from one form named SearchDoctor to existing form named Doctor. Here is the code of my Doctor form and it works: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.Sql; …

Software Development c# mssql sql
Member Avatar for Maligui
0
675
Member Avatar for tauqeer381

I want to make an import export company desktop application. But i am getting problem in making the design of the application. can anyone please help me regarding this???

Software Development c c# c++
Member Avatar for Maligui
0
182
Member Avatar for strRusty_gal

Hi Everyone, I really require your assistance on the issue. I was debugging my code [C# console application] and i step down to the place where there is DATASET in my code and i clicked on the magnifying glass to see the data inside the DATASET. after clicking on the …

Software Development assembly dataset
Member Avatar for Maligui
0
355

The End.