132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Deva.VG

Can i get java code to convert the image into binary bits.

Software Development image java
Member Avatar for JamesCherrill
0
77
Member Avatar for bigskinny

i can't figure out where to even start with this. You will generate a set of data simulating (unrealistically) peak daily temperatures over a 100-day period. Your program will have the following parts and perform the following operations: (1) Two initially empty array with size 100 and data type "double". …

Software Development c++
Member Avatar for redburn
0
119
Member Avatar for beshoyatef

Here i draw the board for chess and put all pieces in there places on the board ... then i want when i pressed by mouse on the board give me the value of x , y . I tried with all things but i cann't solve this problem please …

Software Development java
Member Avatar for VernonDozier
0
78
Member Avatar for lukerobi

lets say i have 2 lists: lista = [1,2,3,5,6,7] listb = [4,5,6,7,8,9,10] The lists can be different lengths, and may not allways be unequal lengths. The higher average will allways be in listb, so that is the 1 constant we can rely on. This works for even teams: [code] average …

Software Development python
Member Avatar for vegaseat
0
99
Member Avatar for ayan2587

thanx buddy... that was helpful... well i have one more doubt... the method you gave above is cool if i take input from stream... what if i pass a decimal or hexadecimal integer to a function from my main function..and then have to decide in that function whether the argument …

Software Development c++
Member Avatar for ayan2587
0
118
Member Avatar for santosh.garg

I am using command object in for loop on first time execution it inserts the record but the next time it gives an error Multible OLEDB error following is the code I use Set rssave = New ADODB.Recordset Set cmd = New ADODB.Command 'cmd.ActiveConnection = GCon 'cmd.CommandText = "prc_Invoice_Insert" With …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
146
Member Avatar for jrosh

[ATTACH]11999[/ATTACH] How can I add above type text into a JTextfield??????? I mean the faded texts as "username".. It should be ok to erase them when entering text into the field.. How can I do it?? thankx in advance.

Software Development java
Member Avatar for parry_kulk
0
903
Member Avatar for HelloMe

Good day everyone!!! Pls dont kill me when a forum like this already exist but i was not able to find one through the search function. The purpose of this forum is, that skilled programmers will tell beginners how they managed it to become a programmer. Like what book was …

Software Development visual-basic
Member Avatar for Nerrisa
0
109
Member Avatar for francoise

I have a function and I want it to output one word in the current cell and one in the cell to the right (i.e., the next column). Is there a way to write this in VB? So, something along these lines (though this doesn't work): [code] Function test(word1 As …

Software Development visual-basic
Member Avatar for shiftingspanner
0
393
Member Avatar for Xessa

Hello. I'm trying to convert Calendar to dd/MM/yyyy format. My problem was it couldn't convert to exactly what i wanted. I'm Turkish so when we write a date, we write the day first then month then year... My code is here [code] public static String toFormattedDateString(Calendar input){ String year = …

Software Development java
Member Avatar for Xessa
0
161
Member Avatar for santhanalakshmi

Hi, This is my coding......... Private Sub Command1_Click() Dim xlApp As Excel.Application Dim Wb As Excel.Workbook Dim ws As Excel.Worksheet Dim name As String Set xlApp = New Excel.Application Set Wb = xlApp.Workbooks.Open("E:\Projects\VB Excel to textfile\crse.xls") Set ws = Wb.Sheets(1) Open "C:\rolllist.xls" For Output As #1 For i = 1 …

Software Development visual-basic
Member Avatar for francoise
0
347
Member Avatar for deepak12333

hi I am in deep trouble to loose my job please help me I am working on a website where a user comes and login when it enters a pop up screen appears where it is written continue or remind me later now i am unable to handle this functionality …

Software Development asp.net vb.net visual-basic
0
130
Member Avatar for lolwtf

Hi Experts, At the office, we are trying to decide if we want to go with Crystal Reports or ComponentOne. If anybody has used both could you list some advantages and disadvantages? Thanks!

Software Development vb.net
Member Avatar for TomW
0
174
Member Avatar for frankycool

I have a problem with the Nesting of case statements. This is a Simple restaurant program which simulates food ordering. I used Case statements to Display Multiple nested menus base on the users choice But i seem to have a problem with the esac,seems my nesting is wrong.Pleas any help …

Software Development apple shell-scripting
Member Avatar for cfajohnson
0
165
Member Avatar for Umarmai

Pls, I need help on using shell function to call up the system Date and time setting in my application. Thank u.

Software Development vb.net
Member Avatar for Ramesh S
0
79
Member Avatar for Kimberley Smith

I am new to this forum and very new to vb.net. The previous programmer wrote a program in vb.net that helps us with our merchandise received transactions. It is now getting the following error: "System.Data.SQLClient.SQLException Timeout Expired. The timeout period elapsed prior to completion of the operation or the server …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
189
Member Avatar for gtey

I need to write an application that reads three intergers and prints their average, 2- write an application that reads two floating point numbers and prints their sum, difference, and product. I am doing programming projects in Java software solutions 5th edition for school. _______________________- [URL="http://ltseo.com.au/"]SEO[/URL]

Software Development java seo
Member Avatar for javaAddict
0
137
Member Avatar for maddy1985

When the program is given a multicast address it should print the corresponding mac address, along with a list of the 32 overlapped multicast ip addresses. ./ipcalc.pl 224.1.1.1 255.255.255.255 Class D (Multicast) Address: 01-00-5e-01-01-01 Overlapped Addresses 224.1.1.1 224.129.1.1 225.1.1.1 225.129.1.1 226.1.1.1 226.129.1.1 227.1.1.1 227.129.1.1 228.1.1.1 228.129.1.1 229.1.1.1 229.129.1.1 230.1.1.1 230.129.1.1 …

Software Development c
Member Avatar for yellowSnow
0
100
Member Avatar for ShailaMohite

Hi I am create one application in which add some selected images into flowlayoutpanel but how to remove memory assigned to particular images in flowlayoutpanel [B]It give some error like this[/B] (the process can not access the file "C:\Images\xyz.jpg" because it is being used by another process)

Software Development
Member Avatar for Geekitygeek
0
127
Member Avatar for scantraXx-

Hey guys. I need help on how to set a specific element that I insert into my vector of bool type :S [code] set::set() { cardinality = 0; setlist.resize(DEFAULTSIZE, false); } void set::insert(int x) { if (x >= 0 && x <= DEFAULTSIZE) { setlist.insert(setlist.begin(), 1, x); x = true; …

Software Development c++
Member Avatar for dkalita
0
189
Member Avatar for DARK_BYTE

Hello I wrote a class Employee and a tester class TestEmployee.The problem is that I get this exception after I enter the first employee's id.I thght if I give default values to the instance field the exception shouldn't have occured; can someone help me with this please: Employee class: [code] …

Software Development java
Member Avatar for DARK_BYTE
0
151
Member Avatar for sonia sardana

I want to change the value & its backcolor of cell. On Button1_Click,I m adding records to the Gridview. On Button3_Click,I want to chnage the value of cell & its backcolor. Suppose two Rows & two columns are there in Grdiview 1 10 2 20 Suppose I want to change …

Software Development vb.net
Member Avatar for sonia sardana
0
117
Member Avatar for sonia sardana

I was asked Suppose there is table A in DB,Suppose when we update that table,whose are two tables(Magic tables) that are updated other than table A?

Software Development vb.net
Member Avatar for sonia sardana
0
247
Member Avatar for krajad

Hi all, Got a real pain of a problem. Im using vb.net to write a dll for third party software (PreS) that has no COM interface but allows functionality to call DLL's. But it requires an entry point of UserInstruction. I have been doing some research and have found seen …

Software Development vb.net
Member Avatar for krajad
0
190
Member Avatar for vipints

Hi all, I am using scipy.io for switching from python to matlab. here is my list of list in python code = [[[1, 2], [3,4], [5, 6]], [[7, 8], [9, 10]]]. I want to convert this to matlab format. For that I used a code scipy.io.savemat('/tmp/out.mat', mdict={'Num': (code[0], code[1])}) but …

Software Development python
Member Avatar for vipints
0
355
Member Avatar for rdevi

Hi all, I am new to Perl. I am trying to send a variable which contains the location of my executable (eg: C:\temp) to system function. i initialized the variable as, my var1="C:\\temp"; when i print this line i got : C:\temp as o/p. To start the executable i did: …

Software Development perl
Member Avatar for rdevi
0
133
Member Avatar for gauntex

I'm having trouble with my program. I believe I've figured out most of it, but there's one thing that I still have no clue about. That's how to go through a string and check whether it's a digit or letter. I figured I could do something like this to remove …

Software Development assembly
Member Avatar for wildgoose
0
9K
Member Avatar for Gaiety

Hi, help me in completing my program. i dont get the logic how to make my program work for both the inputs. just compile and run will come to know the problem. this program is to create the infix tree for the given expression. if the expression is given completely …

Software Development c
Member Avatar for dkalita
0
281
Member Avatar for jobseeker97

Please tell me the major difference between the capital character with single inverted comma and double inverted comma in a C Program.

Software Development c
Member Avatar for Arcaiz
0
145
Member Avatar for talablink

how do you add a key listener to a java GUI? can anyone pls show me how... or at least give an example..pls:) cause I want to add a key listener to my GUI calculator but I don't now how or where to put it and stuff...:-/ thanks...

Software Development gui java
Member Avatar for phamvantu_ctk30
0
161
Member Avatar for shahab03

I have following code which reverses any input provided using recursion. I am trying to understand what each line of code does. so I can have a better understanding. so I have some questions, wondering if someone can help me understand whats happening in the code. I have commented each …

Software Development assembly
Member Avatar for wildgoose
0
166
Member Avatar for kahaj

For some reason, line 67 is saying, "variable ddOption may not have been initialized. However, on lines 80 & 93, that variable is used and works just fine. Any idea of what's wrong here? (I omitted some of the code in the middle section. [code] //ShapeCalculator.java import java.util.Scanner; public class …

Software Development java
Member Avatar for kahaj
0
119
Member Avatar for wyett

So, I am currently having 2 issues with my code. Problem 1: Any value entered in for the GPA that isn't a number causes an infinite loop. (example: enter in the letter X) Instead of giving an error message, it just goes into that infinite loop. [CODE]bool right = false; …

Software Development c++
Member Avatar for wyett
0
159
Member Avatar for maddy1985

I need to write a program that parses an ip address and subnet mask and prints out the associated network id and host id. The program should accept the ip address and subnet mask as input parameters, e.g., ipcalc 192.168.1.129 255.255.255.240 The output should display the class of the address, …

Software Development c++
Member Avatar for maddy1985
0
848
Member Avatar for coollife

what i have done is i have allowed assume abc.com , apart from this if u enter any website in IE , the IE will get closed. For this to happen i have used Timer control and in timer control i am checking the IE toolbar contents . I am …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
84
Member Avatar for patstarks

Hello, I have a .vbs file called Replace.vbs that: 1. opens a text file, test.txt 2. finds a string, orig_name 3. replaces string with new_name The file runs and works fine if I go to Start-->run-->cmd and type cscript replace.vbs ".\test.txt" "orig_name" "new_name" However when I go try to run …

Software Development visual-basic
Member Avatar for cguan_77
0
460
Member Avatar for nanoooosha

Hello, I have this function void smallAverage(int *array, float *average, int *numSmallerThanAverage ); which returns in the parameters, average and numSmallerThanAvergae, the corresponding result. average is the average value of all the elements of the array. numSmallerThanAverage is the number of elements in the array which are smaller than the …

Software Development c++
Member Avatar for Dave Sinkula
0
136
Member Avatar for Frederick2

Been meaning to ask that question for a long time. With Visual Studio 6 I seem to recall I had to include iostream.h to use the CString class. Do I have that right? I think I also had to specify in a configuration dialog that I wanted to either link …

Software Development c++ gui visual-studio
Member Avatar for Frederick2
0
302
Member Avatar for sweebez

Hello! I'm having a bit of confusion here regarding toStrings and Constructors. Namely, why would you ever need them? I have a project for my course, and in it, I use a method that checks for a creature's "energyLevel" to see if that creature is still "alive". This method returns …

Software Development java
Member Avatar for 0805638
0
637
Member Avatar for LaurenR

I have a program that will ask the user to enter 10 elements into an array and then ask them to delete one of them. I have written the classes to delete one instance of the element and that works. Now I have to write one that will delete all …

Software Development c++
Member Avatar for LaurenR
0
105
Member Avatar for ramsdellcp

[code=c++] #include "stdafx.h" #include <time.h> #include <stdlib.h> #include <iomanip> #include <iostream> #include <string> #include <fstream> #include <cmath> #include <stdio.h> #include <cstdlib> #include <sstream> #include <vector> using namespace std; int main(); class Hangman { public: void set_values (string, string, string, string, string, string, string, string, string, string, string, string, string, string); …

Software Development c++
Member Avatar for DdoubleD
0
111
Member Avatar for jsapp36

Hello - I love this site and often visit to search for answers to problems I have with homework. Well I finally ran into a brick wall with this one. Hopefully I can get some help, or at least pointed in the right direction. I usually can figure things out …

Software Development c++ file-system ios
Member Avatar for Lerner
0
107
Member Avatar for jacquelinek

A protein entry on swissprot database be something like this: ID ATF6A_HUMAN AC P18850; O15139; Q5VW62; Q6IPB5; Q9UEC9; DT 01-NOV-1990, integrated into UniProtKB/Swiss-Prot. DE AltName: Full=Activating transcription factor 6 alpha; DE Short=ATF6-alpha; OS Homo sapiens (Human). RN [10] RP REVIEW. RX MEDLINE=21376119; PubMed=11483355; DOI=10.1016/S0378-1119(01)00551-0; RA Hai T., Hartman M.G.; RT …

Software Development perl
Member Avatar for Reiner Dieden
0
189
Member Avatar for jineesh

Help!! I need to get the text or value displayed in datagridview columns. how can i do this? regards Jineesh

Software Development
Member Avatar for mbeck99
0
88
Member Avatar for EntangledDesi

How do I go about coding the 'Calculate button' so that when a user is prompted to input a number into a Input box it will will calculate the square and square root of it? This is what I have so far. I'm pretty sure about the first part, but …

Software Development visual-basic
Member Avatar for EntangledDesi
0
86
Member Avatar for quintoncoert

I have received a library in dll format with a .h header file. When I instantiate an object from one of the classes I get an access violation error. It is a run time error; the program compiled bug free. The program even runs. It is just at the exact …

Software Development c++
Member Avatar for Basicgear
0
589
Member Avatar for scantraXx-

Hey guys. I need help with these questions please :( 1. Write a function that takes as a parameter a queue of integers and returns a copy of the queue with all the elements stored in reverse order. Use a stack as a helper data structure. [code]queue<int> reverseQueue(queue<int> q) // …

Software Development c++ data-structure queue
Member Avatar for chunalt787
0
143
Member Avatar for hollywoood69

I am having a problem writing from a outside file. here is the assignment. Write the program as an object-oriented C++ program that allows the user to select which way they want to calculate a mortgage: by input of the amount of the mortgage, the term of the mortgage, and …

Software Development c++ file-system
Member Avatar for Kashaku
0
199
Member Avatar for railmaster7

I'm having trouble figuring out how I would replace a value in my vector once it is found by the if statement. [code] void ExprTree::setVariable(const string& s, double d) { vector<Variable>::iterator pos; for(pos = varList.begin(); pos!= varList.end(); ++pos) { if(pos->data = s) ; //here is where i'm stuck else if(pos …

Software Development c++
Member Avatar for chunalt787
0
144
Member Avatar for AutoC

Hi, I'm not clear as to when memory is allocated from the stack, free store or data area.Can someone please elaborate?

Software Development c++
Member Avatar for chunalt787
0
102

The End.