132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for TIP.Synergy

listview1.items.add << it's is possible to declare a specific subitems vertically? i don't know how, but i'm still trying fix this please help here's my sample [CODE] Dim item As ListView Dim row As ListViewItem = Me.lstLicense.Items(0) With row lstLicense.subitems.Add(16).Text = (objDataReader("Division")) End With [/CODE]

Software Development listview vb.net
Member Avatar for NetJunkie
0
197
Member Avatar for Oneryavuz

i need to use copy clipboard for copying files for example i ll copy some file then i need to save this somewhere in my program how can i do that? i searched little but i just can find copying strings. :S I need more than that :) Thx for …

Software Development vb.net
Member Avatar for NetJunkie
0
241
Member Avatar for TriceD

Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. …

Software Development pdf qt vb.net xml
Member Avatar for TriceD
0
495
Member Avatar for BobTheLob

I'm working on a quicksort class, but I'm required to get the pivot multiple ways (last value, median of 3, and median of 5). Getting the median of 3 is easy enough with a few if statements, but I'm having trouble figuring out how to get a median of 5 …

Software Development java
Member Avatar for JamesCherrill
0
132
Member Avatar for laitingfei

So I've made a game called HangMan, but it still needs the finishing touches. Anyways, a bit about the game... A JFrame shows 26 buttons for the letters of the alphabet and a whole set of other buttons to make up empty slots (they eventually will be filled in everytime …

Software Development gui java java-swing
Member Avatar for Taywin
0
314
Member Avatar for tcfersure

Hi, i need some help with a program that calculates the numeric value of a name. The value of a name is determined by summing up the values of the letters of the name where 'a' is 1, 'b' is 2, 'c' is 3 etc., up to 'z' being 26. …

Software Development python
Member Avatar for woooee
0
144
Member Avatar for imcgrath1

Hi I come from Python background and learning C++. In one of my programs, I need to have one key with multiple values and both being strings. for e.g. [CODE] "str1" ---> "value of str1" "str2" ---> "value of str2" "str1" ---> "value of str1 1" "str1" ---> "value of …

Software Development c++ programming-construct
Member Avatar for mike_2000_17
0
3K
Member Avatar for saurav2007

Hi i got some problems with c pointers...feelin trouble to get through it..here is a problem .anyone plz explain the solutin to me.. #include<stdio.h> main() { int arr[3]={2,3,4}; char *p=arr; p=(char*)((int*)(p)); printf("%d",*p); p=(int*)(p+1); printf("%d",*p); }

Software Development c
Member Avatar for cse.avinash
0
195
Member Avatar for tyu1996

Hello everyone. I am a new C++ learner and I have a question, is there only a constant C++ syntax in the world or there are many different types of C++? Because last month when I surf internet to see somebody made his own C++ program, I saw it his …

Software Development c++
Member Avatar for cse.avinash
0
195
Member Avatar for kaskoraja

Hi.. I have a file with title output.dat.format of this file is as follows [CODE] 0 0.00E+00 0.00E+00 -2.00E-02 9.48E+02 1 0.00E+00 0.00E+00 -1.80E-02 9.48E+02 [/CODE] yes,Thats right.without any comma between.(just tab space) i need to create a file from this output.dat which has form similar to [CODE] 0,9.48E+02 0,9.48E+02 …

Software Development file-system python
Member Avatar for kaskoraja
0
278
Member Avatar for vishal1949

I don't know how to use Notify and wait in my program but I am required to. The point of my program is that there are two threads, one which assigns the inputted object to the numbers 1-10 and another that reads them. Could anyone help. [CODE] package vairables; public …

Software Development java
Member Avatar for Taywin
0
280
Member Avatar for sparkey

Hey guys, I am pretty new to c# and have just developed a login client/server application. I am coming from PHP programming environment and my question is now. Is there any similar function in c# as the SESSION variables in php? Say i am logged out in my c# application …

Software Development c# client-server session
Member Avatar for sparkey
0
153
Member Avatar for loveMii

Hi! I'm still new to assembly and I'm trying to do a selection sort using assembly.. There's a problem somewhere and I can't seem to find it.. Please help me. Here's my code so far: [CODE=assembly].section .data format: .asciz "%d\n" values: .int 5, 3, 2, 4, 7 smallest: .int 0 …

Software Development assembly
Member Avatar for loveMii
0
143
Member Avatar for Jesus Jacques

Ok, here's the deal. I'm trying to call make visible an object, i can do this: Button1.Visible = True but, i was wondering if there is a way that i can call it like this. Lets say i have a variable 'OBJNAME' wich value is "Button1". What i want to …

Software Development vb.net
Member Avatar for Jesus Jacques
0
1K
Member Avatar for charqus

Hello guys. I have two forms. First form, which appear when you enter in the program, it's like a Form Intro ... ( like in C# when you enter in C# a form appear for some seconds, which there is written intro etc. ). Ok, and after 8 seconds, my …

Software Development
Member Avatar for nick.crane
0
172
Member Avatar for PurpleHeaven

Hello guys I need some help about the Pascal's Triangle. It's not about showing an output of the triangle itself but it's a little different. The user will be asked to choose a row number in the triangle. After that, it will output the sum of all the values above …

Software Development java pascal
Member Avatar for Taywin
0
219
Member Avatar for agmolina90

[B]Problem[/B]: (The Person, Sruden, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or …

Software Development java
Member Avatar for Taywin
0
602
Member Avatar for fka

Hello. I'm writing Windows Form App and I found "tiny" trouble. I can't manage with finding control by a name. I have this code: [CODE]private Control FindByName(string name) { foreach (Control c in this.Controls) { if (c.Name == name) return c; } return null; }[/CODE] and simply it doesn't return …

Software Development
Member Avatar for ddanbe
0
405
Member Avatar for perceptis

Hi, Please bare with me on this ill try and explain what my problem is the best i can and if you could forgive my lack of knowledge that would be great. im fresh out of university after completing a web development degree and ive just landed a new job …

Software Development
Member Avatar for Ketsuekiame
0
247
Member Avatar for SyncMaster170

Hello all, This is my first post here.Woohoo! Seems like an awesome place to collaborate. So heres my issue, thread title explains pretty well though. I have a C# app that I am working on, and I have a datagrid and one button in the UI. Heres me ISSUE: I …

Software Development
Member Avatar for Teme64
0
626
Member Avatar for deepanbecse

Hi friends, I wanted to restrict my text box to have only 10 characters.I have used the following code [CODE]Private Sub txtSpouseWorkPhone_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtSpouseWorkPhone.KeyDown If txtSpouseWorkPhone.TextLength > 10 Then MsgBox("Only 10 characters are alowed", MsgBoxStyle.Critical, "Invalid PAN No") txtSpouseWorkPhone.Text = txtSpouseWorkPhone.Text.Substring(0, (txtSpouseWorkPhone.TextLength - …

Software Development vb.net
Member Avatar for deepanbecse
0
117
Member Avatar for bennetk2

Assignment You are to write a program that will convert any base 10 number a to any base b. Input two values, the first in base 10 and the second value is the base that is to be converted into. Bases only between 2 and 9, and flag invalid input. …

Software Development c c# c++
Member Avatar for bennetk2
0
2K
Member Avatar for falconmick

I know that this is probably a stupid question :\ but I am stupid... I am getting [ICODE]1>angledCollision.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] [ICODE]1>spawningArea.obj : error LNK2001: unresolved external symbol "protected: static class angledCollision * Singleton<class angledCollision>::ms_Singleton" (?ms_Singleton@?$Singleton@VangledCollision@@@@1PAVangledCollision@@A) [/ICODE] I …

Software Development c++
Member Avatar for falconmick
0
541
Member Avatar for Ehtesham Siddiq

Hi, I have a datagridview.And as per my requirement the data is supposed to be filled from three different tables in database.I have created the query and is succesfully able to populated the data in it with the cross join. Have a look at my structure. Table1,Table2,Table3. table1 has 2 …

Software Development data-structure vb.net
Member Avatar for Ehtesham Siddiq
0
301
Member Avatar for jefroxnergal

I'm currently practicing working on mobile application using vb .net 2008. So I have these 5 forms that I link together. The form # 2 is where my quit button was positioned. I want to quit the whole application but form # 2 was the only form that is terminated …

Software Development vb.net
Member Avatar for jefroxnergal
0
98
Member Avatar for pseudorandom21

Hey guys what's the easiest way to find the Nth occurrence of a character in a string? I'm hoping there is a standard library function with a name like "NthOf" or something. Thx.

Software Development
Member Avatar for Momerath
0
440
Member Avatar for bantex07

if i run the program it goes hang here is the code [CODE]Set rs = New ADODB.Recordset With rs .Open "Select * from tblCandidates1", cn, 2, 3 Do While Not .EOF If !Position = Combo1.Text Then Combo1.AddItem !Name ElseIf !Position = Combo2.Text Then Combo2.AddItem !Name ElseIf !Position = Combo3.Text Then …

Software Development visual-basic
Member Avatar for BitBlt
0
135
Member Avatar for khentz

on my project, i have a search textbox and also a listview. What I want to do is when a user type in the search textbox, it will automatically list all of possible results in the listview. For example, if I type letter 'a' in the search textbox, it will …

Software Development listview vb.net
Member Avatar for aishapot
0
90
Member Avatar for Wob

Hi, I'd like to develop an algorithm that would only accept positive real numbers and would loop the input until the input is a real positive number.

Software Development algorithm java
Member Avatar for Wob
0
72
Member Avatar for dennysimon

hello all I create a Jpanel ,with TextField For name and password. My question is how to increase My TextField Height,is is veri short ,I need to increase to 300 % of it's now 's height I include partial code below thanks denny [ICODE] JLabel lblnama=new JLabel("NAME"); JLabel lblpassword=new JLabel("PASSWORD"); …

Software Development java
Member Avatar for dennysimon
0
6K
Member Avatar for falconmick

I promice everone that I have looked and looked and looked for a solution, I'm not just having a problem and being lazy putting it on daniweb... haha :) ull have to trust me, ive even googled it :O! Ok, so I am wondering, if I wanted to return a …

Software Development c++
Member Avatar for falconmick
0
244
Member Avatar for guggenheim

Hi, I am trying to create a UDP broadcast server so that I can send out data to every computer on our local network for aircraft testing. I can get every component of the system to work except for the broadcast part... As I understand it, if I want to …

Software Development c
Member Avatar for Ben Mehlman
0
732
Member Avatar for emekapa

I've searched around and didn't find anything useful! :( What i want is to have my C# app doing a command to a running process. This running process is a console application and i just need to enter the command "restart".. my try was: [CODE] Process[] processes= Process.GetProcessesByName("OpenSim.32BitLaunch"); foreach (Process …

Software Development c#
Member Avatar for Momerath
0
817
Member Avatar for papershop

Dear all i need help.......!!!! i want to insert data using a datagrid how can i use it?

Software Development vb.net visual-basic
Member Avatar for hueikar
0
85
Member Avatar for iamthesgt

In writing a logger for an application, the datestamp ends up adding a new line. The datestamp function is as follows: [CODE]string log_class::get_time() { time_t rawtime; time (&rawtime); string timestamp; timestamp = (ctime (&rawtime)); return timestamp; } [/CODE] This outputs something like [ICODE]Tue Sep 6 14:58:35 2011[/ICODE], but when called …

Software Development c++
Member Avatar for NathanOliver
0
810
Member Avatar for lxXTaCoXxl

I'm trying to create a console application that will write an entire paragraph one letter at a time (on a timer for instance) without creating a new line everytime. My problem is that I can't figure out how to do it without if and else if statements. I thought about …

Software Development
Member Avatar for lxXTaCoXxl
0
101
Member Avatar for valestrom

Hopefully my last question for awhile, I wrote a piece of code like this before, but now I get the error: error C2064: term does not evaluate to a function taking 2 arguments Here is my code: [CODE]#pragma once namespace ValestromsCalculator { using namespace System; using namespace System::ComponentModel; using namespace …

Software Development c++
Member Avatar for valestrom
0
205
Member Avatar for TrustyTony

By coding algorithm and using some liberal prints with small set of data, you can learn to understand the basic algorithms better than just reading about them. Here simple selection sort.

Software Development python
Member Avatar for TrustyTony
0
218
Member Avatar for rooneey10

I am creating an Interactive map which displays the facilities when the user clicks on the Checkbox, such as toilets. It will display all the toilet locations via PictureBoxes. I want to do this without having to write all this code? [CODE]Private Sub chkCash_CheckedChanged(ByVal sender As System.Object, ByVal e As …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
721
Member Avatar for DrShroom

I am having some issues with my project. This is homework and I am not looking for answers, just some help. I am to create a RationalNumber class that takes two rational numbers (fractions), reduces them, and I am then supposed to use overloaded operators to add, subtract, multiply, and …

Software Development c++
Member Avatar for DrShroom
0
284
Member Avatar for mohitj786

[CODE]import java.util.Scanner; class M6 //Main Method { public static void main(String args[]) //Index of Largest Number method { int a[]; int i; a= new int[10]; System.out.print("Enter any 10 numbers:"); Scanner s = new Scanner(System.in); a[0]=s.nextInt(); a[1]=s.nextInt(); a[2]=s.nextInt(); a[3]=s.nextInt(); a[4]=s.nextInt(); a[5]=s.nextInt(); a[6]=s.nextInt(); a[7]=s.nextInt(); a[8]=s.nextInt(); a[9]=s.nextInt(); System.out.println("The 10 no.'s you have entered …

Software Development java
Member Avatar for imyself
0
150
Member Avatar for hackerjackie

How can I Print the the records I search in the listview!!??please help me..thanks

Software Development listview vb.net
Member Avatar for Reverend Jim
0
83
Member Avatar for pfm200586

Hello everyone. I have a program that is driving me crazy. It is a cashier change return where the user enter the amount owed and the amount paid and when he/she press calculate the program should display the change due as well as the number of Dollars, Quarters, Dimes, Nickels, …

Software Development vb.net
Member Avatar for Reverend Jim
0
398
Member Avatar for agmolina90

Ok, I have no idea how to use a class I created its probably really simple but I still cant figure it out Person employee = new Employee("Tom Jones", "777 B Street", "408-888-9999", "tj@xyz.com", "Room 221", "$30450", [COLOR="Red"](2, 8, 1987)[/COLOR]); I am trying to use this with this class I …

Software Development java
Member Avatar for agmolina90
0
310
Member Avatar for addision

Please help. I have an assignment for a class and I have been working on this for a week. Nearly all of it I finished in two days but I have been stuck with this problem for 5 days now. I am using MS VC++. I am having quite a …

Software Development c++
Member Avatar for Greywolf333
0
264
Member Avatar for jlharri9

I am an absolute newbie to C++. I have an ATM program problem where I need to keep a running total of transactions and the balance of the checking account. I cannot think of how to set an accumulator for the transactions or how to keep a running total of …

Software Development c++
Member Avatar for raptr_dflo
0
197
Member Avatar for hackerjackie

What are the codes for print using listview?? thanks

Software Development listview vb.net
Member Avatar for Reverend Jim
0
117
Member Avatar for zifina

i have few xml files in my project.i used "advanced installer" software to create exe setup files.i have included the xml files in PROJECT->BIN->RELEASE ->RESOURCES folder. after installing the project setup,when i run the project, i am able to view the xml file details ,but i cannot add new content …

Software Development file-system xml
Member Avatar for zifina
0
181
Member Avatar for Cap'nKirk

Hi, I have a app that at startup shows a particular label i.e. [B][COLOR="Red"]Ready...[/COLOR][/B] then when the user hit a download button it changes the label to:- [B][COLOR="Red"]Contacting Server...[/COLOR][/B] By using 'Threading' I have also added an update progress which updates the label with percentage and also updates a progressbar. …

Software Development app-store
Member Avatar for Cap'nKirk
0
216
Member Avatar for autorunman22

im currently programming a simple space invaders.. i have the aliens, missiles and the player.. all of them are working smoothly, but say those aliens are landed into the earth, when missiles hit the stones (for example) the stone must hava a damage. like in "GUN-BOUND" by mobius. can anyone …

Software Development java
Member Avatar for Ezzaral
0
101

The End.