43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for earlwbollinger

In trying to access a webservice, i ran into the "Error 1 value of type cannot be converted to '1-dimensional array ..." when I try to pass the XML based structure to the webservice. I have added a webservice to the VB.Net Project and it is referencing the information from …

Software Development vb.net xml
Member Avatar for earlwbollinger
0
704
Member Avatar for NinjaLink

I have the whole code written for what I want to do, but the only problem is, on my Daily_Average function, I want to print the average of the scores occurring Day 3, but I'm getting average of ALL scores together as one. Here is an example of the scores …

Software Development c++
Member Avatar for NinjaLink
0
109
Member Avatar for Tyrone.Wilson

Hi people, A really noob question but I thought that I should find the answer to it in any case. There was always much noise made about JAVA's inherent speed and some of that speed being attributed to the inbuilt so called garbage collection. Having learned first to program in …

Software Development vb.net
Member Avatar for Tyrone.Wilson
0
105
Member Avatar for Rombosia

Hi guys, I'm currently doing a J2ME application that gets a JPEG image and sends it's bytes to a C# server via sockets. In the J2ME application, I can re-convert the bytes I sent to an Image and view it. On the server side, however, the SAME bytes cannot create …

Software Development c# image java
Member Avatar for Rombosia
0
176
Member Avatar for Rombosia

Hi guys, I have a modem connected to my machine. Both My C# code and Hyperterminal can open the COM port, but when the command AT is sent, no reply is got. In control panel->Modems->Query modem however, the modem responds!!! Anybody who has ever experienced this?

Software Development
Member Avatar for Rombosia
0
111
Member Avatar for c++ prog

hi, my problem is about socket programming. My code below only connects the client to the server, and it works just fine. However, I should create a 2player game which of course require the interaction of the 1st and 2nd player. The problem here is that they really don't interact …

Software Development c++ client-server socket-programming
Member Avatar for c++ prog
0
128
Member Avatar for Grub

Hi I have stored File objects in a vector. Now I which to call the methods of the file objects stored in the Vector. Unlike C++ you cannot simply refer to the vector by index e.g. vector[i].getAbsolutPath() nor can you simply call vector.elementAt(i).getAbsolutePath(); I have made a File[] array = …

Software Development java
Member Avatar for Grub
0
120
Member Avatar for Jostra

hi everybody i am a beginer n m in need of yo help i've got two classes one 4 my hardwareinfo and the other one 4 create_hdwr_info_ file both work well 2gether ,but i can't seem 2 b writing on disk. with my this statement. streamfilewrite.seek((code num - 1) * …

Software Development vb.net
Member Avatar for Jostra
0
127
Member Avatar for ochien

Hi guys, any body knows that flash disk have a serial number like hard-disk, and it's unique or not ??? thanks.

Software Development flash visual-basic
Member Avatar for e-xperts
0
139
Member Avatar for thenic

ok i just startet coding c++ and ofc im geting alot of errors. but until now ive been able to fix them myself but when i try to debug my program it says misplaced else and i just cant find out how to get it to work. so well heres …

Software Development c++
Member Avatar for thenic
0
100
Member Avatar for rrreeefff

Hello, I am working on a non-recursive function that computes a to the power n. I have one error which is cpp(23) : error C3861: 'mypower': identifier not found [code=cplusplus] #include "stdafx.h" #include "stdio.h" double power(float a, int n); // function prototype// int main (void) { float a; int n; …

Software Development c
Member Avatar for devnar
0
498
Member Avatar for smile4evr

hey all... my project is showing some error in this code... plz help... [code] Dim RS As New adodb.Recordset Dim getname As String Dim logginname As String getname = "SELECT E_name FROM Employee_Details WHERE E_ID ='" & logid.Caption & "'" CN.Execute getname RS.Open getname, CN Label7.Caption = RS.Fields(0) [/code] thnx! …

Software Development visual-basic
Member Avatar for smile4evr
0
82
Member Avatar for dinilkarun

hi, I would like a alert message to pop up on a EVENT of Mouse click in the Custom tree control and CHECKLISTBOX. Please assist me capturing the MOUSE CLICK event and pop up the alert message or FRAME with message. Your response will be highly appreciated. Regards Dinil

Software Development python
Member Avatar for dinilkarun
0
129
Member Avatar for n8thatsme

Ok, so I have an array of objects that have 3 get functions. Get last name, get first name (both strings) and get salary. What I'm trying to do is get a user to enter First name and Last name and it search the array for the persons first and …

Software Development c++
Member Avatar for n8thatsme
0
203
Member Avatar for skatamatic

I'm not too sure why I'm getting memory leaks...hopefully someone here is wiser than me, and can help me find it :P . [code=cplusplus] #include "Canvas.h" CDrawer CCanvas::gCanvas(RGB(0,0,0), 1); int const GREEN(20000),BLUE(50), RED(200), THICK(3); CCanvas::CCanvas(void): _iSize(0), _cptPoints(0) { } CCanvas::CCanvas(CCanvas const & tmpCanvas): _iSize(tmpCanvas._iSize) { if (_iSize > 0) { …

Software Development c++
Member Avatar for ivailosp
0
319
Member Avatar for En-Motion

I have to write a program where a user trys to pick a number. The code i've written below always exits after 2 guesses abd says the guess was correct even if it's wrong. Can anyone see what i'm doing wrong? Thanks [code]# include <stdio.h> # define NUMBER 50 int …

Software Development c
Member Avatar for En-Motion
0
104
Member Avatar for TheBeast32

Hi, I'm taking a programming class at my school. My teacher gave us a pdf that said "..You will be writing a program that can read a bitmap and insert a secret message into the bytes of the picture in a retrievable way using the picture as a cipher and …

Software Development c++ encryption pdf
Member Avatar for TheBeast32
0
128
Member Avatar for chris5126

HI guys, I need to create a windows service that runs a constant ping request to a list of servers and puts the data back into a text file for each server. It will read in from a text file with ip addresses in. It will also need to do …

Software Development windows-server
Member Avatar for LizR
0
2K
Member Avatar for aanya

Iam new to perl. This is my problem. I have calculated the distance using the formula my $distance = sqrt(($x2 - $x1)**2 + ($y2 - $y1)**2 + ($z2 - $z1)**2); and the value of $distance looks like this: 3.72851967944384 5.83210433720111 7.12922562414741 10.2322964186931 11.2073015931579 11.882666956538 14.4465118281196 16.0581479006765 17.2278339903773 Now I have …

Software Development file-system perl
Member Avatar for aanya
0
134
Member Avatar for Baradaran

Hello to everyone, I have a database with several representatives in different cities, sometimes there are many representatives in one city. The search is like: [code] sql_representatives.source = ("Select ID, CITY from REPRESENTATIVES Where PROVINCE_ID = " & LST_PROVINCE.ItemData(LST_PROVINCE.ListIndex) & ";" [/code] The above sql return all cities in the …

Software Development visual-basic
Member Avatar for Baradaran
0
123
Member Avatar for siddhant3s

Hi, and here i am throwing a "not the exact version" of my problem, but if this is been solved, my problem is done. Lets suppose i am building a application in c++ that will simply display the content of a text file. I absolutely can make the app take …

Software Development c++ file-system
Member Avatar for siddhant3s
0
115
Member Avatar for stockton

I have some C code that, when compiled under Linux, works perfectly as a CGI. This same source compiles perfectly with Visual C++ producing an exe. My question is how do I use this as a CGI in a Windows, Apache environment. Can I just place the exe in the …

Software Development apache c++
Member Avatar for stockton
0
121
Member Avatar for maydhyam

Hi, Could anyone help me with this problem, the following code contains the GUI for a chargeback application which was handed on to me. I want to be able to test the components DC1 and DC2 to make sure information was entered when the btnGenChargeReport button is clicked... :?: I …

Software Development gui java java-swing
Member Avatar for maydhyam
0
759
Member Avatar for Geard2

I was wondering if anyone happens to know any good c++ books to learn linked list (single, double, and/or circular)? Something that has explains with code to show how to do it and explanations to the code if possible.

Software Development c++ linked-list
Member Avatar for Sky Diploma
0
90
Member Avatar for anbuninja

so im working on my assignment and it says Percentage of ticket revenue which goes to administrative costs. This input will be entered in percent format (see sample runs below); your program must convert this to a decimal fraction. For example, the user enters 25% as 25, not .25; you …

Software Development c++
Member Avatar for anbuninja
0
140
Member Avatar for ChroNoS

I am trying to replace a string with another string in a string, but it is just not happeneing and is driving me crazy :@ and I am really confused :confused: Here is the snippet : [CODE] Dim strHex2 As String strHex2 = strHex.Text Dim Mystring2 As String Dim GG …

Software Development visual-basic
Member Avatar for Teme64
0
219
Member Avatar for slayman89

Thank you in advance, i have starred at this for a couple hours now and i have come to no conclusions. First off, this is an assignment to teach us how to use header files, this is the header that we were provided with: Complex.h [code=syntax] #ifndef Complex_H #define Complex_h …

Software Development c++
Member Avatar for slayman89
0
100
Member Avatar for BINDERJ2

[code]#include <iostream> #include <iomanip> #include <cstring> using namespace std; int main() { char name[40]; double date1; double date2; double date3; double h1; double h2; double h3; // Name of pole vaulter cout << "What is the name of the pole vaulter? "; cin.getline(name,40); // Month1, Vault1 cout << "What was …

Software Development c++
Member Avatar for BINDERJ2
0
113
Member Avatar for Dr_Pepper

Hello, my question is how can I read decimal from txt file? For Example expression "2.0 1.3 +" - postfix to calculate it. The one that I have right now work for integers but when it starts reading it chops of the decimal part. I can figure out what i …

Software Development c++ file-system ios
Member Avatar for ArkM
0
130
Member Avatar for Sky Diploma

[code=cplusplus] string countx(string sky) { int count=0; for(int x=0;x<=sky.size();x++) { if(sky[x]=='x') { sky.erase(x); ++count; } } stringstream ins; string bang; // Declare an input string stream. cout<<"count " <<count; ins << count; bang = ins.str(); sky=sky+"x^"+ bang; cout<<"Sky == "<<sky<<"\n"; return sky; } [/code] Writing a function that will take …

Software Development c++
Member Avatar for Sky Diploma
0
99
Member Avatar for Jennifer84

When reading a txt file I am using .seekg to set the startpoint in the file to read from. linepos has a value: 1002106 First I wonder what this value stands for excatly. As I have understand this is how many characters forward in the file that will be the …

Software Development c++
Member Avatar for Jennifer84
0
339
Member Avatar for matejkralik

Hello people, I need your advice, what to do. I use LINQ stored procedure to select all data from sql table to DataGridView: EtiketyLINQDataContext EtiketyData = new EtiketyLINQDataContext(); IEnumerable VypisDat = EtiketyData.Vypis("Cislo", "Typ", "Hrubka", "MaterialTyp"); LINQdataGridView.DataSource = VypisDat; The problem occurs with this line: `IEnumerable VypisDat = EtiketyData.Vypis("Cislo", "Typ", "Hrubka", …

Software Development
Member Avatar for matejkralik
0
553
Member Avatar for dinilkarun

hi Friends, I have used sizers for one of my frame which has Checklist box. THe checklist box is not displayed at first but on slight resizing the Checklist box is displayed. Please assist in this regard. Regards Dinil

Software Development display python
Member Avatar for dinilkarun
0
163
Member Avatar for Geard2

I am new to link list and I have this problem where you have two lists. One list pointed by HEAD has a list of numbers in it, and the second list pointed by LARGE that contains the highest element(s) in the list pointed by HEAD. Each element has three …

Software Development algorithm c++
Member Avatar for stilllearning
0
114
Member Avatar for JackDurden

Im having real trouble seeing this, how do I delete something out of a linked list if it is already there? My current delete function just deletes everything out of the list. the text file contains numbers like this: 75 85 95 25 35 75 85 95 25 [CODE]#include <iostream> …

Software Development c++ linked-list
Member Avatar for JackDurden
0
86
Member Avatar for ihatehippies

So I made this script call auto ascii encrypter and it basically goes character by character through a script and converts it to ascii numbers. It makes a new a script using the ascii numbers. But I get an error no matter how simple the script is. 'invalid syntax.' Heres …

Software Development encryption python
Member Avatar for Gribouillis
0
132
Member Avatar for Talli

can someone make a simple program that prints numbers in series depending on the persons input .. for eg :- if input is 5 then output should be : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ....please help asap .. thank you …

Software Development c c# c++
Member Avatar for Talli
0
133
Member Avatar for Lone | Wolf

hello, I'm new to the language and so far as I can tell this should work but it isnt. Sorry its probably just a newb mistake but i've spent hours on this silly error (and used search). [code]var call_start, call_length : integer; discount, cost: real; answer: char; const normal_price = …

Software Development pascal
Member Avatar for LizR
0
126
Member Avatar for mhangman

hi, im trying to write a macro script but i need help about to using buttons.(on keybord not another device) i can define a button(with "input" for numbers if am i not wrong?) but how can use that? i want to push that button not print it or add it …

Software Development python
Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Stefano Mtangoo

Hello guys, I'm trying to make a program that will : at startup it will give you login Dialog which will connect to database. Then it will bring Main window displaying tables. Then I have Another dialog to do some editing of Tables. Here are my two Questions: Is it …

Software Development gui python window-manager
Member Avatar for Stefano Mtangoo
0
182
Member Avatar for k2k

hi, as far as I know if i wanna read external text document, i can either do: [code] BufferedReader reader = new BufferedReader(new FileReader("xxx.txt")); or Scanner reader = new Scanner(new File("xxx.txt")); [/code] my first question is, what is the difference between BufferedReader and Scanner? And what is the difference between …

Software Development java
0
70
Member Avatar for redZERO

Hi again What is the name of the component in programs where there is: a 2 character text field and on the side there are up and down arrows to increase or decrease the value in the text field. There is usually one in the "Print" dialog in MSWord, with …

Software Development api java
Member Avatar for redZERO
0
111
Member Avatar for sanchyvil

Hi I want to know how to compile c++ codes using the command prompt in windows. In linux I do [code]g++ filename.cpp -o filename[/code] and run it using [code]./filename[/code] but for windows when I try this procedure in compiling i got an error message [quote]'g++' is not recognized as an …

Software Development c++ ide
Member Avatar for sanchyvil
0
355
Member Avatar for sunveer

i want to know what are the lower triangle and upper triangle mean in a matrix. For eg: if matrix is [ 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ] then what will the lower triangle and upper triangle in this …

Software Development c++
Member Avatar for ArkM
0
97
Member Avatar for luisvega

Hi, i have a problem with a vector. I declare a vector<char*> moves; in header. Code: [code] void LogView::init(){ int a = 0; while (LogFile.good()){ LogFile.getline(line, 6); moves.push_back(line); cout << "vector :"<< moves[a]<< endl; // here is OK a++; } moves.begin(); cout << "vektor :"<< moves[1]<< endl; // here is …

Software Development c++
Member Avatar for luisvega
0
2K
Member Avatar for needhelp83

I am brand new at C++ and I have a programming assignment I have to do. I have to create a directed graph and perform a breadth-first traversal. I have to use an adjacency linked list implementation without using any existing libraries as Standard Template Library. Where do I begin? …

Software Development c c# c++ linked-list
Member Avatar for needhelp83
0
144
Member Avatar for Aus89

I am getting a the warning "assignment from incompatible pointer type" when compiling my code, I have spent ages trying everything I can think of, but I am not very experienced at using C so it is probably something really simple that I just can't see. I have commented the …

Software Development c queue
Member Avatar for Salem
0
2K
Member Avatar for DemonGal711

Ok, this is probably really stupid, but I'm lost and want someone else to say what they think. My teacher gave us an assignment and said that everything was in the file she sent us. So, I opened it and filled in all the coding as far as the comments …

Software Development c++
Member Avatar for DemonGal711
0
88
Member Avatar for freelancelote

Hi, is it possible to find out the size of an array created on the free store? thanks

Software Development c++
Member Avatar for freelancelote
0
126
Member Avatar for atularora66

I'm new to java and we have to create a program telling the user how much of their income will be taxed based on rates given out by the government of Canada. I am getting 2 errors, one saying that "variable federal might not have been initialized" and the other …

Software Development algorithm java
Member Avatar for atularora66
0
105

The End.