132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for agent154

I'm trying to programatically set IE options such that when I print a page from my control, it will not print the header and footer, as is the default setting for printing a web page from IE. I found out how to do so from [URL="http://support.microsoft.com/kb/313723"]http://support.microsoft.com/kb/313723[/URL], however I am having …

Software Development printer
Member Avatar for agent154
0
1K
Member Avatar for bohling

OK, first off I have figured out the prime number algorithm...I guess. What I am needing help with, or wanting the answer to, is how to count how many primes are being displayed. To wit: Enter a Number: 10 There are 4 Primes. The Primes are: 7 5 3 2 …

Software Development algorithm c++
Member Avatar for bohling
0
228
Member Avatar for kartik bodala
Member Avatar for Unhnd_Exception

Went to sort a dictionary today and found that MyDictionary.Sort wasn't there. Heres a method to sort a dictionary by value. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Non sorted Dictionary Dim Dictionary As New Dictionary(Of Integer, String) Dictionary.Add(1, "Greg") Dictionary.Add(2, "Marsha") Dictionary.Add(3, "Peter") …

Software Development vb.net
Member Avatar for Unhnd_Exception
0
2K
Member Avatar for Dmiller071

Hi all! I've come very close to finishing this applet of mine but I'm stuck on one last part. The main purpose of this applet is just to fetch some data from a URL (read in 1 line, parse it, and display the data.) After starting this project, I found …

Software Development java java-swing
Member Avatar for NormR1
0
317
Member Avatar for chhabraamit

Hello guys , I am looking for a HTML parser in C/C++. I am trying to make a movie rater , which take name of movies from a folder and stores it in a file , then sort it according to their rating on net. So ,I am thinking to …

Software Development c c++ html-css
Member Avatar for thines01
0
530
Member Avatar for Jessurider

can anyone tell me why this c# console command not running on java?.............. i've made a c# console program as given below [CODE=C#] using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace face { class Program { public static void Main(string[] args) { String path = …

Software Development c# java
Member Avatar for thines01
0
282
Member Avatar for lxXTaCoXxl

I'm trying to incorporate my custom control called "windmill" into my application extension. I've created a few properties that I want to be visible in the properties window and when I built my project and tried to use it in a test project it did not work. To top it …

Software Development visual-basic
Member Avatar for lxXTaCoXxl
0
167
Member Avatar for nsyncpilu

Hy , I have a jTable , for printing it i`m using jTable.print(JTable.PrintMode.FIT_WIDTH). I have no problem with that. What i want to do is this (the table extends on 3 pages): On the first page the title should be "Bla bla bla" , and o the last page under …

Software Development java
Member Avatar for mKorbel
0
1K
Member Avatar for dh273

You'll have to excuse me, I'm a complete python newbie, but am trying to import a pyd file that I've been sent by a friend. He assures me the file works fine on his computer but when I run [code] import myfile.pyd [/code], after having placed the pyd file in …

Software Development python
Member Avatar for tls-005
0
16K
Member Avatar for gingank

Hi guys, I am a newbie that starting to write programming in C#? Anyway got any good suggestion that i can learn the C# example books, website or tutorial? Thanks you

Software Development c#
Member Avatar for budbjames
0
162
Member Avatar for lxXTaCoXxl

I was just washing dishes and as usual was pondering programming scenarios. One came across my mind that hit me hard. UPDATES! I would like links to information on how to make an application that checks for updates at a location on a free website (I'm using webs.com for my …

Software Development
Member Avatar for lxXTaCoXxl
0
98
Member Avatar for lxXTaCoXxl

I've been google searching this for a while but can't seem to find information on it that is helpful to me. Is it a way to work with partners on projects over a server? If so then this would be lovely. I get tired of sending my projects to friends …

Software Development visual-studio
Member Avatar for lxXTaCoXxl
0
133
Member Avatar for tobby501

Hey guys! I'm new to programming and C++ is my first programming language. I have studied books on the language but I know the real job is the application of what I have been studying. I am planning to do a project this semester that will help me to actually …

Software Development c c# c++
Member Avatar for tobby501
0
132
Member Avatar for rhguh

I am working on a project that requires a CSV file to be read into a multidimensional array. I loop through the array, and set multidimensionalarray[x][n] to the corresponding data in the CSV file, but I keep getting IndexError: list index out of range. I can't figure out why, and …

Software Development os-x python
Member Avatar for rhguh
0
294
Member Avatar for abhishekjha

[CODE]#include<stdio.h> #include<math.h> int main() { float a,x,y,w,g,s,area,b,c,hg,radius,ho; printf("enter the value of one side:"); scanf("%f",&a); printf("enter the lengths:"); scanf("%f%f",&x,&y); w=2*x; g=2*y; s=(a+w+g)/2; area=3*sqrt(s*(s-w)*(s-g)*(s-a)); printf("the area of the triangle is:%f",area); b=(2*area)/(3*(w+x)); c=(2*area)/(3*(g+y)); radius=(a*b*c)/(4*area); ho=sqrt((9*radius*radius)-(a*a+b*b+c*c)); hg=(2/3)*ho; printf("the diatance is:%f",hg); system("pause"); return 0; } [/CODE] the area comes right but the distance hg shows …

Software Development c
Member Avatar for adityatandon
0
91
Member Avatar for adityatandon

Hey guys, I'm having this problem of trying to open shortcuts, i.e (.lnk) files and am also trying to open powerpoint slideshows (.pps) files through turbo c++. It didn't work so what i did was write a .bat file to open those programs and then converted that .bat file to …

Software Development c++ file-system
Member Avatar for adityatandon
0
900
Member Avatar for Karlwakim

Hi everybody, i am new to c++ and wanna know why pointers are useful ? Why would i use them ? For what ? THANKS

Software Development c++
Member Avatar for rubberman
0
172
Member Avatar for pri20

I want to perform automatically, the windows login by passing username, password in java code.Is there any open source tool available to record the username password fields etc of the machine.

Software Development java open-source
Member Avatar for NormR1
0
154
Member Avatar for slowly_but_sure

I'm creating a program in C# that do not allow intersecting lines. How will I modify my code? Thank you. I've already attached the whole source code of my program for you to check the other class I've included.But here's the code for the drawing process: [CODE] using System; using …

Software Development c#
Member Avatar for lxXTaCoXxl
0
240
Member Avatar for a.muqeet khan

guys i was working on the link list program and its is encountring a problem its says some thing like un handled exaption handling acess writing location error i have no idea howto over come it so i thought may be u guys might help me with it here is …

Software Development c++
Member Avatar for LRRR
0
198
Member Avatar for Morten Brendefu

Dear enlightened ones. First of all. I am using Delphi 9. My code compiles and run with no error at all, still I am confused about the structure window in the Delphi window. It tells me that I have redeclared some identifiers. The thing is that I have a few …

Software Development delphi pascal
Member Avatar for pritaeas
0
1K
Member Avatar for Vermouth

Hi! I'm making a table. I originally have some names. [CODE] #include <iostream> #include <cstring> using namespace std; char passengerName[100][100]; void main() { strcpy(passengerName[1], "Peter Tam"); strcpy(passengerName[2], "David Morris"); strcpy(passengerName[3], "Susan Leung"); strcpy(passengerName[4], "Timothy Kin"); strcpy(passengerName[5], "Mary Poon"); strcpy(passengerName[6], "Pretty Godson"); strcpy(passengerName[7], "Tammy Leung"); strcpy(passengerName[8], "Hugh Boss"); strcpy(passengerName[9], "John Cheng"); …

Software Development c++ puzzle
Member Avatar for adityatandon
0
599
Member Avatar for Falcon25

Hi guys happy new year, hope you all have a great year ahead of you Anyway I'm a little bit stuck on a question and thought I'll ask for a bit of help: So I'm using a Windows Forms Application and the user types in some text within a textbox, …

Software Development
Member Avatar for lxXTaCoXxl
0
193
Member Avatar for lxXTaCoXxl

I'm trying to learn how to create plugins, the only problem is my friend only knows .NET, I know C# and can partially read .NET. Is there anyone in this section that can convert this all over to C# for me so I can truly study it? [code]Public Interface IPlugin …

Software Development assembly c# vb.net
Member Avatar for lxXTaCoXxl
0
193
Member Avatar for abhishek_s_n

Here is a simple code of chat between two peers. According to me, the code does what it should have but I am facing difficulty solving this SocketException error. This code worked fine till i made the last modifications. And now I am finding it difficult to trace the error. …

Software Development java java-swing socket-programming
Member Avatar for abhishek_s_n
0
291
Member Avatar for lxXTaCoXxl

I'm having trouble getting intellisense to show my summaries of my methods and variables. I have a DLL that I will be releasing to my developer team soon and without the intellisense working they won't know 100% what everything is for. They will just have a simple hint from the …

Software Development
Member Avatar for thines01
0
110
Member Avatar for HASHMI007

[CODE]// Sorting Techniques.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; void Bubble(int x[],int n ){ int temp , j , pass; int flag=1 ; for(pass=1;pass<n-1 && flag==1;pass){ flag=0; for(j=0;j<n-pass-1;j++){ if(x[j]>x[j+1]){ flag =1; temp=x[j]; x[j]=x[j+1]; x[j+1]=temp; } } } } // Env\d …

Software Development c++
Member Avatar for HASHMI007
0
136
Member Avatar for spach79

Hello, Could you please tell me since I spent so much time on this, how to create multiple text boxes based on the selected combo box value (eg. 1,2,3,4,5....). I tried for loop but I only get one text box created. Basically if I select value 4 from the combo …

Software Development
Member Avatar for link_umer
0
190
Member Avatar for shandoosheri

Hi guys I need a little help in viewing all .txt files in a folder in a thumbnail view and allowing the user to open it in the default txt editor Any help would be appreciated Thank you

Software Development
Member Avatar for hericles
0
192
Member Avatar for agent154

I've never used XML schemas before, though I know what their purpose is for. I did some research into how to write one, and I've got everything done I think. The problem is that I don't understand the purpose of a namespace, or if I even need to use one …

Software Development visual-studio xml
Member Avatar for hericles
0
239
Member Avatar for hadoque

I'm trying to understand socket programming in python by experimenting a little. I'm trying to create a server that you can connect to by telnet and that echoes what you type in the telnet prompt. I don't want to start using threads just yet. This is my code. [CODE]import socket …

Software Development client-server python socket-programming
Member Avatar for hadoque
0
9K
Member Avatar for Smartflight

The aim is simple: Input a string from the user, input a word that is to be searched in the string, and return "Found" or "Not found" I have worked down the following code, and it works. [CODE]#include <iostream.h> #include <stdio.h> #include <string.h> void main () { char para[200], word[20]; …

Software Development c++ programming-construct
Member Avatar for Smartflight
0
15K
Member Avatar for ebc3142

Hi, For a homework assignement, I'v been asked to write a small school administration system. Currently, the user is able to enter a new student and their age which is then stored in a text file. This all works fine but now I need to load the contents of the …

Software Development file-system pascal
Member Avatar for Morten Brendefu
0
633
Member Avatar for Dmiller071

Title says it all. I'm loading my image with the statement below [CODE] //logo = getImage(getDocumentBase(),"http://fromdustelune.com/FD_Logo.png"); logo = getImage(getDocumentBase(),"FD_Logo.png"); [/CODE] *The commented one won't work until I sign this applet (or so I believe that's how it's done* Then I call the paint method: [CODE] public void paint (Graphics g){ …

Software Development image java java-swing
Member Avatar for NormR1
0
220
Member Avatar for mKorbel

Happy New Year 2012 from Continental Europe

Software Development java
Member Avatar for zeroliken
0
119
Member Avatar for morfious90

how to fix windows form size for different -2 resolution's screen ?? i have made windows form in 1380*700 resolution its fix for this screen when m running it in any other screen like mine 1280 *800 some of features are going beyond the screen ... i tried t with …

Software Development
Member Avatar for lolafuertes
0
1K
Member Avatar for rotten69

Hi everyone, I'm just wondering why this method below causes an infinite loop to happen. I thought it would run once and then stop. Anyone can explain this? that'll be great. [code] public String printer(String s){ if (s.length() >= 5){ System.out.println("I'm " + s + " And my length = …

Software Development java printer
Member Avatar for rotten69
0
124
Member Avatar for Cupidvogel

Hi, I am just starting to learn Python GUI programming with Tkinter. The majority of examples on net and books show the widgets and windows in typical MS Windows style (i.e the blue top border, holding the maximizing, minimizing and cancelling buttons), as shown in the first picture. Is there …

Software Development gui python tkinter
Member Avatar for Cupidvogel
0
111
Member Avatar for R32@

Hello, My prof asked me to write a program that takes some information and save them for further uses. But I do not know how to save and keep information for a long time in java. I think I have to use arrays, but I don't know what should I …

Software Development java
Member Avatar for R32@
0
3K
Member Avatar for axwell

Hy, i'm trying to get the output text from a page, but i receive the following error: System.Null.ReferenceException : Object reference not set to an instance of an object. [CODE] webBrowser1.Navigate(URL); try { string doc; doc = webBrowser1.Document.Body.OuterText; if (doc != "Invalid Arguments !") { //DO something } } catch …

Software Development
Member Avatar for lxXTaCoXxl
0
242
Member Avatar for gourav1

[CODE]#include<stdio.h> unsigned long int call( unsigned long int); int main() { int t=0,i; unsigned long int n; // scanf("%d",&t); while(t==0){ scanf("%lu",&n); printf("%lu\n",call(n)); //t--; } } long unsigned int call(long unsigned int n) { long unsigned int a,b,c,x,y,z,m,l; a=n/2; b=n/3; c=n/4; m=a+b+c; if(m>n) { x=call(a); y=call(b); z=call(c); l=x+y+z; if(l>m) return (l); …

Software Development c
Member Avatar for gourav1
0
316
Member Avatar for animefun2

[CODE] #include<stdio.h> #define MAX 4 main() { float A[MAX]; int i; for(i=0;i<MAX;i++) scanf("%f",&A[i]); return 0; } [/CODE] im using Visual C++ and doesnt give me any compilation error it keeps giving me a run time error after i enter the 1st number i can't figure out whats wrong :S help?

Software Development c
Member Avatar for abhishekjha
0
259
Member Avatar for dr_iton

I need help in the following C# programming: [I]Vehicle manufacturers always offer new saving fuel cars to new drivers. The Renault manufacturer has taken this in consideration and offered new car Renault Clio to a driver Syle LeSylani for one year use. Syle has kept evidence of past kilometers at …

Software Development c#
Member Avatar for thines01
0
143
Member Avatar for chixm8_49

Greetings! I would like to ask for some idea on how to create an image from the array of pixels that I have. The image should be in black and white (since the input image is black and white as well). Thank you.

Software Development image java
Member Avatar for NormR1
0
3K
Member Avatar for Karlwakim

Hi everybody, i need your help choosing the best library for making GUI applications in c++ I dont want to use Visual c++. Please advise me. And where to download Qt ? Where to put the headers in order to use them ??? Note : I am using Netbeans with …

Software Development c++ gui image
Member Avatar for Karlwakim
0
98
Member Avatar for pwolf

so im trying to make it so that pressing enter without inputting any value, will break the loop, however, an empty string can be used because of [ICODE]for i in range(len(x_str_array)): x[i] = int(x_str_array[i]) bit.[/ICODE] [CODE] 'Exercise 7.3' # modified program from exercise 7.2 a=1 z="" while x !=z: x_str …

Software Development python
Member Avatar for pwolf
0
212
Member Avatar for Aravind Gumataj

Please Help: I need to connect access database through code in VC++ .6 and i've to read data from edit text and compare this value to the primary key of my database. if those are matched then i need to get all data from the database and i need to …

Software Development c++
Member Avatar for Ancient Dragon
0
269
Member Avatar for jasleen12345

hi i am entirely new to eclipse, db2 and wasce. but for a certain project i need to make a project using the above tools in java. so i did the following 1. Installed db2 v 9.7 with username & password both admin 2. Installed wasce 3. Installed Eclipse my …

Software Development ide java java-jsp
0
119
Member Avatar for danuzje

Hello everyone! First of all this is about DataSets. I made a table with some examples in MS Access and now I need to add new rows into this table from C# console application. I added DataSet (MSAccessBase) and used TableAdapter for adding MS Access's table into project Solution. I …

Software Development dataset
Member Avatar for thines01
0
265

The End.