132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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: … | |
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 | |
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++ | |
Just kind of a random question. How exactly do you rotate objects in vb.net? Software Development vb.net | |
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 | |
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++ | |
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++ | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
#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++ | |
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 | |
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 | |
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 | |
how to use .net matrik library to solve linear equation ? | |
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 | |
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 … | |
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++ | |
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 … | |
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" … | |
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++ | |
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 … | |
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 … | |
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 | |
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 … | |
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++ | |
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 … | |
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 ![]() | |
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 | |
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 … | |
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 | |
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 | |
How do you read data from a file and fill an array? Software Development vb.net | |
![]() | 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 |
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 … | |
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 | |
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 … | |
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 | |
![]() | 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 ![]() |
where to download g++ package for ubuntu 12.04 and how to install offline | |
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 |
The End.