199,114 Archived Topics
Remove Filter ![]() | |
Hello all. I am new to this discussion forum and would greatly appreciate anyone's help on this one. This is a great site!! Thank you all for being here. Here's my problem: I'm working on an application that has a JPanel that is a grid layout with three columns of … | |
I really need someone to point me in the right direction. I am building a page where a person can choose what border they want to go around their business information. Once they choose it, the image goes in the database, as well as their info. I'm okay on figuring … | |
Hey frnds, I m comparing two images in VB.Net..I get the code in C# & dat code is working 100 % Correctly..Now want to convert dat code to vb.net..& i need help in just converting two lines- C# EXAMPLE [code] private void Form1_Load(object sender, EventArgs e) { Bitmap img1= new … | |
hello all who read, im here to write this forum, because i have exhausted all means (to my knowledge) of figuring this out. I used the same settings with another outlook and it worked. Basically i have a form and when the user hits "submit", the form gets directed to … | |
Hi, I have a c++ program which uses the api's of a utlitiy. As per the document I have to include the path of binaries for the utility in my code. I am not sure why that is required and how to inlcude that. Any help is appreciated Thanks | |
Hello, I am trying to embed a html file (a report from sql) in to a word document in a particular location. I am trying to get this done using the Office Interop. 1) How can I embed a html file in to a word document ? 2) How can … | |
I'm trying to open a command prompt through the program and then run bcp. Here is the code. System.Diagnostics .Process proc = new System.Diagnostics.Process (); proc.StartInfo.FileName = "bcp"; proc.StartInfo.Arguments = @"select * from dbname" queryout C:\filename.csv -S servername\instance -U sa -P password –N; proc.Start (); On the queryout I get … | |
ho do i store information to a mysql database? what i am trying to do is to fill out some students information and when i try to click save it should be saved to a mysql database.... here is my code but every time i click save it couldn't connect … | |
I have created a mobile game in netbeans and need to connect to web sevice through Java ME web service client, I get the proxy setting error which does not allow me to connect. Has anyone come-up with this problem? | |
Hi, I wrote the following macro: [CODE] #define COM " #define GET_VAR_LINE(var, type) COM var = %type COM, var [/CODE] So, this code : [CODE] int main() { int x = 0; printf(GET_VAR_LINE(x, d)); }[/CODE] expands to [CODE] int main() { int x = 0; printf(" x = %d ", … | |
Hello, I need to get remote file size through the url to a function. The problem is that I'm not getting! Trying with the functions of libcURL, but I am not getting. Is there any way to get the size of a remote file by url? | |
Hello I have had this problem for a while now, I am getting bluescreen when I start my debug.exe from my debug folder manually, but I do not get bluescreen when compiling and starting from C::B. But there is an exception, my program only bluescreens if I start it before … | |
How do I read individual cell data from an excel sheet? I know how to extract the data from the .xls file and bind it to a gridview. But how do i extract data from a particular cell or column and save it in a local variable for instance. I … | |
So, I always thought that it was possible to return dictionaries in Python. I was wanting to do this because I would prefer not to use globals. However, I am having trouble with returning my dictionary. Code: [code=python] #!/usr/bin/python # 6/9/09 def loadWords(): pathstart = "/home/foo/Documents/PyScripts/Vocab/Lists/" print "What is the … | |
Hi Gurus I wanted to learn perl and I need to know how can I install perl, c compiler etc. I have two Pcs with me one runs on Windows NT and other with Windows Vista. Could some one suggest me step by step guide including the softwares to be … | |
I've been tearing my hair out for 2 days over this, hopefully someone here can help me. I'm trying to scrape the price data off the following webpage: [URL="http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X"]http://www.morningstar.co.uk/UK/snapshot/snapshot.aspx?lang=en-GB&id=F0GBR04S4X[/URL] The value I want currently stands at 6.19 (i.e. the NAV value on the right hand side). I currently have a … | |
[CODE]Fatal error: Call to undefined function usermenulist() in D:\xampp\xampp\htdocs\general\membersList.php on line 163[/CODE] this is membersList.php [CODE]<?php //-------------------------class MemberListHandler-------------------->>> /* * * @category * @package Members * @author vijayanand39ag05 * @copyright * @license * @version Release: @package_version@ * @since 2006-05-01 */ class MemberListHandler extends MediaHandler { private $showPageNavigationLinks = false; private … | |
Hello. I have a web page and i want user to be able to select multiple options. The problem is that when i write [code] <select name="aha"> <option value="hhh">HHH</option> <option value="kkk">KKK</option> <option value="ppp">PPP</option> [/code] There is no problem in my JSP page. But later when i try to write [code] … | |
i need to extract the number part from the string which looks like "(7 r 8digits).txt". i need to store this found string in some variable, but i am confused wih the groups twhether o get the string as group() or group(1). Pattern p = Pattern.compile("\b[0-9]{7,8}\b"); Matcher matcher = p.matcher("num"); … | |
this is not a question, but a code snippet. i attach the project as well. Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; namespace copyAllWaveFiles { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void … | |
this is not a question, but an application to find common lines among text files, as long as you click "read new text file" button, it compares it to the listview and removes the uncommon items from the listview. I find this application very useful, hope you will like it … | |
when we use interfaces in real time .net example....can any one explain me in detail? | |
hi, i need to search the text file for lines repeatedly. so i want to read the text file into memory and iterate through lines. i am able to iterate as follows but, for the next search i need to iterate from the beginning which will require data transfer between … | |
I want to create a listbox in a jsp page. I want people to be able to choose multiple options... Also i want if one option is selected, people should not select another option. EXAMPLE If b is selected people can select a and c. But if a is selected … | |
Hi all.. I'am newbie in java programming.. I need help to compare two images in java... Plss help me.. Thx for your appreciates.. ^^ | |
Hi, I have this code which is not working [CODE=javascript]<script type="text/javascript" language="javascript"> <!-- function loadpage() { document.getElementById('Loadingindic').style.top = '-500%'; } function checkfields() { if(name()==true){ if(email()==true){ if(message()==true){ return true; } } } return false } function name() { name = document.getElementById('CF_N').value; if ( name.length == 0 ) { alert('Please enter your … | |
Hello everyone, I am working on a dictionary application implementation. I have question about a string pattern matching algorithm implementation. In this algorithm, * can be used to match any sequence of characters. The input is string s1 and string s2, the algorithm using s2 to match s1, and the … | |
Hey Everyone I have a client who uses a Micrsoft Access Application for their business. One of the reports that the program has, is a label type report. The report recieves the following parameters: 1. Number of blank labels to skip (should the user want to not print the first … | |
Hi Friends, I need to design a script which will block all user interaction on PC until an activity is completed. Problem: We need to fill time reports every day. People tend to forget filling this. This directly affects companies revenue. Solution: I am thinking of running a script every … | |
How can i write regex to get all words in string. Example - Travel in Egipt (travel, in, Egipt) - london cca 300 EUR (x cca y eur, where x is londox and y is 300) What regex must look like for this two examples? I need two regex but … | |
Hi, I want to pass tree as an argument to other function in C. I am able to pass the tree comfortably,but how do I access the children of the tree in the called function??? TIA Best Regards Vishal Agarwal | |
Hi All, I am trying to read a file line by line. If a line contains the following character ':' then that line will be parsed word by word and put in a list. I am trying to do that but the head pointer is changed when we go to … | |
Hi all, With your help I have a perfectly working console application. Now I need to do it a bit more flexible. So far I have the file paths for all files involved in the applications execution hardcoded.I need to be able to execute the console application from anywhere. i.e … | |
Hello. I'm having trouble about drawing a border around a listctrl [code]"""Main module for psutils GUI""" __version__ = "$Revision: 8 $" # $Source$ import random import wx import psutil ID_EXIT = 110 class MainGUIFrame(wx.Frame): """Main frame. Shows processes and graph""" def __init__(self): """Initialization of the frame""" wx.Frame.__init__(self, None, -1, "psutils", … | |
![]() | Can somebody tell me the code for: a-(a^3(power of 3)/a)+a^5/a-a^7/7........n The code has to contain only for, if, while and other basic statements....please help me! |
Hello everyone, i have one simple question. How to port forward udp port? I've successfully forwarded tcp port (that was easy), but i just can't understand how i can do this for udp port. Maybe someone can give code example? ps i'm trying to make 2-way port forwarding ( client … | |
Hi, I have, for example, the memory address of a double value which is: 245CEA20 I need to do something like this: [CODE]double * value = 0; value+= 0x245CEA20; std::cout << value << std::endl;[/CODE] I get a value like 22E75100 which is wrong even if you convert it to decimal … | |
Hi, How to deploy a windows application with crystal report? I have developed it with VS 2008 on C#. Crystal report on it is 10.5. While i created set up and installed, reports are not working and an exception occured as follows The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. … | |
Hi All, I need to print documents ( MS-DOC, PDF, Plain Text ) using Java API. I do not need window for configuring number of pages to be print etc etc.. Whatever the file specified should be printed. I checked with [CODE]printerJob.print();[/CODE] from java API and able to print simple … | |
Hi All, this is my first post as a member of the forum so firstly nice to meet u all, secondly if this posted in the wrong place, many apologies Admin. My problem and query is this I have been asked to find out the most appropriate language for a … | |
Hey. I have to say this is the first time ive been totally stumped by c++. I cant exit this loop. this code is from a function that takes a string filename, an int mode, and a char print. It takes a textfile looking like this: somesite.netinfoaboutsomesite someothersite.orgdataonsomeothersite yetanotherrandomsite.edurandomchars and … | |
[code] bool isReverse(string s1,string s2) // pre : none // post : returns true if s1 is reverse of s2 and otherwise false { if (s1.length() != s2.length()) { return false; } int size = s1.length(); int count = 0; else { for (int i = 0; i < size; … | |
Hi, im just beginning c++ and been reading regarding cin and cout. After reading the chapter, I just got curious what acually a stream is. It is said in some as a series of characters. In a site: "A stream is an abstraction that represents a device on which input … | |
Hi, I suck at math. I've been working a 2d (yes 2d) library lately at it's been making my head spin. The terminology, the equations, all of it. What I want to do is get good at math, or at least stop sucking. Does anybody know a good book a … | |
I was looking at the JQuery for absolute beginner instructional video where I was shown how to add and remove an item for an unordered list. The demo assumed that you had one unordered list on a page. I tried to create a demo where there are two unordered list … | |
Q:- create a class in which you will declare a pointer to int . This variable will be defined n allocated memory in the constructor. Create a destructor of the class where this memory will be deallocated. Using this class do the following: 1) In the main function create an … | |
salam, i want to change my C++ code to UML model. How can i do so is there any software. please tell me. thanx. | |
![]() | Hey guys.. I have been making a random password maker, which makes a password of 8 characters length, but I am encountering a problem. Here'e the code I used: [CODE]import random list=['a','b','c','d','e','f','g','h','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','!','@','#','$','%','^','&','*'] randlist='' a=1 def password(): while a<=8: randlist+=random.choice(list) a+=1 return password() print randlist print 'Are you satisfied with your … |
Hi, im writing an application in java that collects a number consisting of 5 digits,for example, 11234 from the user. The problem i have is that i want to separate the individual digits and display them separated by 3 spaces. thank you in advance for your help. |
The End.