5,346 Posted Topics
Re: Welcome nabeelanwer. Read this [URL="http://www.daniweb.com/forums/announcement9-3.html"]http://www.daniweb.com/forums/announcement9-3.html[/URL]. Your java code must be surrounded with bb code tags. You cannot perform sql operation with an applet. If you want to do so then you have to work with java policy & security manager system. | |
Re: Static constructor is not inherited and cannot be called directly. Access modifier are not allowed with static constructor. The static constructor for a class execute at most once in a given application domain. The execution of static constructor is triggered by the first of the following events to occur within … | |
Re: SimpleDateFormat class is needed [CODE=Java] ...... String yourdate="12-Aug-2009"; String currformat="dd-MMM-yyyy"; SimpleDateFormat fd=new SimpleDateFormat(currformat); Date d1=fd.parse(yourdate); System.out.println(d1); String newformat="dd-MM-yyyy"; fd.applyPattern(newformat); StringBuffer b=new StringBuffer(); System.out.println(fd.format(d1,b,new FieldPosition(0))); .... [/CODE] | |
| |
Re: >i have put my application on a pc with just .net framework 2.0 on. I get a crystal report engine error.... Conflict [B]Crystal Engine Version[/B]. >Considering my project has Access Database and crystal reports. I have been using studio 2008 I should be using crystal report 10. | |
Re: You have to add relation to the database object. [CODE=C#] ...... // Two Datables DataTable dt1=new DataTable("Student"); DataTable dt2=new DataTable("Marks"); // Student table's columns dt1.Columns.Add("Roll",typeof(int)); dt1.Columns.Add("Name",typeof(string)); dt1.PrimaryKey=new DataColumn[]{dt1.Columns[0]}; // Marks table's columns dt2.Columns.Add("Roll",typeof(int)); dt2.Columns.Add("Maths",typeof(int)); dt2.Columns.Add("Eng",typeof(int)); dt1.Rows.Add(new object[]{1,"Rajesh"}); dt1.Rows.Add(new object[]{2,"Mohan"}); dt2.Rows.Add(new object[]{1,22,33}); dt2.Rows.Add(new object[]{2,55,77}); // Create a logical Database - DataSet … | |
Re: Download MySql Connector API (Provider classes) - [URL="http://dev.mysql.com/downloads/connector/net/5.1.html"]http://dev.mysql.com/downloads/connector/net/5.1.html[/URL] | |
Re: Welcome stevelk. Please read [URL="http://www.daniweb.com/forums/announcement58-3.html"]http://www.daniweb.com/forums/announcement58-3.html[/URL]. Your source code must be surrounded by code tags. For example, [CODE=VB.NET] Sub How() Dim S as String s="Your source code must be placed with bb code" ..... End Sub [/CODE] | |
Re: Here is sample code for you. file1.php ====== [CODE] <?php $no=$_REQUEST["no"]; $name=$_REQUEST["name"]; echo "values - $no and $name"; ?> <br/>First Method <form method="post" action="file1.php"> No <input type="text" name="no"/> Name <input type="text" name="name"/> <br/><input type="submit" namd="cmd" value="Submit"/> </form> <br/>Second Method <a href="file1.php?no=100&name=Mr.X">Send</a> [/CODE] | |
Re: You need a Web Service (develop or buy) and JavaScript code to invoke Web service method. | |
Re: What does your application do? >in the start bar? (down near to the clock preferably). Think about NotifyIcon control. | |
Re: Nice post. Set DrawMode property and handle a DrawItem event. | |
Re: [QUOTE=Xessa;887918]Hello people. I seem to connect and select the data i want from a specific and big table. But when the information to be selected is small, everything is allright. But when i try to select information that is not that much small. For example when i select from 3000 … | |
Re: Magic code indeed. >I'm designing a code where one can guess the Magic Number. In my code I have this part here where I declared the randomNumber after the class Form1. It's a constructor. >Can somebody tell me what's the name of this part here? Is it static variable? >And … | |
Re: [QUOTE=kingarthur;887939]Hey, there are 2 problems number one: i'm using the database in ~6 different ways/on 6 different frames. That causes a lot redundat code. nr 2: in my case, these data never change, but if someone is using my application on another computer, the data may change (sql server adress, … | |
Re: Please read [URL="http://bugs.mysql.com/bug.php?id=14993"]this[/URL] | |
Re: Use Format Fields shortcut menu option of Crystal Report Designer. | |
Re: >how do i generate a .html file using java? Using classes of java.io package. >i need 2 read from a file file and display an applet in a web browser. use java.net.URL class. | |
Re: Delegates the events and code to update your database. | |
Re: Sub-class the Button and delegate a MouseMotionListener. | |
Re: WebKit is an open source Web content engine for browsers and other applications. Please check [URL="http://webkit.org/building/tools.html"]http://webkit.org/building/tools.html[/URL] | |
Re: Who owned that web service? Use SOAP Proxy classes. | |
Re: In theory, every class must have an Interface. The Interface establishes what requests you can make for a particular object. | |
| |
Re: The same way you upload images you can upload other files. | |
Re: Why passing address of head? It is global to the application. [CODE=C] void display() { struct emplist *first,*trav; first=trav=NULL; first=head; printf(" \n\n Printing list \n\n "); while(first->next!=NULL) { printf(" Value in first of next is : %s\n",first->name); first=first->next; } printf(" Value in first of next is : %s\n",first->name); } [/CODE] | |
Re: Learn the collection framework classes and DataSet classes. | |
Re: Use Command Line argument: [CODE=VB.NET] Sub Main(args() as String) .... End Sub [/CODE] | |
Re: [QUOTE=subhaoviya;886991]am navigating the url through IE browser, when the IE is not been an default browser, i got an prompt "the IE is not an default browser whether you want to make it as default browser" as like that. is it possible to make the default browser as IE through … | |
Re: newConn.close() - It ends the database session which was established with newConn.open() method. newConn.dispose() - It releases all resources used by an object. | |
Re: May be [URL="http://pietschsoft.com/category/C.aspx"]this[/URL] will help you. | |
Re: Jineesh>How can I set selected item in a combobox from a dataset??? ComboBox - It allows single item selection at once. | |
Re: You have to ensure that your application must use a licensed version of Crystal Report Engine. | |
Re: Use Java Print Service API. Please refer [URL="http://poi.apache.org/"]http://poi.apache.org/[/URL] and [URL="http://www.theserverside.com/discussions/thread.tss?thread_id=42180"]http://www.theserverside.com/discussions/thread.tss?thread_id=42180[/URL] | |
Re: Puk, You are lazy. [CODE=Java] int n=12345; String s=""; while(n>0) { s=n%10 + " " + s; n=n/10; } System.out.println(s); [/CODE] | |
Re: Where you got this code? There are so many statements either meaningless or written falsely. 1. As stated by Ezzaral, Rectangle classes create ambiguity. 2. MousingExample class has no definition [CODE=Java] MousingExample test = new MousingExample(); [/CODE] 3. What about this? Is this a way to instantiate MousingExample.Rectangle. [CODE=Java] List<Rectangle> … | |
Re: You forget the following code in a Form_Load Event [CODE=C#] DataSet1 ds = new DataSet1(); DataSet1TableAdapters.empTableAdapter a = new WindowsFormsApplication1.DataSet1TableAdapters.empTableAdapter(); a.Fill(ds.emp); CrystalReport11.SetDataSource(ds); [/CODE] | |
Re: [QUOTE=raul66;886398]it doesn't work...[/QUOTE] GROUP BY uses column_list having same order and same number used with SELECT statement. [CODE=PHP and SQL] SELECT DATE_FORMAT(res_time, '%D %M %Y') AS res_time, exc_excercise_name, res_result FROM res INNER JOIN exc ON res_exc_id=exc_id WHERE res_usr_id='value' GROUP BY DATE_FORMAT(res_time, '%D %M %Y') AS res_time, exc_excercise_name, res_result HAVING COUNT … | |
Re: You have to create a unique id (token), which (token) must be travel across the network with each request & response. | |
Re: MasterOfDevil>My problem is how can I handle installation complete time. Can I do this with .Net or must use a batch file. Web Browser checks the availability of plug-ins when a response is came from web server. You may use html markup and javascript to verify. | |
Re: As C++ developer - stop finding ready-made code or solution otherwise you will mess up your work. | |
Re: When you input for "Throw y/n ?"; It means you pressed two keys, first is 'y' or any other and second is carriage return. After that getchar() function pops up two characters one after one and this is the reason your while loop is not working as you expect. | |
Re: Do you want to addition of two constant values? [CODE=C++] cout << "\nAddition : " << double(0.40+0.05); [/CODE] | |
Re: XML Serialization/Deserialization : It serialize only public properties and fields and does not preserve type fidelity. | |
Re: Your DDL statements seems oracle syntax. It wont work with access database. | |
Re: Thanks TakMaven, Great! Really a great link. | |
Re: Tamir09>I want an array to hold the values of Gap.. Dear Tamir, My little effort to read xml and store into an array is: [CODE=VB.NET] Dim reader As New XmlTextReader("c:\csnet\46\VBConsole\a1.xml") Dim s As String = "" Dim gap() As String Dim iGap As Integer While reader.Read() Select Case reader.NodeType Case … | |
Re: Class members qualified with static modifier are called static members. Class members declared without static modifier are called instance members. |
The End.