199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shoeson

hi there im using visual c# i have a list box and it contains about 50 textboxes arranged in a tabular fashion. the textboxes are represented by an array myTextBox[50]. what i wanted to do is to focus a particular textbox in the listbox. so what i did is [CODE]myTextBox[3].Focus()[/CODE] …

Member Avatar for Diamonddrake
0
118
Member Avatar for malayasthana

guys my vector isn't working properly with push back function ... so i am searching for the alternative method ... please help me with your advices...

Member Avatar for mike_2000_17
0
121
Member Avatar for mmonclair

I've been looking around online for a while and haven't been able to find a solution available with the resources at my disposal. Here's the scenario: I have an online training site I manage and do development for. We've been offering surveys to get feedback at the time that a …

Member Avatar for mmonclair
0
96
Member Avatar for parijat24

[CODE]ENSTRUG00000000009 ENSTRUT00000000011 1026 509 5896 ENSTRUG00000000011 ENSTRUT00000000014 420 63 482 ENSTRUG00000000012 ENSTRUT00000000015 10902 15313 93157 ENSTRUG00000000012 ENSTRUT00000000016 2844 23243 60985 [/CODE] as this is my input file it has five coloumns and there is for each line , we have to identify unique entry from the first coloumns which high …

Member Avatar for TrustyTony
0
133
Member Avatar for bnelle01

I am in the early stages of working with programing. Everyone I talk to around here who is in programing knows how to do the hard stuff but everyone of them said they did not have to start off using basic. I am trying to make that numbers game. I …

Member Avatar for AndreRet
0
147
Member Avatar for Oregand

Hey guys, im just learning how to use methods but I really cant seem to understand them. We have a question where we have to write a program for the following game. There is a little known dice game which is played with a pair of dice and has the …

Member Avatar for Oregand
0
3K
Member Avatar for Alkaline8214

Hello everyone. My name is Mike. I am a new member :). I hope to be using this forum quite a bit to extend my knowledge base on c++ and java.(just wanted to introduce myself being my 1st post and all lol) Well my class was tasked with making a …

Member Avatar for VernonDozier
0
4K
Member Avatar for Oregand

Hi guys, Im pretty new to programming so bear with me if you think this is baby stuff:P Ive just been introduced to methods last weeks and after a week of study Im no better at understanding them. The problem is I just seem to grasp how to you them …

Member Avatar for Oregand
0
135
Member Avatar for nikilvarma

Hello This is Nikil.Can anyone help me out how to calculate time and space complexity of an algorithm with examples.I am in very much need.Please help me out in detail.

Member Avatar for Dhruv Gairola
0
155
Member Avatar for Friendly Lotus

Hi all, I am trying to update the colour of a Tkinter label, so as the value of a variable changes so to does the colour of the text. Below is a simple example of what I am trying to achieve, but the problem is when I press the button …

Member Avatar for TrustyTony
0
15K
Member Avatar for Dhruv Gairola

Hi there friendly people of daniweb. My problem is that when i double click an executable jar file, nothing happens. Even when i use command prompt and type java -jar "filenae" it doesnt work. Any ideas why?

Member Avatar for Dhruv Gairola
0
120
Member Avatar for br0wnm4n

Hi, I am having some trouble writing this code. The question is as follows: The Sieve of Erastophenes is an algorithm -- known to ancient greeks -- that finds all prime numbers up to a given number n. It does this by first creating a list L from 2 to …

Member Avatar for TrustyTony
0
142
Member Avatar for choover12

hello, i want to be able to split this string: "StraightPath1, 1, 2" into 3 sections: name, x, y. but when i use this code:[CODE]string[] pieces = line.Split(',')[/CODE] it only i can only read the last 2 parts like this: [CODE] string Name = pieces[0]; //output: null int X = …

Member Avatar for choover12
0
167
Member Avatar for Kingcoder210

I have created my program there in vb.net(visual studio 2008). I have used crystal report to show reports. However after creating setup file by advance installer I have tried to install it there in my client`s pc. Everything is working but crystal reports are not working. When I am trying …

Member Avatar for Naveed_786
0
475
Member Avatar for khaled_jawaher

i have written the code in client,server,interfaces.i have created stubs and skaleton. i have run rmiregistry very well.i have run server.i have an error in client side,when i run client.it is moving to the catch not looking up to the correct address of server. the code of client is: [CODE]import …

Member Avatar for ~s.o.s~
0
161
Member Avatar for hiddenman91

[code=Java]import java.io.IOException; import java.io.PrintWriter; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; public class DeleteProductServlet extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException { response.setContentType("text/html;charset=UTF-8"); PrintWriter out = response.getWriter(); try { DBManager db=new DBManager(); Connection …

Member Avatar for hiddenman91
0
103
Member Avatar for Waffles007

Hi, I'm having trouble finding out how to have a link pull a certain id from a single file and display that id's content within a certain div on the page. I'm trying to cut down on the amount of pages on my site by loading certain critical code into …

Member Avatar for Waffles007
0
3K
Member Avatar for muze

hello guys... I have a file [B]MyClass.cpp[/B] inwhich I declared a vector array. I then added some string data to it and want to access it in [B]MyProjDlg.cpp[/B]. It is dialoged based app in vc6. Here it is [code] MyClass.cpp ----------- using namespace std; typedef vector<LPTSTR> StudentData; //some code here... …

Member Avatar for muze
0
1K
Member Avatar for cppgangster

Hi, My program is trying to read from file Lithuanian words, the language has some additional characters than ANSII character set. The program uses wstring, wifstring classes for reading, but I gotta feeling it is something wrong with input,do I need any special directive to compiler or the language has …

Member Avatar for nbaztec
0
178
Member Avatar for gikonyo

hi there i want to upload an image into a webpage i have the following code which is not working .where is the problem or who have a better code. <?php //define a maxim size for the uploaded images in Kb define ("MAX_SIZE","100"); //This function reads the extension of the …

Member Avatar for pssubash
0
130
Member Avatar for nikita.chandra

hi! please help me for the best and easy open source CMS(Content Management System) software for java to design a dynamic website . If possible please post the link from where i can download the same. please reply ... it's very urgent :( Thanks!

Member Avatar for fishsmith
0
223
Member Avatar for neo_31591

hey guys... i made a database using Access....it consists of questions and 4options each... i made a quiz progg through java and connected the database using jdbc.... before,since it was my trial attempt, i entered silly ques into the database like whats ur name with 4 options....just to check if …

Member Avatar for neo_31591
0
124
Member Avatar for mojal67

Hi ,I work with vb.net 2005 . I want to know if I want to connect to data base with Ms Access which data source i can use (ODBC or OLEDB) I write the following code in form load event (by OLEDB) : [COLOR=#0000ff]Dim[/COLOR] conn [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] OleDb.OleDbConnection([COLOR=#800000]"Jet OLEDB:Global Partial …

Member Avatar for ramvats
0
284
Member Avatar for 47pirates

How can i set fixed size of Jpanel where during execution of the program i shouldn't be able to RESIZE that Jpanel? plzzz help !!!!!!!!!

Member Avatar for hanvyj
0
184
Member Avatar for anna514

Srpn is a reverse polish notation calculator with the extra feature that all arithmetic is saturated (i.e. when it reaches the maximum value that can be stored in a variable, it stays at the maximum rather than wrapping around). Program must be able to input at least two numbers and …

Member Avatar for slate
0
621
Member Avatar for florisvd

Hello, I've to make a c program with the next specs: Write a function that is specified as follows: bool lees_file (char *, int [] [KOLOMMEN_IN]); The function has as parameters a pointer to a file name and a two dimensional integer array and a return value of type boolean. …

Member Avatar for Ancient Dragon
0
210
Member Avatar for MysticalNomad

I have the following code that is very simple and gets information from form fields and mails it off. The issue is that when the email is received using Microsoft Outlook 2003 the message is blank and the actual message that is supposed to be there is an attached HTML …

Member Avatar for MysticalNomad
0
186
Member Avatar for recawo

how to access xml resource file in C# wpf application? i have made xml file a resource file but i cant access it . here is a code: private static string MessageExtract(string tagName) { XmlDocument messageTags = new XmlDocument(); messageTags.Load(@"//resources//Messages.xml");//this dont work XmlElement messageRoot= (XmlElement)messageTags.GetElementsByTagName(tagName)[0]; return messageRoot.GetElementsByTagName(AppManager.GetCurrentLanguage())[0].InnerText; }

Member Avatar for recawo
0
298
Member Avatar for dorien

Hi, I want to copy a row from a 2d vector in an existing 1d vector. I found a similar tread, which copies into a newly defined vector as such: [CODE]vector< data_type > copyRow( vec2d[3].begin(), vec2d[3].end());[/CODE] Now I want to change this code, so that copyRow already exists. My idea …

Member Avatar for dorien
0
1K
Member Avatar for jice

hi, I try to write a app to automatically re-organize my mails (thunderbird). The first thing I try is to re-create my folders tree, once for each year. So i need to read mbox files and rewrite them [CODE=python] import mailbox mbx=mailbox.mbox("./in_mbox") mbx.lock() of=open("out_mbox", "w") for k, m in mbx.iteritems(): …

Member Avatar for jice
0
185
Member Avatar for sanjaypandit

i want to made a form in which there is three fields. 1. product value: suppose:1500 2. number of product:2 3. then i want to show multiple of these values in third textbox without submitting form . how can i do this. help me

Member Avatar for hacker43.gaurav
0
107
Member Avatar for oggiemc

Hi, Im trying to write some code which adds the combined height and weight of two dogs, returns the result and then displays it..The problem is, the result returned is wrong (i think the operation is just adding two memory addresses)..The =operator code is returning rubbish as well, i think …

Member Avatar for nbaztec
0
138
Member Avatar for MasterGberry

I am getting the following two errors, i am lost on how to fix them: Exc_3.cpp(54) : error C2082: redefinition of formal parameter 'name' Exc_3.cpp(54) : error C2440: 'initializing' : cannot convert from 'char[]' to 'char' Here was my original prompt, I think i did part B wrong.....wasn't sure how …

Member Avatar for nbaztec
0
231
Member Avatar for bufospro

Hi, I found an exercise about memories in a site but I don't understand the solution. The exercise says : A word in a little-endian pc has value 3. If I transfer this value in big indian byte per byte what is the new value ? The answer is 2*(2^24). …

Member Avatar for bufospro
0
100
Member Avatar for yap_1991

Hi all I have a empty GUI , what i need to do now is to put the algorithms I have into the GUI. Im not very sure how im supposed to go about doing it. Calling of files would be easier to me as i do not have to …

Member Avatar for JamesCherrill
0
209
Member Avatar for Exile_082

can anybody give me a link or anything that can help me understand switch loops a little bit more im a newbie to C++ so any help wud be highly appreciated

Member Avatar for hiddepolen
0
130
Member Avatar for kinv001
Member Avatar for AndreRet
0
414
Member Avatar for lee.j.baxter

Hi folks, I'm writing some utility classes for a project, and I've written an abstract class called "XPObjectTable" that displays a table of objects of a given type. To refresh this, I'm using "AbstractTableModel.fireTableDataChanged()". Now I'm writing a similar class for JList, but can't find a similar method (i.e. "AbstractListModel.fireListDataChanged()"). …

Member Avatar for lee.j.baxter
0
190
Member Avatar for Trle94
Member Avatar for Trle94
0
336
Member Avatar for ash07

Hello aLL I need a small help from you guys.. I am creating project in VB6.0 and access 2003, form has combobox,tab control,textbox msflexgrid .. I am trying to retrive data from database.I have a sub procedure which is nicely working for all controls except combobox. while debugging I found …

Member Avatar for AndreRet
0
213
Member Avatar for saikatroy1985

Dear Sir Sir i am designing a mail service in which every frame should be the same but i am not getting any suitable solution for that. e.g.: If i click the inbox button the frame size is same as we click other button like compose,sent mail etc. If AJAX …

Member Avatar for saikatroy1985
0
96
Member Avatar for joycetan

i have a gridview with a column of checkboxes. the check_all function work well but when i insert tablesorter to sort my gridview, the check_all function cant work. below is my code: [CODE] <title></title> <script src="Scripts/jquery-latest.js" type="text/javascript"></script> <script src="Scripts/jquery.tablesorter.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { $("#gvMsg").tablesorter() }); </script> <script type="text/javascript"> …

Member Avatar for catherine sea
0
380
Member Avatar for Sinha's

Hello Frends, I have an application where I am trying to connect MS Access DB with a ASP.Net(C#) Page and the same application also connect to the MS SQL Server (Working Fine). While connecting I am having following [B]error:[/B] _____________________________________________________________________________________ [B]Server Error in '/manager' Application. The Microsoft Jet database engine …

Member Avatar for catherine sea
0
316
Member Avatar for chalasesha

hi all, i just doing Django..tried the first example in Django book...i encountered problem at admin page. it says that admin is not defined. i followed each step in tutorial and i am able to run django server also. pls help me to solve it. i am adding error output …

Member Avatar for sureronald
0
955
Member Avatar for divyakrishnan

Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. …

Member Avatar for divyakrishnan
0
132
Member Avatar for Geertc

Hello everybody, for my application I want to implement a email-clickcounter, next to link-clickcounter. Most links and emails (mailto:) appear on a page that gives details about a search-result from my home-made searchmodule. I have set up the counting system like this : Every link is redirected to a click.php-file. …

Member Avatar for Geertc
0
158
Member Avatar for nikesh.yadav
Member Avatar for Stefano Mtangoo
0
20K
Member Avatar for TheDocterd

Hi there I want to know if there is a way to display data in a datagrid for the person that is logged in to my application? It's very simple: A user will log in to my program. Then he/she can go to his/her time management form and fill their …

Member Avatar for TheDocterd
0
71
Member Avatar for bshrestha

Hi guys! i am stuck in my fraction program. i hope you guys can solve it. here i have posted my code. i am trying to get for e.g. 4/2 need to get me answer like 2/1 or 2/4 show me 1/2. i hope you can help me out. i …

Member Avatar for SgtMe
0
118
Member Avatar for Aamit

Hi, [code] <form id='frmuser' name='frmuser' action='web_url.php' method='post'> <input name="site_name" type="text" id="site_name" <input name="add" type="submit" id="add" value="Create image" /> </form> [/code] Suppose :- web url is google.com how to create image of this? Any google API available? using html of that url possible to create image ?

Member Avatar for Aamit
0
264

The End.