132,726 Archived Topics
Remove Filter ![]() | |
Hi i need to get all running application not process and then list it in a listview Thank you but by the way can any one tell me how can i do an action to the selected element of a listview on buttonclick thank you all again this will help … Software Development listview | |
Could someone explain the use for both? Ive got a rough idea that cin.get() pauses the program and cin.ignore() is to clear the input buffer. But could you give me examples when you'd use them and why? Cheers. Software Development c++ | |
Hi, I want to iterate over a list, printing each item and subsequently deleting it, so that at the end, the list is empty, while all the numbers are printed out. I have tried two tactics (to me the logic for both is the same, just checked to spot the … Software Development python | |
I am trying to Build a JAR File of Interface Classes I am using Linux and working throughout the terminal I keep getting this error Syntax error , type parameters are only available if source level is 1.5 I searched many sites and most solutions were about java on windows … Software Development java | |
Hi All, Need to Analyze Zimbra Mail server sync.log through shell script Required output from sync.log Total Number of Users : Total Number of Device ID: Total Number of Device Type with Version : Below is Sample of Log File : 2009-12-16 00:00:43,970 INFO [btpool0-12194://webmail.amit.com/Microsoft-Server-ActiveSync?Cmd=Ping&User=rahul%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android] [] sync - POST Microsoft-Server-ActiveSync?Cmd=Ping&User=ritesh%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android … Software Development android http-protocol shell-scripting | |
hey! i want to give scjp this year and i have herbert schildt. i am reading it these days. but, my friends are saying that i should also take SCJP Sun Certified Programmer for Java 6 Exam 310-065 By Katherine Sierra, Bert Bates. what u say ? is it good … Software Development java | |
I found a client/server code and I am getting this error: [QUOTE]java.net.SocketException: Software caused connection abort: recv failed[/QUOTE] Server code: [CODE] import java.net.*; import java.lang.*; import java.io.*; public class Server{ //port number should be more than 1024 public static final int PORT = 1025; public static void main( String args[]) … Software Development client-server ios java | |
Hello and good afternoon. I'm new to python an Tkinter. My task : a triggered camera writes 12 images every 70 seconds in a specific folder. The newest 12 images should be visible in a frame at 12 labels ( labels are able to display images ? ). I made … | |
Hello, Any help will be much appreciated. I have created a page tht will show search results on a datalist. this page was running perfectly before the addition of following lines in the page Load and BtnSearch_Click respectively. if (Request.QueryString["query"] != null) { string searchParam = Request.QueryString["query"].ToString(); BindList(searchParam); } .................................... … Software Development dataset | |
I am making a voice recognizer for my media player so as to stop and play the song through my voice .I tried to run a demo program given in the sphinx src through command prompt .I have also used apache ant to build sphinx pgm .when irun the demo … | |
I am using vb.net.I'll be using a datagridview which is bound to a datasource.Normally it'll load datas in first row(row(0)) to n th row,i want to load datas only from second row.my question is how to left the first row blank.Someone please help.. Software Development vb.net | |
![]() | I have been assigned to write a program to print the calendar of a given year. Its almost complete, but, I haven't yet found a proper algorithm to find the first day of the year which is required by the function to print the calendar year. Will provide the code … |
As the title says - it's reporting, "The specified service does not exist as an installed service." I'm running this as an administrator and have a successful ALL_ACCESS handle to the SCM. At some earlier points I did have some trouble with the narrow to wide conversion. I believe that's … Software Development c++ | |
Hi All I need to know about how can we convert a PDF file to HTML file using java....If any one is having a source code post it.Otherwise suggest me how to do the task... Thanks in Advance...:) | |
Hello, how can I make my program (I'm using dialog as main window) to "block" everything (like when u are running some program that needs admin permissions) so u won't be able to do anything until u select "yes" or "no" except minimize and exit + what's the message for … | |
hi. i want to print all the possible combinations of a string entered. for example:- string input is "abc"... then output is "abc bac acb bca cba cab" and it must be true for every length of string.. i have tried many times and applied as much logics i can. … Software Development c | |
Hi i would like to build a c++ game with SFML graphic library now i see sprites can move using floats ( sprite.move(+x,+y) ) how do i connect between the graph ( configured by a matrix ) and the graphic library? since the graphic library uses floats and set positions … | |
Hello again! So now i can save the picture in the database, now i have to retrieve it. this is my code for the saving of the picture, [CODE]Dim ms As New MemoryStream() studentpic.Image.Save(ms, studentpic.Image.RawFormat) Dim arrImage() As Byte = ms.GetBuffer ms.Close() Dim strFilename As String = lblfilePath.Text.Substring(lblfilePath.Text.LastIndexOf("\")) Dim cnn … Software Development mssql vb.net visual-basic | |
Hi I am looking to create a program to help with my running training. It would be like a diary where I could select a date using either a DateTimePicker or MonthCalendar and then enter text into the textbox based on that date. Can you please help me with coding … Software Development vb.net | |
Hey guys, I was wondering if anyone can tell me if VOID in C# is a keyword? If so is it built in or library type? I cant seem to find decent information on this. Also I was wondering about ArrayList, which kind of type this is? Any advice on … Software Development | |
You are the owner of a hardware store and need to keep an inventory that can tell you what different tools you have, how many of each you have on hand and the cost of each one. Write a program that initializes the random-access file hardware.dat to 100 empty records, … | |
Error: Debug Assertion failed: Expression: BLOCK_TYPE_IS_VALID(pHead->nBlockUse) Code: #include "stdafx.h" #include<iostream> #include<stdlib.h> #using <System.dll> #include< math.h> #include< time.h> #include<List> using namespace System; using namespace System::Collections::Generic; using namespace System::Linq; int someSize=2000; # define SIZE 20 class queue { int aMsg[SIZE]; int front; int rear; public: queue(); ~queue(); void insertMessage(int i); int removeMessage(); … | |
What i want to build is this: Sending a command to another computer and get the results back on the computer where i started on. Additional info: I have a web server running with python on 192.168.10.100:5000. When i go to this address i get a web page and on … Software Development microsoft python web-server | |
So basically I have to write a simple calculator, that fine and I did it. The only problem is it can only operate on the 2 numbers which the user puts in. I want to make it like a real calculator that you carry around in your pocket. Example: "Calculate: … Software Development java | |
is there a way to remove the windows key effect on the local machine, so that my program doesn't minimize? I have tried an empty if statement, but that didn't do anything. Thanks for any help. Software Development java | |
I need to prevent entry to a car park system during public holidays, but instead of making more classes i was hoping it could be done within my existing method. my question is, is there such thing in java that already has public holiday dates predefined and can be used … Software Development java | |
since i cant figure out the right thing to do.. i will just have to ask how to use array, what is its purpose and some examples! thank you guys Software Development java | |
[B]Hi guys Whenever I run this program, some weird characters like: ([/B] [COLOR="Green"][I@1f436f5[/COLOR] [B]) appear.[/B] [CODE]int[] list= new int[3]; Scanner scan = new Scanner(System.in); for(int i=0;i<list.length;i++){ System.out.println("Enter a number:"); list[i] += scan.nextInt(); } System.out.print(list);[/CODE] [B]How can I fix this? It is supposed to print the numbers entered from the user … Software Development java | |
Write a program to move a character around on the screen in response to user key-presses (you’ll have to decide which keys to use for up, down, left and right - combinations like t b f and h work well: or if you’re more ambitious you could find out the … Software Development c++ | |
[COLOR="Green"][b]I reworked my code into a way that was simpler.[/b][/COLOR] [COLOR="Red"]I have a URL in the following format: "http://sub.domain.tld/path/to/page" I need to extract 'path' and 'page' and discard the rest of the URL. I know about the [ICODE]System.Uri[/ICODE] class and with [ICODE]Uri.AbsolutePath[/ICODE] I can get "/path/to/page/". I need a way … Software Development | |
I'm trying to create 10 files with random names and random data. Each line in the file consists of two integers and represents one "record". Naming the files and generating random data didn't turn out very difficult. But for some reason I fail to recognize, while I create 100 records … Software Development file-system java | |
Hi, I'm using Matlab 2011a and VS 2010. I have to call Matlab functions in my project. The problem is that I can't seem to find a solution works with my Matlab version. Has anyone succesfuly integrated Matlab 2011a with c#? Software Development c# | |
Public Sub getconcom_name() ledcmbsrcitem.Items.Clear() Try obcon.cmd.CommandText = "select con_id,f_name + ' ' + m_name + ' ' + l_name as 'name' from contact where type='company'" obcon.con.Open() Dim dr As SqlDataReader dr = obcon.cmd.ExecuteReader Dim oDataSet As New DataSet() While (dr.Read) ' MsgBox(dr.Item(0)) ledcmbsrcitem.Items.Add(dr.Item(1)) End While Catch ex As Exception MsgBox(ex.Message) … | |
#include<iostream.h> #include<conio.h> #include<math.h> void main() { clrscr(); int n,x,i,j; float p,fact=1.0,sum=0.0; cout<<"\n\tEnter the number: "; cin>>n; cout<<"\n\n\tEnter the Value of 'x': "; cin>>x; for(i=1;i<=n;i++) { for(j=(2*j-1);j>0;j--) { fact=j*fact; if(i%20==0) p=(-1)*pow(x,(2*i-1)); else p=pow(x,(2*i-1)); sum+=p/fact; } } cout<<"\n\tThe sum is "<<sum; getch(); } Software Development c++ | |
Hi All, I always have trouble with this every time I create a desktop app which needs to update data from a database. So, I have created and coded my form to load data into a data grid view control, I can add data to the data grid view and … | |
I want to know how to download a file using c ? For copying a file in c I do this. [code=c] #include<stdio.h> #include<conio.h> int main() { FILE *inf, *ouf; char ch; inf = fopen ( "file1.ext" , "rb" ); ouf = fopen ( "file2.ext" , "wb" ); while( !feof … Software Development c file-system socket-programming | |
Hi. I want to read through a file and search for variables saved in it. However if the stream reads the last char I got errors like EOF. For example the following code would not work as intended to : [CODE] bool BaseFileReader::Valid() const { if (!File.is_open()) std::cout << "\n\nERROR: … Software Development algorithm c++ file-stream file-system | |
: : [CODE]void detectFaces(IplImage *img) { /* detect faces */ CvSeq *faces = cvHaarDetectObjects( img, /* the source image */ cascade_f, /* the face classifier */ storage, /* memory buffer, created with cvMemStorage */ 1.1, 3, 0, /* special parameters, tune for your app */ cvSize(40, 40) /* minimum detection … | |
I have run this code below but it have a few error..hope someone could help me to solve this problem..tq..:) #include <stdio.h> #include <string.h> #include "cv.h" #include "cvaux.h" #include "highgui.h" int nTrainFaces=0; int nEigens=0; IplImage ** faceImgArr =0; CvMat * personNumTruthMat =0; IplImage * pAvgTrainImg = 0; IplImage ** eigenVector … Software Development c++ | |
Hello guys... I just want to know how to close current child form and opens another? In vb.net Thanks in advance.... Software Development vb.net | |
Hello everybody !!! I have a problem that. When I back up using "Microsoft.SqlServer.Management.Smo". It works perfect on my PC. But when I bring it to another PC. It doesn't work at all. Please give me some help!!! The file attach below [ATTACH]23303[/ATTACH] Thanks for your helping !!! Software Development vb.net | |
i'm a beginner for coding at java . net now i got a problem with input the port plz see the code [CODE]package test; import java.net.*; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class UDPCliet { final int buffSize = 10001;//buff size final int TIMEOUT = 3000; final … Software Development client-server java tcp-udp | |
I have using following code over jdk 6.0 but after first round it doesnt work .... [code] if(table.getRowCount() -1 == table.getSelectedRow()) table.editCellValues(0,columnno); else table.editCellValues(table.getSelectedRow(),columnno); [/code] These lines are in mouse clicked method... Problem is when it reaches to end, and when fw button is pressed it jumps to another column.... … Software Development java | |
Hi I've have a Windows form application, that provieds users to add/see and search new items, items are saved into a text file with a help of streamreader/streamwriter. My application is almost finished, but i dont know how to make a search system. This is my application: [URL="http://www.youtube.com/watch?v=Idgw52iXLRk&feature=plcp&context=C352918eUDOEgsToPDskIF-q5mZ0uP5UIRlBTolHbg"]http://www.youtube.com/watch?v=Idgw52iXLRk&feature=plcp&context=C352918eUDOEgsToPDskIF-q5mZ0uP5UIRlBTolHbg[/URL] Code: [COLOR="Red"]This … Software Development file-system listview | |
Hi, can anyone advise how to make a button run code only while it is pressed? Basically I have found this code on the Net for changing the system volume, but you have to keep clicking on the buttons to change the volume. I want to be able to hold … Software Development vb.net | |
HI im a student and our professor asked us to convert a number into word: example: input= "1" output="one" i need to have numbers from 1-10,001 so my program will end up very long if i only use if else statement i know that there are other methods other than … Software Development java | |
guys i cant understand or even think of how i can start my program. I should input a number and convert it in words ..its so hard for me to understand how to do this because like what i have said im NEW here thank you so i need to … Software Development java | |
I try to implement ford fulkerson algorithm but i have problems at my_alg function.I think the reason for this problem is find_edge function.since when i find the edge and increment its flow(asker_sayisi),at the next line it seems to be incremented but at the next line when i find the same … | |
help guys! i got an error stating within this line "unclose string literal" System.out.println("Balance at the Month " +count+ " is " +Balance+ " after making a payment of " +RepaymentPerMonth"); But i cant suss it out! please get back to me cheers! Software Development java |
The End.