132,726 Archived Topics
Remove Filter ![]() | |
hello everyone, I have created a console app for receiving files thru sockets. Now what i need to do is to change it to a windows service so that it will dynamically keep receiving files all the times -- and store them in a separate folder. The problem is that- … Software Development app-store | |
I am able to call masm assembler object from delphi. ( 1995 version). On compillation (with delphi) I try to call object code generated by ms-pascal 3.31, and get compiler error #51 Invalid PUBLIC Definition. I use the line {$L filename.obj} in the delphi code. How do I maake the … | |
can i make a program in vb that will open a picture file of words and copy the words off of the picture into a text document? im asking here first because truly i dont know where i would start, there would be just to much to it. another question … Software Development vb.net | |
We were supposed too make a program that would connect the given 2 points of a line. My program has a problem if the slope of the line is not 1. I'm just a noob in programing and still don't know how to clear the screen using system(); [code] #include<stdio.h> … Software Development c | |
Hi, I am making a Sheduling program, in which I designed my own graphical interface using fillrect, lines, textout, ect... I hold the picture in memory, then paint it when it changes like this: mDC = CreateCompatibleDC(me.hdc) hBitmap = CreateCompatibleBitmap(me.hdc, 100, 100) SelectObject(hDC, hBitmap) Form_Paint/Form_Click() update chart and work shifts … Software Development user-interface visual-basic | |
I am trying to create a set of functions to allow the user to output a string to a file name EngineLog.txt It compiles fine, but I get an Unhandled exception at 0x00444c36 in Test.exe: 0xC0000005: Access violation writing location 0x0000000d. This occurs in the EnableLogging() function. [CODE]//----------------------------------------------------------------------------- // The … Software Development c++ linked-list user-interface window-manager | |
Still stuck on this one. I am not back in class yet. This is my personal research/review for the upcoming semester. I am not where I'd like to be with my review, but I really want to solve this one; but I can't seem to get started. Can someone please … Software Development c++ first-post | |
Alright, so I've got a linked list program going here, and I've succesfully loaded a text file, and I fed each line from the text file into my linked list nodes. Now I want to create a few commands that's going to allow me to alter this text file, while … Software Development c++ linked-list | |
Hello! I'm new to the DaniWeb, so I'm not sure what I'm allowed to ask, and I don't have enough time to search for all rules right now. I have to write a program for tomorrow, otherwise I won't be able to pass the year. It's a bit difficult to … Software Development linked-list pascal | |
This is going to sound wierd at first, but I found a really cool usb controller. Let's see if I can find a link to it... [URL="http://www.bestbuy.com/site/olspage.jsp?skuId=8609696&type=product&id=1192233008066"]here it is[/URL] Now this is the wierd part - the first thing I thought when I saw this was "how sweet would it … Software Development c++ | |
Dear All, Since one cannot write the ping command in java because real ping requires ICMP support, and performs a very basic test that there is an IP protocol stake "awake" at the requested address and this is not supported by java. this code is not a "ping" in the … | |
First of all, i hope the [code] [/code] thing is what i was asked to do to encase the my code. And please help on the set() function. I don't know why the string type in the parenthesis gave me compile error undeclared identifier. thank you. [code=cpp] # include <iostream> … Software Development c++ | |
Anyone please take a look at the set() ... i don't know what went wrong that string in the set() gave me compile error saying undeclared identifier, which shouldn't even be a variable [code=c++] # include <iostream> # include <string> # include <fstream> using namespace std; class Name { public: … Software Development c++ | |
I'd like the sender event to stop if the conditions of the if statement are met!! [ICODE] private void Btn_Func(object sender, EventArgs e) { Button thisbutton = sender as Button; if (thisbutton.Text == "-" && lb_Display.Text == "") lb_Display.Text += thisbutton.Text; [B][U]//I want the code to stop here if the … Software Development | |
I store in an image in a RES file. Because it is so large, I first convert it from a BMP to a JPG. Then I load the JPG from the RES file, convert it to a BMP, and can now manipulate the image on a pixel by pixel basis. … Software Development pascal | |
Hi, I am trying to compile a code( which was written and compiled in 1.4) in 1.6. It gives few errors, when i compile in 1.6 for eg: compareTo(java.lang.String) in java.lang.String cannot be applied to (java.lang.Object) if (NatureOfAddress_SidNumber_str.compareTo(vTemp2.elementAt(iLoop)) < 0) Is there anyway i can suppress the warnings so that … Software Development java | |
Hi, I need help with a timetable which must do the following: 1: Input: program name Output: list of core and option modules. 2: Input: module name Output: module leader, activities, credits, when run, constraints 3: Input: activity name Output: room(s) 4: Input room number Output size, condition, available resources … Software Development java | |
Hello! im new here and i have a problem regarding programming. We are required to compute for the distance of a certain city to another city...for example whats the distance of new york to los angeles..then the program will compute its distance... the output of the said program should be … Software Development c++ | |
![]() | Hi, ahm, I'm trying to make dll that will have 5 simple functions. For example bool GetHTTPResponse(string url, string *buffer); So, my DLL includes curl DLL, that includes 3 anoother libraries. I just created simple function with name GetHTTPResponse, here is the source: { cout << "Test" << endl; return … |
Hey guys, I'm lost in terms of how to get 1 thread to stop another thread by changing one of its values. Ie say I've got a JButton which when pressed invokes thread 1. I've also got another JButton which when pressed stops thread 1 from processing. I'm lost since … Software Development java | |
hi all. I have constructed a UI that has two fields. user name password. I am trying to get the password field to echo back user input as ****. any suggestions chaps? have googled to no avail and am a little stuck. cheers Software Development | |
Hello, I am having trouble with the memory size of an array I am using. At the moment I have an array to pointers of objects. These objects get read in from a file and sorted, then a new file is outputted after some filtering is done on the array. … | |
I'm only a few days new to C++ and I'm working on a program where I need to give commands and a coresponding function is called. At the moment the code uses the given string and goes through "if string = functionname then..." but I am trying to be more … Software Development c++ | |
Hi all, I am a novice c++ programmer with php experience and am trying to learn to do some usefull stuff in c++. To learn I try to write a chat client with a mySQL backend and so far it works great. To make it useable I need to get … | |
hope all r doing fine.. i need a quick and very quick reply m porting some cod:confused: e from windows to linux box..n i just encountered a function findfirstfile() used in windows..this function also takes wildcards as regular expression in the string I searched the net for an alternate implementation … Software Development c | |
I am converting from VB to VC++ (which might give you an idea of why I would be asking stupid questions). I already have a working Win32 program written using VC++ and I now need to create Drive, Directory and File List boxes that allows the user to select a … | |
Hello,I am new for C++.The following are the codes I wrote to calculate the sum of 2^n. The result is 2046 after running the program.That is correct. But when I change the condition to n<=100,the result comes with -2,which is obviously wrong.Then I tried different n and found if n<=30,the … Software Development c++ | |
hi all Following is the code which is giving me the aforesaid error : [code] #include "MessageHeader.h" #include "MessageProcessor.h"//contains the class MessageProcessor .. class RequestCacheHandler { private: public: /*********************************************************************** * Functions related to handling of requests ***********************************************************************/ MessageProcessor msgRequest; TcpPacket tcp; ..... ..... .... [/code] Am i missing something? plz … Software Development c++ | |
Hi, How and when web services should be used? Any specific scenarios or examples please? The application that I am going to develop is called ticket booking system what can be the use of Web Service to use here. Thanks, Software Development | |
hi, i have a txt file "names" containing 300 set of personal info such as: 3765 // id thomas //last name barry // first name 876-988776 //phone number 16.37 // a price of what he purchased 8765 // id repeat dionisio // last name repeat tom // first name repeat … Software Development c++ | |
How do i make a windows style menu in visual basic for my application i have a menustip but i shows only one straight column, but i want like it is in windows XP and Vista. so i have two columns for different kind fo things to add how do … Software Development visual-basic windows-vista | |
enter 5 digit number s and have them display in single digits,using division and the remainder mod. This is what i have so far but it doesnt seem to work. #include <stdio.h> int main() { int num1,num2,num3,num4,num5,number; printf("enter five digit number"); scanf("%d,%d,%d,%d,%d",&num1,&num2,&num3,&num4,&num5); num1r=(number-(number%10000))/10000; num2=(number%10000-(number%1000))/1000; num3=(number%1000-(number%100))/100; num4=(number%100-(number%10))/10; num5=(number%10-(number%1))/1; printf("first number is … Software Development c | |
how can i get a value from my database table and display in a textbox or in the label... using c#(window application and web application) kindly guide me Software Development | |
How to fix error it sayTskindata not found? plss help me Software Development c++ | |
Hey guys, in c i am trying to read an input such as a command like [code] xeyes -bg red -fg blue [/code] i have managed to read it fine if there is no spaces so a single word such as "abc" but when i have spaces i get segmentation … Software Development c | |
I using window Vista home premium(32 bit) and I cannot use python after I save a file once I get the following error messages "socket connection error" "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal fire wall software is blocking the connection" I have to … Software Development python | |
Hi I am using BCB6 and have a memo component in my project. I want to change the color of a line(font color) depending on my message I need to display i.e. red color when I need to show an error message and black when no error. But when I … Software Development c++ | |
I've read plenty of java Swing forums or questions and none of them have the right answers. I am trying to dynamically select a node in a JTree by searching for it using a search panel based on its property. My jtree allows single selection model. (SINGLE_TREE_SELECTION). [CODE]jTree.setExpandsSelectedPaths(true); // jTree.expandPath(treePath); … Software Development java java-swing | |
Hello. I would like If possible get some input and assisstance on operations with external files. So this is what i have so far: [code=cpp]#include <iostream> #include <fstream> using namespace std; void main (){ cout<<" Input into the file '.' " <<endl; char zbor[20]; ofstream dat; dat.open("tekst.txt"); do{ cin.getline(zbor,20); if(strcmp(zbor,".")){ … Software Development c++ | |
Hi! I'm trying to open a .xls file in vb, but not a specific file. What I need is something like this: if [COLOR="red"]filename.typefile=.xls [/COLOR]then msgbox ("it's an Excel file") end if What I wrote in red colour is the code I need, because I know this code doesn't exist. … Software Development visual-basic | |
Hi everybody, I have a class called "dynamicArray" which makes use of static array and provides addElement, deleteElement methods, etc. It stores the datatype, "myObject". I want to construct the JList with the instance of dynamicArray class, say myDynamicObj. so that whenever when I delete/add element from/to dynamicArray the JList … Software Development java | |
Hi guys, I'm currently trying to develop a simple graph on my website by using 3 panels. Basically I want to use one panel for the background image (X and Y axis) and the other two for bar graph blocks. My problem is that the panels are set to left … Software Development vb.net | |
This code hangs on me running. The problem is that "r" does not count right (not like it is directed under FOR expression). Does the problem lay beyond the code? #include <iostream> #include<string> using namespace std; // using std::cin; // using std::endl; // using std::cout; // using std::string; int main() … Software Development c++ | |
Hi there I'm trying to learn how to do classes in C++ while working on a project. I have some code (below) which fails to compile with the error (below) Any help would be appreciated. Many thanks [CODE]packageType.cc: In static member function ‘static packageType* packageType::fromString(std::string)’: packageType.cc:20: error: request for member … Software Development c++ | |
I have a combo box on a binding control. It is bound to a name column in my dataset. It works like it should, but I need the autocomplet to be able to find names by either first name or last name. For example, if I have two names in … | |
[QUOTE] ArrayList<ArrayList> liste = new ArrayList<ArrayList>();[/QUOTE] eclipse saying : [QUOTE]ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized[/QUOTE] The list should be containing some strings and some integers. So what I should write is ArrayList<ArrayList<MyClass>> to get rid off the warning. The problem is I dont … Software Development java | |
hi! i want to change the icon of an exe file. And the file will be moved from computer so the icon must be embedded in the exe file...is there any way?? the exe file is a daily use application so i want to give it an icon which shows … Software Development c++ file-system | |
Hi, Dear my friends, I have a trick questions to ask you about python scripts for help. How can I set up a complied python code with a password so that nobody can touch or modify it and even copy it from one PC to another PC? In other words, … Software Development python | |
hi everybody , I have a program (below) but don't know how to direct the out put to the printer , can anyone help thanks [code=python] from calendar import * setfirstweekday(5) #saturday prcal(2008) raw_input('hit a key') [/code] another question is that I tried writing " saturday " instead of "5" … |
The End.