132,726 Archived Topics
Remove Filter ![]() | |
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 ![]() | |
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, … | |
![]() | 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++ |
![]() | ''' 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 |
[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 | |
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 | |
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 ![]() | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
im curious as to the why there is a signed version of char and unsigned version? what are the purposes?? Software Development c++ | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 ![]() | |
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 … | |
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 ![]() | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.