132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jkvt

Hi, I have two LINQ queries that produce two different results, but the fields, while having different names, are essentially the same. I am trying to union them together (although concat in this case should produce the same results), but I am getting an error. My thought is that I …

Software Development asp.net
Member Avatar for jkvt
0
4K
Member Avatar for mahesh113

Hi All, Could you please clear my doubt why this second catch block is called when exception is thrown only once. #include <iostream> using namespace std; class E { public: const char* error; E(const char* arg): error(arg) {} }; class B { public: B() {}; ~B(){cout<<"~B() called"<<endl;} }; class D: …

Software Development c c++
Member Avatar for deceptikon
0
350
Member Avatar for james12James12

HI I have been building a game applet. I have coded as far as getting rectangles to move on a timer and put integers into the rectangles. I am not familar with how to click the rectangles and I also want to get the different numbers going through an ArrayList …

Software Development java java-swing
Member Avatar for jwenting
0
260
Member Avatar for subash sonar

Hello, I m new in programming languge and using turbo c . I need your help in completing my projects. I want to display the numbers in column with classification as even, odd, prime and composite numbers. And i want to use int array for 8 numbers. That is, first …

Software Development c++
Member Avatar for Lucaci Andrew
0
180
Member Avatar for schroaus

Just kind of a random question. How exactly do you rotate objects in vb.net?

Software Development vb.net
Member Avatar for GeekPlease
0
232
Member Avatar for GeekPlease

Good day folks, I've been wondering how can I open an excel file in vb.net. Can somebody help me? I always get this error below: > The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Thanks in advance

Software Development microsoft-office vb.net
Member Avatar for GeekPlease
0
661
Member Avatar for sid78669

I am working on an assignment that does the following three things when a valid expression is provided: 1. Convert to postfix 2. convert to prefix 3. Evaluate expression. I'm using stacks and Binary trees to do this and have been able to do the first two without a hick. …

Software Development c++
Member Avatar for Chandana Ravali
0
570
Member Avatar for subash sonar

Hello, I m new to the programming language and i m using turbo c++. If any one kindly give me a link for the meaning and definition and the uses of the different type of header file used in the c++ and there different types of function.

Software Development c++
Member Avatar for subash sonar
0
153
Member Avatar for rje7

How to find the difference of two files and get a 3rd file with the newer information alone. for example: There are two files file1 and file2 **file1** apple mango pear **file2** apple mango pear cat and dog I need a file with **fileout** cat and dog how to achieve …

Software Development apple shell-scripting
Member Avatar for rje7
0
160
Member Avatar for corl45

ok, every time i start a new project in dev-pascal. i edit the resource file to somthing like this: [CODE]1 ICON "C:/Dev-Pas/Icons/Edit.ico"[/CODE] ive tried manualy doing it, and with the build in GUI. after i compile the resource file itself it works just fine says: "compiled correctly" but when i …

Software Development gui pascal
Member Avatar for miracleX
0
1K
Member Avatar for Petranilla

Hi everyone, I'm dealing with both JMenu and JPopupMenu in a program. Looks good except when I switch from JMenu to JPopupMenu by right click, it doesnt work. How? Many thanks.

Software Development java
Member Avatar for Petranilla
0
164
Member Avatar for Mak!zZz

Can someone help me with this problem I need program in c++ ,that can sum number DIGIC COMPLEMENT and RADICAL COMPLEMENT IF the input is in DC 1111111111110101 0000000000100010 my output should be 0000000000011000 Please help

Software Development c++
Member Avatar for Labdabeta
0
169
Member Avatar for vishalonne

Hi All I have a query regarding constructor and destructor. How accessibility of constructor and destructor affects the scope and the visibility of their class. If someone give some explaination on this I will be thankful. Regards

Software Development c++ oop
Member Avatar for David W
0
260
Member Avatar for rakibtg

friends please do me a help, please solve this: All class must have encapsulation, constructor, destructor and in any one solution you must have to use operator overloading 1) Define a class name DVD_DB. Include the following members. `DATA MEMBERS:` Name of DVD – private character array, size 10 Price …

Software Development c++
Member Avatar for tinstaafl
0
1K
Member Avatar for hellogoodday

how to use "**into**"?????? this is my example!!!!!! ......................................... add ax,bx into . . . . . . overflow:push ax push bx push cx push dx . . . pop dx pop cx pop bx pop ax iret .................................................... who has other examples of about "**into**"? i want to learn!!!!!! …

Software Development assembly
Member Avatar for untio
0
199
Member Avatar for Ancient Dragon

Anyone familiar with this programming language? If so, anyone use it on the job? I just started reading [this turorial](http://www.developerfusion.com/article/122079/intro-to-f/) and find it to be interesting.

Software Development
Member Avatar for sepp2k
0
120
Member Avatar for RLS0812

For some reason my string is spitting out pure trash, and I have no idea why it's doing it. There are no errors kicked out when debugging. #include <iostream> #include <string> using namespace std; void main(){ string xx = ""; string yy = ""; for( int x = 0; x …

Software Development c++
Member Avatar for Lucaci Andrew
0
164
Member Avatar for Dili1234

Can anybody explain why this is not working.Can someone help me. fib(0, 0). fib(1, 1). fib(N, NF) :- N>=0, fib(N-1, AF), fib(N-2, BF), NF is AF + BF. .

Software Development
Member Avatar for Dili1234
0
220
Member Avatar for moslem.yousefi.73

hi i need to save rss to sql every day first load read and write sql and other read from my db Imports System.ServiceModel.Syndication Imports System.Xml Imports System.Data Imports System.Data.SqlClient Partial Class _Example4 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim RSSReader As …

Software Development open-source sql vb.net xml
Member Avatar for Begginnerdev
0
256
Member Avatar for Abhinisha

#include<iostream.h> class counter { private: int count; public: counter():count(0) { count 1 } }; int main() { counter c1; return 0; } whats wrong in this program i am not able to know?

Software Development c++
Member Avatar for Lucaci Andrew
0
124
Member Avatar for charlowiz

Design and code a program in c that converts time in seconds to hours, minutes and seconds and display the results. Implement using pointers and functions. You should have at least the following functions. • Reading time in seconds. • Converting seconds to hrs, mins, secs. • Displaying results hrs, …

Software Development c
Member Avatar for deceptikon
0
154
Member Avatar for Petranilla

Hi Everyone, I have a project that requires to use mouse right click. Upon right click, it should display a list of categories(drop down). How Do I do I use right click? Many thanks, Petra

Software Development java
Member Avatar for Petranilla
0
10K
Member Avatar for vbpro

How can I get the Mouse Position from the mousemove event inthe VB.net? I can't find out how to do this.. :rolleyes:

Software Development pc-peripheral vb.net
Member Avatar for Luc001
0
32K
Member Avatar for rizkiekaputra80

how to use .net matrik library to solve linear equation ?

Software Development asp.net vb.net
Member Avatar for rizkiekaputra80
0
79
Member Avatar for ef_mag

Hi, i making a program where I would read data from text files and store them in tables in myslq. In my program I would create the table with the fields and in these fields I would insert the values from the text file. My issue is that i don't …

Software Development java
Member Avatar for jalpesh_007
0
156
Member Avatar for mesbahuk

In java this is how a DerivedClass can implement it's BaseClass's constructor. public DerivedClass extends BaseClass { //some properties public DerivedClass(param) { super(param); } } I have learnt C-Sharp's *base()* does the similar thing, but when I replace *super(param)* with *base(param)*, it does not gives what I'm expecting. How can …

Software Development c c# c++ java
Member Avatar for Ketsuekiame
0
271
Member Avatar for Vasthor

this is what the question said. // 9-1. Reimplement the Student_info class so that it calculates the // final grade when reading the student's record, and stores that grade // in the object. Reimplement the grade function to use this // precomputed value. this is what I thought! 1. Reimplement …

Software Development c++
Member Avatar for Vasthor
0
230
Member Avatar for shadyreal

Is it possible to have a auto-tracking event or something similar to track the database when it changes? For an example: If the database gets a new insert value from another application that I currently have: then My other application will notice it and fetch that data instead of getting …

Software Development c c# c++ sql
Member Avatar for shadyreal
0
449
Member Avatar for pmark019

I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it? <form name="boxSettingForm" action="/ScanToBox/ScanJobServlet" method="post" > <div style="height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;"> <div style="height: 116px; "> <br><input id="boxName" …

Software Development java java-jsp
Member Avatar for stultuske
0
553
Member Avatar for tooota

hi every ; i want to know how to start **simulation using c++** , i searched in many websites in order to find some hints about this subject but i found nothing . Best regards

Software Development c++
Member Avatar for tooota
0
224
Member Avatar for one-unicorn

hello everyone, I seek help please to find a program c + + that can read images from different types bmp, jpeg, png and put the pixels values in a vector, modified pixels valus, then saved the picture change to a different location, I inform you that I am working …

Software Development c++ image
Member Avatar for mike_2000_17
0
782
Member Avatar for yxBen

Hi, I've been learning about the std::copy function in the <algorithm> header and I'm stuck on this exercise that I gave my self. Let's see the code snippet first: #include <iostream> #include <vector> #include <algorithm> #include <iterator> using namespace std; ostream& operator<<(ostream& os, const int p_val) { os.put( p_val*2); return …

Software Development algorithm c++
Member Avatar for yxBen
0
506
Member Avatar for islam.fci.3

I want to write a class that do operation on two matrices by 2D vector but i have some problems with the 2D vector , any one can help me?

Software Development c++ matrix-multiplication
Member Avatar for tinstaafl
0
274
Member Avatar for ZeroZen

I'm having a heck of a time loading an image from the path where the program is being run. Dim image As New BitmapImage Dim imagePath As String = "keepass.png" image.BeginInit() image.UriSource = New Uri(imagePath, UriKind.Relative) image.EndInit() ProductImage.Source = image I can't seem to use a relative path to my …

Software Development image vb.net
Member Avatar for ZeroZen
0
726
Member Avatar for subash sonar

Hi, I m using turbo c++. I need ur help by sharing the code for moving to the field on the output screen by pressing arrow button from the keyboard. Please help me out from the problem.

Software Development c++
Member Avatar for subash sonar
0
95
Member Avatar for Arroway

I have to make a program that calculates the integral of a function using the simpsons method and the trapezoid method. It works just fine on my computer using MinGW, but when I try to compile it in my uni's computer (GNU OS) I get: It = 0 (should be …

Software Development c os-x
Member Avatar for rubberman
0
183
Member Avatar for prakhs

I have an array of elements. Think each of the element as competitors, and a tournament is going to rank them. The output of the program is showing elements at each level. Here's the code: #include <stdio.h> #include <stdlib.h> bool isPowerOfTwo (int x) { /* First x in the below …

Software Development c
Member Avatar for iamthwee
0
249
Member Avatar for Huang xiao

Hi, I am making a simple game,this is my first time to develop java game,but i think i am lost in my code,i could not display or show my bullet when i pressed arrow up,can you help me please how can i achieve on this. here is my simple code. …

Software Development java java-swing
Member Avatar for JamesCherrill
0
189
Member Avatar for SQLpower

Would be possible to implement a VB.NET program in a PHP Website? I would want to have a rich text editor for editing files which will be stored in the database and would be displayed on the website. Being able to edit them without leaving the website. I believe would …

Software Development php vb.net
Member Avatar for SQLpower
0
237
Member Avatar for eladt

I need help writing a function to convert hex to arabic string to Example get string this : "D8B1D8B5D98AD8AFD8A7D984D8B1D982D985" and return this : رصيد الرقم in english-(Balance figure). **only c code** TNX

Software Development c
Member Avatar for Adak
0
2K
Member Avatar for tanmay.majumdar2

HI, I am new to java programming. So, while practicing some java programming. I got a very strange logical error. Does'nt matter what the user enters, the programm always returs the result as true. Please, tell where I am stuck: I will be positing my code here: import java.util.Random; import …

Software Development java
Member Avatar for tanmay.majumdar2
0
238
Member Avatar for anf39

How do you read data from a file and fill an array?

Software Development vb.net
Member Avatar for Reverend Jim
0
105
Member Avatar for jagtar8642

Hi All, Please help me with this task - this is the only thing stopping me from completing the project. Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click ' Here we go. All the data in the form to an Excel sheet. Cross your fingers... Dim oExcel As …

Software Development vb.net
Member Avatar for tinstaafl
0
313
Member Avatar for Kratoswoo

So I have this linq code and I am trying to get it to look at the datbase and what it is doing is pulling back the last record put into the database. My asp page refreshes and displays the new information that was updated. What I want is to …

Software Development asp.net seo
Member Avatar for Kratoswoo
0
226
Member Avatar for f_atencia

Not entirely sure what's happening. I've managed to narrow down the template where this error is occurring <xsl:template match="Application/Comment"> <xsl:copy> <xsl:choose> <xsl:when test="string($ImportXML/Application/Comment)"> <xsl:apply-templates select="$ImportXML/Application/Comment/text()"/> </xsl:when> <xsl:otherwise> <xsl:apply-templates select="."/> </xsl:otherwise> </xsl:choose> </xsl:copy> </xsl:template> $ImportXML/Application/Comment = "test". Essentially, I'm trying to update my document so that the XPath Application/Comment is now …

Software Development xml
Member Avatar for Mike Askew
0
322
Member Avatar for Stefano Mtangoo

As heading shouts, I need to make source code formatter to format PHP Codes. RobertoP have written nice Lexical analyzer that means no need for me to tokenize file. I just do not know how to "juggle" with tokens to produce the formatted code. I appreciate any pointer especially simple …

Software Development c++ github php
Member Avatar for Stefano Mtangoo
0
150
Member Avatar for stefanienikole

I am having trouble with the last three methods of my program in the **Board.java**. I'm not sure how to go get it to read gameBoard. It keeps giving me errors. I really cant figure out what I'm doing wrong. All the methods were given to me and cannot be …

Software Development java java-swing os-x
Member Avatar for jwenting
0
817
Member Avatar for No_idea

hi, I want to load an unknown number of buttons (20 max) into a panel. When clicking a button, some other code should be executed. Below code shows my attempt at solving the problem. Unfortunately execution results in an assertion error. Any help in pointing me in the right direction …

Software Development python
Member Avatar for No_idea
0
230
Member Avatar for narlapavan
Member Avatar for Stefano Mtangoo
0
149
Member Avatar for danibootstrap

Hi, Is there a simple and small code for client and server to talk to each other over TCP/IP (windows sockets)?Please let me know.

Software Development c client-server
Member Avatar for funtom
0
346

The End.