64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jakkee

hi, I have created an application which allows users to view pictures, basically i want to know if it is possible for the file path to be displayed in a text box and for a user to be able to launch the picture using this file name in the text …

Member Avatar for JOSheaIV
0
140
Member Avatar for dd501

Hi, I have have the following code on an aspx page. The code I am trying to create is to display whther a checkbox when it is is clicked on. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> [CODE]<script> $(document).ready(function() { $("input[title$='HalfDay']").click(function() { if ([title$='HalfDay'].checked) { alert("Checked"); } else { alert("Not Checked"); } }); }); …

Member Avatar for dd501
0
136
Member Avatar for umandajayo

Hi friends I am trying to install drupal-6.16 to my local server...I am using XAMPP server on windows xp. but i am getting this error massage. [B]Warning: fopen(./sites/default/default.settings.php) [function.fopen]: failed to open stream: No such file or directory in E:\local server\xampp\htdocs\www\drupal\includes\install.inc on line 188 Warning: Cannot modify header information - …

Member Avatar for rajarajan2017
0
137
Member Avatar for pineapple23

Hi, I've been learning basic C++ for the past few days, and at the moment, I'm trying to make a basic 2-number, plus/minus/multiply/divide calculator. Here's what I have (it's complete). Basically I was wondering if anyone could recommend a quicker or shorter way of typing all of this out. Thanks …

Member Avatar for amrith92
0
372
Member Avatar for neosonic

Hi, do you know any function or component that I need to use to make a smooth image rotation? (as smooth as windows image acquisition). I am currently have a sub that enables me to rotate the image, it is okay with small image, but I am dealing with very …

Member Avatar for neosonic
0
3K
Member Avatar for thejinx0r

Hi, I'm a bit new to python and gui programming. I was wondering if there was a way to display a widget on desktop such that when you minimize everything, my widget still displays? I'm currently checking out PyGTK because I'm using gnome on linux, but if there's a cross-platform …

Member Avatar for thejinx0r
0
134
Member Avatar for white feather

[CODE] public void setTableModel(List<Users> users) { eraseTableRows(); for (int i = 0; i < users.size(); i++) { Users u = users.get(i); tm.insertRow(i, new Object[] { stuff }); } } private void eraseTableRows() { for (int i = 0; i > tm.getRowCount(); i++) { tm.removeRow(i); } [/CODE] i've tried this and …

Member Avatar for white feather
0
146
Member Avatar for glubbish

I have been able to extract a single column with help here but now I want to get two, but the same process does not seem to work. [code=pascal] Procedure Tform1.showroom; begin adoquery1.close; adoquery1.SQL.Clear; ADOQuery1.SQL.Add('Select roomname,description from Rooms'); adoquery1.Open; end; procedure TForm1.FormCreate(Sender: TObject); begin ADOConnection1.KeepConnection := false; datasource1.DataSet := adoquery1; …

Member Avatar for glubbish
0
265
Member Avatar for ferenczi

Hello everybody, I would link to represent a graph with incidence lists. This picture is what I've thought about: [URL="http://img697.imageshack.us/img697/2640/incidence.jpg"]http://img697.imageshack.us/img697/2640/incidence.jpg[/URL] This is what I created: [CODE] #include <cstdlib> #include <iostream> using namespace std; class Edge; class Pointer; class Node { public: Node* nNext; Pointer* incList; char First; Node(char a) : …

Member Avatar for ferenczi
0
115
Member Avatar for CreativeCoding

I am trying to create an upload system for my website. I want it to display the size of the file as well as the percentage the file takes up of 1GB (example: 512MB would be %50 because 512 is 0.5GB). The way I chose to do this is to …

Member Avatar for CreativeCoding
0
289
Member Avatar for didi00

Hi everyone! So I have a problem with java applet. [code] import java.awt.*; import java.applet.*; // import an extra class for the ActionListener import java.awt.event.*; // Tells the applet you will be using the ActionListener methods. public class project extends Applet implements ActionListener { TextField nameField; Checkbox cb1; Checkbox cb2; …

Member Avatar for didi00
0
160
Member Avatar for domingo

Hi, i have a program that connects with an sql database and it works fine with the sql. Now the problem comes when i publish. When i open the published program it gives me an error. An attempt to attach an auto-named database for file ..... A database with the …

Member Avatar for rozendaa@xs4all
0
101
Member Avatar for didi00

Hi everyone! So can someone explain me how to compile a file with gcc? I'm using kubuntu, and I've written my source code in Kate(the text editor), and I saved it in documents like file1, and now how to compile it from the terminal? I've tried with the command: [code] …

Member Avatar for didi00
0
251
Member Avatar for Blitz-labs.com

Hi All Im developing a website here's my situation. Im using one template and using template to link it to every page and using str_replace to replace parts of my site template for what is needed for each page. Any way my problem is this I have sidebar and in …

Member Avatar for Blitz-labs.com
0
168
Member Avatar for broli100

Hi, I am making application where I need to repaint windows form where I display some variables. I used InvalidateRect(NULL,0,0); - now the form is refreshing but started to blink because I refresh whole area,and I dont need to refresh all the buttons and static text ,only area where I …

Member Avatar for broli100
0
106
Member Avatar for kdw3

Hi All. I am relatively new to programming so this may seem like a trivial question, but here goes. On my form I have a datagridview which is bound to a 'Supplier' table in Access 2003. Once I click on a record on the DataGridView, textboxes below which are also …

Member Avatar for kdw3
0
283
Member Avatar for Greyhelm

I am trying to update an occupants list in the class Place, after setting it with: [CODE] places["smith"] = Place( "smith", "This is the Blacksmith's Shop", "grimwo", ("well", "bakery", "mill"), () ) persons["berrol"] = Person("berrol", "bakery", "baker") [/CODE] The classes are setup as: Person / Place [CODE] class Person(object): """ …

Member Avatar for Greyhelm
0
10K
Member Avatar for jiraiya

Hi everyone, I'm trying to build a GUI for a project I'm working on, and I'm having trouble working out how to move between different displays within the same GUI. I have a simple GUI with a menu bar and two buttons in the content pane. If the user clicks …

Member Avatar for jiraiya
0
75
Member Avatar for baby_c

hey guys i'm new to c and still learning.need some help here. i wrote this code and it isn't work properly,unable to figure out whats wrong!!but when the [B]strget()[/B] call from the main() its working.please some help... [CODE]main() { int x; printf("enter a value :"); scanf("%d",&x); switch(x) { case 1: …

Member Avatar for Aia
0
174
Member Avatar for pickleleon

This is my very first thread on the net period, I'll do my best to describe my c# problem. I was wondering if there is any way of calling upon general event trigger objects (referring to buttons, picture box etc.) on a whole, for example is there a keyword that …

Member Avatar for pickleleon
0
262
Member Avatar for sharensla
Member Avatar for Fbody
0
2K
Member Avatar for pt730

Hello, I am trying to pass some information to a new page, create a string array, and then use that information in additional code in the application. It seems to work fine until the last step, where the array values seem to disappear (goes null). Somewhere between when the new …

Member Avatar for pt730
0
82
Member Avatar for alllucky7s

So this is my problem: as the title suggests, I have a Labyrinth class that contains two binary trees made of two different kinds of structs that represent different kinds of rooms. The names are in spanish, so Arbol means tree, Laberinto is the labyrinth class and Sala1 and Sala2 …

Member Avatar for alllucky7s
0
210
Member Avatar for tizon

Hi guys, Need help with my project it is an offline personal dairy so i have to display calendar i did but the problem is it doesn't look like a calender at all it's just look like an collection of buttons i tried to set border as setBorder(1,1,1,1) but that …

Member Avatar for tizon
0
100
Member Avatar for Sandhya212

Hi, I use Fedore Eclipse IDE to run C++ code. I need to use the Scythe Statistical toolbox which implements random number generators from different functions (gamma, beta etc). I have added the toolbox's location to the path of header files in Eclipse and added the [CODE]#include "distribution"[/CODE] (available in …

Member Avatar for Sandhya212
0
163
Member Avatar for oaktrees

I am reading in a string from a file which has the format $ 235.0 M. I need to convert this to a number and save the letter M somewhere else. Any pointers on how to strip off the $ and M? Thank you.

Member Avatar for oaktrees
0
136
Member Avatar for vlady

Hello, Pls can somebody help me with time comparison between 2 scripts. I have already looked the documentation but I haven't found anything. I deal with following exercise: "Run this version of fibonacci and the original with a range of parameters and compare their run times." I intend to measure …

Member Avatar for vlady
0
148
Member Avatar for nbaztec

I started out with RMS lately(well last hour only) and laid out methods for my class to use RMS for data persistency. The MIDlet works fine both in my S40 Nokia cell & the emulator(Sun Java) as long as the App is not closed. [U]Steps[/U] 1. I add record to …

Member Avatar for nbaztec
0
134
Member Avatar for ceyesuma

Would it be safe to assume that if I had a synchronized DAO for each model that implements an interface too each with access to XML resources. So when my JDesktopPnane builds each JTabbedPane with the corresponding view GUI panel that I could have the code in the in each …

Member Avatar for ceyesuma
0
103
Member Avatar for Swiftle

Hello, I'm trying to make a circular list by modifying an existing simple-linked list. I'm having a problem when testing whether or not a node is valid. The old code looked like this: [code] return (elem == NULL); [/code] Now with a circular list I have my sentinel node and …

Member Avatar for Swiftle
0
90
Member Avatar for Derice

I would like to include .swf file in a vb 2005 program. I have no idea how and where to include the .swf file. It is inside the picture box? Please guide me, I am new in vb and have no idea how 2 do it. thx

Member Avatar for gelmo214
0
1K
Member Avatar for darelet

Hello, I'm researching in image processing and need to develop a Gabor filter in C++ and openCV. I found a good sample on which I'm basing my code. Problem is, while I've tried to emulate much as possible the other code, mine is not producing correct results. I changed a …

Member Avatar for darelet
0
157
Member Avatar for migz.natividad

[B]Please Help Me With the codes Im currently having a problem with code[/B] // Im trying to Transfer the Item Collection properties of te LisBox1 to ListBox2 but im having an error of result. Here is the code C# [CODE] ListBox2.Items.Add(ListBox1.Items); [/CODE] Plese help with me the code! Thank you!

Member Avatar for Ramy Mahrous
0
120
Member Avatar for gorbulas

As part of a program I'm making, I have a class, and have 5 different instances of this class declared globally for accessing by anywhere else in the program. The class has a list associated with it, that should be different for each of the 5 instances of the classes. …

Member Avatar for gorbulas
0
375
Member Avatar for GrahamLawton

I keep getting this error when trying to load this page: [B]Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/rma/view.php on line 28[/B] I've been trying to check it, but it looks fine to me... [CODE] <?php $username="xxxxxxxx"; $password="xxxxxxxx"; $database="xxxxxxxx"; $con=mysql_connect(localhost,$username,$password); if (!$con) { die('Could not connect: ' . mysql_error()); } …

Member Avatar for rajarajan2017
0
68
Member Avatar for trpsjt2008

Hi I Have 100 Picture Box(PictureBox1-100) And I want to use Each PictureBox with loop like [CODE]Dim left as Integer Do while left > 1 PictureBox 'Picture Box number i used left = 'My Procedure Left += 1 Loop[/CODE] How Can I use Each PictureBox From 1 to 100 Thank …

Member Avatar for kvprajapati
0
467
Member Avatar for j_808

I have a datagridview and i basically click a button that goes through all the rows in the table looking at two particular columns: quantity and re-order level. After every row the code checks to see If the re-order level is greater than the quantity of that particular row. if …

Member Avatar for G_Waddell
0
93
Member Avatar for MARKAND911

I have a small problem. I have got a fileupload control inside the update panel. and when i upload a file in it,it doesnt contains the file. if(fileupload1.hasfile) { } this statement doesnt get execution. the condition doesnt satisfies. so i got one solution for it.. Make the fileupload control …

Member Avatar for kvprajapati
0
115
Member Avatar for Ambislm

am new to php. my question is: i have 5 items in adrop down list box . i have items related to that list in mysql database. i want to list those items in textbox from database when user selects an item from drop down list box. example; i have …

Member Avatar for Ambislm
0
2K
Member Avatar for becdudek

hey guys, im doing a databases project and im a little stuck this statement wont work(its part of a jdbc) and i get the following error messahe, any suggestions as to why? [CODE]stmt.executeUpdate("CREATE TABLE LOCATION (" + "serial VARCHAR(10)," + "notice TINYINT(10),"+ "intransit ENUM('T','D')," + "dtnoticeissued DATETIME," + "lat NUMERIC(8,4)," …

Member Avatar for becdudek
0
117
Member Avatar for yasaswyg

Hi, I've been having trouble understanding this code that my professor put on the web. Can someone help me understand this. I thought this would compile and run but its giving me an error message " Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at fileio.AllCapsDemo.main(AllCapsDemo.java:64) " Im not sure how i …

Member Avatar for sergb
0
150
Member Avatar for glubbish

Hi All, I have cut this down to a simple example. The access file has a table called rooms which contains a description field of type memo I want to load this into a dbmemo (delphi 7) I run this by a button onclick event [code] procedure TForm1.Button1Click(Sender: TObject); begin …

Member Avatar for glubbish
0
222
Member Avatar for iwanttolearnc

Good day to you guys! im having a bit of a problem using strtok. im currently tinkering with extracting gps data, which are separated by commas. ive seen code in several forums but most of them assign the output of strtok to the same char pointer. what i want to …

Member Avatar for jephthah
0
199
Member Avatar for cecp

Is it possible to use child window created in Win32 API as a container for another windows (controls - buttons, edit fields etc.)? Or is there any other way how to use container in Win32 API? The goal is to create a simple user interface for application?

Member Avatar for cecp
0
226
Member Avatar for Dr-Delta

hi, I have a problem with Operator '&' someone may help me with this problem. thank u :) [code] Protected Overloads Overrides Sub Render(ByVal writer As HtmlTextWriter) If String.IsNullOrEmpty(Name) Then Throw New NullReferenceException("Name must be set on a widget") End If Dim sb As New StringBuilder() [B]sb.Append(("<div class=""widget " & …

Member Avatar for Dr-Delta
0
842
Member Avatar for GigsD4X

Hello there, I've been having problems creating a part of my mail system that makes messages look red when they haven't been read, and white when they have been read. This is what I'm using right now [code=php]mysql_query("UPDATE Mail SET Read=1 WHERE ID={$messageID}");[/code] The SQL ID Field is a smallint …

Member Avatar for drjohn
0
332
Member Avatar for jonathan96

HI. Can someone please tell me why this simple operation doesnt work? [CODE]$time1_offset * -1;[/CODE]

Member Avatar for EvolutionFallen
0
178
Member Avatar for ticktock

Hey all I currently am having trouble utilizing the oledbcommand method named parameter because I do not know how to use it properly :( Here is my class: [CODE]namespace CalendarApplicationLibrary { public class MeetingEntryDA { private const string CONNECTION_STRING = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Entry\entry.accdb;Persist Security Info=False;"; public void WriteDataToFile(MeetingEntry currentEntry) { OleDbConnection …

Member Avatar for ticktock
0
2K
Member Avatar for Isaaac

How can i print a text file in c#? I've been looking on the internet and found code, but I just need it on paper, don't care what type of letters, just a regular print.. And i want to keep the code short. I've found long code, but I've got …

Member Avatar for Isaaac
0
265
Member Avatar for JOSheaIV

Okay so I am writing some C# and the program at one point reads in a file and stores each line in a string array. This part of the code works I have tested it. Well then I have the string displayed in a listBox with this string array using …

Member Avatar for JOSheaIV
0
3K

The End.