132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nji2rhyme

Hi, I'm trying to convert random numbers between 0.1 and 1. Here is what I have done. Dim piped As Double Randomize() piped = CDbl(CDbl((1.0 * Rnd()) + 0.0)) If (piped < 1) Then pipediameter.Text = "0" & Str(piped) Else pipediameter.Text = Str(piped) End If But I want the program …

Software Development vb.net
Member Avatar for nji2rhyme
0
338
Member Avatar for newprogramer

It works for the first time but when it loop nothing is stored wondering whats wrong could someone help me out please? [CODE]void main () { char buffer[256] = {0}; char password[] = "test"; char c,i=0; int pos = 0; do { buffer[0]='\0'; printf("%s", "Enter password: "); do { c …

Software Development c
Member Avatar for WaltP
0
157
Member Avatar for fsefsef23

I have set of lines which I read from a file that gets stored as an array stack of characters. A function called procssline gets called with the stored stack as a parameter. One of the lines reads as follows: Nn<-<-<-<-No <-w iz<-sthe<-<-<- the time. Where the top of the …

Software Development algorithm c++
Member Avatar for WaltP
0
690
Member Avatar for radiata

Hello, I'm having problems with one of my codes that I need to finish for class. I'm supposed to write a function that has a partially filled array of characters and it deletes all repeated letters from the array. The program requires input for the size of the array, and …

Software Development c++
Member Avatar for NathanOliver
0
854
Member Avatar for sneekula

Is there a way to read Adobe PDF files with Python?

Software Development adobe pdf python
Member Avatar for rogerluz
0
284
Member Avatar for blah32

I'm trying to convert a bitstring to a signed 32 bit integer value. The bitstring is in big-endian. I can get this to work for unsigned values, I use: [CODE] sub bin2dec { return unpack("N", pack("B32", substr("0" x 32 . shift, -32))); } [/CODE] But I can't get it to …

Software Development perl
Member Avatar for d5e5
0
618
Member Avatar for iamjess147

How would I increment Date with a value from a database. Example: Date + Database Field value (random values) (08/01/2011 + 5 = 08/06/2011) Thanks in advance.

Software Development vb.net
Member Avatar for Mitja Bonca
0
146
Member Avatar for fingerpainting

Say I have a list of lists as follows (which I do): [CODE][['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3'], ['Value1', 'Value2', 'Value3']][/CODE] What I want to accomplish is if in any list Value1 & Value2 equal the Value1 & Value2 of any other list, I want to merge …

Software Development python
Member Avatar for TrustyTony
0
654
Member Avatar for sirlink99

I am creating a program that will simulate a fish tank (got it off of google) and when I try to get the image using [CODE]mClownImage = getToolkit().getImage("Fishes/mClown.gif");[/CODE] the getToolkit() part gives me an error. it suggests that I make a method called that. I have imported java.awt.Container; which contains …

Software Development image java
Member Avatar for NormR1
0
73
Member Avatar for sadsdw

Hi friends, I'm having a problem to write a file and read the same file in sequence. The file size is 4 GB. I tried fstream for both and as second option ofstream and ifstream. I'm reading just the first 2 lines of the file. If I read those in …

Software Development c++ file-system
Member Avatar for sadsdw
0
258
Member Avatar for jobs

I have a file pointer which was assigned in main. In the main, I just open a file to write stuff to it. I want to pass the file pointer to several functions so that they can write to the file. In the fucntion declaration I just add: somefunc(FILE *file) …

Software Development c file-system
Member Avatar for Narue
0
1K
Member Avatar for galhajaj

Hello! :) i need to make something that change the image inside a picturebox every 1000 milisec for a 6 pictures (for example), so i search about a function that can hold the code for this time and i found Thread.Sleep(1000) (after use the "using.Threading" ofcourse) so i put that …

Software Development
Member Avatar for galhajaj
0
217
Member Avatar for KnifeDarky

Hi everyone, I trying to figure out how to execute commands stored in string, let's say i have string called "command" and a textbox, so i want vb to run command that i typed in textbox, e.g. i type in textbox "label1.text = "bla bla"", and then type like "msgbox.show". …

Software Development vb.net
Member Avatar for KnifeDarky
0
1K
Member Avatar for adanaz

Hello I've made a program using JCreator. It was working fine and all of a sudden it won't run anymore. I get this message: [CODE] --------------------Configuration: <Default>-------------------- Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: …

Software Development client-server java
Member Avatar for adanaz
0
2K
Member Avatar for dwinn

Hello, I am currently trying to sort on a GridView after it has been populated with records from a SQL Server Express database. I click on a column to sort it and I get the following error: "DataTable must be set prior to using DataView." The entirety of my code …

Software Development asp.net vb.net
Member Avatar for adam_k
0
147
Member Avatar for MareoRaft

This code compiles but refuses to run. NONE of the cout statements appear, as if the program is in an infinite loop except that its not. [CODE]#include "matrixOpsLibrary.h" #include <iostream> using namespace MattsMatrixSpace; using std::cout; using std::endl; Mat pattern( unsigned K ){ cout<<"5"; Mat alpha; //this becomes our A variable …

Software Development c++
Member Avatar for MareoRaft
0
187
Member Avatar for learn_java

I am interested in learning java online. I am looking someone who is willing to teach online.

Software Development java
Member Avatar for stultuske
0
120
Member Avatar for iamthesgt

I am making a video recording program that takes input from a v4l2 webcam and outputs to an avi file. Using gstreamer in c, I have got most of the program to work, and the file is created. I can get the pipeline to display the video to the screen, …

Software Development c file-stream video webcam
0
169
Member Avatar for ohhmygod

Hi guys, I've been trying for over 3 hours just to know how to compare a char to a letter in a string. This is sure confusing, consider that I am a mechanical eng. student >.< Lets get straight to the point Problem 1: passing string and char to a …

Software Development c++
Member Avatar for WaltP
0
3K
Member Avatar for wackytechie

Hello people..!!:) I'm a beginner in c++.. I made a program today which worked well when I ran it 2-3 times.. But now when I try to run it,nothing happens... All I see is a black screen which disappears in a second.. What to do..??:?: Please help me asap as …

Software Development c++
Member Avatar for NIPHZ
0
4K
Member Avatar for xenhancd

I want to have the ability to rerun the following from the very beginning, however, I have only been able to get it to rerun from the middle of the program where it asks for sales tax. I've tried moving my do/while tags around to everywhere but nothing seems to …

Software Development c++ ios
Member Avatar for Ketsuekiame
0
276
Member Avatar for jackmaverick1

Hi! I've written function that writes to one of eight files. It writes one of the strings, which is associated with a file to that file. There is also a similar one, it just reads from that file and returns it. When I run the program, it does everything correctly, …

Software Development java
Member Avatar for sirlink99
0
326
Member Avatar for e060185

Hello, I need to create a code for formatting a file that I receive from Bloomberg, and has a line break at the end of each line. See below. (I have hundreds of paragraphs like this) [I] Italy’s debt is forecast to rise to 120 percent of gross domestic product …

Software Development visual-basic
Member Avatar for Ezzaral
0
151
Member Avatar for hatebin

Hello Im trying to code something like this [CODE] public class Decoding{ Decoding(InputStream in) //constructor Object obj = new XMLDecoder(in) } } [/CODE] [CODE] public class Test{ public static main(String[] args0){ JButton button = new JButton(); decoder = new Decoding(new FileInputStream("somtheing.xml")); button= decoder } } [/CODE] So as you see …

Software Development java xml
Member Avatar for hatebin
0
116
Member Avatar for agogte20

what main features of C are to be learnt well before starting with C++? Plz reply as soon an possible...

Software Development c++
Member Avatar for mike_2000_17
0
132
Member Avatar for navybofus

Hello everyone! I have a problem trying to get a user to be able to query the database with only the fields and specifics they want. Basically... User logs in, browses through record entries and then wants to see how many of the entries are under the age of 21 …

Software Development microsoft-access sql visual-basic
Member Avatar for navybofus
0
273
Member Avatar for jgat2011

Hi, I am developing a system for a business and would like the server to be one of the computers of the organisation. My problem is that i don't know how to make the database accessible by the other machines. Thanks in advance.

Software Development sql vb.net
Member Avatar for Netcode
0
141
Member Avatar for ctsmith84

Hello, I'm hoping that someone with experience with programming against DB2 can help a new programmer down the correct path. I've been given a project that requires me to pull data from tables in the companies DB2 database, and when all said and done have that data placed into an …

Software Development microsoft-office
Member Avatar for ctsmith84
0
204
Member Avatar for bluehangook629

Hey guys I am trying to use Microsoft.VisualStudio.Data.Services namespace in my project, and I look everywhere to find this namespace but no luck. I was wondering if anyone can tell me where I can go to include Microsoft.VisualStudio.Data.Services in my project. Thanks

Software Development vb.net visual-studio
Member Avatar for bluehangook629
0
122
Member Avatar for bhagawatshinde

Hi, I have blank in this type of question. Suppose i have an 100 records in my sql database. i am creating 100 files for each records (100 records) in 10 min. Now I want to create 200 files in same 10 minutes. Means double files in same time. how …

Software Development
Member Avatar for Ketsuekiame
0
100
Member Avatar for Jessurider

can anyone tell me how to bring jbutton within a jtable.........and how do do the actionperform of the button can i do this in jframe......

Software Development java
Member Avatar for JamesCherrill
0
135
Member Avatar for dashure

hello, i need help to solve this little problem. i have an error here.."cant access privet members declared in class CWorker..with is another class [CODE]void main() { CManager *Sasson = new CManager("Sasson Sassoni"); assert(Sasson); // adds workers Sasson->addWorker("Jojo"); Sasson->addWorker("Shilgiya", 1000); }[/CODE] i also have CManager.h... in CManager.cpp, its only part …

Software Development c c# c++
Member Avatar for laosland
0
222
Member Avatar for nsyncpilu

Hy , I have a example tooken from the internet , and compiler gives me this error : The type CommPortIdentifier is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\comm.jar The code is: [CODE]import java.awt.*; import java.io.*; import javax.comm.*; import java.util.*; /** * Open a serial port using …

Software Development api java
Member Avatar for jackmaverick1
0
140
Member Avatar for dcparham

hi All - total noob[java] here; i have an app on the android written, but i believe the question here is totally java related. after my app adds field1 + field2 + field3 and displays the value in field4, how do i *start over*? thing is, if ea field is …

Software Development android apache java
Member Avatar for jackmaverick1
0
173
Member Avatar for theguitarist

I'm not sure on which forum this thread should have gone,so I'm asking here. I presently don't have a personal computer to work on,and won't have one for another few months.I want to be able to continue practising C++. I have access to a computer centre facility.I don't think it …

Software Development c++ visual-studio
Member Avatar for Narue
0
169
Member Avatar for highlite

I have created a simple gui using a windows form, which consists of some checkboxes, radiobuttons and textboxes. I also have my logic code which consists of several switch case statement and I want to know how to put my logic code into the gui I have created. Does anyone …

Software Development c++ gui visual-studio
Member Avatar for highlite
0
353
Member Avatar for ubayedullah

Hi, How Can i make database programme by using visual basic ???

Software Development vb.net visual-basic
Member Avatar for debasisdas
0
59
Member Avatar for gozo12

i have windows media player then its for etc open an mp3 file i want that when its playing mp3 the song name showing up into a label like Label1.Caption = w1.currentMedia.Name but its not work D:

Software Development visual-basic
Member Avatar for debasisdas
0
86
Member Avatar for james6754

I am taking a step backwards in to C from C#. I am studying C# at University but feel I may be rather restricted as to what I can do later on. For that reason I would like to learn C (also to get a good idea about the real …

Software Development c c# c++
Member Avatar for Narue
0
172
Member Avatar for Roy Gourgi

Hi, I am having some problems at times with converting to double and taking the square root. Sometimes it works and sometimes it does not and I am not sure why! I am adding the sum of the square root of 10 numbers for each of 50 rows into an …

Software Development
Member Avatar for shams.expert
0
254
Member Avatar for PROgamer

Im having a problem with this program why i am not able to set present total price of product if gonna seect the product form combo and the remove button cant get the selected index,retrieve the selected item and remove the selected item from the list using its index or …

Software Development java java-swing
Member Avatar for PROgamer
0
241
Member Avatar for bradploz

how can you connect different user accounts to their respective info? for example:I login as bebi and then, all of my info will show up in a window from ms access 2007 and if another user logs in, the info of that user will show up in the window [B][COLOR="Red"]PLEASE …

Software Development vb.net
Member Avatar for Netcode
0
109
Member Avatar for eVva

I have text box and button when i clik tht button it has to display all the data if it is relevent to the data else it has to say no data . my project is about track cd. name textbox that i want to search is txtTitle.Please help me!!Urgent. …

Software Development seo vb.net
Member Avatar for Netcode
0
210
Member Avatar for biindhe

hi every body, I need to help me,i want search my database by entering Id number in the text box. My project is db_2008 and vb.net 2010. thank u for u'r helping. mohamed abdi

Software Development vb.net
Member Avatar for Netcode
0
224
Member Avatar for dwinn

Hey guys, I have recently programmed a site that enables a user to upload and download files to and from an FTP site. I now wish to take it further by having an email sent out to a specific email account (Outlook 2010) confirming that a file has been uploaded …

Software Development email vb.net
Member Avatar for dwinn
0
174
Member Avatar for sreeram01

Hi, I want to get the information from the website using HttpURLConnection.I wrote this [code]import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; public class webPractice { public static void main(String[] args) { try { URL yahoo = new URL("http://www.yahoo.com"); URLConnection yahooConnection = (URLConnection) yahoo.openConnection(); yahooConnection.connect(); long s=yahooConnection.getDate(); System.out.println("date"+(String)yahooConnection.getContent()); System.out.println("Hi"); } …

Software Development http-protocol java
Member Avatar for JamesCherrill
0
974
Member Avatar for ktsangop

Hi everyone! I am trying for the first time to write "proper" object oriented c++ (ANSI) code. Up until now everything was made easy to me using visual studio and working with mfc or .net which both handle a lot of the "dirty" stuff... To the point : I want …

Software Development c++ oop visual-studio
Member Avatar for ktsangop
0
962
Member Avatar for Prosammer

i was just wondering why can't i point something to void. without getting any errors like for example [ICODE] class cs_PureFunction { public: virtual void DoSomething() = 0; virtual bool CheckThings() = 0; }; class cs_EnableOverrideAction: public cs_PureFunction { public: virtual void DoSomething() { puts("Test123"); } virtual bool CheckThings() { …

Software Development c c# c++
Member Avatar for Prosammer
0
194
Member Avatar for radiata

Hello so basically my project goes like this: Write a C++ program that reads in two positive integers that are 20 or fewer digits in length and outputs the sum of the two numbers. Your program will read the digits as values of type char so that the number 1234 …

Software Development algorithm c++
Member Avatar for Caligulaminus
0
1K
Member Avatar for androidz

I use the splash screen of the vb.net found on windows form.Is there a way that i could put an initializing while my splash screen is running?like other programs do instead of progress bar. thank you.

Software Development vb.net
Member Avatar for Netcode
0
289

The End.