64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for EvolutionFallen

Hello, I am writing a program (for fun as well as for practical uses) that will allow me to keep track of several projects I am working on and how long I have spent working on each. My program has a class "Project" which has the following variables: [code="VB"] Private …

Member Avatar for sknake
0
250
Member Avatar for Pmarcoen

I seem to have a problem displaying an image from the phone's filesystem in J2ME. The following code works for images that are in the res folder but not if the path references to a file on the filesystem .. [code]path = "file:///C:/Data/Images/200908/25082009004.jpg"; try { image = Image.createImage(path); } catch …

Member Avatar for peter_budo
0
726
Member Avatar for bshyama24@gmail

Hi All, I want consume a web service in my application that is in a different network or different system. If the name of the web service is unknown to me then what is the procedure to find out?

Member Avatar for Ramesh S
0
78
Member Avatar for greeny_1984

hi, iam using the following javascript a page opener.location.reload( true ); but every time the page reloads iam a getting alert message. How can i reload a page with out a alert message

Member Avatar for ejazmohammed
0
9K
Member Avatar for feoperro

Hi, I'm trying to use the request.getParameter("myInputField") on Page A. The problem is that the input field "myInputField" is on Page B. Does anyone know of a way to retrieve from Page A, the value of the input field that is on Page B? Thanks, -Ash

Member Avatar for feoperro
0
168
Member Avatar for avirag

Hiiiiiiii i m making a C# spell check application in which i m using Microsoft word 10.0 or 11.0 object library, so in that case if i want to use 12.0 instead of 10.0 or 11.0.... So it is not support that application, and give some error and warning. So …

Member Avatar for avirag
0
111
Member Avatar for jay_412

Im having trouble to use this function FillList ($sql, $selected=0) from my Mysql Class.. I want to implement it to a dropdown box in my page this is the full MysqlClass.php <?php // Read the database name for the site //PostgreSQL-PHP include "mysqldb.php"; class MySqlClass { //this are the global …

Member Avatar for jay_412
0
190
Member Avatar for treyd

I created an array, and I am trying to pass it to a method then double the size of that array. Than I would like to print the array. I am at a loss right now as to why it wont print, and what I am doing wrong. Any help …

Member Avatar for treyd
0
113
Member Avatar for Aprentchacker

Please help me undersatnd why this code does no work, even when it compiled without problems. After I have input the filename the application just hangs up and aborts thereafter. My input file contains the graph' adjacency matrix and the application is supposed to pull this data from the file …

Member Avatar for Aprentchacker
0
170
Member Avatar for MaestroRage

I'm having some trouble using struct which I can't seem to figure out. it seems to be following all the examples perfectly, i've tried to break it down to it's simplest block and nothing. Can somebody please tell me why this won't compile? [code=C]#include <stdio.h> typedef struct a{ char a[25][12]={"a", …

Member Avatar for MaestroRage
0
139
Member Avatar for ScaryMan

Hi guys. I'm new in this community. I have to do a project which should do this: [QUOTE]Input an integer containing only 0s and 1s (i.e., a “binary

Member Avatar for ScaryMan
0
120
Member Avatar for Merovingian

Hi all, I've got my restore database code working good but was wondering if there is anyway to get some feedback from the SQL server during the restore? [CODE] Dim sqlstr As String sqlstr = "restore database " + dbNameFinal + " from disk ='" + tbBAKpath.Text + "' with …

Member Avatar for Merovingian
0
168
Member Avatar for MaestroRage

I'm trying to understand something about 2d char arrays. How can I set up my 2d array to accept the following [code=C] char a[][] = {{"item1", "1", "1"}, {"item2", "1", "2"}}[/code] no matter what values I put in 2 brackets there are too many initializers, and putting a third dimension …

Member Avatar for MaestroRage
0
97
Member Avatar for NargalaX

Hey, I found a cool class online for finding certain colors in a designated rectangle around your mouse position. Its optimised for speed, and supposedly works, but when I try compiling it I get around 32 errors. Heres the code [code] public static Point PixelSearch(Rectangle rect, int PixelColor, int Shade_Variation) …

Member Avatar for NargalaX
0
968
Member Avatar for Diamonddrake

I have been part time working on the same application for a year. its a very self serving, on day freeware application for easily accessing applications ect. I need a container for dynamically create rows of buttons, I am currently using some transparent panels, and changing their visibility when I …

Member Avatar for Diamonddrake
0
1K
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
263
Member Avatar for Blaine Tuisee

I have a web based application and i want the objects (i.e. textboxs, labels) to be locked into position. If i resize the window it rearranges everything amd starts looking sloppy. Any help?

Member Avatar for serkan sendur
0
144
Member Avatar for Lingson

hi, how do I left justify all the radiobutton displayed? For example, I have 5 radio button with different text, each on different row using: [CODE]rb[i].grid(row=i, column=0)[/CODE] Instead of displaying it left justified, its all centered. I tried using anchor='w', but result the same. I tried also to count the …

Member Avatar for Lingson
0
223
Member Avatar for zerogee2

ok, i wrote a label for statement that on row 1 has "*" and nine spaces. row 2 has 2 "*" and 8 spaces and so on...... till my tenth row has ten "8" now i need to do the opposite; row 1; 9 spaces and 1 * row 2; …

Member Avatar for Airshow
0
131
Member Avatar for koyel555

I need quick help, its urgent for my job, pls help me. I need to change the font color, font size & font face of some text assigned in a div. To do so I have a form select option menu at the top, adn below the menu three's 3/4 …

Member Avatar for FlashCreations
0
746
Member Avatar for MrNoob

Hello guys I am reading some book but there and went to input validation but there is something logical i dont get in it you know when press enter with getchar() sometimes it transmits newline to the program but book has solution but i don't know why it works i …

Member Avatar for MrNoob
0
107
Member Avatar for HelenLF

I wonder if this can be done. I have a select drop down box where the options are populated form a field in a database table something like this. $SQL = "SELECT DISTINCT category FROM atable ORDER BY category"; $result = mysql_query($SQL); echo "<select name='addCategory' size='6'>"; while ($db_field = mysql_fetch_assoc($result)) …

Member Avatar for HelenLF
0
117
Member Avatar for scias23

i'm thinking how to do this since last week. i can make a rps game in java, BUT not in OO way. just the simple ones. what i want to do is a rps game - the OO way. i planning this program to have two options, play with player …

Member Avatar for TheWhite
1
605
Member Avatar for serkan sendur

ListViewItemCollection class has no constructor, so i cant create an instance. the listview in compact framework does not have SelectedItems property, so i want to create it. I want to iterate through all the items and if they are selected i want to add that item to the instance of …

Member Avatar for DdoubleD
1
846
Member Avatar for freelancelote

Hi, I'm starting working with the Graphics and related and strugling to understand it. I'm trying to do something as simple as drawing a String on a panel. The string changes on runtime. I post the code below. In effect, every new number is drawn on top of the old …

Member Avatar for freelancelote
0
210
Member Avatar for vijaysoft1

if some one is posting a spam content like this , what we do . Tell me any way in php (or HTML) to prevent this , means i want to display any long text in my fixed size table ( eg: 500 pixcel width) Suppose some users didn't press …

Member Avatar for vijaysoft1
0
147
Member Avatar for carobee

How do i update a database from dataset. [code]SqlDataAdapter.Update()[/code] is not working

Member Avatar for ggl0rd
0
224
Member Avatar for atch

Hi, I'm trying to fork out number from this expression. Obviously without any luck. I wonder if anyone could help and suggest good book about regex. [code=c++] boost::regex reg("[[:blank:]]*move[[:blank:]]*\\d{1,3}[[:blank:]]*, boost::regbase::icase); [/code] Thank you

Member Avatar for atch
0
104
Member Avatar for nateuni

Hi, I have looked on boards, googled, I tried you tube had a look at the C books I have on hand.. but I am confused about this... What is the best way to write a struct to a file_ And how is the data saved and then read back? …

Member Avatar for nateuni
0
367
Member Avatar for eligmatic

Using write instead of createElement/createDocFragment? Hello all, I've made a version of a script: [url]http://pastebin.com/m795e1a9a[/url] found here: [url]http://www.daniweb.com/forums/showthread.php?t=212732[/url] It's great (all credits go to the original author(s)), but I would like the results in a pop-window and I seem to have met a mental-block. I would be grateful for any …

0
63
Member Avatar for tryongliph

hello everyone, this is my first post. i'm working on something that seems quite simple but i don't have the know-how. i want to populate a gridview in a web application with a field selected from a drop down list. basically, once you select an item is selected from a …

Member Avatar for tryongliph
0
297
Member Avatar for MatthewKeyzer

i am currently trying to configure a email sending function using an SMTP server. when i send a mail to and from a person with the email extension of @dtss.com (The company employes) it works perfectly with attachments and everything if i change the ToAddress to anything else (i.e. [email]matthew@crimzone.com[/email]) …

Member Avatar for MatthewKeyzer
0
1K
Member Avatar for NargalaX

How would I be able to find a certain pixel on any screen under a certain RGB, and then get its x y coordinants? Thank you!

Member Avatar for sknake
0
5K
Member Avatar for cwarn23

Hi and I'm no noob 2 ajax and have used it many times before. But for some reason this script doesn't want to work on any browser except Internet Explorer. Can anybody see what I have done wrong in this code as I have searched and searched for hours and …

Member Avatar for cwarn23
0
160
Member Avatar for and12

I know what a Jar file is. [url]http://java.sun.com/developer/Books/javaprogramming/JAR/basics/build.html[/url] I just can't figure out how to get it to be recognized as a command. I have the same problem with appletviewer. I was told i was suppose to to set some path but i am not sure where it is. I'm …

Member Avatar for sbhavan
0
177
Member Avatar for gunjannigam

I want to create a custom NumberFormat which returns empty string for negative values and the double number iteslf for +ve and zero values. Please guide me....................

Member Avatar for gunjannigam
0
169
Member Avatar for yorro

I am trying to read a specific line from .txt file. The problem is the the whole application hangs. It does not display any error, just hangs [CODE=vb] Imports System Imports System.IO Dim Username As String = "" Private Sub Form1_Load() Try Dim Filereader As New IO.StreamReader("Test.txt") Dim CurrentLine As …

Member Avatar for yorro
0
152
Member Avatar for doomfrawen

Hi again guys :D I need to make a program that reads a txt file, show the original file on a RTB and then show the words of the file, sorted alphabetically with the number of words found on the file in another RTB, e.g. INPUT: "That fox killed my …

Member Avatar for doomfrawen
0
209
Member Avatar for vairvixen

I have a sendmail.php script which evaluates whether or not certain pieces of information are available and/or are within the correct parameters. Within this code I have defined two variables : [code] $maxsamples = 3; $minsamples = 1; [/code] I also have another variable which is a summation of several …

Member Avatar for darkagn
0
113
Member Avatar for gaya123

//styleDetail.jsp [ICODE] <html> <jsp:useBean id="productView" scope="request" class="com.view.ProductView" /> .... <% List result = productView.getProductList(); Iterator it = result.iterator(); while(it.hasNext()){ %> <tr> <td><input type="checkbox" name="id"></td> <% List temp = (List) it.next(); Iterator it1 = temp.iterator(); while(it1.hasNext()) { Object obj = it1.next(); request.getSession().setAttribute("value",obj); %> <td><a href="ProductController?selectedValue=link"> <% out.print(obj); %> </a></td><% } %> …

Member Avatar for gaya123
0
148
Member Avatar for Pikachumanson

For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so that doesn't happen? switch(id) { case …

Member Avatar for Pikachumanson
0
134
Member Avatar for DdoubleD

Can anyone tell me how to get my blocks of code to automatically indent when I place the final closing brace--"}". This works fine when I am coding in C# and I know there must be a way to enable this feature for CPP source documents.

Member Avatar for DdoubleD
0
143
Member Avatar for vairvixen

I'm really new at JavaScript, but I thought an image map with rollover images would be a relatively basic feat... I have a large map with hotspots over individual states. I want the user to hover over a hotspot and for the main image to change, displaying information for that …

Member Avatar for vairvixen
0
184
Member Avatar for LordoftheFly

Hey guys. Thanks for taking the time to read this post. I'm relatively comfortable with C++ and am taking a class in C for the first time. I'm finding it difficult and frustrating to adapt to the new language. It's kind of like trying to box with a hand tied …

Member Avatar for LordoftheFly
0
165
Member Avatar for sonia sardana

I have made connection in web.config file,Its working ,I want to just confirmed dat Whether i m doing it in right way or not! Web.Config File- [code] <configuration> <appSettings/> <connectionStrings> <add name="Connection" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] Code Behind Page [code] public partial class FrmPractise : System.Web.UI.Page { …

Member Avatar for sonia sardana
0
99
Member Avatar for aroopv

Urgent Help needed, I am updating an access database using C#. Everything works fine except when there are multlines in text box controls, update command doesnot update these textboxes to text field or memo field. On screen I have a grid from the same datasource as that of the textbox …

Member Avatar for sknake
0
208
Member Avatar for AssaultM16

So I am trying to use multiple source files for my text based game. In Code::Blocks in doesn't even compile it says " cannot find -lfunctions.h". In Dev-C++ it compiles but the function doesn't work properly Here is the code Main.cpp [CODE]#include <iostream> #include <string> #include <fstream> #include "functions.h" using …

Member Avatar for AssaultM16
0
99
Member Avatar for nickcampbell

Hi, I've got two tables in a database - one a list of schools (around 50 entries), and one a list of pupils (around 17,000). Both are spatially-attributed using PostGIS. Basically I need to allocate each pupil to their nearest school. Currently I'm looping through the schools repeatedly, using the …

Member Avatar for woooee
0
2K
Member Avatar for Aussie_Here

I want to create a procedure which takes one input parameter(@name) and list all the fully or partially matching results. I used [code=sql]Select * from Table1 Where Name LIKE @Name[/code] but it didnt work. Can you help plz?

Member Avatar for Aussie_Here
0
118
Member Avatar for ddanbe

Have looked around but I could not find an answer to this question. Is there a difference between these two field initialisations? Or does it really not matter and is it just a matter of style. [CODE=c#]class aClass { private int aField; public aClass() //default constructor { aField = 42; …

Member Avatar for ddanbe
0
144

The End.