5,346 Posted Topics
Re: Take a look at this article - [URL="http://www.codeproject.com/KB/IP/httpwebrequest_response.aspx"]http://www.codeproject.com/KB/IP/httpwebrequest_response.aspx[/URL] | |
Re: Use [URL="http://msdn.microsoft.com/en-us/library/bb690938.aspx"]PrintForm[/URL] component, [code] .. Dim pf As New PrintForm pf.Form = Me pf.PrintAction = PrintToPrinter pf.Print() .. [/code] | |
Re: Redirect webpage according to resolution. Design your webpages for different resolution use javascript to detect the resolution. [b]screenRes.js[/b] [code] switch(screen.width) { case 640: goToPage('640x480.aspx'); break; case 720: goToPage('720x480.htm'); break; case 800: goToPage('800.htm'); break; case 848: goToPage('848x480.htm'); break; case 1024: goToPage('1024.htm'); break; case 1152: goToPage('1152x864.htm'); break; case 1280: goToPage('1280x1024.htm'); break; case … | |
Re: Have a look at sample, [code] Dim dt as New DataTable Dim adp as New SqlDataAdapter("select images from table where id=1","Your_connection_string") adp.Fill(dt) IF dt.Rows.Count<>0 Then Dim buff() as Byte = dt.Rows(0)(0) picture1.Image = new Bitmap(new MemoryStream(buff)) End If [/code] | |
Re: Create/Define report parameters. Take a look at this article - [URL="http://www.codeproject.com/KB/vb/MicrosoftReports.aspx"]http://www.codeproject.com/KB/vb/MicrosoftReports.aspx[/URL] | |
Re: Use provider and relational classes (dataset). Use [URL="http://dev.mysql.com/downloads/connector/net/6.1.html"]MySql[/URL] provider for mysql and [URL="http://msdn.microsoft.com/en-us/library/system.data.oracleclient.aspx"]OracleClient[/URL] provider for oracle database. | |
Re: You may use the [URL="http://commons.apache.org/downloads/download_fileupload.cgi"]Commons fileupload[/URL] package to upoad a file. | |
Re: Use TOP caluse - [URL="http://www.daniweb.com/forums/thread38204.html"]T-SQL[/URL]. [code] SELECT TOP N ..... [/code] | |
Re: File [b]errorPage.jsp[/b] must be placed inside [b]school[/b] folder in the root of your website. [code=text] root\ | \school\ | | errorPage.jsp [/code] | |
Re: Read [URL="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10"]Literals[/URL] and [URL="http://java.sun.com/docs/books/jls/third_edition/html/conversions.html"]Conversions and Promotions.[/URL] [code] .. double x=(double)2/3; .. [/code] | |
Re: Swing and SWT are two completely different APIs, although the principles are the same. SWT may seem simpler to use than Swing but one potential problem with SWT is in the need for resource management. See these websites: 1. [URL="http://www.developer.com/java/other/article.php/10936_2179061_1/Swing-and-SWT-A-Tale-of-Two-Java-GUI-Libraries.htm"]http://www.developer.com/java/other/article.php/10936_2179061_1/Swing-and-SWT-A-Tale-of-Two-Java-GUI-Libraries.htm[/URL] 2. [URL="http://www.ibm.com/developerworks/grid/library/os-swingswt/"]http://www.ibm.com/developerworks/grid/library/os-swingswt/[/URL] 3. [URL="http://www.developer.com/java/other/article.php/10936_2179061_2/Swing-and-SWT-A-Tale-of-Two-Java-GUI-Libraries.htm"]http://www.developer.com/java/other/article.php/10936_2179061_2/Swing-and-SWT-A-Tale-of-Two-Java-GUI-Libraries.htm[/URL] | |
Re: Please read [URL="http://msdn.microsoft.com/en-us/library/hbdfdyh7.aspx"]more[/URL] about ViewState and Dynamic server controls. [code] protected void Page_Load(object sender, EventArgs e) { btn_Click.Click += new EventHandler(Clicked); if (Request["btn_Click"]!=null) { ViewState["btnClicked"] = true; } if (ViewState["btnClicked"] != null) { AddMyButton(); } } void AddMyButton() { Button btn = new Button(); btn.ID = "NewB"; btn.Text = "New … | |
Re: Sidd, Do not post threads with generic subjects such as "zoom" or "delay". Instead, clearly state a phrase describing the problem as the thread's title. Do not flood the forum by posting the same question more than once. [URL="http://www.daniweb.com/forums/thread239687.html"]http://www.daniweb.com/forums/thread239687.html[/URL] . | |
Re: You have to use [b]ADO.NET[/b] provider classes. Read more about [URL="http://msdn.microsoft.com/en-us/data/aa937699.aspx"]ADO.NET[/URL] and show us your code. | |
Re: You are on the right way. Use web service or vendor (mobile operator) specific api. | |
Re: The MM7 interface is used to send MMS from 3rd party [URL="http://www.activexperts.com/xmstoolkit/objects/mm7/"]providers[/URL]. It is based on SOAP with attachments, using HTTP-POST as the transport protocol. | |
Re: Please read this article - [URL="http://blogs.msdn.com/oldnewthing/archive/2008/10/20/9006720.aspx"]http://blogs.msdn.com/oldnewthing/archive/2008/10/20/9006720.aspx[/URL] | |
Re: Use [b]ImageButton[/b] and [b]TemplateField[/b] - ImageButton has both ImageUrl and PostBackUrl property. | |
Re: Use split() method of String. [code] ..... String []items=null; boolean found=false; while (!found && (text = reader.readLine()) != null) { items=text.split(" "); if(items[0].equals(name)) found=true; } if(found){ for(String v:items){ System.out.println(v); } } .... [/code] | |
Re: Sivait.mca, You can insert data from datagridview into ms-sql table using ADO.NET classes (Ms-sql provider). Please show us your code and table structure. | |
Re: Use [b]Controls[/b] collection, [code] TabControl1.TabPages("key or Index").Controls("key or index").Controls("key or index") [/code] | |
Re: For live video over the network you need a streaming server. | |
Re: Hi, What do you say about [URL="http://en.wikipedia.org/wiki/Project_management"]Project Management Tool or something like that.[/URL]? | |
Re: Writing your object to disk only saves the pointers, which is useless. You need a much more complex file format that will let you write and read each item within the vectors. Please read an article [URL="http://msdn.microsoft.com/en-us/library/6bz744w8(VS.80).aspx"]Serialization[/URL] or take a look at this link - [URL="http://www.codeproject.com/KB/cs/MFC_Serialization2.aspx"]http://www.codeproject.com/KB/cs/MFC_Serialization2.aspx[/URL] | |
Re: Take a look at this blog - [URL="http://blogs.msdn.com/brad_mccabe/archive/2005/04/07/406227.aspx"]http://blogs.msdn.com/brad_mccabe/archive/2005/04/07/406227.aspx[/URL] | |
Re: Welcome rmc. You should have to include a name of database and name of provider classes into your question. To fetch data from the database; use SELECT statement with where clause. | |
Re: Please read this thread - [URL="http://www.daniweb.com/forums/thread238890.html"]http://www.daniweb.com/forums/thread238890.html[/URL] | |
Re: Take a look at, 1. FAQ - [URL="http://forums.sun.com/thread.jspa?threadID=5417306"]http://forums.sun.com/thread.jspa?threadID=5417306[/URL] 2. Article - [URL="http://javafx.com/samples/MediaBox/"]http://javafx.com/samples/MediaBox/[/URL] | |
Re: I think probably you don't understand what an [URL="http://publications.gbdirect.co.uk/c_book/chapter6/enums.html"]enum[/URL] is. You can think of it as a sort of compile time #define. Take a look at this thread - [URL="http://forums.devshed.com/c-programming-42/convert-string-to-enum-in-c-567430.html"]http://forums.devshed.com/c-programming-42/convert-string-to-enum-in-c-567430.html[/URL] | |
Re: ?Is it possible to use it to pass an unspecified number of arrays of objects? Yes you can do this. [code] void methodName(params object []v){ ... } [/code] | |
Re: Welcome to the daniweb. Read the sticky thread - [URL="http://www.daniweb.com/forums/thread70096.html"]ReadMe[/URL] | |
Re: Office interop in .net - [URL="http://msdn.microsoft.com/en-us/library/aa192487(office.11).aspx"]http://msdn.microsoft.com/en-us/library/aa192487(office.11).aspx[/URL] | |
Re: Use Role Based Access (Not Role Based Authorization). Role-based access control attempts to allow administrators to specify access control in terms of the organizational structure of a company. You assign a user or a group of users to a role to perform a specific job function and restrict them to … | |
Re: Hi, Please follows these steps: 1. Create a sub-class of System.Data.DataSet Example, [code] namespace test { public class MyData : DataSet { public MyData() { DataTable dt = new DataTable("LogTable"); // Add columns dt.Columns.Add("SrNo", typeof(int)); dt.Columns.Add("Title", typeof(string)); // add rows dt.Rows.Add(1, "A"); dt.Rows.Add(2, "B"); Tables.Add(dt); } } } [/code] 2. … | |
Re: In C language, [URL="http://en.wikipedia.org/wiki/Primitive_data_type#Characters_and_strings"]char [/URL]value is stored in 1 byte. A char type may contain a single letter, digit, control character or special character. | |
Re: Try it, [code] Label1.SetBounds((Me.ClientSize.Width - Label1.Width) / 2, (Me.ClientSize.Height - Label1.Height) / 2, 0, 0, BoundsSpecified.Location) [/code] | |
Re: From MSDN article - [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.commandfield.causesvalidation.aspx"]http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.commandfield.causesvalidation.aspx[/URL] SUMMARY: Use the CausesValidation property to specify whether validation is performed when a button in a CommandField field is clicked. When this property is set to true, by default all validation controls on the page are validated. To limit validation to only a certain group … | |
Re: Take a look at this thread - [URL="http://www.daniweb.com/forums/thread238903.html"]http://www.daniweb.com/forums/thread238903.html[/URL] | |
Re: Royael, as you said in your post that you are a begineer so you must have to learn language primitives and .net framework. I don't think that there is a free product for serial to ethernet connect. | |
Re: Please check filename. Name of .java file must be [b]hello.java[/b]. The name of a Java program file (.java) must match the name of the class with the extension java. | |
Re: I would like to suggest you to use [URL="http://directshownet.sourceforge.net/"]DirectShow.[/URL]. | |
Re: Take a look at this article/C# code - [URL="http://www.gutgames.com/post/Kuwahara-Filter-in-C.aspx"]http://www.gutgames.com/post/Kuwahara-Filter-in-C.aspx[/URL] | |
Re: Yes, there is a SOAP Fault messsage structure. Read more about SOAP fault - [URL="http://msdn.microsoft.com/en-us/library/ms189538.aspx"]http://msdn.microsoft.com/en-us/library/ms189538.aspx[/URL] | |
Re: [URL="http://www.daniweb.com/forums/thread40291.html"]Flush [/URL]the keyboard input buffer. | |
Re: >Can I do something like that? Is it hard to achieve? Yes you do that using methods of DataSet class and it is very easy. [code=c#] string file=MapPath("~/text.xml"); DataSet ds = new DataSet(); DataTable dt = null; if (!System.IO.File.Exists(file)) { // Create an instance of DataTable dt = new DataTable("Test"); … | |
Re: From MSDN online page - [URL="http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx"]FileSystemWatcher Class[/URL]. SUMMARY: It listens to the file system change notifications and raises events when a directory, or file in a directory, changes. | |
Re: I have two suggestions: 1. Embed [URL="http://msdn.microsoft.com/en-us/library/bb264562(SQL.90).aspx"]Sql server Express[/URL] into custom application. 2. Deploy SQL Server databases with an [URL="http://www.codeproject.com/KB/install/sqlscriptinstall.aspx"]Installer[/URL] class. Take a look at this thread at daniweb - [URL="http://www.daniweb.com/forums/thread237688.html"]http://www.daniweb.com/forums/thread237688.html[/URL] | |
Re: Take a look at [URL="http://sourceforge.net/projects/php-crawler/"]php crowler[/URL], an open source project. I think it will help you to understand the basic features of crawler. | |
Re: I believe what you're looking to do is [b]Resize/Resample[/b] your images. Please read [URL="http://www.codeproject.com/KB/GDI-plus/imgresizoutperfgdiplus.aspx"]this[/URL] article. | |
Re: Welcome annaqah. Handle [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.control.paint.aspx"]Paint[/URL] event of Form and use GDI classes to draw a vertical line onto the Form. [code] private void Form1_Paint(object sender, PaintEventArgs e) { e.Graphics.DrawLine(Pens.Blue, 10, 10, 10, 200); } [/code] |
The End.