132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mrjoli021

Is there a tutorial on learning to work with api's. I am trying to automate a telnet connection to a router. I figured out how to telnet, but how to i type the commands inside the telnet session.

Software Development api c++ session
Member Avatar for WaltP
0
88
Member Avatar for ujwaliyer

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
Member Avatar for ujwaliyer
0
83
Member Avatar for joshuadlowry

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 …

Software Development delphi pascal
Member Avatar for Duoas
0
96
Member Avatar for rhinocort23

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
Member Avatar for rhinocort23
0
89
Member Avatar for antlu

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
Member Avatar for antlu
0
92
Member Avatar for VBNick

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
Member Avatar for VBNick
0
120
Member Avatar for SHWOO

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 …

Member Avatar for SHWOO
0
199
Member Avatar for guitarrick

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
Member Avatar for superjacent
0
254
Member Avatar for The Midnighter

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
Member Avatar for The Midnighter
0
142
Member Avatar for llrdonv

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
Member Avatar for llrdonv
0
537
Member Avatar for FireSBurnsmuP

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++
Member Avatar for Ancient Dragon
0
146
Member Avatar for wonder_laptop

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 …

Software Development java printer regex
Member Avatar for wonder_laptop
0
189
Member Avatar for k2k

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++
Member Avatar for twomers
0
129
Member Avatar for k2k

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++
Member Avatar for k2k
0
232
Member Avatar for ConfusedMuchMor

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
0
90
Member Avatar for bob on whidbey

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
Member Avatar for bob on whidbey
0
257
Member Avatar for shil_284

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
Member Avatar for jwenting
0
92
Member Avatar for 14fg

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
Member Avatar for Ezzaral
0
126
Member Avatar for jmvr_danga_14

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++
Member Avatar for WolfPack
0
2K
Member Avatar for Thew

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 …

Software Development c++ delphi
Member Avatar for Ancient Dragon
0
144
Member Avatar for Acidburn

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
Member Avatar for Ezzaral
0
83
Member Avatar for majestic0110

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
Member Avatar for majestic0110
0
85
Member Avatar for cbattagler

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. …

Software Development c++ dataset
Member Avatar for cbattagler
0
189
Member Avatar for WhiteHatHacker

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++
Member Avatar for WhiteHatHacker
0
81
Member Avatar for sweRascal

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 …

Software Development c++ unix
Member Avatar for Narue
0
3K
Member Avatar for nabilchampion

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
Member Avatar for nabilchampion
0
692
Member Avatar for Convert

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 …

Software Development api c++
Member Avatar for Ancient Dragon
0
117
Member Avatar for chihuyu

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++
Member Avatar for technogeek_42
0
124
Member Avatar for microgoogle

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++
Member Avatar for Salem
0
97
Member Avatar for pira

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
Member Avatar for gjain81
0
116
Member Avatar for k2k

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++
Member Avatar for WaltP
0
91
Member Avatar for saurabh.verma

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
Member Avatar for AndreRet
0
115
Member Avatar for wollacott

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
Member Avatar for WaltP
0
98
Member Avatar for sharath61

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
Member Avatar for sharath61
0
135
Member Avatar for honeyS
Member Avatar for honeyS
0
522
Member Avatar for nnobakht

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
Member Avatar for nnobakht
0
92
Member Avatar for hellsing

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
Member Avatar for Duoas
0
94
Member Avatar for nu2cpp

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++
Member Avatar for nu2cpp
0
116
Member Avatar for hemanthjava

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
Member Avatar for hemanthjava
0
117
Member Avatar for kami7125

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++
Member Avatar for Ancient Dragon
0
125
Member Avatar for mariegomez84

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
Member Avatar for Jx_Man
0
115
Member Avatar for sivaslieko++

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
Member Avatar for Ezzaral
0
201
Member Avatar for JLC

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
Member Avatar for ericstenson
0
97
Member Avatar for Red Horse

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++
Member Avatar for Red Horse
0
99
Member Avatar for bigbadowl

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++
Member Avatar for bigbadowl
0
90
Member Avatar for Shataken

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 …

Software Development dataset vb.net
Member Avatar for Estella
0
875
Member Avatar for Spartan552

[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
Member Avatar for Ezzaral
0
418
Member Avatar for rajatC

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
Member Avatar for Duoas
0
375
Member Avatar for jliu66

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
Member Avatar for BearofNH
0
187
Member Avatar for fonzali

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" …

Software Development printer python
Member Avatar for fonzali
0
309

The End.