132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bbman

Hey, I have an API that can move windows. If I put the x co-ordinate higher that the horizontal resolution of the screen, it will move to the next monitor. I do not have multiple monitors, so I cannot test this myself. Would I use something like: [CODE] Screen[] screens …

Software Development api windows-api
0
69
Member Avatar for bbman

Hey, I have tried Google, but no avail. I have an XML file, say <Items> <item> <id>1</id> <name>test</name> </item> <item> <id>2</id> <name>othertest</name> </item> </Items> I have a function Add(int id, string name). How would I read through every <item>, get the id and name, and call the add function. Thanks

Software Development xml
Member Avatar for bbman
0
83
Member Avatar for jcrcarmo

Hello everyone, After I publish my C# VS2005 application (to be installed from CD-ROM), the crystal reports in it will not load, but if I run the application from debug, everything works fine. Does anybody know what's going on? Thanks a lot. Best regards, JC

Software Development c c# c++ publishing
Member Avatar for Deresse
0
129
Member Avatar for angellove40

//I am just practing java in vacation.So i tried to create JFrame with Events Handling //But getting error .Also i want to know that when i click submit button the new frame //appear and the old frame must get disappear .PLS help import java.awt.*; import java.awt.event.*; import javax.swing.*; public class …

Software Development java java-swing
Member Avatar for NormR1
0
216
Member Avatar for aot

Okay, now that I consider myself to have decently mastered Python/Tkinter (or at least I'm no longer a complete noob), I'm turning my attention to the web. I'd love to be able to program applications that can be run easily via web sites (especially quick experiments). The easiest thing for …

Software Development python tkinter web-server
Member Avatar for aot
0
227
Member Avatar for kefeir

[code]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class fahrenheitPanel extends JFrame { { } private JLabel JLCelsius, JLFahrenheit; private JTextField JTFahrenheit,JTCelsius; private JButton Convert; private ConvertButtonHandler cHandler; public fahrenheitPanel() {//the constructor JLCelsius=new JLabel("fahrenheit",SwingConstants.LEFT);//creating the JLabels for celsius JLFahrenheit=new JLabel("Celsius",SwingConstants.LEFT);//creating the JLabels for fahrenheit JTFahrenheit=new JTextField("0");//crealting the textfield for fahrenheit JTCelsius=new …

Software Development gui java java-swing
Member Avatar for NormR1
0
252
Member Avatar for hazeeel

I have to read the co-ordinates of a 3D object from the txt file and store it in an array. But I need to store it in a JAR file so that I can view the final product in my visualizer (Jmol). How do I get about in doing that?

Software Development java
Member Avatar for NormR1
0
156
Member Avatar for Chris Ewe

I am creating a update member page. I would like the page to auto retrieve the information he or she originally used while registering on my site and display them into the individual textboxes of the update profile page, this is to prevent the hassle to rekey in every individual …

Software Development open-source session vb.net
Member Avatar for G_Waddell
0
112
Member Avatar for virusisfound

Hi, How can i restrict the user to input only numbers. I have done the following coding for[B] VB[/B] [CODE]private void textBox1_TextChanged(object sender, EventArgs e) { if (!char.IsNumber(e.KeyChar)) { e.Handled = true; } }[/CODE] But now i used it in C# it is not showing the [B](e.keychar)[/B] property. I have …

Software Development
Member Avatar for virusisfound
0
191
Member Avatar for P00dle

I'm trying to move a file to a different directory using .renameTo() This isn't working, as the file is still in the original dir after the code has completed, and there is a copy of the file in the target directory. I tried deleting the original file, which doesn't work. …

Software Development file-system java xml
Member Avatar for P00dle
0
256
Member Avatar for lawlip0p

Hi, i have a problem trying to query my database based on a value in a label. Here is the code for the query, Dim myCommand As New SqlCeCommand("Select * from CDRecord where ArtisteName like '%(label4.text)%'", conn) It shows no errors but during runtime, i get a blank for the …

Software Development vb.net
Member Avatar for hirenpatel53
0
117
Member Avatar for ranu jain

hello frnds i m new in dis community as well as in .net field. i want to 9 wat is [COLOR="Green"]POST BACK URL[/COLOR] property in link button.

Software Development asp asp.net first-post vb.net
Member Avatar for hirenpatel53
0
89
Member Avatar for judithSampathwa

Hi there, I have a question regarding datagridview in C#. I have done the validateion for the datagridview in the cellvalidating event. And for the error message to display in the specific cell that the validation is done I have to click on another place for the error message to …

Software Development vb.net
Member Avatar for nick.crane
0
436
Member Avatar for Maya Pawar

Hi friends, When i give breakpoint to my function or event. There is a warning that,"The breakpoint will not be correctly hit.The source code is different from original version" What is this warning. I don't understand.I m in trouble. I can't find my error even. Plz help me yaar..... Thanks …

Software Development vb.net
Member Avatar for Oxiegen
0
102
Member Avatar for rajina

Command line arguments in C #include<stdio.h> int main(int argc,char *argv[]) { FILE *fp; char c; if(argc==2) { fp=fopen(argv[1],"w"); while((c=getchar())!=EOF) { putc(c,fp); } fclose(fp); fp=fopen(argv[1],"r"); while((c=getc(fp))!=EOF) { printf("%c",c); } fclose(fp); } return 0; } How to run this program in linux? I have tried these steps: 1. open terminal in linux …

Software Development c c# c++
Member Avatar for rajina
0
186
Member Avatar for TrueVb.NetNoob

Hi,Guys! I am currently making a project and got stuck.(I am a total beginner) The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2) …

Software Development display vb.net
Member Avatar for TrueVb.NetNoob
0
95
Member Avatar for GAME

I need to exicute multiple lines of commands in CMD, how would I do that?

Software Development
Member Avatar for finito
0
154
Member Avatar for Bashir ahmad

[B] I use vb with Access. I have 2 tables table1 & table2 i create a data report showing the data from table1. My aim is to display the data from table2 on the same report in its next page(s). any kind of help, suggestions will be highly appreciated. with …

Software Development visual-basic
Member Avatar for AndreRet
0
438
Member Avatar for wade2462

Okay heres my problem, the fastforward and its opposite don't work correctly. I want the user to be able to enter X seconds to ff or go back, but since its a COM and it doesn't provide this function (I think its meant for WPF or WF where you just …

Software Development streaming-service
Member Avatar for tanor
0
247
Member Avatar for OsheRono

Hello, I have been trying to migrate some code I have written so I can use the advantages of Collection items in several forms I programmed in Access 2002. I was using an array list to collect information from a machine part and its resulting defect, then display a small …

Software Development microsoft-access visual-basic
Member Avatar for AndreRet
0
176
Member Avatar for praveenpvs

Hello Every one I have worked with VB.NET two years back. I have lost little touch with that and trying to get back. I have to use key down event on text box in VB form. The code for the event looks like this: [CODE]Private Sub TextBox1_Keydown(ByVal sender As Object, …

Software Development ide open-source vb.net
Member Avatar for Teme64
0
449
Member Avatar for shweta102030

i have developed simple system with ADODB connectivity n with some of components inserted like MS MaskedEdit control, or Crystal report control n then after installation of Windows 7 i tried to run some of my Program then my all other program run well with all components added but in …

Software Development visual-basic
Member Avatar for AndreRet
0
164
Member Avatar for leo1937ca

I am using w2k, vb6, VBOLock and access 2000. I created a program that at first ran OK in VB and the compiled EXE. Now when I compile and run the EXE, I get a run-time error '53' file not found. I have checked and rechecked the code for accuracy …

Software Development visual-basic
Member Avatar for AndreRet
0
207
Member Avatar for westwing

Can anyone help me with this program? Example: I have 100 images in one folder named "Photos". All the files are sequentially named. I have subfolders under the "Photos" folder. Can a program be written wherein I am prompted to enter the file names, (for e.g. 01.jpg, 02.jpg, 03.jpg....) and …

Software Development visual-basic
Member Avatar for AndreRet
0
214
Member Avatar for shweta102030

Hello plz any 1 tell me how to use ListView Control n how to set/work it to user side (as its respective file also needed there at same location) n how it can reflect after making program setup exe file n to insert it in my program ?

Software Development listview visual-basic
Member Avatar for kinwang2009
0
84
Member Avatar for SeanC

I am familiar with the differences between public and private. However, I read many online explanations about 'protected'. What I gather is that a protected field can be viewed and manipulated by all classes within the package, and all subsequent subclasses, ragardless of what package they are in right? Well …

Software Development java
Member Avatar for bulger2503
0
127
Member Avatar for herrel17

I am making a program to compute simple interest. P*R/100 this is what i have done... Please tell me whats wrong [CODE]int main() { int p,n,count; float r,si; count=1; while(count<=3) { printf("\n enter values of p,n,andr"); scanf("%d %d %f",&p, &n, &r); si=(float)p * (float)n * r / 100; printf("simple interest …

Software Development c
Member Avatar for bulger2503
0
155
Member Avatar for bleedi

Hey again! I ran into a new problem in my university course exercises. Basically, I'm trying to read things from a .txt file. Every line is supposed to get converted into an object called "Client", and lines are formatted like this: <account:int> <firstName:string> <lastName:string> <balance:double> I have written my own …

Software Development c++
Member Avatar for mrnutty
0
256
Member Avatar for johndoe444

Hi, I thought I have mastered fighting segmentation fault thanks to the assistance of you guys. But still in this days I am getting seg fault. And there is no clue at all. I am writing a suffix tree using a trie. Here is the trace of segmentation fault: [CODE]aba …

Software Development c data-structure dataset
Member Avatar for UncleLeroy
0
147
Member Avatar for jagan605

I have recently learned in school about the dreaded diamond.And I wrote a program using virtual inheritance to overcome the problems.I use g++ and I have the following errors with this program, [CODE]//doing to create an illustration for dreaded diamond #include<iostream> using namespace std; class vehicle { public: virtual void …

Software Development c++ oop
Member Avatar for Fbody
0
561
Member Avatar for octavia

any link or good idea for reading mpeg4 header in c#??

Software Development c#
Member Avatar for octavia
0
3K
Member Avatar for wolfeater017

I have python 3.0 and im trying to get this code to work but I don't believe it is recognizing all the attributes it's supposed to. [CODE]import pygame, sys, random from pygame.locals import * #*******************************************SETUPVAR************************************************** BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) …

Software Development daniweb-bug python
Member Avatar for wolfeater017
0
293
Member Avatar for mavs123

Create a program with this problem using the “Observer pattern”, STRICTLY When a Message is sent to a Mailing List, the Mailing List sends a copy of the Message to every Inbox that has subscribed to the List. When an Inbox receives a message, it displays this notification: New Message …

Software Development java
Member Avatar for mavs123
0
127
Member Avatar for raghujosh

I am trying to connect to SQL SERVER 2008 using a JDBC connection. I have read some older posts on this topic(SQL server 2000, SQL server 2005) and I feel there may be some minor variations and so am posting on this forum. I am running win XP with SP …

Software Development java sql
Member Avatar for raghujosh
0
496
Member Avatar for googles_go~

Ok erm here goes, im supposed to create a simple log in application using c#, howeaver, all the records of the userIDs and PINs are in a notepad file, which means i need to use a filestream. But heres the problem, how can i make my filestream object read through …

Software Development c# file-stream visual-studio
Member Avatar for jonsca
0
312
Member Avatar for Zinderin

I'm trying to learn about statics ... let's say in the code below, I just need these 30 dogs to be available throughout my program. What am I doing wrong here? It builds fine, but I'm getting the runtime error at line 15: [B][COLOR="Red"]An unhandled exception of type System.NullReferenceException occurred …

Software Development
Member Avatar for Lusiphur
0
149
Member Avatar for jagan605

Iam using ubuntu 10.04 LTS.I have a problem in including graphics.h in the g++ compiler I am using.I have nearly tried all the possible solutions given while i googled about it. Please help me .I am a beginner to programming.

Software Development c++ ubuntu
Member Avatar for jagan605
0
317
Member Avatar for Akash Mujumdar

I have just started with MinGW. I tried to compile a simple C program ie., Hello World but came up with the following error error:no include path in which to search for stdio.h can anyone help me out with this problem....

Software Development c
Member Avatar for UncleLeroy
0
165
Member Avatar for viwenka

Can anyone help me with my code?! I need to do a programm binary to decimal converter without using library, just stdio.h my code works wrong [CODE] void bin2dec(){ long int n; int s=1,j,p=1,i=0,x; int digit=1; printf("Input a binary number: "); scanf("%ld",&n); while(digit==1) { x=n%10; s=s+pow(2,i); i=i+1; n=n/10; if(n==0) digit=0; …

Software Development c
Member Avatar for UncleLeroy
0
195
Member Avatar for Hardz

I am using this code in C# as shown below, to view the students first name. studentsBindingSource.filter = "[First Name] like '%" + txtFirstName.text + "%'"; This code is very useful and working well. If i input at a textbox for example, a letter [M] or abbreviations, all the students …

Software Development c#
Member Avatar for Hardz
0
368
Member Avatar for penguin22

Can anyone tell me where my error is I can't seem to find it.. Thanks, Penguin Code Snippet [code=c#]"UPDATE AddressEntry SET Cell = '" + txtCell.Text + "', Home = '" + txtHome.Text + "', Work = '" + txtWork.Text + "', Name = '" + txtName.Text + "', Address …

Software Development
Member Avatar for penguin22
0
155
Member Avatar for ThrasherK

I need to write a function that sorts a two-dimensional array using this header: [CODE]void sort(int m[][2], int numberOfRows)[/CODE] my code is supposed to primarily sort the rows and secondarily sort the columns. The program is supposed to take ten points entered by the user and sort them. I cannot …

Software Development c++
Member Avatar for ThrasherK
0
188
Member Avatar for Cpp_Addict

Hey guys. In C++, if I wanted to read strings into an array I would do this: [code]std::string theWord = ""; for ( int i = 0; i <= SIZE; i++ ) { std::getline ( std::cin, stringArray[ i ] ); }[/code] In C, I am having trouble comming up with …

Software Development c
Member Avatar for urjapandya
0
2K
Member Avatar for kymarscheng

I have made a program to test if the string entered is a palindrome or not. Here's the source code: [code=c]#include <stdio.h> #include <ctype.h> #include <string.h> void clrsp(char *); void rev(const char *,char *); int main() { char str1[80],str2[80]; printf("Enter a string: "); fgets(str1,80,stdin); str1[strlen(str1)-1]='\0'; //eliminate newline clrsp(str1); //clear spaces …

Software Development c mathematics
Member Avatar for urjapandya
0
153
Member Avatar for Takudzwa Tizora

how would one define RANDOM FILES as well as suggest ways of creating and updating them in Visual C++?

Software Development c++
Member Avatar for mrnutty
0
105
Member Avatar for everard

I'm creating a logfile interpreter program that consists of two editboxes. The first editbox contains the original logfile code, and the second editbox contains the equivalent code of the first editbox in user-readable format. All I want to do now is, everytime I select or highlight a specific code in …

Software Development c++
Member Avatar for Trepach
0
2K
Member Avatar for IDC_Sharp

i did this beacuse i want that when i will make the window bigger he will grow as it shuld be: [CODE] public Form1() { InitializeComponent(); new Form1(ref webBrowser3, new Size(50, 50)); } private void Form1_Resize(object sender, EventArgs e) { UpdatewebBrowser3(new Size(256 + (this.Width - this.MinimumSize.Width), 256 + (this.Height - …

Software Development
Member Avatar for Geekitygeek
0
69
Member Avatar for dekepler

I'm trying to print a (or many) large aerial photos converted from tiff's to jpeg's and cannot seem to get it done without a MemoryError message. These files are between 6 and 15 mb is size. These images are 9x9 photos with these dimensions: Width = 11705 Height = 11712 …

Software Development printer python
Member Avatar for Tommymac501
0
1,000
Member Avatar for sadhawan

Hi guys ,I have written a program which filter the text using replace function.What i want to do is to create another class and do all the filtering over there .How can i achieve this.I am pretty new to C# so any help would be appreciated. Thanks

Software Development
Member Avatar for Medalgod
0
83
Member Avatar for Duplaix

hey my name is duplaix..am new in c++ so i need help! I have to write the following set of c++ functions  fromBinaryToDecimal: The function must accept a pointer to a one-dimensional, dynamically allocated, Boolean array together with an integer representing its length as parameters. You may assume that …

Software Development c++
Member Avatar for mrnutty
0
148

The End.