199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Interrupt

My hobby is embedded programming therefore I’m learning C , I was just wondering if C has library functions like windows forms,buttons etc(like in C#)?

Member Avatar for $urya
0
3K
Member Avatar for TheVenerableZ

I made a PHP class that dramatically simplifies sending text messages with PHP. I know this isn't really a "help me out!" type question per se, but I would like to share the code because I have found it to be tremendously useful. You're free to do whatever you'd like …

Member Avatar for ﻼim
0
2K
Member Avatar for moist

hi there ... i need some help .. i m doing a windows service ... it involve capturing pic for the user using the computer every 60 sec interval... i have create a timer and allow it to take every 60 sec and save into the folder... beside tt .. …

Member Avatar for Venjense
0
178
Member Avatar for praveenpvs

Hello every one I have referred DLL in my project. I have to handle the event from DLL in VB.net code. Can any one help me out in this regard? I guess we can do using WithEvents. Can you give me complete picture? Thanks a lot.

Member Avatar for praveenpvs
0
189
Member Avatar for gamefreak5678

I'm wanting to copy a file from one location to another using variables. This doesn't work and I can't figure out why. Is there more code that I need besides what's listed below? [CODE]copy("../upload/".$img,"../gallery/pic/".$img)[/CODE]

Member Avatar for vibhaJ
0
134
Member Avatar for c12345n

I have a solution with many projects (assembled sepparetely), all works fine, but I want merge all because i want make only one project (I want it more secure without reflection to make obfuscation process). In process of integration anything appear not be assigned correctly. - I want run unified …

Member Avatar for Venjense
0
176
Member Avatar for magsaleh

Dear all, I have something very weird, never experienced it before with c# express edition - i have a piece of selection query that selects all the records within a specific month. - this query works very fine in msaccess, but doesnt work in the run time in c#. so …

Member Avatar for Venjense
0
162
Member Avatar for ppetree

I have created an array as: [CODE] //$field = "email"; //$value = "text"; $structure[$field] = $value; [/CODE] $structure gets passed to a function that uses a for() loop to work through a process and in this process I need to extract the key/value pair [CODE] for($i=0; $i<$cntFields; $i++) { $a …

Member Avatar for cwarn23
0
119
Member Avatar for gutiarfanatic7

I'm trying to write a blackjack game, but I ran into a problem with random integers. I'm to the point where the player has there original number, and they've chosen to hit. I need help figuring out how to make random_integer keep it's value, but then add another random integer …

Member Avatar for sfuo
0
151
Member Avatar for selvis

I want to display large number of searched results in my jsp page. I'm using struts framework. I stored each record in to an object of a class and added to an arraylist and I displayed it with <logic:iterate . But I want to filter results from array list when …

0
57
Member Avatar for selvis

In order to run a report I found display tag is useful for sorting the fields and render the data. During implementing this, I found the following difficulties: In my JSP, the table header is defined in a separate div tag with different styles than the corresponding data in another …

0
60
Member Avatar for Emiliya

Hi all... I have one repeater control with check boxes in one of the page.My requirement is i have to pass the values of the row that i have checked (multiple check boxes can be selected at a time) when i click on a add button in the same page …

Member Avatar for Emiliya
0
129
Member Avatar for bettersaid

hello! i've been trying to create an automated task which it should: 1. open Print 2. choose Printer 3. change Paper Size ( i want to print my doc in all paper size) but i find my code too long and oh i dont know, and i want to simplify …

0
142
Member Avatar for pythonbegin

Hi all How can I create a csv file with header. I have a text file with several number of blocks staring from "//" and ending a block with "//". I have attached a sample file. I want to use first column of this text as a header of csv …

Member Avatar for pythonbegin
0
1K
Member Avatar for Kruptein

I'm fetching a list with all files/folders on a ftp-server, I want to put a [F] before a folder, and leave files like they are, but I can't find a way to check if it's a file or a dir... I already tried: [code=python]from ftplib import FTP import os ftp …

Member Avatar for Sunjay03
0
7K
Member Avatar for smdhas

m a newbie to aspx vb.net and need some help...i've got a login form with staff id adn date of birth loging in credentials. m using 3 drop down lists to capture day,month and year(m populating the day month and year in the page load event). below is my login …

Member Avatar for leahrose87
0
275
Member Avatar for comSysStudent

Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the [URL="http://download.oracle.com/javase/tutorial/java/IandI/override.html"]Sun Java Tutorial[/URL] but I find the example a bit vague when it comes to the hiding. …

Member Avatar for yasuodancez
0
189
Member Avatar for mutawari

dear all, i have 2 tables. first table named std_table : [CODE] | ID_std | std_1 | std_2 | std_3 | std_4 | std_5 | | 115 | A | B | A | C | D | [/CODE] then i gave another table named cpr_table : [CODE] | ID_cpr …

Member Avatar for mutawari
0
119
Member Avatar for agent7

please help with my connection i'm getting error("exception: org.postgresql.util.PSQLException: The connection attempt failed.The connection attempt failed.") this is my code.. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ page language="java" import="java.sql.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML …

Member Avatar for agent7
0
231
Member Avatar for srinivas88

Hello friends,I need help to create a program which converts a given dfa to minimised dfa.Not many articles or help is available on the internet and so i request your help.The program can be in any language and any input may be assumed..say for the input,a dfa is given through …

Member Avatar for Adak
0
149
Member Avatar for RajendraR

i have 2 form and 1 dialog... the problem is when i select form2 as startup form i'm not able to copy text from combobox1 on dialog1 to textbox1 which is on form1 ... if i select form1 as startup form its working fine... i 'm not getting whats the …

Member Avatar for crapulency
0
146
Member Avatar for cocoll

hello! i need help to call a function in same aspx file to set the imageURL. so i have: in the default.aspx sub fillImage() [I]<code>[/I] end Sub and on the form load i have: img1.ImageURl= here i want to call the sub "fillImage" in the same aspx file the default.aspx …

Member Avatar for cocoll
0
81
Member Avatar for sandhya1202

[QUOTE]Actually i would like to do steaming,stopword removal,word count and punctuation marks removal from my text data i found code for this in DaniWeb[/QUOTE] [CODE]import string def RemovePunc(): line = [] i = 0 text_input = "" total_text_input = "" #This part removes the punctuation and converts input text to …

Member Avatar for Beat_Slayer
0
639
Member Avatar for Tweed

I am using Excel interop in my VB.NET program. My problem is that I can't seem to figure out how to write to Excel *and* define the Range using numbers. Alright, so I have objects being created depending on the file that the user opens. So there could be 100 …

Member Avatar for crapulency
0
331
Member Avatar for Temmu

how does one call a windows (dos-like) command from within java? such as net stop spooler can one capture the resulting text (such as, spooler stopping, or error such and such)

Member Avatar for Temmu
0
87
Member Avatar for lilfish08

I am fairly new to c++ and have been working on this problem and asked the professor for help, but he has really been non-compliant. I am lost on this and keep gettin error messages that I do not understand how to fix. Any help that could be given would …

Member Avatar for lilfish08
0
209
Member Avatar for lilfish08

Hi I am having trouble with this program, because if the user inputs a multiple word answer for the second question, it will only display the first word of the given answer. And I tried using getline(cin, answer) instead, but that just did not even ask me for an answer …

Member Avatar for lilfish08
0
174
Member Avatar for Sabby76

Hi I'd like to run a flashMovie in a .php page to the norm html. Fla's run ok, except they don't handle 3D object key command .swfs. [url]http://www.flashsandy.org/demos[/url] Click on 2nd image of a type of jet_copter Gavia AT-1008 as the best example of what is possible. Use keyboard arrows …

Member Avatar for Sabby76
0
573
Member Avatar for johnnyturbo3

Hi, Trying to run this script via MySQL workbench. Can anyone see anything wrong with it? I suspect the foreign keys are not defined properly? Thanks [CODE]USE streamlibrary; DROP TABLE IF EXISTS streamlibrary.FileProperties ; CREATE TABLE IF NOT EXISTS streamlibrary.FileProperties( PK_fileName VARCHAR(50) NOT NULL, extension VARCHAR(4) NOT NULL , sizeMB …

Member Avatar for phpstan
0
217
Member Avatar for Smudly

Hi, I have a page that lists the names of the Artists in one column, and the title of their song in the next column. I've included a sort section that allows users to view the artist (with the corresponding title) that starts with whatever letter they press. I've now …

Member Avatar for Smudly
0
147
Member Avatar for cac186

I'm working with a java application and trying to modify this code so that it no longer prompts the user with the Dialog box to save a txt file. The user already uses the Dialog box to choose a directory in which to save the file at an early point …

Member Avatar for cac186
0
612
Member Avatar for tjfitz68

Hello, I have been having a heck of a time using a Listbox with a BindingList object as the datasource. I have finally managed to get the ListBox to update when changes are made to existing items in the BindingList object. When removing items from the list I had to …

Member Avatar for tjfitz68
0
117
Member Avatar for PythonNewbie2

Let's say I have my own installer for a product that uses a lot of other components. One piece of my product is a python script. However, most of my end-users don't have python installed already. Is there any way I can include the python installer as part of my …

Member Avatar for Beat_Slayer
0
193
Member Avatar for sakush100

I AM WEAK IN JAVASCRIPTING, PLEASE HELP ME.[B]THIS IS MY BASIC IDEA TO TOGGLE VALUES USING JAVASCRIPT[/B] [CODE] [COLOR="red"]<?php $xyz=5; ?>[/COLOR] <head> <script type="text/javascript"> var x; function displaymessage() { if (x==5) { alert("yes"); x=1; } else { alert("no"); x=5; } } </script> </head> <body> <form> <input type="button" value="Click me!" onclick="displaymessage();" …

Member Avatar for Ezzaral
0
181
Member Avatar for ndeniche

Hello ladies and gentlemen I've been trying to find a workaround this issue, and maybe you can help me find a solution. I've got a signature footer bar in a html document. This footer bar must display in several websites, in several domains, so i've been looking for an include …

Member Avatar for ndeniche
0
97
Member Avatar for PixelExchange

Hello everyone. I have seen in quite a few programs, a menu that is actually scrollable. Not a scroll-bar (that can be implemented on a window via the WS_HSCROLL|ES_AUTOHSCROLL flags) but a scroller menu. The menu I am reffering to is often seen inside of windows folders, where the menu …

Member Avatar for PixelExchange
0
104
Member Avatar for judithSampathwa

hi i have a 6 radio buttons in an interface. each two radio buttons are separated in a panel. when i load the form one radio button in the interface is selected. how can i make it so that all the radio buttons are deselected when they are loaded. how …

Member Avatar for judithSampathwa
0
1K
Member Avatar for Grep

Hi guys, I have a several dozen .ini files from which I need to extract specific lines. The lines I'm pulling are repeated all throughout the code so I can't count on specific strings to pull these lines. My dilemma is that I want lines: 3, 4, 6, 47, 50, …

Member Avatar for Grep
0
164
Member Avatar for lanitooot

hey guys, my simple program flows like this: a textbox where in you will input a keyword then when you press the 'go' button the data in the mysql database will be shown in the listview. im using mysql and vb .net. i've made the table with sample records in …

Member Avatar for Naveed_786
0
312
Member Avatar for Awah Mohamed

hello guys , this is my code which i am trying to use to sign up to test my database connection, so usually when i try to sign up it tells me there is something wrong on line 11 any way this is the code [CODE] <? $mysql_host = "mysql9.000webhost.com"; …

Member Avatar for Awah Mohamed
0
134
Member Avatar for snivas519

Can anyone explain me the merge sort code(using divide and conquer method and recursive call)...

Member Avatar for snivas519
0
77
Member Avatar for Astro2010

Reading in a string from a file and need to preform basic math equations with it, therefor assuming it can't be in string form. I am attempting to use ATOF but am getting 0's and nan's in return...any suggestions? #include <stdio.h> #include <string.h> #include <math.h> int main() { /*Define Everything*/ …

Member Avatar for Ancient Dragon
0
91
Member Avatar for saransh60

[code] #include <iostream> using namespace std; using std::cerr; using std::cout; using std::endl; #include <sstream> #include <string> #include <fstream> using std::ifstream; #include <cstdlib> // for exit function // This program reads values from the file '1.txt' // and echoes them to the display until a negative value // is read. int …

Member Avatar for Ancient Dragon
0
169
Member Avatar for Petitcharatonyo

Hello World! I'm new in the forum and I don't have too much experience with C++, I'm looking for help with my code, I hope you could help me :) I have to read from a file.txt different collumns, each of them corresponds to a parameter and store them in …

Member Avatar for sfuo
0
583
Member Avatar for melbatista

Im using vb.net 2010 express (im new) im learning to develop apps that uses db. what is the best DMBS to use with vb.net 2010? can you gave an example SIMPLE code on how to connect to the database? thank you - i hope is not too much to ask?

Member Avatar for melbatista
0
153
Member Avatar for Krysis

Hello yet again... Anyway, I'm trying to convert a string that has the form of "1097.04", that is, decimal fixed point with two digits after the decimal point. My code currently reads this number from a file then stores it in a *char. Then when i try to convert this …

Member Avatar for Astro2010
0
219
Member Avatar for WHchaz1027

Hi Geeks!, I need help. I want to format label's text into date but the value of my label is fetched from the database so I shouldn't use Now() function. ex. 7/31/2010 would be July 17, 2010. Thanks in Advance Guys!

Member Avatar for tmcpolin
0
122
Member Avatar for starlight849

Hello I am attempting to parse multiple lines of text from a text file using regexpressions. I am using vb.net with visual studio 2008. At the moment I am filling my datatable with the text file information and am able to return each line of text and parse the first …

Member Avatar for starlight849
0
221
Member Avatar for xavier666

Here is a very simple code demonstrating how 'protected' is used [CODE]# include <iostream> using namespace std; class A { protected : int a; }; class B : public A { public : void f_1() // * { a = 10; cout << a; } }; int main() { B …

Member Avatar for Fbody
0
115
Member Avatar for miskeen

Hi, I’ve 3 classes : A, B and C. The class A includes an object from the class B and another object from the class C. In my class B, I’ve a function that returns a vector of struct. This function is called in the class A and after that …

Member Avatar for harris21
0
10K

The End.