132,726 Archived Topics
Remove Filter ![]() | |
hi please anyone solve this issue, i had stored an image in binary format from a windows form picture box control using VC#.net, it is stored in a binary format . i don't how to retrieve this back from the database and display it in the picture box. please help … | |
Hi All, The problem discussed is accuracy of numeric calculation result,in vb. Namely I compare a numerical mathematic calculation, Line-Plan Intersection, in VB.Net and Matlab 2007 the intersection point result specify in below: Matlab 2007 ----> Xint=2.000000000000000 Yint=1.333333333333333 Zint=0.666666666666667 But Visual Studio 2008 ----> Xint=2.0000000596046448 Yint=1.3333333730697632 Zint=0.66666668653488159 Hand Calculated -----> … Software Development vb.net visual-studio | |
Hi, I have some problems aka how to bring value of type double (or even array of double values) through socket from C++ server to Java applet client. I tried two possibilities. For example: [LIST=1] [*] Doesn't work, but I think it could be ok while working In c++ my … Software Development c++ client-server java | |
Hi, I'm supposed to make a program that asks the user how many integers they want to input, then prompt them to enter those integers. and then I'm supposed to put those integer into ascending order. How do I do that? this is my code so far [code] #include <iostream.h> … Software Development c++ | |
Hi, The database on MS-Access is kept on one machine and i have to access it from another machine.. I have given the following connection string on the client machine. But still it is not accessible. I have shared to Databse folder with full permissions... But, still it is not … Software Development microsoft-access | |
Hey, Well I go this problem, I'm using ADO.NET to manage my database on a project now the problem is that I need to get the values from an external Binding source and when I click save they will be saved in the database I'm using at that moment; for … | |
Hello Now I am trying to develop a project in C#.But i want to maximize my form ,when i click at the: maximize button or double click at the top of the form,But i can'nt impliment successfully , Please Healp me :) Software Development | |
Heya, When I run this code, it spits out the minimum value 200, when I want it to spit out the minimum value from the function. Any pointers? [CODE] #define _CRT_SECURE_NO_DEPRECATE #include <stdio.h> // You can assume no inputs will exceed these values: #define MAX_BOXES 50 #define MAX_PARCELS 50 int … Software Development c++ | |
i have made an application in c sharp...which merges .txt file into one excel sheet...however i am facing problem when i try to merge German Data.... I have used Encoding.UTF7 /UTF8 , still some characters appear missing....how to solve this problem ?/ Which Encoding technique should i use so , … Software Development | |
I am trying to make a postfix evaluation and i can't solve the problem about my program. Thanks ahead. here is the C++ Code. [code=c]#include <iostream> #include <string> #include <windows.h> using namespace std; string postfix; int Top, capacity, a; char token; void construct (); bool empty (); void push (char … Software Development c++ | |
Hi, I am use following code to find IP address of machine in C#.write following code in class file. when build the solution it gives following error 1.The best overloaded method match for 'string.String(char*)' has some invalid arguments 2.Argument '1':cannot convert from 'string' to 'char*' How to solve this error … Software Development dns | |
[CODE]#define ADDITION = addition #define SUBTRACTION = subtraction #define MULTIPLICATION = multiplication #define DIVISION = division #define MODULAR = modular #endif int main() { int userInput = 0; int userInput2 = 0; int userInput3 = 'A', 'S', 'M', 'D', 'Q'; int sum = 0; // modular is q while m … Software Development c | |
I wonder if i writing the correct code segment to read data from binary file.eg.the content file operation in constructor [CODE] try{ raf = new RandomAccessFile("record.dat","rw"); } catch(IOException ex) { JOptionPane.showMessageDialog(null,"Error create file"); System.exit(0); } [/CODE] write content to file [CODE] do { Name = JOptionPane.showInputDialog(null,"Please Enter The Account Holder's … Software Development file-system java open-source | |
How to import any web file in to our window application on c#??? i m making prj in whiich i need to add files in my prj.. plz help me out............. Software Development c# | |
Hi i have this section of code that looks for user info on another table... this code works fine querying the database locally... but i need it to work remotely can anyone see what im doing wrong... [CODE]from sqlite3 import dbapi2 as sqlite import MySQLdb as mysql from mud.common.persistent import … | |
Hello you guys. Im doing this one homework assignment and i really need some help. My question is, How would you write an if statement that excludes the blank space and how would you write an if statement stating that its magenta when its inside the red space with the … Software Development c | |
Ok trying to work with zipFile library how do you flatten the file hierarchy what works [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in enumerate(pic_list): if start <= picId and picId <= end: zip.write(filedir+'/'+pathname) zip.close() [/CODE] what i am trying [CODE] zipFile = zipfile.ZipFile(imgSetup[0]+'/'+zipName, 'w') for picId, pathname in … Software Development python | |
I have an assignment in which I am supposed to manage a linked list of "players" in a hockey "roster." That's not the issue... problem is, I'm trying to make the function in which a new player is added, and I can't even call it. It results in a LNK2019 … Software Development c++ linked-list visual-studio | |
Hi all! THis is the program I am supposed to write: Modify the program so it displays a menu allowing the user to select an addition, subtraction, multiplication, or division problem. The final selection on the menu should let the user quit the program. After the user has finished the … Software Development c++ | |
I have created a simple struts application, my context name is --- > /LetStart I am using struts 1.3 When I am deploying this application to JBOSS 4.2 It is throwing deploy time exception, pls see below:-- 22:31:14,046 WARN [JAXWSDeployerHookPreJSE] Cannot load servlet class: org.apache.struts.action.ActionServlet 22:31:14,078 INFO [TomcatDeployer] deploy, ctxPath=/LetStart, … Software Development apache java web-server | |
getting error when compiling. "java:60: non-static variable inventory cannot be referenced from a static context for (String show : ProductDB.inventory)" the showCodes class has to public static void. Here is code [CODE]import java.util.*; import java.text.*; public class ProductApp { public static void main(String args[]) { // display a weclome message … Software Development java | |
I was trying to make a function to take the square root of a number (which does not work completely, yet), but while I was coding it, I found an strange "error", this is the code: [CODE] #include <iostream> #include <cstdlib> using namespace std; int main() { double number; cin … Software Development c++ | |
Hi, I need a bit of help with this function... What I'm trying to do is call the function with a string, XOR it with value 255 and save it to the file. If I put a value of 0 to the XOR (leave as is) then it works properly, … Software Development c | |
can someone help me to make this program look like this. example [img]http://www.ljzsoft.com/xlcalendar/sample/calendar_one_sheet_2x6.gif[/img] because some of the year cant display. [code]#include<stdio.h> #include<conio.h> int Calendar(int daycode,int year,int leapyear); int main(void) { int year; int daycode; int leapyear; for(year=1994;year<2000;year++) { leapyear=(!(year%4)&&(year%100))||!(year%4); daycode=((year-1)*365+((year-1)/4)-((year-1)/100)+((year-1)/400)+1)%7; Calendar(daycode,year,leapyear); } } int Calendar(int daycode,int year,int leapyear) { int … Software Development c | |
I'm trying to implement a Visitor Pattern in c++, but I'm having problems with the elements being visited in turn having their children visited. For example I have a class Element, which has a vector of Nodes (can be elements or any classes that inherit from node): [CODE] class Element … Software Development c++ | |
I'm having trouble getting my dynamic 2d array to work consistantly in my program. Here's the code: [CODE] #include <iostream> #include <string> #include "DisjSet.h" using namespace std; struct cell { bool nWall; bool sWall; bool wWall; bool eWall; }; void CreateMaze(cell** &maze, int x, int y); void LoadMaze(cell** &maze, int … Software Development c++ | |
Hi wat's wrong with my "do while" loop it never allows me to enter the grade even if I enter 'A' or 'B' or 'C'..? [code] import java.util.Scanner; public class ArraysOfStudentDetails { public static void main( String [] args ) { Scanner in = new Scanner( System.in ); final int … Software Development java | |
I am trying to write a program that can figure change. Something that might be used in a fast food setting. The Employee is simply prompted to enter the amount to be returned to the costumer and the program would tell how many dollars, quarters, dimes, ect. to be returned. … Software Development c++ | |
![]() | So I have a couple strings [code]first = input("Enter a starting integer: ") last = input("Enter an ending integer: ") last = last + 1 [/code] How do I make another assignment to a string "n" that I want to take the value of each individual integer in the range? … Software Development python |
Hi. I have a class named Product, each object of this class holds one product in a "store". The class also has a static int member to keep track of how many products there are. iProducts is static member. Constructor: [CODE]Product::Product(std::string name, int price, std::string description) { sName = name; … Software Development c++ | |
So I have to read data from a text file into a [50][50] array and Im not really sure which commands I can use to do that and to write back some data into another file. Would really appreciate some help on this. Software Development c++ | |
write a program that uses a for statement to find the smallest of several integers. Assume that the first value read specifies the number of values remaining and the first number is not one of the intergers to compare.pls help me i need it now! Software Development c++ | |
im trying to get the same heat index that prints int the program to write to a file. i have copied the procedure from another program that worked correctly. any help is appreciated. import java.io.PrintWriter; import java.io.IOException; import java.util.Scanner; import java.io.File; public class HeatIndex { public static void main(String [] … Software Development file-system java | |
it keeps on saying '{' token error. did I put something wrong that the program keeps on saying '{' token error? [code] #include <stdio.h> #include <math.h> int Calendar(int daycode,int year,int leapyear); void dec_bin(int bin) { int x, y; x = y = 0; for(y = 7; y >= 0; y--) … Software Development c matrix-multiplication | |
Hey guys. This is really frustrating because it seems easy but I can't seem to find the correct function to remove this element of my string. [code] void set::display() const // pre : none // post : displays the elements of this set enclosed in braces and // separated by … Software Development c++ | |
Can someone help me to solve this algorithm, I tried our school book but can't understand it. I'm not good at math! Should be simple, but i just can't understand it! [IMG]http://i38.tinypic.com/5wdau.jpg[/IMG] | |
Hi everyone! I am having difficulties in terms of manipulating data using datagrid. So my problem is this, I have 2 forms;namely, a form for logging in, then secondly, a form which is similar to an inbox. I have a datagrid in my inbox to call on records in my … Software Development microsoft-access vb.net | |
How do you paint pixels in NASM, could someone tell me about it and mabey give me an example? Software Development assembly | |
I recently started messing with tcp socket programming. I hacked up a little instant messaging application that seems to work has some little problems but the world isn't in need of more IM clients. but I wanted to know a good practice for sending large files over tcp sockets. i … Software Development client-server file-stream socket-programming tcp-udp | |
Ok guys, i'll say this first. I got it 99% working (100 % working if I test it with the much shorter name list that we are suppose to use for the homework.) For some reason the code skips the very last name. Honestly, I think I am over thinking … Software Development c++ | |
Hello everyone, can someone help me with this please? Create class which will create tables in data base (Microsoft Access). About the tables: number of columns, type of data, lenght of the data. And mantaining the information (the data) in the tables- add data, delete data and edit data. So … Software Development java microsoft-access | |
Hi there, I'm kinda new to making asm programs and i was wondering if you could make a countdown timer where the user is asked for the input and it is displayed in countdown, lets say a max of 59 secs. I was only able to make one that counts … Software Development assembly | |
hi guys, do you have any valid, tested example about how to run windows installer in silent mode? i want to see an example which to be told to six year old. i am fed up with implicit stuff, aliases and all other ambiguity. Thanks. By the way, the english … Software Development | |
Recently I was assigned a program for class and I've been having some problems. At my old school, the teacher worded the instructions differently, so I am not entirely sure how to translate the following lines of instruction into the proper setup for my structs, arrays, and shorts. Instructions: 1. … Software Development c++ | |
Hi, I am newbie to network programming in C. I want to implement a file transfer program in C on a Linux environment . I am sending the file name to the server and tries to print it on the server. But the server doesn't print it. I think I … Software Development c client-server data-structure socket-programming | |
Hello friends. I'm trying to write a program that accepts an odd number from 1-9 and outputs the diamond of asterisks as follows [code] user enters 5 _ _ _ * _ _ _ _ _ * * * _ _ _ * * * * * _ _ _ … Software Development c | |
Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make … Software Development vb.net visual-basic | |
I am working with classes for the first time in Tkinter. I have no experience working with classes before this, although I have had experience with basic coding syntax before. I am trying to make a function plotter. If I have a class PlotApp. This is my the class that … | |
I have been working with desktop server/client applications today, making pretty good progress when I came across a problem. the webserver I use for my website is shared and doesn't allow me access to start programs so I must use my desktop as a server. The problem with this is … Software Development client-server xml | |
I am trying to build a histogram. So far I have coded the following: from Tkinter import * def plot(data): numberOfBins = len(data) root = Tk() width, height = 200, 630 #taille de la fenetre die = Canvas(root, width = width, height = height) die.pack() numberOfStripes = 2 * numberOfBins … |
The End.