132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for adil_bashir

Can anyone help me to convert String to BigInteger. please

Software Development java
Member Avatar for adil_bashir
0
1K
Member Avatar for madao

So i am currently working on a project about enrollment system and I am having a problem with transferring items from one listview to another. I've been stuck on this problem for a while now. And I'm wonder if you guys and help me out. Here's a photo: [ATTACH]23978[/ATTACH] I …

Software Development listview vb.net visual-basic
Member Avatar for madao
0
200
Member Avatar for msrikanth

Hi Everyone, I need a replace a string (ex : this) with the string (ex : that) in each line of a file (sample.txt) using a C Shell Script and I am not allowed to use sed,awk and replace command in the unix , So i tried to use tr …

Software Development shell-scripting unix
Member Avatar for histrungalot
0
7K
Member Avatar for Candace Parker

Hello everyone! I have here a code with a random-access file that lets you delete and update any information in the file. Please run the file to see what I'm talking about. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; #include <cstdlib> int choice; void displaysmenu(void) …

Software Development c++ file-system ios linked-list
Member Avatar for Moschops
0
3K
Member Avatar for notuserfriendly

I am starting a new project and i plan to use c# for it. Basically what it entails to is reconfiguring a large am mount of config files. 100+ of them. They are each named differently but are prefixed the same (ex: CONFIG_FILE_xxxxxx , where x changes). Inside the files …

Software Development c# file-system
Member Avatar for thines01
0
305
Member Avatar for TIM_M_91

Hi guys well what I want to do is play a video clip when my program starts. My menu has been set up to how I want it to look. I've researched how to do this but I cannot seem to find anything that I want. All I find is …

Software Development java java-swing video
Member Avatar for TIM_M_91
0
487
Member Avatar for Dec28

Alright guys, I've been trying to think how to do this and I keep confusing myself. It's part of a project using piping in UNIX but first I need to get this small program running properly. I want to pass the final result (Hex value) to another program that will …

Software Development c c++ unix
Member Avatar for histrungalot
0
247
Member Avatar for collin_ola

Hi, I am trying to split a single line of data into three separate parts so that they can be displayed in different textboxes. The data looks like this: item1_item2_item3 The code that I tried is: [CODE]Dim arrayLines() As String Dim record As String record = Subs.Text arrayLines = record.Split("_") …

Software Development vb.net
Member Avatar for collin_ola
0
164
Member Avatar for choosechrist

I know how to set the tab order on the forms on VB.net. but i want to set such that when i press enter while on the form, the cursor will go to the next textbox based on the tab order set.

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
111
Member Avatar for kosay

hi I have MS Access Data Base with tow tables table 1 has relashiship with Table 2 when I try edite tabe 1 error message shown tell me I can't edit table 1 do you have examble for this ?

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
93
Member Avatar for Zssffssz

Im writting a very simple command-line. I want the > Charecter to come up every time a command ha finished what it's doing (easy) AND when the user presses enter with nothing on it. For example ($ is currssor) I want this: [CODE]> >$[/CODE] Not this: [CODE]> $[/CODE] How would …

Software Development c++ unix
Member Avatar for tom12
0
198
Member Avatar for artemix22

can anyone help me please.. i'm stuck with this thing for 2 days.. i have try to find answer from one forum to another, and it is give me heavy headache. what i want is that my panel size in my form has a function as print area, in my …

Software Development vb.net
Member Avatar for artemix22
0
754
Member Avatar for Kitty17

Hi guys, I'm new to this website so if I made some mistake please forgive. :) I just want to learn more about Python , I'm new to Python and i'm trying to improve. Here is my work (took some help from Daniweb) i just want to ask that how …

Software Development python
Member Avatar for Lucaci Andrew
0
696
Member Avatar for Hitman Mania

So I'm doing this simple draw program where I let the user click a button, i.e. Rectangle, and then click any desired place on the JFrame to draw it. Now, I want the user to first click on the JButton, then click anywhere on the JFrame (so that I get …

Software Development java
Member Avatar for JamesCherrill
0
169
Member Avatar for NCl

The title says it all; I want to make a simple, not all-over-the-place HTML code. I'm asking for help since I'm still in middle school. I understand a lot of code, but if you give me a from college class explanation, it's not going to help until I get to …

Software Development html-css vb.net visual-basic web-browser
Member Avatar for thines01
0
300
Member Avatar for Samwal

Hey there guys, this is my first post here. Really pretty website I must say. I guess you'd expect a programming website to be well built. Haha. But anyways, I've been having some problems recently with a JFrame. I'm a beginner, but I usually do pretty well with resolving errors. …

Software Development image java java-swing
Member Avatar for JamesCherrill
0
218
Member Avatar for emman

This is my first post. I am a novice in VB.NET. I am able to hide form1 from from2. But I am not able to close the form1 or exit the application from form2. Is there any way in which I can exit the application except from the startup form …

Software Development first-post vb.net
Member Avatar for M.Waqas Aslam
0
169
Member Avatar for saneeha.nust

I want to update some record in access data base, but the update command is not updating the table... Insertiion is working fine.. the code is: com = new OleDbCommand("UPDATE ServerAuthorisation SET Permissions=@permission WHERE UserName=@user_name", conn); conn.Open(); if (conn.State == ConnectionState.Open) { com.Parameters.Add("@user_name", OleDbType.Char, 100); com.Parameters.Add("@permission", OleDbType.Char, 100); com.Parameters["@user_name"].Value = …

Software Development
Member Avatar for saneeha.nust
0
171
Member Avatar for biojet

Hi all, I am trying to make the script to find 3 amino acid at the position form the diffirent sequence into the same file data. in put 1: [CODE] Name posi 14067_contig01 18 14067_contig05 8 14067_contig03 26 ....................... [/CODE] in put 2: [CODE]>gi|354512101|gb|AGQQ01000001.1| Corynebacterium glutamicum ATCC 14067 Contig01, whole …

Software Development perl
Member Avatar for biojet
0
312
Member Avatar for Fitchie

I have never used Python before, and unfortunately, this makes me completely ignorant. For this I apologise. I have a Dell Dell Latitude D430 laptop running Mint Katya I am attempting to start up a python script which is used to program 4 servos. I have python 2.7.1-0 as supplied …

Software Development gui os-x python tkinter ubuntu
Member Avatar for Fitchie
0
295
Member Avatar for pwolf

The exercise says the following: """ Pairwise comparision of DNA sequences is a popular technique used in Bioinformatics. It usually involves some scoring scheme to express the degree of similarity. Write a function that compares two DNA sequences based on the following scoring scheme: +1 for a match, +3 for …

Software Development python
Member Avatar for TrustyTony
0
1K
Member Avatar for mehnihma

I have problems with choosing a line and to find a number or times specifif word repeats in that line? Can you help me with that? [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class DefectInspector { private JFrame frame = new JFrame(); private JPanel p1,p2,p3,p4; private JMenuBar jmb; private JMenu …

Software Development java java-jsp java-swing
Member Avatar for stultuske
0
116
Member Avatar for Esmerelda

[code] #include<stdio.h> main() { int a=1; switch(a) { case isdigit('1'):printf("Hello"); } }[/code] This code works fine Hello is printed [code] #include<stdio.h> main() { int a=1; switch(a) { case isalpha('a'):printf("Hello"); } }[/code] But this code gives an error It says case label does not reduce to an integer

Software Development c
Member Avatar for WaltP
0
127
Member Avatar for adil_bashir

hello, i have written the below piece of code for calculating the power function, but when i run the program, it shows the wrong result and i verified it by calculating manually. so please help me to get the correct result. [CODE] public class powerFunction { public static void main(String …

Software Development java
Member Avatar for dantinkakkar
0
168
Member Avatar for shadow29014

I have a program which sorts numbers written for a text file. For example input.txt contains 4 2 0 3 4 1 2 0 7. The fist number is the number of the data points, and the following are the (x,y) coordinates. Here's my code: [code] #include <iostream> #include <fstream> …

Software Development c++
Member Avatar for WaltP
0
227
Member Avatar for bhagawatshinde

Hi Guys, I am developing an windows application which is downloading file from webserver using FTP, my question is can i download file using HTTP. can anybody help me with some source. I am downloading a xml file. Thanks in advance.

Software Development c#
Member Avatar for bhagawatshinde
0
3K
Member Avatar for spikeyMikey737

I am trying to create an if statement that when the user releases the left mouse button it will write that out to a text file. I have tried multiple different scenario's and have had no luck, here is some of what I have tried. Thanks for your help! [CODE]if(mouse_event …

Software Development c c# c++
Member Avatar for BobS0327
0
440
Member Avatar for prasenjit_das

Hi all, How i do the factorial very large number in c++ ..Please give me sugestion and code thanks in advance

Software Development c++
Member Avatar for jmichae3
0
235
Member Avatar for freedomflyer

Hello y'all. I am in the midst of an exciting project, and I've hit a little bump. I'm trying to do a 'deep copy' of a TreeMap<String, State> [B]so that I can work with one (delete, insert, etc...) and preserve the other for later.[/B] Instead of having to code up …

Software Development java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for igotaquestion

How to implement a DHT in Java? Basically I need to know how to implement a lookup algorithm for DHT. The idea is to grasp java RMI and lookup algorithm of DHT.

Software Development algorithm java
Member Avatar for dantinkakkar
0
159
Member Avatar for glut

How would I be able to get all incoming packets, in C#? I have absolutely no idea on how to get started, so could you guys help me out? Thanks.

Software Development
Member Avatar for skatamatic
0
123
Member Avatar for Mxlfa

Ok you guys are my last hope, i've tried searching what i need and i cant find it. i really tried searching.... but i just don't know exactly what i'm really searching for... i have to do the following project in c# (wrong post haha) but if you could help …

Software Development java
Member Avatar for ztini
0
283
Member Avatar for weIIet

hi all i have a homework for Lehmann primality test and i have to know very big numbers as big as x**(2**128) python is enough for 2**128 but when numbers bigger than it don't do it my teacher python has a structure for it and i didn't find it for …

Software Development python
Member Avatar for Thisisnotanid
0
2K
Member Avatar for cameronchuck

Hi! I am trying to write calculator in c++ that takes an infix expression, converts it to postfix, and calculates. I have the code that will do this written, but when I try to turn it into a class it gives my a Segmentation Fault. Here is my code... [CODE=c++]//calc.h …

Software Development c++
Member Avatar for histrungalot
0
3K
Member Avatar for miss_lovely

Having some difficulties getting this assignment to work. What, I'm having trouble completing is creating an conditional statement that calculates interest for the amount of years entered by the user at the interest rate they enter and displays it in a message box. This is my code so far: [CODE]import …

Software Development java java-swing
Member Avatar for ztini
0
186
Member Avatar for coxxie

Need some help. My game locks up when you go to load file and it just locks up. Please help. [CODE] /* WumpusGame header file Contains the WumpusGame Class. This is the main workhorse of the program, and contains all of the global data, including the master world map. WumpusGame …

Member Avatar for coxxie
0
3K
Member Avatar for riahc3

Hey I have this code [code] FileUtils.forceDelete(new File(nombreprograma+".zip"); FileUtils.forceDelete(new File(nombreprograma+"/"+nombrebmp+".bmp")); [/code] Deleting the zip inside of the root works perfect but for some reason the BMP inside of a folder, doesnt. The error it gives is that it cannot delete the file, nothing else. Any tips?

Software Development java
Member Avatar for dantinkakkar
0
282
Member Avatar for Sonny101

Hi, I am currently doing a JDBC project where I am manipulating data in a Access DB on a table named empDetail and one of my tasks has got me stumped, considering I only started learning about JDBC yesterday. I hope somebody can give me a bit of direction as …

Software Development java
Member Avatar for dantinkakkar
0
134
Member Avatar for aravindj80

Hi, I have 2 large log files in .gz format file1.gz contains abcde 12345 23456 . . . . . . . . 09123 file2.gz contains abcde,1,2,3,4,5,6,7 09123,3,4,5,6,7,7,8 23456,9,6,5,4,3,2,1 .... ... ... ... I am basically looking for a script to open the file1 , read line by line and …

Software Development perl
Member Avatar for histrungalot
0
184
Member Avatar for itsvineethpv

How to add a folder to client computer when installing my windows application. Dear Friends, I have created a windows application using ASP.net and C# . I want to add some documents to client computer when it is installing. I want to get the installation path too. Because some forms …

Software Development
Member Avatar for skatamatic
0
214
Member Avatar for cutterpillow20

Hi sir, could you give me some clue of this problem.. I'm a beginner sir.. display a pattern of half diamond using for loop in turbo c in vertical.. sample: if i input a value of 5, the result will b e like this * ** *** ** * the …

Software Development c++
Member Avatar for grh1107
0
820
Member Avatar for RASHIDDDDD

i need help so how i can make code for these checkboxes and commands .. plz any1 can help me.. even just a hint will be great :)... plzz

Software Development visual-basic
Member Avatar for ChrisPadgham
0
98
Member Avatar for franmaez_0716

My professor told me to put an audio in my program but he did not taught me how to. please help me because i do not have any idea on how to do this thing. i know that you guys are experties so please help me.. tnx alot.. :)

Software Development audio c++
Member Avatar for franmaez_0716
0
2K
Member Avatar for TLSK

I have create in MySQdb a DB with a table named example,in this table i want to save a name, this name is in Greek language.My problem is thw follown when i try to save the name instantly without use textctrl, its ok but when i use textctrl i take …

Software Development mysql python
Member Avatar for TLSK
0
243
Member Avatar for s_s21

Hi, I need to connect to a VGA (or other video computer output) using c# to send out image, Does anyone know how to do it?

Software Development
Member Avatar for BobS0327
0
425
Member Avatar for NPDA

hi :) plz i need a link to download visual studio Professional for free??

Software Development visual-studio
Member Avatar for skatamatic
0
110
Member Avatar for shaffatshah

hello everybody [CODE]void func1(){ // do something //exit the function if some error occurs (like segmentation fault) but continue running the rest of the program } void func2(){ //do something //exit the function if some error occurs (like segmentation fault) but continue running the rest of the program } int …

Software Development c
Member Avatar for deceptikon
0
178
Member Avatar for Robert955

o/ Im working on a game in XNA 4.0 and ive started on making an actionbar. What I have is a tileEngine and if I remove a block I want it to appear in my actionbar. but after I got it in the first column of my bar and I …

Software Development
0
144
Member Avatar for wildplace

so to create a thread all i need is to call this function? and the codes in the "void *(*start_routine)" function is a thread? [CODE]int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg);[/CODE]

Software Development c++
Member Avatar for mike_2000_17
0
94
Member Avatar for rigoalhn

Hey i guuys, i researched for this topic and there were some close titles to this but none exactly helped me. I need a write a boolean function named IsPrime that takes and integer as argument and returns true if it is. I have to demonstrate it in a full …

Software Development c++
Member Avatar for ravingdragoon
0
226

The End.