199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for whateverme

Hey, I'm trying to work to display a number of jtextfield according to one of the given values in a combobox. So, I will have a drop down menu with let's say 1 to 4. If the user selects 3, 3 textfields will be displayed. I've created the jcombobox with …

Member Avatar for whateverme
1
143
Member Avatar for anthonyjpv

If php file cannot be viewed from users browser, what are the advantages and disadvantages of having to process a form in same php file or processing a form with a different script? ie mail_form.php or with process_mail.php thanks!

Member Avatar for anthonyjpv
1
207
Member Avatar for Rakham

In old vb6.0 it was easy to highlight the target item, where to drop those dragged rows. [CODE]Private Sub listView_OLEDragOver(Data As MSComctlLib.DataObject, Effect As Long, Button As Integer, Shift As Integer, x As Single, y As Single, State As Integer) Set listView.DropHighlight = listView.HitTest(x, y)[/CODE] I have been Googling all …

Member Avatar for Rakham
1
1K
Member Avatar for Jx_Man

This Code is easy way to load / show data in Datagrid. This Code write in vb.net 2003 and use sqlserver 2000 as database. I use module to connected VB.Net with SqlServer 2000. so the function to connected can be use in every form in this project.

Member Avatar for neronero
1
2K
Member Avatar for verruckt24

I have seen several posters asking for help on programs converting an Infix expression to a Postfix one. I have written a program to convert a simple Infix expression to a Postfix one so that people here can be directed towards some sample code from which they get the idea …

Member Avatar for verruckt24
1
1K
Member Avatar for linezero

[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> //typedef struct to define what's in the phonebook typedef struct PhoneBookContacts { char Name[20]; char Surname[20]; char PhoneNumber[20]; } phone; //Function prototypes void AddEntry (phone[]); void DeleteEntry (phone[]); void PrintEntry (phone[]); void Sort (phone[]); int counter = 0; //Global counter variable used to keep …

Member Avatar for savoie
1
23K
Member Avatar for vishalrane

All the webpage data will be converted into PDF file, You can also add details such as ur name etc by using Chunk chunk1 = new Chunk("By Vishal RAne, [email]vishalrane50@example.com[/email] \n",FontFactory.GetFont("Verdana", 8)); The pdf will be saved on desktop.... u can change location by using PdfWriter.GetInstance(Doc, new FileStream(Environment.GetFolderPath (Environment.SpecialFolder.Desktop)+ "\\VishalRane.pdf", …

Member Avatar for SummiRS
1
336
Member Avatar for jd2369

Visual Basic 2008/2010 - Save Page As, create a Folder, upload the folder to a specific ftp site I am working on this vb app that will goto a specific site, click on a button(i am still working on the button process) do a save page as, create a folder, …

Member Avatar for jd2369
1
246
Member Avatar for rich2710

Hello, I'm hoping if someone could help me with this, I don't think it's to complicated but I'm still having some problems. I have the following code which takes the keywords 'oxford' and 'oxfordshire' for $query and ultimately searches for items with these words in on eBay(UK). I have another …

Member Avatar for diafol
1
220
Member Avatar for skp03

Hello !! how to copy the text of textbox from application1 to application2

Member Avatar for kingsonprisonic
1
128
Member Avatar for marijana

please, does anybody know is there a .NET control in which an excel document can be displayed on a windows form ?? Or is there any other way to display it on a form?? tnx :)

Member Avatar for jtodd
1
3K
Member Avatar for |-|x

Is it possible t set a control's property in the markup using server tags? Specifically in this case I need to set it from a Session value, ideally something like this: [CODE] <asp:Label ID="Label1" runat="server" Text='<%= Session["value"] %>' /> [/CODE] Of course the above simply prints as literal text, rather …

Member Avatar for kvprajapati
1
936
Member Avatar for vegaseat

The code shows a fast prime number generator using a sieve algorithm. It looks at only odd numbers. Technically 1 and 2 are prime numbers too, since they are only divisible by unity and themselves, exceptions are made for 1 and 2. Zero and negative numbers return an empty list. …

Member Avatar for Mavericks
1
3K
Member Avatar for INI

Good Evening All, I have a big problem; over the summer I worked on a project and completed it. A month later I am receiving errors. For some reason when I try compiling the program, it gives me an error saying "Can't find project or library," Date is highlighted. When …

Member Avatar for sendoshin
1
1K
Member Avatar for fsemilla

good day to all... does anyone here have a basic tutorial on how to program using C for zigbee...? its just that i have a very important project task in my work which should be accomplished for three months:'( ...i do have basic...i mean enough knowledge programming in C but …

Member Avatar for agieli
1
2K
Member Avatar for nexocentric

I'd like to start by thanking whoever reads this for their help. I've been trying to learn Test Driven Development (TDD) in a php environment. I've read a lot about it and stumbled upon both PHPUnit and simpletest. I've spent the past 8 hours searching the internet for tutorials and …

Member Avatar for nexocentric
1
250
Member Avatar for jaskij

This here is a code of my recent uni assignment to render Mandelbrot, Julia and Burning Ship sets, using SDL. The code works properly, using MS Visual Studio 2010 Premium, but displays some errors (either numerical or type casting differences, I couldn't find them) after porting to Linux and compiling …

Member Avatar for jaskij
1
182
Member Avatar for SasseMan

Hi! I have a JScrollPane that contains a JPanel with a CardLayout, which in turn contains two JPanels with some labels and stuff. I want the contents of the ScrollPane/ViewPort to never exceed the width of the viewport. The problem I'm having is that when a label holds a lot …

Member Avatar for mKorbel
1
182
Member Avatar for ana_eht

Hi everyone This year i have to develop my final year project. Actually I'm thinking about a software that help people with music. it has several different parts as well as a "Testing" part. For this one I want to have sound input from the user via microphone and then …

Member Avatar for joehms22
1
311
Member Avatar for Gribouillis

These two functions compute the orders of the lowest bit and the highest bit set in the binary representation of an integer. I expect them to handle securely very large integer values.

Member Avatar for Gribouillis
1
2K
Member Avatar for MasterGberry

I am supposed to make a binary hash tree mix of code. I know what I am doing for the most part, but its been a while since I have done some serious C++ coding. The compiler is yelling at me because it doesn't like my last definition in my …

Member Avatar for MasterGberry
1
186
Member Avatar for lupacarjie

Hi! I am trying to make a simple program that would determine the number of occurrence or frequency of 20 given array elements according to their respective range. My output should be like this: [CODE]Range Frequency 0-4 0 5-9 1 10-14 3 15-19 5 20-24 7 25-29 3[/CODE] However, I …

Member Avatar for Yugatha
1
542
Member Avatar for Aniqa Shaikh

Hay guys, i wanted to get the code for a very large factorial but i was unable to do so. Now, i had to work and develop the code myself, which i did. This code calculates factorial of numbers uptil 14000. . i havent tried more. But i guarantee this …

Member Avatar for sameershah21
1
672
Member Avatar for khizer03

how to play a video on the background of the form please guide i am really confused

Member Avatar for Jx_Man
1
330
Member Avatar for pseudorandom21

My simple POP3 client (set up for Gmail) isn't downloading all of my messages... Any idea why? I have 350 messages in my inbox and the program only says 296 of them show up. Program.cs [code] using System; using System.Collections.Generic; using System.Text; using System.Net; using System.Net.Sockets; using System.Net.Security; using System.IO; …

Member Avatar for pseudorandom21
1
1K
Member Avatar for reinere

I have two tables that I'm using in this query. We'll call the first one "userGroups" and the second "links". I've included their structure below. I have one system that is running an older version of MySQL, and I also have a system running a newer version. Older Version: 5.0.91-community-log …

Member Avatar for reinere
1
270
Member Avatar for doboi

Hi, I'm new here so I'm not sure if this is the right place to ask for homework help. Sorry if it's not proper :) This is from my Data Structures class. I'm just about done with the assignment but it's giving me memory leaks and I'm not sure what's …

Member Avatar for MastAvalons
1
198
Member Avatar for emmas4impact

Hello, I'm working on a Moving Ball project and on the moving ball there are random number so i need to use the keyboard or the mouse to click on the number printed on the moving but i dont know how to go about it. here is the code below: …

Member Avatar for emmas4impact
1
2K
Member Avatar for trisha0906

hi, can someone help me? i am using vb.net2010 and mssql as my database. what i want to do is when i open the form, the database will auto increment the student id and show it on the text box.

Member Avatar for trisha0906
1
2K
Member Avatar for neeludhiman

Hi friends, Can anyone tell me how can we get message boxes (e.g, with buttons OK, Cancel) in C ? Please guide. Thanks, Neelu

Member Avatar for rishabh413
1
17K
Member Avatar for dean8710

Does anyone can share with the javascript how to book a table (restaurant). 1. when user click on image of table (assume) restaurant directory, value will pass to process..

1
130
Member Avatar for dreamslct

Hi, I am doing an exercise of Head First Java Pool puzzle. I tried many times and finally got the output required but I am still not fully understand that how program produced that output. The code for Pool Puzzle is as under: [Code] class Echo { int count = …

Member Avatar for dreamslct
1
937
Member Avatar for chandbasha

Hi I have one sql query. using this query i can download 10 lakhs of data in csv file for 6 hours. now i want to download 20 lakhs of data for 6 hours or less. please tell me how to increase the performance. SELECT id as imp_addr_id,userEmail, email ,name,mobile_no,gender,city,income,profession,experience,country,pincode,type …

Member Avatar for fobos
1
241
Member Avatar for Qusto

Hello! I’m trying to build an app, which should have Flash Player control, which plays SWF from server (certain URL). For Flash Player ActiveX you have to save SWF file to a temporary location to load it and play, isn’t it? You'll have to create a corresponding link that you …

Member Avatar for MastAvalons
1
122
Member Avatar for Gribouillis

This snippet defines a decorator @mixedmethod similar to @classmethod, which allows the method to access the calling instance when it exists. The decorated functions have two implicit arguments [i]self, cls[/i], the former having a None value when there is no instance in the call. Using python's descriptor protocol, the implementation …

Member Avatar for TrustyTony
1
440
Member Avatar for vaironl

Hello forum, Vaironl here. I have a small question, I'm making a new screen using the GridBagLayout, since my old screen was using absolute positioning. I'm using a JScrollPane and setting a subPanel in it. THe subPanel contains 40 labels saying Ingredient. For some reasong the Ingredient Scroller will take …

Member Avatar for mKorbel
1
1K
Member Avatar for Majestics
Member Avatar for umair jameel

How print this series in while loop square root 1 2 4 8 16 32 64 128.......... and cube root 2 8 24 72........

Member Avatar for stultuske
1
1K
Member Avatar for Mr Gates

I've made a program that creates a log of the activities performed in it, for easy reference for the user. But I want the program to automatically delete the file after the program is shut down. What is the syntax and how do I go about doing it?

Member Avatar for brainysmurf0316
1
682
Member Avatar for brendono978

Program 66: Tromino Tiling An N x N (where N is a power of two) chessboard can be tiled with L-shaped tiles that cover three squares so that any given square and only that square is left uncovered. Assume that the rows of the board are numbered from one to …

Member Avatar for D_Unforgiven
1
494
Member Avatar for invisal

this function will calculate a string formula which support cos, sin, log, abs, mod, and example : [10*2+(2+3)]/(5 mod 4) and you will get the answer, and this function it really easy to plugin with you code.

Member Avatar for JoeyJoeC
1
307
Member Avatar for Hajira Khanum

Hi! I would like to develop applications using c or c++. but i have no idea how to start with it, i did try the search engine but didn't get a satisfactory answer. can i get some ideas and examples please:-/

Member Avatar for LRRR
1
107
Member Avatar for billmudry

Before I really dig in ----- HAPPY NEW YEAR EVERYONE! A few of you may remember that I have been working on producing a large wood knowledge base (woodsoftheworld.org). It is totally none profit. I am getting much closer to having enough working that soon I hope to be able …

Member Avatar for urtrivedi
1
2K
Member Avatar for Momerath

Has been released by Microsoft. It includes [LIST] [*]64-bit Windows Developer Preview [*]Windows SDK for Metro style apps [*]Microsoft Visual Studio 11 Express for Windows Developer Preview [*]Microsoft Expression Blend 5 Developer Preview [*]28 Metro style apps including the BUILD Conference app [/LIST] You can download it [URL="http://msdn.microsoft.com/en-us/windows/apps/br229516"]here[/URL]. I'm about …

Member Avatar for Pjieter
1
336
Member Avatar for vegaseat

Version 2.6 of wxPython has support for playing animated gif image files. The example sets up a panel on a frame and then uses wx.animate.GIFAnimationCtrl() to do the hard work. Actually pretty simple code.

Member Avatar for woooee
1
2K
Member Avatar for Raymond10

Hello, and happy new year first of all. What I am trying to do is make a program that according to the values the user inputs then displays a polynomial. The forumla for the polynomial is this: [code]float par(float x) //H timh ths synarthshs sto shmeio Xo { float tel=trap[0][1], …

Member Avatar for Raymond10
1
137
Member Avatar for Majoni

When reading characters from standard input what does it mean when you are asked to sop on hitting EOF in the input?

Member Avatar for gourav1
1
365
Member Avatar for lxXTaCoXxl

This release is an updated version of my previously released code snippet entitled "Get Internet Connection State". I've made this snippet into an actual control that you can add to your toolbox. It can be used with all versions of Visual Studio C#. I'm also posting the main source code, …

Member Avatar for lxXTaCoXxl
1
153
Member Avatar for skp03

i have login form which is form2 i have another form which is form1 the form1 should come only once that to when i install this application in the new machine after that it should not come again only thing is when we click on the linkedlabel which is in …

Member Avatar for M.Waqas Aslam
1
138
Member Avatar for vegaseat

Folks have asked numerous times for a code snippet of a binary search of an array. Here is heavily commented code with a few test printf() included to give you a picture of what is going on.

Member Avatar for codinghavok
1
769

The End.