132,726 Archived Topics
Remove Filter ![]() | |
Could you please tell me how to clear the old data from the datagridview in vb.net.. the below code is retrieving the data from table and display in a gridview for particular person. but when i wanna check the next person record if he dosen't have record so the previous … | |
Hi I want to save a txt file in a folder in AppData. Fist how can i make a folder in AppData. ""Environment.SpecialFolder.ApplicationData" I know that this exist, but how to use it now. when the folder is ready, how to save something in it. I'm using streamwiter. thanks in … Software Development | |
If there's a list like below [CODE]s=['b','a','r','r','i','s','t','e','r'][/CODE] and if I tried to remove every 'r' from the list like this [CODE]>>> for x in s: if(x=='r'): s.remove(x)[/CODE] it gives the following result. [CODE]>>> s ['b', 'a', 'i', 's', 't', 'e', 'r'][/CODE] Why isn't the last 'r' removed from the list. Software Development python | |
Hi, I have a DateTimePicker,whose dateTimePicker1.Format = Time dateTimePicker1.ShowUpDown = True But now i want only the hour part from the Date Time Picker as i have to compare the hours with some logic in my Database. Please Guide how cn i do this? Software Development vb.net | |
I'm having problems with the progress bar in my project :( [U]Introduction[/U]: I made a small program to send notice via email to each member in a list (Excel file - sequential reading user name of account in excel file will be made by the program)and the attached file corresponding … Software Development | |
Goodmorning everybody, I want to make a application that read vCard and display all informations in different textbox Thanks in advance, have a nice day... Software Development vb.net | |
Hi, In my application i am taking multiple image files from user using openfiledialog and display those image files in flowlayoutpanel. After pressing on Insert button i used to copy all those images in a folder (C:\Images). When there is no file exists the file get copied easily, but if … Software Development c# file-system | |
Hi, I have a basic understanding of C++ and was creating something myself with a class of 6 integers and a string what I want to do is to be able to find the mode values for each of the six integers and strings I have instantiated a set of … | |
Hello everyone , i am new to c# so please don't get upset with my question . I'm working with system.Io look here [URL="http://msdn.microsoft.com/en-us/library/system.io.directory.aspx"]http://msdn.microsoft.com/en-us/library/system.io.directory.aspx[/URL] now what does Directory.CreateDirectory(path); means , why when we have a path we create a directory . please make me understand Software Development | |
I want to make a simple chat program after I got my first winsock program to work. The thing with chat is that the receiving part seems to work simultaneously with the sending part, but the thing is `recv()` seems to hold until it receives something(like any stdin function, I … Software Development c client-server | |
I'm looking at developing programs that run on the desktop, cloud (ie. web app), and other devices. I'm looking at how I can code this in C++ and be able to communicate to a server and/or to the client's computer. Is this even possible and do I need the server … Software Development c++ client-server | |
hey i wanna make C++ program that makes music files but i don't want to use the beep function because that's to simple..and as far as i know doesnt save as a music file....i've looked at csound but that looks a bit to tricky..can u suggest any library's that have … | |
Hi there, Any recommendation on Java books for starter? Just received an assignment on doing a cinema booking system.. Normally how long will it takes to complete this program? The lecturer gave us 2 weeks to complete this assignment, is it reasonable? Thanks for your kind reply. Cheers, happy new … Software Development java | |
I have been teaching myself algorithms and I am stuck with the AlphaBeta AI algorithm. I want to test my knowledge of it with a TicTacToe simulation. The thing is I want it to be easy to modify for any two player game and I cannot figure out how to … | |
Hello, I am building a web browser with tab control using VB 2010. I have everything working good so now I want to have it save the browser tabs when I shut down the browser and have them re-opened when I run the browser again like Chrome or Firefox would … Software Development vb.net visual-basic web-browser | |
Hello I'm working on printing a grid of any size and labeling it numerically or alphabetically I have the code that creates the grid, but I have no idea how I would label it... Here is the code that crates the grid: [CODE] def grid(): y = 5 #int(raw_input("How tall … Software Development python | |
i`ve done a few codes and i compile it so that i can review it but it got stuck when i want to assign a room. i dont know why.. can someone please help me to fix this please...[CODE]#include <iostream> #include <vector> #include <cstdlib> #include <set> #include <algorithm> #include <string> … | |
please help new to c++ programming in this program am trying to input 5 students information and get there output but i got wired error {illegal structure operation} [B]please help [/B] #include <iostream.h> #include <conio.h> struct student { int no; char name[20]; float degree; }; void main() { student s; … Software Development c++ | |
Hey. I am working on some sort of client + project management system. Each client can have many projects, many projects can have many staff. The Link (Junction) table allows for many staff members to be linked to the projects. I have attached the relationships which have been put together … | |
This code prints coordinates for a square that another program uses. For space's sake I have cut out all the other program's code, but I believe it is a simple syntax mistake with my if() statements. I have followed the rules and looked just about everywhere and followed all of … Software Development c programming-construct | |
hello. i am trying to make a text editor. i can't figure out how to get the file that i select in the JFileChooser to show in the JTextArea. and I also can't figure out how to get the text from the JTextArea to save into a .txt file. [code=java] … Software Development file-system java java-swing | |
okay, so i was doing an exercise for this beginning python course i got my hands on, and i just completed the exercise (took longer than it should have though) and for some reason, when i run it, it returns data i didn't expect, and when i run it again … | |
Can someone please tell me what is the event that is triggered when a user clicks on the + sign in C# TreeView? To elaborate more, here is my problem. I have a tree view that is populated at the time of Form_Load. Then the user can expand/collapse/select etc with … | |
This is the program I wrote for my CS project. Compiler is TurboC++. I initially added a lot of garbage code in it and am having a hard time cleaning it up. Can you guys please suggest improvements in the code below. Thanks in advance. [CODE] //STUDENT MANAGEMENT #include<conio.h> #include<fstream.h> … | |
I know there is an "assignable and copy constructable" requirement for objects in an STL container. For example, you cannot place an object with a const member into a vector. [code] #include <vector> // /home/doriad/Test/Test.cxx:3:8: error: non-static const member ‘const int MyClass::x’, can’t use default assignment operator // struct MyClass … Software Development c++ | |
hello, I am taking an OS course and we had a hometask to describe in details the location and contents of all device list in RAM. Can anyone help m solve this.I've made a google search but I didn't find any thing. Software Development | |
If I want to expose an iterator to a class member container, I can do so like this: [code] class PatchCollection { public: // Iterator interface typedef std::set<Patch>::iterator iterator; typedef std::set<Patch>::const_iterator const_iterator; iterator begin() { return SourcePatches.begin(); } iterator end() { return SourcePatches.end(); } private: std::set<Patch> Patches; }; [/code] However, … Software Development c++ | |
[CODE]/******************************************************************************\ \******************************************************************************/ /******************************************************************************\ Include files \******************************************************************************/ #include "LPC214x.h" #include "pll.h" #include "vic.h" #include "Keys.h" //#include "armboard3.h" #include <math.h> #include "window.h" #include "adda.h" #include "sine.h" /* INITIALISATION COMPONENTS */ #define BufferSize 1024 // size of the buffer for // cosinus or sinus signal #define Threshold 10432 // threshold value for vector … | |
i want to build an application that automatically floods a text box with text from another text box on button click. i dont even know where to begin Software Development | |
I am making a small game, just to sharpen up my Delphi knowledge before school starts again, and also to show of to my friends. So in this game I have five integers and I need to check if at least three of them equal each other. How would I … | |
hi can someone tell me how to write a code in assembly language to implement a simple countdown timer (only seconds) display on the command prompt screen? thanks Software Development assembly | |
Hi i need to view all files with their names and icons From a specific directory in a grid style inside my c# winform app Any help would be appreciated Thank you for your time Software Development | |
I've developed a code that is intended to be used in an application extension (as with all my codes) that will tell you if the current computer has an internet connection. To use just include the namespace given at the top of the snippet, then the connection state is a … Software Development | |
I am having a problem fixing this error: Object reference not set to an instance of an object, [CODE]namespace FaultTrees { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); this.LoadXML(); } private void LoadXML() { List<FaultTree> faultTrees = new List<FaultTree>(); XDocument FaultTreeXML = XDocument.Load("testtrees.xml"); faultTrees = this.GetFaultTrees(FaultTreeXML.Element("HiP-HOPS_Results")); … Software Development c# | |
Hi everybody, I am learning c++ and i want to develop GUI applications Is Directx efficient for GUI apps ? Not games, just gui software. thanks | |
I'm creating a game in which I draw polygons of varying sizes and shapes using awt/Graphics2D. To smooth out the polygons, I want to use series of cubic Bezier curves to make smoother edges. I spent some time poking around the Java awt and swing classes and saw the Bezier … Software Development api java java-swing oracle | |
I had offered to try and write a program for my job. This program needs to handle booking of parties, creating and adjusting customer accounts, printing invoices, party schedules and mailing lists, and a few other features. This project is a little ambitious, but I would like to give it … | |
First,im sorry my bad english.I hope,i can tell my problem. there is a string: dizi[5]={1,2,3,4,5} and when program run, i want to change random place of members.i mean; first time program running: dizi[5]={2,4,1,3,5} second time program running: dizi[5]={5,3,1,2,4} 3th program running: dizi[5]={4,2,1,3,5} . . . etc.. always changes random.how i … Software Development c | |
Hi, i am new to java and just want to know if java is heavily used in software. And if we use it to make large applications, will it run slow ?? Software Development java | |
I'm having trouble finding how to write to a C++ WinAPI TextEdit control programatically. Here is my code for the TextEdit control: [CODE] case WM_CREATE: { OutputBox = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL, 10, 90, 410, 235, hwnd, (HMENU)OUTPUTBOX, g_hInst, NULL); break; } … Software Development c++ visual-basic | |
if a text box contain contents of a file like code of a aspx file. now we want to edit that code which is displayed on that text box what "should be code behind edit button"?? and after "that file should be saved and overwrite in the same location from … Software Development | |
i want to disable few check boxes in a checkedlistbox. what should i do? Software Development | |
I have about 30 PictureBox controls on my form and I was wondering how would I be able to calculate the load time for a certain amount of those PictureBox controls. For example, I have 15 on one tab and 15 on the other. How would I create a ProgressBar … Software Development vb.net | |
Hi, I am a new one to vb 2005. I dont know how to filter the datagridview with the 2 datetimepicker control one for start date and another one for end date. I want to search the dates based on the datevalue of the data in one coloumn. Any one … Software Development vb.net | |
Dear all, I'm a C++ beginner and I'm facing a problem with C++ program running on Dev C++ 4.9.9.2. The following program builds and compiles just fine however when I try to execute it it stops before getting any output. Actually the line causing the problem might be the "y_pos[][]" … Software Development c++ | |
I have a class called PatchCollection. It is in charge of creating a bunch of Patch objects. It stores them in a member variable of type std::set. Now I want to loop over all of the patches from outside the class. That is: [code] MyClass { PatchCollection Patches; void DoSomething() … Software Development c++ | |
Dear All, I have just started, playing with unix shell programming. I am in need to know, that how to get the position of cursor at unix shell. To set the cursor position i am using command # tput cup x y Software Development shell-scripting unix | |
I've been googleing the syntax, function, and examples for these keywords, but to no avail: 1. as 2. with 3. assert 4. pass 5. yield 6. break 7. except 8. class 9. exec 10. in 11. raise 12. continue 13. finally 14. is 15. for 16. lambda 17. try Help … | |
Hello all I have classes all bundled in a package The name of the package is components All the classes placed in a directory c:\LJava\build\components The names of the clases are a.class b.class and c.class How to jar this package ? I use dos prompt(not net beans) main class is … Software Development java |
The End.