43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jugosoft

I'm writting program in VB 2010, but I have a problem. I want to draw a temporary line on PictureBox control MouseMove event. That works fine but deleting of that line doesn't work. I tried to draw the white line on the same coordinates (PictureBox's background is white), but won't …

Software Development vb.net
Member Avatar for ÜnLoCo
0
2K
Member Avatar for seemant gupta

is there any book from which i can learn net beans

Software Development java
Member Avatar for theprogrammer19
0
127
Member Avatar for Jackie91

someone help me pls...The 'Add' works fine..but when i try to open it,my full name didn't show completely , such as 'Jack Sparrow' = 'Jack'.. help me pls. #include<fstream> #include<iostream> #include<string> using namespace std; void main() { string name; int age; int options =0; char filename[20]; while (options!=3) { cout …

Software Development c++ ios
Member Avatar for Jackie91
0
76
Member Avatar for sadhawan

Hi guys i have java scripts as follows His acquaintance with Elizabeth was very trifling.&quot;</p>\n<P class=&quot;Sx0x1&quot;>&quot;To be sure, Lizzy,&quot; said her aunt, &quot;he is not so handsome as Wickham; or, rather, he has not Wickham's countenance, for his features are perfectly good. But how came you to tell me that …

Software Development java regex
Member Avatar for sadhawan
0
154
Member Avatar for soumya_mjmder

Hi guys..i have a XML: <?xml version="1.0" ?> <EmployeeDetails> <Employee EmployeeName="Johnny" EmployeeId="209007" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyDepp" EmployeeId="78452" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnnyStechhino" EmployeeId="45678" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="JohnDoe" EmployeeId="45981" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> <Employee EmployeeName="Soumyadeep" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </EmployeeDetails> …

Software Development java xml
Member Avatar for NormR1
0
4K
Member Avatar for GrahamAddy

The solution to my problem is probably very simple, but I am having great problems solving it. I have a [B]MainWindow[/B] Class calling a [B]Dialog[/B]. I send the contents of a list from a loop to the Dialog lineEdit for a user to accept or change as required and return …

Software Development python tkinter
Member Avatar for GrahamAddy
0
1K
Member Avatar for fenerista

there is a string like [CODE] 0123456789 string a = "25 + 5.6 - (54 - (-61))" a[0] = 2 a[1] = 5 2 = 3 = + 4 = 5 = 5 6 = . 7 = 6 8 = 9 = - 10 = 11 = ( 12 …

Software Development c++
Member Avatar for fenerista
0
120
Member Avatar for wolfeater017

I've heard of the working file in python before and was just wondering what it was and where I can find it in python

Software Development python
Member Avatar for vegaseat
0
138
Member Avatar for judithSampathwa

Hey the code I have for validating the tel no is not working for the string value (567) 789-5677 [CODE] String rePhoneNumber = @"\([1-9]\d{3}\)\s?\d{3}\-\d{4}$"; Regex re = new Regex(rePhoneNumber); if (re.IsMatch(textBox1.Text)) MessageBox.Show("valid phone number"); else MessageBox.Show("Phone Number Must Be Entered As: (555) 555-1234"); [/CODE] Every time the else part is …

Software Development regex
Member Avatar for nick.crane
0
279
Member Avatar for Vox30z

Hello all! I am trying to add to items to a combobox by using the "enter" key. It does work when I add the first item, but if I manually clear the box and add another items it does not get added to the list. (1) I click in the …

Software Development vb.net
Member Avatar for pritesh2010
0
432
Member Avatar for danturn

Hey guys, I've got 2 collections (one datatable and one list of an object) i need to compare them and get a collection of the matches and a collection of the items that dont match (from both collections) i've got the matched collection sorted: [CODE] var yourNumbers = from DataRow …

Software Development
0
44
Member Avatar for Duki

Hey everyone, I have a warning message in my app saying "Unreachable code detected" - Here's a snippet: [code=c#] //Files are sometimes not closed quickly enough - these loop variables allow for the system to wait and try again const int MAX_TRIES = 3; int loop = 0; ... public …

Software Development open-source session
Member Avatar for Duki
0
218
Member Avatar for DoEds

Arg... Guys can you correct my code? 'coz it gives me a wrong output if i input "3 , 1, 2 or 1, 3, 2 or 3, 2 ,1" [CODE]import javax.swing.*; public class OutputGreatest { public static void main(String[] args) { int uInput1,uInput2,uInput3; int maxValue; uInput1 = Integer.parseInt(JOptionPane.showInputDialog(null,"<1>Input a number …

Software Development java java-swing
Member Avatar for DoEds
0
126
Member Avatar for AngelicOne

How to bind data in listview? I usually use [CODE]gridview.Datasource=ds.Tables[0];[/CODE] for my datagridview. How can I do this in listview?

Software Development listview
Member Avatar for AngelicOne
0
1K
Member Avatar for MARKAND911

I have an MDI form "mdi1". And another form "form1" On mdi1 I have a label "lbl1" I want to change text of lbl1 when a button on form1 is clicked. form1 is a child form of mdi1. How can i do this.

Software Development
Member Avatar for Geekitygeek
0
4K
Member Avatar for Chaster

Hi all, I've been searching for some time without any success. Here's the problem: I have an SWT GUI, which contains some UI elements placed onto a Composite. I would like to dynamically add a new Composite to the old one, when a certain event is triggered. Fine everything works …

Software Development gui java
Member Avatar for mostafaelshafei
0
466
Member Avatar for 0xCMD

Greetings to all, I want to use the "[B]System.IO.File.Delete(PATH);[/B]" function to delete a file that is in my Project whenever I run the app. The problem is that in order for this to work I have to specify a full path [B]"C:\Users\SomeUser\Desktop\SomeAppFolder\Content\Models\Model1.X"[/B] The problem is that this path is different …

Software Development
Member Avatar for Geekitygeek
0
283
Member Avatar for GrimR7529

Hi, I am having trouble removing a line from a text file. When I click on the button in order to remove the line it gives me an error that access to the file is not possible. Now I assume that the file is in use during me wanting to …

Software Development vb.net
Member Avatar for GrimR7529
0
90
Member Avatar for Anatake

I have a (I thought:confused:) relatively simple converter project I am writing with Visual Studio 2010 C++ Windows Form App. So to be forthwith I am completely stumped as to how I would get the user input from the Amount box (1234.12 for example) and the Rate box (1.04108 for …

Software Development c c# c++ visual-studio
Member Avatar for jonsca
0
226
Member Avatar for starlight849

Hi guys and gals, I appreciate any help in advance. I have two textbox controls and I want to accept input for textbox 1 and textbox 2. However, when user enters text into textbox 1 I would like textbox 2 to mirror the same text as it is typed. I …

Software Development asp.net vb.net
Member Avatar for GeekByChoiCe
0
294
Member Avatar for usafsatwide

I'm not sure if you all need all my files, but I'm getting the following error message when compiling: productionworker.cpp(8) : error C2440: '=' : cannot convert from 'const char [4]' to 'char' productionworker.cpp(10) : error C2440: '=' : cannot convert from 'const char [6]' to 'char' Can anyone help? …

Software Development c++
Member Avatar for usafsatwide
0
265
Member Avatar for libathos

hi guys i want to make a c program,what it has to do is to find its current pathname every time it is executed from diferent locations and then redirect the outcome in a .txt file,through cmd.I have lack of knowledge when it comes to cmd so any help?

Software Development c
Member Avatar for kings_mitra
0
128
Member Avatar for jiraiya

Hi everyone, I'm having a problem with a JUnit test I've written. I think there should be a simple solution but I can't work out what's wrong. I'm new to using JUnit so any advice would be a big help. Here's the test class below. At the moment I'm just …

Software Development java
Member Avatar for Taywin
0
100
Member Avatar for TwijoO

hi, due to my FTP server not liking to upload .exe files in order to get my auto updater to work i have to rename the folder .file before i upload [I](example: C:/.../desktop/twijoo.exe.file)[/I] after this is downloaded i need it to check the application folder for any files ending with …

Software Development file-system vb.net
Member Avatar for TwijoO
0
179
Member Avatar for saqib_604

hy! I am writing an integer array class. but there is problem to return array from getter function. any one tell me the procedure of this task. And tell about extract operator for that class.[code]#include<iostream> using namespace std; class integer{ friend ostream& operator<<(ostream& output, const integer& num); private: int array[10]; …

Software Development c++
Member Avatar for mrnutty
0
297
Member Avatar for Tekito

I'm about to write a new program in Visual Basic. I have Visual Studio 6.0, but it's limitations are starting to become a problem and I'm wondering about trying Visual Studio 2008 Express (unfortunately purchasing the full version is not an option). I would hate to get halfway through and …

Software Development oop vb.net visual-basic visual-studio
Member Avatar for pweegar
0
221
Member Avatar for Andreas5

Exercise 12-5 in Accelerated C++. My operator+= works: [CODE]void Str2::operator+=(const Str2& a) { iterator new_data = alloc.allocate((avail - data) + a.size()); iterator new_avail = std::uninitialized_copy(data, avail, new_data); new_avail = std::uninitialized_copy(a.data, a.avail, new_avail); uncreate(); data = new_data; limit = avail = new_avail; }[/CODE] However i cant get the operator+ to work:( …

Software Development c++
Member Avatar for Andreas5
0
93
Member Avatar for judithSampathwa

hi there, i have a two forms and in one of the form there is a button to open the other window which is the second form. what i want to do is, when the second form is opened how can i make the first form in a uneditable mode, …

Software Development c c# c++
Member Avatar for judithSampathwa
0
113
Member Avatar for WargRider

I am creating a custom 2d turn based game engine in Java, and so far everything works great. Currently, I have come to the dreaded networking :), and I made a test code, prototype of the network that I would like to create. It uses Java's MulticaseSocket class, DatagramPackets and …

Software Development java
Member Avatar for WargRider
0
350
Member Avatar for jackmaverick1

I have been studying c++ on my own for about a year (i'm 11) and have mastered classes, functions, logical operations, and some other basic things. Now I'm interested in learning to make and use GUIs. I already know how to make a message box and have the code but …

Software Development c c# c++ data-structure gui queue
Member Avatar for jackmaverick1
0
200
Member Avatar for BobbieJean

Hi, I have to write an airline ticket program for my class. My instructor gave us an example of a similar program so I thought I would build and run it to help me understand it better but he seems to have given us code for a program that doesn't …

Software Development c++ linked-list
Member Avatar for jonsca
0
193
Member Avatar for fussballer

Hello, I was compiling some code and get the following compiler errors: error C3861: '_stprintf_s': identifier not found error C3861: '_tcscat_s': identifier not found I got the code from the MSDN Library: [URL="http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/dd798640%28VS.85%29.aspx[/URL] I tried to find some info about the _stprintf_s and added the header <tchar.h> This got rid …

Software Development c
Member Avatar for fussballer
0
530
Member Avatar for wolfeater017

Im trying to use a different font in pygame but every time I run it I get this syntax error message [Traceback (most recent call last): File "C:\Python31\pytest.py", line 22, in <module> font1 = pygame.font.Font('C:\ActionIsShaded.ttf', 12) IOError: unable to read font filename] I tried getting rid of the qoutes around …

Software Development python
Member Avatar for vegaseat
0
5K
Member Avatar for jacg4

Here is the issue: I have a multi-form application developed on C# with two forms, after I press a button I hide the first form and show the second, but how can I show the first form again if I close the second one pressing the red close button on …

Software Development
Member Avatar for Geekitygeek
0
5K
Member Avatar for wwefriend

What should i learn after i learned console application....

Software Development c++
Member Avatar for Ancient Dragon
0
83
Member Avatar for Cap'nKirk

Hi, I have a couple of questions regarding DataGridView. I have a DGV that is created at runtime, it has 3 columns. I would like to change the mouse cursor to HAND on only 1 of these columns, is this possible, if so how? Also how can I stop the …

Software Development
Member Avatar for Geekitygeek
0
560
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS/HTML file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Software Development html-css
Member Avatar for tungnk1993
0
178
Member Avatar for amit.hak50
Member Avatar for JamesCherrill
0
5K
Member Avatar for rapids79

Hi, As per the code snippet: [CODE]typedef struct TimeSlotConfigurationList_LCR A { A_SEQUENCE_OF(struct B) list; asn_struct_ctx_t _asn_ctx; } A_t; #define A_SEQUENCE_OF(type) struct { type **array; int count; /* Meaningful size */ int size; /* Allocated size */ void (*free)(type *); } typedef struct B { TimeslotNumber_LCR_r4_t x; ENUM{Yes(0), No(1)} y; ENUM{Ok(0), …

Software Development c
Member Avatar for rapids79
0
130
Member Avatar for fizzle

Hi all, I'm completely new to C but have dabbled with Bash scripting before. I've been trying to get my head around pointers etc. I have a small routine to check for the existence of a string in a file and print to screen, I claim no originality it's a …

Software Development c
Member Avatar for fizzle
0
167
Member Avatar for acrocephalus

Hello! I have written a piece of code that creates 3 folders in the working directory, asking the user to proceed even if it may overwrite existing folders. The problem is that the more pictures there are the more time it needs to create the folders. Is there any way …

Software Development python
Member Avatar for TrustyTony
0
88
Member Avatar for Simes

I have written some code in Python for a tanks game and I need to write pseudocode for the Tank's move method and main game functions (battle and bonuses). What is bold and underline are what I need to do pseudocode for in the quoted text. I know what pseudocode …

Software Development pdf python
Member Avatar for Simes
0
533
Member Avatar for Shikhin

Hello, I am trying to make a program which will sort a array of 10 elements using bubble sort. I searce dthe forum and google but douldnt find a problem similar to mine. I cam up with the following code: [CODE]#include <stdio.h> #include <stdlib.h> void swap(int *, int *); int …

Software Development c
Member Avatar for Shikhin
0
92
Member Avatar for noname1015

I hit an overflow error 22053 while retrieve data from oracle database.One of the data type of database is number. After I insert floating point value into data of this data type, overflow error occur while retrieve data from database into datatable. This problem doesn't occured while the data's value …

Software Development oracle
Member Avatar for arunkumars
0
134
Member Avatar for rapids79

Hi..I am writing a server code for TCP/IP. The code is: [CODE]#include<winsock2.h> #include<windows.h> #pragma comment(lib,"user32.lib"); #include<stdio.h> #include<string.h> #include"tcpip.h" /*Function definitions for communication over TCPIP*/ /*Parameters for TCP/IP Communication*/ WSADATA wsaData; WORD version; int error = 0; SOCKET server_addr; SOCKET client_addr; struct sockaddr_in Start_Server; int length = 0; char tcp_ip_recv[20]; char …

Software Development c client-server data-structure
Member Avatar for rapids79
0
267
Member Avatar for tungnk1993

I want to write an application that can detect whether a value in CSS file has changed or not, how can I do that ? Please post example code / import as much as possible. Tkq

Software Development html-css vb.net
Member Avatar for Some-Jackass
0
128
Member Avatar for MARKAND911

I want to use crystal reports in my window application (C#.net). I have my database in MS Access. I want to connect Access database with crystal report using stored queries. How can i do this.

Software Development
Member Avatar for MARKAND911
0
133
Member Avatar for P00dle

I have a GUI with a table on it with only 1 column(more will be added later). The Gui gets an arraylist that has to be iterated through and then each value has to be inserted into the table. Whatever I try, I can't get the GUI to set the …

Software Development gui java
Member Avatar for P00dle
0
76
Member Avatar for prajaktaran

I was started a thread for how to do the setup. You was told me the solution, I have publish my project 1. [B]In Build menu - publish the project.[/B] I have publish a setup in Visual Studio 2008. It's running very well on my PC. But when i tried …

Software Development assembly visual-studio
Member Avatar for arunkumars
0
119
Member Avatar for Michael27

I'm trying to create login form in C#. I store username and password in SqlServer 2008 express using the stored procedure [CODE]ALTER procedure [dbo].[InsertNewUser] ( @UserName varchar(30), @Password varchar(30) ) as If exists(Select 'True' from Users where UserName = @UserName) begin --This means that the user name is taken select …

Software Development c c# c++ sql
Member Avatar for arunkumars
0
171

The End.