132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jamesl22

Hi, In vb.net, how would you search a folder and get it to make a list of the files in the directory and what sub-folders the files are in are in? Then, put the results in a multiline textbox. The list would look something like if we were searching in …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
169
Member Avatar for Clinton Portis

As a proud memeber of the 10% unemployed and the 45% under-employed, I often find that I have a lot of time on me' hands. Now my dear ol' mom likes to play this game, and she's often at home alone.. so with nothing else to offer this holliday season, …

Software Development algorithm c++
Member Avatar for Clinton Portis
0
166
Member Avatar for BrownBeard

I am writing an alarm clock program in C++, and it works great for now, but I was wondering is there any way I can have the user select the sound they want to blare once it goes off. If it helps, here is my code, as bloated as it …

Software Development c++
Member Avatar for Dingbats
0
139
Member Avatar for R3ap3R

''' Hi there, I am totally new to this site as well as Python. Luckily Python is a not too hard programming language to start with. I am trying to create a Caesar Cipher with ROT13 program that encodes user text ('a' - 'z' and 'A' - 'Z') to 13 …

Software Development python
Member Avatar for richieking
0
912
Member Avatar for aplh_ucsc

[CODE] BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; Set data segment to where we're loaded mov ds, ax mov si, …

Software Development assembly
Member Avatar for Tight_Coder_Ex
0
400
Member Avatar for RichMayor

Just register on this discussion community can i get someone to coach me personally?

Software Development c#
Member Avatar for ddanbe
0
110
Member Avatar for virusisfound

Hi, I want to save datagridview data in Excel sheet as per user spcify the location for that I write some code but It's not working properly. If I spacify the location in the code then It alway overwite the data on previous data. In Savedialog Box when I spcify …

Software Development dataset file-stream open-source
Member Avatar for RossR
0
118
Member Avatar for a1a4a

Hello all I am on a windows application form where people can log in and add status ... and it's all online via sql database. What i am looking for is a sql query that Insert into the table the current time,so i can print on the application the time …

Software Development mysql sql vb.net visual-basic
Member Avatar for Unhnd_Exception
0
164
Member Avatar for DaveTran

I'm after an efficient way of detecting whether a List object has changed from one frame to the next. [CODE] List<int> intList = new List<int>(); [/CODE] I have my list as a member variable and will check to see if it has changed each Update() method call. The only way …

Software Development
Member Avatar for DaveTran
0
6K
Member Avatar for Diamonddrake

I have hacked up this gorgeous files system tree view that looks like the windows 7 explorer sidebar. Its starts as one control, and that control lives in another control that makes up an "segment" whom are created and added to a host that handles scrolling ect. I have the …

Software Development listview
Member Avatar for Diamonddrake
0
181
Member Avatar for benny2010

Dear all, i am trying to get my sprite to be dragged around the screen by clicking the mouse, i can get it to attach to the mouse but cannot get it to unattach itself, i coded the if not mouse click then set mouse attach to false but it …

Software Development c++ pc-peripheral
Member Avatar for benny2010
0
165
Member Avatar for coolpal.nikil

Hey guys, Im a beginner in c++ programming, and i desperatly need some help here. We were given a holiday project in class where we can come up with anything we want as long as its creative. So my friend and I got a wicked idea and we implemented on …

Software Development c++ gaming
Member Avatar for SgtMe
0
221
Member Avatar for jlivvers

Hi, is there an accepted emthod to print a selected row in a datagridview? I've done some reading and gotten as far as printing a page via the printform but I wondered can you drill down into certain rows or certain datagridviews? thanks,

Software Development vb.net
Member Avatar for Mitja Bonca
0
156
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

Software Development vb.net visual-basic xml
0
223
Member Avatar for laks_samy

Hi I am working in vs 2005 (vb.net), i am using france culture(fr-FR) in my application, so i need to convert the france currency amount (23,00 €) to decimal (23.00). any one help me.

Software Development vb.net
Member Avatar for jlego
0
86
Member Avatar for novice20

hi, I just came accross the csv module to deals with csv files in python. suppose my csv file has two rows: 1,2,3,4 5,6,7,8 and i want to access each item at a time, i.e., 1 followed by 2 and so on....what can be done? [B]import csv reader= csv.reader(open('filename.csv','r'),delimiter=' ') …

Software Development python
Member Avatar for richieking
0
266
Member Avatar for gedas

hey, i am working on a web services (WS) program. i have a method in the server that reads text file and store every line of text in to a string array. on the client side, when i call the method it shows me that the value being retuned is …

Software Development client-server java
Member Avatar for gedas
0
127
Member Avatar for tendaimare

Every time i try to run this codei get the following error: "'System.Data.DataRow.Protected Friend Sub New(builder As System.Data.DataRowBuilder)' is not accessible in this context because it is 'Protected Friend'. " this is my first time to insert using oledb and the With method. [CODE] Imports System.Data.OleDb Public Class frmAddd Dim …

Software Development dataset open-source vb.net
Member Avatar for Mariandi
0
240
Member Avatar for L.sha

Hello I have to work with Linkedlist, and sort them from smallest to the largest. So I have made this sorting function. It works but I dont understand why it is not displaying me the items I have inserted after sorting it. I have also looked at the other related …

Software Development algorithm c++
Member Avatar for Narue
0
155
Member Avatar for crimes

hey all, im workin on a text rpg that has become very long and i have all the code on one page. basically i wanna break it down so its more organized and easier to understand. I read some stuff here and gathered that I need to do some research …

Software Development c++
Member Avatar for Fbody
0
149
Member Avatar for Farhad.idrees

Hi i want to add more text field when pressing a button. because i making a form which belongs to "Saling products" but obvouseley any customer can purchase one product and also can purchase many products so how is it possible to put more fields when click button add fields.. …

Software Development
Member Avatar for Munnazz
0
119
Member Avatar for phobos666

Hi, I need to open a file containing string values one below the other and display them. I'm able to open the file but there is some error while displaying them. Below is my code, kindly guide me to my mistake. [code=c] FILE *fp; char airfoil[6]; fp=fopen("/cygdrive/d/airfoil.txt","r"); if(fp!=NULL) { while …

Software Development c file-system
Member Avatar for vinitmittal2008
0
214
Member Avatar for arshi9464

I have a serious doubt for this:- Why do we give the url like c:\program files\java\jdk for user environment variables and c:\program files\java\jre for system environment variables? PLEASE HELP ASAP........

Software Development java
Member Avatar for hertze_bogdan
0
107
Member Avatar for Spacenoobie

First of Hi peeps .... I have a small prob that I want to run by anyone who could help me simplify this code, Well I'm trying to change the string value (123A456B789) into a numerical value like this '123' 'A=0' '456' 'B=1' '789', but for the same reason as …

Software Development vb.net
Member Avatar for GeekByChoiCe
0
766
Member Avatar for shinsengumi

Hi all. I'm trying to develop a Winsock program in C. I can already compile the program correctly but I don't get any output when I run it. I don't know how to exactly use the WSAStringToAddressA function so I think it's the root of my problem. I'm using this …

Software Development c microsoft socket-programming
Member Avatar for cool_zephyr
0
200
Member Avatar for Naveed_786

How can i count the no of records fetched in datagrid from admission table and how to show these no of records in a label i.e Total No of records = 20 Please help

Software Development visual-basic
Member Avatar for AndreRet
0
178
Member Avatar for redflame777

Hi everyone, I am new to Java. I am taking a Java programming course and I am having some difficulty. My professor said I should seperate my class that stores employee information and calculates pay from the class that contains my main method. How do I do that? I understand …

Software Development java
Member Avatar for javaAddict
0
329
Member Avatar for INI

Good Day All, Please anyone tell me how to open an adobe PDF file in VB6? Thank you all very much in advance. Ini

Software Development adobe pdf visual-basic
Member Avatar for satheshjsk
0
141
Member Avatar for softswing

Hai friends, please tell me how to write Junit for the below method, public static FileInputStream readAsFileInputStream(String fileName,String fileLocation) throws IOException { FileInputStream fileinputstream = null; File file = null; try { file = new File(fileLocation,fileName); fileinputstream = new FileInputStream(file); } catch(IOException ex) { ex.printStackTrace(); } finally { fileinputstream.close(); } …

Software Development java
Member Avatar for softswing
0
2K
Member Avatar for WildBamaBoy

This program will kill the process a user specifies and start a BackgroundWorker that constantly analyzes a list of running processes and kills it again if it starts. But it will not cancel even when I tell it to. This is the BackgroundWorker's code. [CODE]private void KeepProcessKilled_DoWork(object sender, DoWorkEventArgs e) …

Software Development
Member Avatar for WildBamaBoy
0
414
Member Avatar for smmk143143

[CODE]package myDxBall; import java.applet.*; import java.awt.*; import java.awt.event.*; import java.awt.Shape; import javax.swing.*; import javax.swing.event.*; /* <applet code="myDxball.class" width=670 height=300> </applet> */ public class myDxBall extends Applet implements Runnable,MouseListener,KeyListener{ static Rectbar Recob[] = new Rectbar[45]; Thread th; int x_pos = 5 ; int y_pos = 50; public static int radius = …

Software Development java java-swing
Member Avatar for smmk143143
0
237
Member Avatar for mrnobody

Here are the classes that i've attempt to create as well as tried to use them but failed. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Project.GlobalVariables { static class IOCard { public const int TotalInputCard = 10; public const int TotalOutputCard = 10; public class InputCard { public …

Software Development
Member Avatar for Momerath
0
95
Member Avatar for sandeepparekh9

hi i am developing an application of which i want to create a DEMO version for 7 days.. i tried to make the demo stop in vb.net by checking for the current date and if its past 7 days then the app. wont start. but the problem is is the …

Software Development vb.net
Member Avatar for sandeepparekh9
0
119
Member Avatar for Lee21

I want to use a progressbar to show that I'm retrieving the records from the database so that the user wont be confuse if the program is still running or not. Here's my code. Please help me.. [CODE]Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load cs …

Software Development open-source vb.net
Member Avatar for Lee21
0
2K
Member Avatar for SoulReaper1680

Hey, I was trying to make a program which displays two chars A and B on the screen. Using the WASD keys, it lets you move the A char around and using the arrow keys it lets you move the B char around. I wrote the following: [CODE]Module Module1 Dim …

Software Development multithreading perl vb.net
Member Avatar for SoulReaper1680
0
162
Member Avatar for nosehat

Hi All-- I am working with zip archives, using the [URL="http://docs.python.org/library/zipfile.html"]zipfile module[/URL] to extract all the files with certain file extensions from each zip. In these zip archives the files I'm after all have their own path information, but I would like to extract the files I want into one …

Software Development python
Member Avatar for nosehat
0
166
Member Avatar for lochnessmonster

im curious as to the why there is a signed version of char and unsigned version? what are the purposes??

Software Development c++
Member Avatar for NathanOliver
0
118
Member Avatar for omkar1987

WHEN I TRY TO OPEN FILE IN APPEND MODE ,IT CREATES THE FILE BUT IT SAYS "IN-VALID ENCODING " ALONG WITH THE FILE-NAME ........I HAVE PASSED THE ARRAY OF STRINGS CORRECTLY IN string moreover the strings in "string" are sorted .....any string in "string" is made up of only 4 …

Software Development c file-system
Member Avatar for Narue
0
173
Member Avatar for OrangeGrover

Hello, first off thanks for reading. So my problem occurs when I try to copy an element from one vector into a second vector. The error that I get says that the vector subscript is out of range when I try to push_back that element. I only get an error …

Software Development c++
Member Avatar for OrangeGrover
0
320
Member Avatar for vbx_wx

Anyone know why i get this error in eclipse when i compile any program: [code] error: to generate dependencies you must specify either -M or -MM [/code]

Software Development c++
Member Avatar for vbx_wx
0
105
Member Avatar for mightysnake

Read a single character from ‘A’ through ‘Z’ and produces output in the shape of a pyramid composed of the letters up to and including the letter that is input. The top letter in the pyramid should be ‘A’, and on each level, the next letter in the alphabet should …

Software Development c++
Member Avatar for mightysnake
0
176
Member Avatar for Johnsupertramp

Hi, I would like to make a Java lottery simulator. This one is different than most, however. The program requirements are: 1) The patron enters his/her 6 chosen numbers (from the numbers 1 through 42 without duplicates) on the keyboard at the appropriate prompt(s). This same, single set of numbers …

Software Development java
Member Avatar for Ezzaral
0
194
Member Avatar for CharliePrynn

I have this code. I need to loop through it, until button 2 is pressed. I also want to count how many times its looped and show how many times in a label. [code]Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("www.WEBSITEHERE.COM") End …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
191
Member Avatar for richieking

This is one of the easiest steps to view and convert dcm image useing the [B][COLOR="Red"]snake(python)[/COLOR][/B] There are 3 modules involved. 1. Search for [B]pydicom[/B] and install 2. Search for [B]matplotlib[/B] and install 3. Search for [B]pylab[/B] and install. If you are on ubuntu destro, Installing matplotlib via the repo …

Software Development python ubuntu
Member Avatar for richieking
0
4K
Member Avatar for IrshadIkhlas

Hi, Can anybody help me in getting the time differnece between 2 dates in time format HH:MM as example need time differnec between 23Dec 20:35 and 24DEC 3:10. I am able to get the difference for same date but failed to calculate for 2 dates. Thanks

Software Development vb.net
Member Avatar for Unhnd_Exception
0
536
Member Avatar for oredigger

I've been reading about ApplicationCommands (specifically Paste) [URL="http://msdn.microsoft.com/en-us/library/system.windows.input.applicationcommands.paste.aspx"]here[/URL] and I have a question regarding the following paragraph: [QUOTE]A MenuItem is created and it's Command property is set to the Paste command. The CommandTarget is not explicitly set to the TextBox object. [B]When the CommandTarget is not set, the target for …

Software Development
Member Avatar for oredigger
0
322
Member Avatar for BleepyE

If have this code which writes the following into a text file. [CODE]sWriter.WriteLine("a" & " " & A.Text)[/CODE] This is the result [QUOTE]a 45[/QUOTE] - Id like the text in A.text to be in speech marks, so the final result is something like his [QUOTE]a "45"[/QUOTE] But I cant seem …

Software Development vb.net
Member Avatar for BleepyE
0
117
Member Avatar for BleepyE

I have a text file like this; Bananas=60 Tomatoes=34 Rasberries=102 Apples=23 If I have a form with textboxes or numericalupdowns is there anyway I could change the number of fruit and veg in the text file? Could it be possible to somehow open the textfile into the form then, edit …

Software Development vb.net
Member Avatar for BleepyE
0
112
Member Avatar for deepakgupta2186

I want to sort this dictionary through its keys.I am adding two lists into one dictionary...[CODE]list1=[] list2=[] dict1={} dict2={} n=input("Enter the number of contacts : ") for i in range(0,n): name1=raw_input("Enter your name: ") num=input("Enter your phone number: ") list1.extend([name1]) list2.extend([num]) dict1=dict(zip(list1,list2))#to convert two list into dictionary keys=dict1.keys() keys.sort() for …

Software Development python
Member Avatar for TrustyTony
0
177
Member Avatar for BleepyE

Hey need some quick help, some strange error I havent seen before even though ive been using the code for some time. [CODE]Imports System.IO Public Class Form1 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Close() End Sub Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e …

Software Development vb.net
Member Avatar for jlego
0
124

The End.