132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for geoamins2

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 …

Software Development dataset vb.net
Member Avatar for pritesh2010
0
5K
Member Avatar for superjj

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
Member Avatar for superjj
0
439
Member Avatar for D33wakar

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
Member Avatar for D33wakar
0
104
Member Avatar for Ehtesham Siddiq

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
Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for manhthaodn

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
Member Avatar for hericles
0
100
Member Avatar for NewUserVB.Net

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
Member Avatar for NewUserVB.Net
0
164
Member Avatar for VidyaYadav

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
Member Avatar for technext
0
683
Member Avatar for Kunal0

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 …

Software Development c c# c++ oop
Member Avatar for ravenous
0
288
Member Avatar for kshahnazari

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
Member Avatar for kshahnazari
0
95
Member Avatar for asrockw7

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
Member Avatar for nezachem
0
155
Member Avatar for Azmah

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
Member Avatar for Azmah
0
153
Member Avatar for thinkingofaname

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 …

Software Development audio c++
Member Avatar for thinkingofaname
0
173
Member Avatar for SindhujaNagaraj

hi, i have a html file which contains placeholders. i read the html file and replace the placeholders with object values of DB and display it in lable control. & now when i click the download i need save the contents of lable as html file . iwant to show …

Software Development c c# c++
Member Avatar for SindhujaNagaraj
0
103
Member Avatar for rhfh

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
Member Avatar for rhfh
0
122
Member Avatar for Labdabeta

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 …

Software Development algorithm c++ oop
Member Avatar for Labdabeta
0
170
Member Avatar for thing2

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
Member Avatar for codeorder
0
571
Member Avatar for hovestar

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
Member Avatar for TrustyTony
0
494
Member Avatar for teha_toshio

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> …

Software Development algorithm c++
Member Avatar for teha_toshio
0
235
Member Avatar for manfredbill

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++
Member Avatar for LRRR
0
3K
Member Avatar for daveydrake

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 …

Software Development dataset vb.net
Member Avatar for daveydrake
0
245
Member Avatar for ben25x

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
Member Avatar for Adak
0
174
Member Avatar for 2concussions

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
Member Avatar for 2concussions
0
444
Member Avatar for pwolf

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 …

Software Development python session
Member Avatar for pwolf
0
173
Member Avatar for sachintha81

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 …

Software Development c c# c++
Member Avatar for jerry32uk
0
838
Member Avatar for wanguard

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> …

Software Development c++ ios
Member Avatar for adityatandon
0
174
Member Avatar for daviddoria

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++
Member Avatar for mike_2000_17
0
170
Member Avatar for suneye

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
Member Avatar for suneye
0
86
Member Avatar for daviddoria

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++
Member Avatar for mike_2000_17
0
212
Member Avatar for Wolter888

[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 …

Software Development c storage
Member Avatar for thines01
0
419
Member Avatar for TheForeRunner

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
Member Avatar for TheForeRunner
0
111
Member Avatar for Fireprufe15

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 …

Software Development delphi pascal
Member Avatar for pritaeas
0
139
Member Avatar for asmfreak

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
Member Avatar for lulabylove
0
15K
Member Avatar for shandoosheri

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
Member Avatar for thines01
0
713
Member Avatar for lxXTaCoXxl

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
Member Avatar for lxXTaCoXxl
0
237
Member Avatar for climberboy

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#
Member Avatar for lxXTaCoXxl
0
753
Member Avatar for Karlwakim

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

Software Development c++ gui
Member Avatar for LRRR
0
152
Member Avatar for lordsurya08

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
Member Avatar for SasseMan
0
473
Member Avatar for crazymidget01

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 …

Software Development gui java
Member Avatar for stultuske
0
189
Member Avatar for domatessuyu

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
Member Avatar for NP-complete
0
90
Member Avatar for Karlwakim

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
Member Avatar for Karlwakim
0
380
Member Avatar for BDove

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
Member Avatar for BDove
0
215
Member Avatar for sehaar

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
Member Avatar for bhagawatshinde
0
76
Member Avatar for rexdon

i want to disable few check boxes in a checkedlistbox. what should i do?

Software Development
Member Avatar for bhagawatshinde
0
3K
Member Avatar for NetJunkie

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
Member Avatar for M.Waqas Aslam
0
211
Member Avatar for vijaycare

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
Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for johnnydarten

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++
Member Avatar for johnnydarten
0
1K
Member Avatar for daviddoria

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++
Member Avatar for ravenous
0
135
Member Avatar for sandip.bhoi

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
Member Avatar for dethrophes
0
202
Member Avatar for Cenchrus

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 …

Software Development python seo
Member Avatar for Cenchrus
0
166
Member Avatar for dennysimon

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
Member Avatar for dennysimon
0
146

The End.