132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for FrodoBaggins

Hi I'm having some problems with an array i have in the definitions [CODE]Dim x(4)() as string[/CODE] then when it comes to my assignments I have [code]x(4)(ss) = (TextBox5.Text)[/code] but it throws an exception (Null Reference) Can anyone help me with this? Thx in advance

Software Development vb.net
Member Avatar for codeorder
0
126
Member Avatar for Shodow
Member Avatar for Shodow
0
1K
Member Avatar for Nailroth

Hey. im trying to make a screen locker mostly to learn more advanced coding but i have a small problem here i have completely no experience in coding and a friend of mine made screen locker for me but its just a black screen and a small window that ask …

Software Development visual-basic visual-studio
Member Avatar for Jx_Man
0
132
Member Avatar for shean1488

Hi everybody. I'm trying to write the program that will read the file and delete blank spaces ONLY after the text. here is the text : [CODE]serg@serg-PORTEGE-Z835:~$ cat sample.txt Now is the [/CODE] here is the the same in hex: [CODE]serg@serg-PORTEGE-Z835:~$ od -x sample.txt 0000000 2020 2020 2020 2020 2020 …

Software Development c
Member Avatar for subith86
0
142
Member Avatar for Jackwong0099

Hey guys, something went really really wrong in the DataGridView with my final project :( it doesn't work the way I want it to be. I'm not sure what's going on please help me... I'm in really desperate need or else I might have to redo everything again. I'm currently …

Software Development open-source vb.net
Member Avatar for Pgmer
0
235
Member Avatar for wonderlandslost

Hello! So I've been working on a 1D array that represents a school bus that can hold up to 10 children. The array needs to have names put into it in the first available 'seat'. I've constructed code to do so, but something seems to be wrong. The findFirstEmpty method …

Software Development java
Member Avatar for wonderlandslost
0
336
Member Avatar for pushpat

Hi folks, I am learning operator overloading concept in c++, wrote sample program to test overloading of unary operator '!' and '-'. Code will work if i use them as friend function but not for member function. Can anybody tell where am i going wrong in function bool operator!(const co_ordi …

Software Development c++
Member Avatar for pushpat
0
341
Member Avatar for cs_1000100

Hello, My question is if I have program programmed by matlab and I want program an interesting interface using another program language such as visual basic ,can I do that? Please give me suggestions about programming wonderful interface using matlap or any other language can integrated with matlap because the …

Software Development mathematics visual-basic
Member Avatar for Jx_Man
0
176
Member Avatar for arubajam

Write a statement that declares and stores the elements of the following array into a vector object: char vowels[5]={'a', 'e', 'i', 'o', 'u'}; I think this is what I need, but I want to verify this. [CODE]char vowels[5]={'a', 'e', 'i', 'o', 'u'}; vector<vowels> vowelsList (vowelsArray, vowelsArray +5);[/CODE]

Software Development c c# c++
Member Avatar for subith86
0
181
Member Avatar for wolf29

I have a lot of backup files with names like Corn-Curl-Server_Backup_2002-02-23.tar.gz that makes sense as [hostname]_[comment]_[date of the backup].tar.gz It is easy to scan it with a human eye and discover the backups older than 28 days so they can be deleted, however the files are in separate folders under …

Software Development python storage
Member Avatar for TrustyTony
0
166
Member Avatar for ustar

hi everyone, following is a part of my assignment and your help will deeply appreciated. Thank you, I'm a complete newbie at python. q) each month should: 1. Calculate the monthly interest payment by multiplying the monthly interest rate, as a fraction, by the remaining principal. 2. Determine the amount …

Software Development legal python
Member Avatar for woooee
0
1K
Member Avatar for Zaad

Hi; This is a code that I got from the examples in Oracle in using the javax.print When i try to compile and run a get an error saying javax.print.PrintException: java.lang.IllegalArgumentException: URI is not hierarchical [CODE]package printtry; /* * Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. * * This …

Software Development file-stream java oracle printer
Member Avatar for Zaad
0
4K
Member Avatar for Moirke

[code]#include <iostream> #include <vector> using namespace std; char img[30][15]; char x = 'X'; int dotLoc[24][2]; int dotNum = 0; int ret[4]; int curDie = 0; int dieNum = 0; int der = 0; vector<int>* readDice(vector<string>&); int dieDots(int, int); void findDots(); bool adjX(int,int); bool traverse(int,int,int,int); vector<int>* readDice(vector<string>& anImage) { // TODO: …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
283
Member Avatar for BrickZ28

Ok so I need to write a program that will get contact info from a file and then be able to update that same with a text box. When a new contact is added you should be able to see it as well. With what I have when I create …

Software Development gui
Member Avatar for hericles
0
858
Member Avatar for VIEBlitz

[CODE]package test; import java.util.Scanner; public class Test { public static void main(String[] args){ Scanner kbReader = new Scanner(System.in); System.out.print("Choose mode (\"words\" or \"symbols\"): "); String mode = kbReader.nextLine(); if ("words".equals(mode)) { String oa = " plus "; String os = " minus "; String om = " times "; String …

Software Development java
Member Avatar for VIEBlitz
0
173
Member Avatar for HEMAMBUJAVALLY

hi friends, i m very newbie to vb.net. i'm using opendialog control to select the database file. this works for me. [COde] Private Sub btnbrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbrowse.Click opendatabase.ShowDialog() txtfilename.Text = opendatabase.FileName End Sub[/COde] Then i need to connect with the actual code. i'm …

Software Development microsoft-access vb.net
Member Avatar for lysezoudn
0
471
Member Avatar for codeorder

Having a bit of an issue with my file.scanner and that issue is that I cannot figure out how to run multi.threading when searching the files within a folder(8,000+ files). [CODE]Imports System.IO Module x Function xGetFolderFilesCount(ByVal selFolder As String) As Integer If Directory.Exists(selFolder) Then Return Directory.GetFiles(selFolder).Length Else Return 0 End …

Software Development vb.net
Member Avatar for codeorder
0
479
Member Avatar for Aleksej

Hello guys. I'am trying to make my search program, so that i can load a text file and search it. I used this code for browsing and opening [CODE] Dim streamer As IO.StreamReader Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click OpenFileDialog1.ShowDialog() TextBox1.Text = OpenFileDialog1.FileName streamer …

Software Development file-system legal visual-basic
Member Avatar for Jx_Man
0
180
Member Avatar for zalel

This is a website I designed a few years ago. The CONTACT and EMAIL SUBSCRIBE forms used to work, and they are broken. When I click on the Submit button, I get a server error saying "The server encountered an internal error or misconfiguration and was unable to complete your …

Software Development pdf perl
Member Avatar for shibblez
0
209
Member Avatar for Dornio-san

Hi, I'm looking for with some pascal code. I have to make a program which allows you to input a name and an amount four times. Then it is supposed to output the name, three percentages of the amount and the maximum of one of the percentage out of the …

Software Development pascal
Member Avatar for Smileydog
0
396
Member Avatar for shean1488

Hi everybody. I'm new in C and would like to know how to delete last elements in the array? lets say I have array arr = {1,2,3,4,5} and whant to delet last two elements. is it possible to do?

Software Development c
Member Avatar for Smileydog
0
10K
Member Avatar for connect4

Hello everyone, By the way im portuguese so , sorry for my english and im new in VB.net so sorry if i dont understand somethings. I really need everyones help, you may think that my question is kind off easy for you , but for me its a bit hard …

Software Development gaming vb.net
Member Avatar for codeorder
0
1K
Member Avatar for computerdude87

Can anyone tell me why I keep getting a value of 0 returned? [CODE] public static void main(String[] args) { double getSum = 0; double getAverage = 0; String num1 = JOptionPane.showInputDialog(null, "Please enter your first number"); String num2 = JOptionPane.showInputDialog(null,"Please enter your second number"); String num3 = JOptionPane.showInputDialog(null, "Please …

Software Development java
Member Avatar for computerdude87
0
127
Member Avatar for floatingshed

My very reason for getting involved with Python was to use it as a gui for some command line programs, like eac3to, sox and neroaacenc. Previously I'd been using batch in windows and had become quite proficient. In batch, a line to process audio with sox looks like this: [CODE]"tools\sox.exe" …

Software Development audio gui python
Member Avatar for woooee
0
289
Member Avatar for yongj

I'm trying to learn hash tables as I am hearing that it'll be utilized a lot in the future (advanced programming). My book, however, does not include any lessons on Hash Tables. Any good references for someone trying to learn Hash Tables? Thank you!!

Software Development c++
Member Avatar for yongj
0
173
Member Avatar for Rakham

I'm using IO.File.ReadAllLines(FileName) to read all lines from text file to array of strings at once. Problem is, text lines include ANSI characters above ASCII value 127 (Scandinavian letters e.g. "Ä" (Ascii 196), "ö" (Ascii 246) and "é" (Ascii 233). Array is build up nicely, but all chars above ascii …

Software Development vb.net
Member Avatar for thines01
0
741
Member Avatar for kikiritce

string s1="Ui"; string s2="uk"; How can I compare them and print result just Uik or uik. not twice Uuik. my program understand such as different values(Uu). Is there any function or something like that? thank you a lot

Software Development
Member Avatar for thines01
0
143
Member Avatar for s_mostafa_h

Hi All ! I want to save or Export the content(Row And Column Cell) of a DatGridView To a XML file .how can i do it ? there is [B]No DataSet Or DataTable[/B] for DataGridView . thanks in advance for any Help !

Software Development dataset xml
Member Avatar for s_mostafa_h
0
2K
Member Avatar for kalcio

hello, I prepare an application uses the result of the command prompt (Runtime.getRuntime (). exec (cmd)) for a command already entered, and displays it in a Textarea, but I notice that if I use a modal box the problem persists, my problem is that this application is in frensh,if any …

Software Development java
Member Avatar for kalcio
0
341
Member Avatar for gibran0503

Hi all, Basically, everything works fine with my app when I work on my own computer. However, when I put it on another computer, I get an error. The error occurs when it tries to instance a class coming from an exterior dll. I tought that it somehow was not …

Software Development
Member Avatar for mazzica1
0
296
Member Avatar for diocode

I'm looking for a command or bash script that will create an index.html file in every directory and subdirectory starting at the current directory. I would like it to prompt to overwrite so I don't delete a good index.html file.

Software Development html-css shell-scripting
Member Avatar for cfajohnson
0
151
Member Avatar for mc3330418

I tried to write the function myself for a switch statement that would take a char and multiply it by a certain amount and then return the total. I'm a little confused on how the object gets passed to the case function. But here's what I got. [CODE] #include <iostream> …

Software Development c++
Member Avatar for WaltP
0
2K
Member Avatar for rekedmc

Hi, I need help with my assignment. Basically I have to make a html page and have the output display in a .cgi file. I am able to change the font and colors in the html page but the output of my cgi file comes out in black font. I …

Software Development c c# c++ html-css
Member Avatar for WaltP
0
348
Member Avatar for remya1000

I’m using VB.Net 2008 application program. I’m using DataGridView. I have a Print option where i need to print the DataGridView. I’m using this code for Printing and for Print Preview. [CODE] Dim MyDataGridViewPrinter As DataGridViewPrinter Private Function SetupThePrinting() As Boolean Dim MyPrintDialog As PrintDialog = New PrintDialog() MyPrintDialog.AllowCurrentPage = …

Software Development vb.net
Member Avatar for Oxiegen
0
1K
Member Avatar for moroccanplaya

i have variable a with binary values then i have variable b with another set of binary values, i want variable b to into variable a and stored into variable c, i hope that not confusing a = "01101000011001010111100100000000000000000000" b = "011000100111100101100101" c = "01100010011110010110010100000000000000000000"

Software Development python
Member Avatar for moroccanplaya
0
120
Member Avatar for Thropian

I started into a project in Python,Tkinter. I have a button that I have two images for. I know buttons include the "-relief" option so I can get rid of the border. Now I'm trying to get rid of the click animation border, and have the image on the button …

Software Development python tkinter
Member Avatar for floatingshed
0
6K
Member Avatar for ryma

Hi! I'm load file XML to listbox It have old value in new line how to edit it. [CODE]<?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>An in-depth look at creating applications with XML.</description> </book> <book id="bk102"> <author>Ralls, Kim</author> <title>Midnight Rain</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-12-16</publish_date> <description>A …

Software Development vb.net xml
Member Avatar for codeorder
0
156
Member Avatar for haqayyum

Dear friends I am using vb 2008 with access 2007 at the backend. I want to make custome invoice id like Inv0001. when make next invoice the id should be Inv002 and so on. add 1 numeric value in the previous one. Please help me any help will greatly appriciated

Software Development vb.net
Member Avatar for Reverend Jim
0
2K
Member Avatar for vivekanandaan

hi, I am having two tables with a similar structure. I want a code to select data from one table and update the same in second table and then delete the records in the first table. Kindly help me out. Thanks & Regards Vivek

Software Development data-structure vb.net
Member Avatar for Reverend Jim
0
161
Member Avatar for fatalaccidents

Hey guys, I've been doing python programming as basically my sole programming language for about a year and have learned a lot (obviously still learning more everyday). I do a lot of computational work so I'm forced to do a lot of bash scripting as well, although I have made …

Software Development python
Member Avatar for moroccanplaya
0
365
Member Avatar for honeybee2090

in application am using list box i load items from a text file i want to remove single items from list and want to keep duplicate items in listbox any help?

Software Development vb.net
Member Avatar for honeybee2090
0
112
Member Avatar for tomtetlaw

I'm trying to compile a VC++ 2010 solution of two Static Library projects and I just get this (it's the build log): [code] 1>------ Build started: Project: df_debug, Configuration: Debug Win32 ------ 2>------ Build started: Project: common, Configuration: Debug Win32 ------ 1>Build started 14/02/2012 10:51:14 PM. 1> 1>Build FAILED. 1> …

Software Development c++
Member Avatar for tomtetlaw
0
99
Member Avatar for profyou

when will the expression (std::cin>>buff) evaluate to false(0)? I have been trying to take input until empty string is entered(simply press enter) ? Is there any other way to achieve this?

Software Development c++
Member Avatar for deceptikon
0
181
Member Avatar for mallikaalokam

[CODE]import java.io.*; import java.util.*; import java.lang.*; class Files { public static void main(String args[]) { char ch; BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); FileOutputStream f=new FileOutputStream("yo.txt",true); while(ch=br.read()!='%') { f.write((int)ch); } f.close(); } }[/CODE] it shows an error at while(ch=br.read()!='%') saying incompatible type,though i tried typecasting.. please help

Software Development java
Member Avatar for stultuske
0
135
Member Avatar for aanshik

which one of best in java struts1.3 struts2 Regards [URL="http://www.supportcorporate.com/staff-augmentation.php"]Staff Augmentation Services[/URL]

Software Development java
Member Avatar for DavidKroukamp
0
84
Member Avatar for bloodbender

Hello Daniweb, I can't wrap my head around this minor issue. Maybe it's a known bug and I just can't find the right keywords to google it or maybe it's supposed to be like this. Let me know what you guys think. [CODE] public class TestPostfix { public static void …

Software Development daniweb-bug first-post java
Member Avatar for bloodbender
0
131
Member Avatar for stereomatching

I discover a performance pitfall of vc2010, I compile it by release mode(O2).The results are pretty unacceptable at the first time. [code] #include<ctime> #include<iostream> /* * This is a small performance pitfall I discover from vc2010, * for simplicity, I didn't separate the header file and source file. * At …

Software Development assembly c++
Member Avatar for stereomatching
0
171
Member Avatar for tomtaila

Ok so my university has assigned me the task of creating a brick breaker game for android phones (full spec below). What I would simply like to know is[B] which design pattern I should be using to structure my program?[/B] If I should be using more than one which should …

Software Development android-development gaming java
Member Avatar for NormR1
0
523
Member Avatar for ginan

Hi all, any help would be greatly appreciated. This program is supposed to allow the user to read in a txt file with ingredients for recipes. We were asked to use the fstream and to use functions to read in the info and display it. I am new to this …

Software Development c++
Member Avatar for ginan
0
9K
Member Avatar for vijiraghs

My requirement is to parse through a HTML document ( which will be an article) and come up with a few keywords which describe what the document is about. For example, if a professor writes an essay about say, information security; i want to parse this HTML document and come …

Software Development storage xml
Member Avatar for vijiraghs
0
207

The End.