5,346 Posted Topics
Re: Did you copy a commons-fileupload-1.0.jar into lib folder of your application under WEB-INF? >What is the datatype of image field? | |
Re: Welcome tj_amarnath, Read this : [URL="http://msdn.microsoft.com/en-us/library/aa366530(VS.85).aspx"]http://msdn.microsoft.com/en-us/library/aa366530(VS.85).aspx[/URL] | |
Re: welcome gdsoccer11, [URL="http://www.leadtools.com/SDK/RASTER/Raster-Compression-CCITT.htm"]http://www.leadtools.com/SDK/RASTER/Raster-Compression-CCITT.htm[/URL] | |
Re: rcbhat, [icode]Array of chars[/icode] and [icode]pointer to chars[/icode] is not same thing. Declaration of your code is pointer to chars. [CODE=C++] char *x="new"; char *y="world"; ... [/CODE] 'x' points to the first char of "new" which is an array of constant chars in C++. A special rule in C++ allows … | |
Re: Welcome sunuJoinsIn, Use code tag to post your source code. Read [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use code tags?[/URL] [noparse] [CODe=C#] ..... statements... [/CODE] [/noparse] LINQ statement: [CODE=C#] var lst = from ep in dc.XYZTable group ep by ep.ColumnA into newgrp where newgrp.Count() > 1 orderby newgrp.Key from allrec in dc.XYZTable where allrec.ColumnA … | |
Re: skal, Read this [URL="http://msdn.microsoft.com/en-us/library/acxa5b99(VS.80).aspx"]http://msdn.microsoft.com/en-us/library/acxa5b99(VS.80).aspx[/URL]. | |
Re: Use JavaScript, CSS, & HTML. Visit HTML/JavaScript forum. | |
Re: Victor C, It's difficult to read your program. Use bb code tags to post source code. Read [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use code tags?[/URL] [noparse] [code=vb.net] ...statements... [/code] [/noparse] | |
Re: Welcome to the forum, Magic8Computing. Wrap up source code with bb code tags. For example, [noparse] [code=PHP] ...statements.. [/code] [/noparse] | |
Re: chrispaul8676, This method must be issued once if result is a single row. [CODE=ASP.NET] rdr.Read() [/CODe] | |
Re: alsoumhi, Use code tags to post program source code. ” - Invalid double quote char. <input type="text" name=”Name"> [Code=HTML] <input type="text" name="Name"> [/CODE] | |
Re: Use Eval format option. [CODE=ASP.NET] ... ImageUrl='<%# Eval("T1","~\\imgs\\{0}") %>' .. [/CODE] | |
Re: nipa.pilla, I think following block has no importance. [CODE=JSP] <% String name = request.getParameter( "username" ); session.setAttribute( "theName", name ); %> [/CODE] In SaveName.jsp -a UserData bean is already been added into the session scope. You may write "checked" attribute for radio buttons based upon the value of notify. [CODE=JSP … | |
Re: Welcome kg4cxl, Use following syntax: [CODe=Java] showMessageDialog(Component parentComponent, Object message, String title, int messageType) [/CODE] | |
Re: dnanetwork, Please, add suitable comments regarding to the question. | |
Re: ariez88, A) Concatenate value of four textboxes. A) Use trigger, sequence, AutoNumber etc. | |
Re: Dangazzm, Did you work out on that issue? Which database are you using? Post code if any. Source code must be wrap with bb code tags. For example, [noparse] [CODE=VB.NET] ..... statements ... [/CODE] [/noparse] Here is a code snippet to fetch data from the database. (MS-SQL Server database) [CODE=VB.NET] … | |
Re: Welcome NimaJ, Read these articles. 1. [URL="http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html"]http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html[/URL] 2. [URL="http://www.justsoftwaresolutions.co.uk/threading/condition-variable-spurious-wakes.html"]http://www.justsoftwaresolutions.co.uk/threading/condition-variable-spurious-wakes.html[/URL] | |
Re: Thanks wildgoose. Good algorithm. VB.NET array declaration syntax: [CODE=VB.NET] Dim Array_var(UpperBound) As DataType 'To create an array of 100 elements of Integer Dim Array_var(99) As Integer ' 0 to 99 = 100 elements [/CODE] Here is code, [CODE=VB.NET] Dim A(99) As Integer Dim i, j, t, k As Integer Dim … | |
Re: heroic, Read [URL="http://en.wikipedia.org/wiki/Comet_(programming)"]http://en.wikipedia.org/wiki/Comet_(programming)[/URL] | |
Re: peter_budo, As per code snippet, components are arranged in following layout [CODE] x: 0 1 y |-----------|------------| 0 |ToolBox | Thumb | |---------- |------------| 1 | |Rottr | |------------------------| [/CODE] | |
| |
Re: hjdaniel.sun, [QUOTE]manipulate the data in the database[/QUOTE] You are struggling with programming. Keep one thing in mind, we will help you in case you have a little problem. We will try out best but my suggestion to you that - Don't waste your time. Get some books - Database, .net … | |
Re: CoSIS1, Errors in your code snippet. 1. No such a method - Integer.parseInteger Use Integer.parseInt() 2. Can't assign Integer object reference to int variable. [CODE=Jsp] int yes = Integer.parseInteger(database.jdbcOneRowQuery(sqlS)); int no= Integer.parseInteger(database.jdbcOneRowQuery(sqlD)); [/CODE] Use following code [CODE=Jsp] int yes=Integer.parseInt(database.jdbcOneRowQuery(sqlID)).intValue(); ... [/CODE] 3. yes.get(0) ? yes and no are two int … | |
Re: juliusceasar, Read this [URL="http://www.codeproject.com/KB/database/SqlCompactCoptUtility.aspx"]http://www.codeproject.com/KB/database/SqlCompactCoptUtility.aspx[/URL] and [URL="http://www.databasejournal.com/features/mssql/article.php/3694086/Programming-SQL-Server-2005-Compact-Edition-with-ADO.htm"]http://www.databasejournal.com/features/mssql/article.php/3694086/Programming-SQL-Server-2005-Compact-Edition-with-ADO.htm[/URL] | |
Re: Welcome mshafi, You got errors because graphics system of language is supported by the device. After all, your compiler is 17 years old. Now, it's time to say good bye to that compiler. Number of free compilers with new standard are available : CodeBlock, Dev-C++, Visual C++ 2008. Read more … | |
Re: Pokenerd, ClipBoard Hook - Read this [URL="http://www.codeproject.com/KB/system/WindowsHookLib.aspx?display=Print"]http://www.codeproject.com/KB/system/WindowsHookLib.aspx?display=Print[/URL] | |
Re: tanvi bahl, Use classes of System.Net and System.IO namespaces. Read this article : [URL="http://www.codeproject.com/KB/IP/socketsincsharp.aspx"]http://www.codeproject.com/KB/IP/socketsincsharp.aspx[/URL] | |
Re: sivak, Use code tags. [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use code tag?[/URL] 115 posts and another one. | |
Re: elidotnet, 1. Can I see the table structure? i.e - columnname and datatype. 2. How many tables are used? | |
Re: pupilstuff, Smart job work. You can't differentiate - markup and programming statements. | |
Re: chathuD, Write suitable title for your question. Read MSDN online pages. 1. [URL="http://msdn.microsoft.com/en-us/library/h43ks021(VS.71).aspx"]Overview ADO.NET[/URL] 2. [URL="http://msdn.microsoft.com/en-us/data/aa937699.aspx"]Learning ADO.NET[/URL] | |
Re: # and ## are C++ Preprocessor. 1. Stringizing Operator (#) 2. Token-Pasting Operator (##) | |
Re: Welcome buntu. Downloaded program source code may be readonly. Make sure the sln solution file is not marked as read only. | |
Re: Error : Argument (int *array) is not a two dimensinal array. It is int pointer has an address of 1st element of array in main function. [CODE=C] void somefunction(int *array) { printf("%d\n", array[3][2]); } [/CODE] So, modify your code with: [CODE=C] void somefunction(int *array) { printf("%d\n", *(array+0)); /* will print … | |
Re: Read this article at MSDN - [URL="http://msdn.microsoft.com/en-us/magazine/cc188700.aspx"]http://msdn.microsoft.com/en-us/magazine/cc188700.aspx[/URL] | |
Re: Yellowdog428, To select an item from the list programatically, use selectedvalue property. | |
Re: Derice, You may use database or file (flat) or XML. But I think database will be good choice. | |
Re: Little correction of post #4. siddhants>private members are not inherited. No, all members from base class are added into the declaration space of derived-class(sub class) except constructors. Private members of base-class are not accesible in sub-class. Protected members of base-class are accessible in containing class and also sub-class. | |
Re: GAYATRISweet, Create new thread to post your question. Read the rule : [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to post & use code tags?[/URL] | |
Re: rajani_sp, It's a security issue. Use bb code tags. Source code must be wrap with bb code tags. Read: [URL="http://www.daniweb.com/forums/announcement118-3.html"]How to use code tags?[/URL] | |
![]() | Re: Chris11246, Did you notice? This is your code: [CODE=VB.NET] private sub test(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.MouseDown [/CODE] and this is Tem's code [CODe=VB.NET] Private Sub Form2_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown ' Call MyMouseDown ' Trap left mouse button If e.Button … |
Re: suresure88, Don't confused about thinking that there will be a smart way. Create new web application and fix it. | |
Re: mimi_ted, Your web related question must be at ASP.NET forum. | |
Re: mimsc, Where is the line #88? Post complete code and also show us the value of homeList. | |
Re: manfosys, Here is a sample. [CODE=Java] import java.io.*; import java.net.*; public class Test{ public static void main(String[] args) throws Exception { URL url = new URL("http://www.daniweb.com/forums/member424507.html"); String passwdstring = "username:password"; String encoding = new sun.misc.BASE64Encoder().encode(passwdstring.getBytes()); URLConnection uc = url.openConnection(); uc.setRequestProperty("Authorization", "Basic " + encoding); InputStream content = (InputStream)uc.getInputStream(); BufferedReader in … |
The End.