5,346 Posted Topics

Member Avatar for mattdaddym

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]

Member Avatar for kvprajapati
0
115
Member Avatar for ujjval dave

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]

Member Avatar for kvprajapati
0
103
Member Avatar for shankbond

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 …

Member Avatar for kvprajapati
0
77
Member Avatar for avin037

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]

Member Avatar for kvprajapati
0
98
Member Avatar for RoyMicro

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]

Member Avatar for kvprajapati
0
113
Member Avatar for senthilg

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.

Member Avatar for kvprajapati
0
38
Member Avatar for sachinarora

You may use the [URL="http://commons.apache.org/downloads/download_fileupload.cgi"]Commons fileupload[/URL] package to upoad a file.

Member Avatar for kvprajapati
0
98
Member Avatar for LennieKuah

Use TOP caluse - [URL="http://www.daniweb.com/forums/thread38204.html"]T-SQL[/URL]. [code] SELECT TOP N ..... [/code]

Member Avatar for LennieKuah
0
122
Member Avatar for alsoumhi

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]

Member Avatar for ~s.o.s~
0
313
Member Avatar for girl.java

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]

Member Avatar for donaldw
0
120
Member Avatar for Stefano Mtangoo

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]

Member Avatar for Stefano Mtangoo
1
179
Member Avatar for djscratch

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 …

Member Avatar for djscratch
0
112
Member Avatar for sidd.
Re: zoom

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] .

Member Avatar for Geekitygeek
0
97
Member Avatar for parthmishra

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.

Member Avatar for mughil
0
124
Member Avatar for dskumar_85

You are on the right way. Use web service or vendor (mobile operator) specific api.

Member Avatar for dskumar_85
0
61
Member Avatar for chantj

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.

Member Avatar for kvprajapati
0
116
Member Avatar for mahesh.gothi

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]

Member Avatar for kvprajapati
0
73
Member Avatar for theAviator

Use [b]ImageButton[/b] and [b]TemplateField[/b] - ImageButton has both ImageUrl and PostBackUrl property.

Member Avatar for theAviator
0
193
Member Avatar for _dragonwolf_

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]

Member Avatar for kvprajapati
0
163
Member Avatar for sivait.mca

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.

Member Avatar for kvprajapati
0
31
Member Avatar for Smith5646

Use [b]Controls[/b] collection, [code] TabControl1.TabPages("key or Index").Controls("key or index").Controls("key or index") [/code]

Member Avatar for kvprajapati
0
157
Member Avatar for niladri.user
Member Avatar for kvprajapati
0
54
Member Avatar for mb841024

Hi, What do you say about [URL="http://en.wikipedia.org/wiki/Project_management"]Project Management Tool or something like that.[/URL]?

Member Avatar for kvprajapati
0
38
Member Avatar for abbz375

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]

Member Avatar for abbz375
0
2K
Member Avatar for jamith

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]

Member Avatar for kvprajapati
0
28
Member Avatar for rmc

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.

Member Avatar for abdalla_92
0
109
Member Avatar for vikram89

Please read this thread - [URL="http://www.daniweb.com/forums/thread238890.html"]http://www.daniweb.com/forums/thread238890.html[/URL]

Member Avatar for vikram89
-1
553
Member Avatar for xclaim

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]

Member Avatar for kvprajapati
0
96
Member Avatar for Iam3R

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]

Member Avatar for kvprajapati
0
82
Member Avatar for CanYouHandstand

?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]

Member Avatar for CanYouHandstand
0
1K
Member Avatar for abhisheksingh11

Welcome to the daniweb. Read the sticky thread - [URL="http://www.daniweb.com/forums/thread70096.html"]ReadMe[/URL]

Member Avatar for Sodabread
0
104
Member Avatar for love_dude1984

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]

Member Avatar for chandru7
0
121
Member Avatar for abc16

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 …

Member Avatar for Geekitygeek
0
448
Member Avatar for RoyMicro

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. …

Member Avatar for RoyMicro
0
165
Member Avatar for dewdropz

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.

Member Avatar for Ancient Dragon
0
209
Member Avatar for VIPER5646

Try it, [code] Label1.SetBounds((Me.ClientSize.Width - Label1.Width) / 2, (Me.ClientSize.Height - Label1.Height) / 2, 0, 0, BoundsSpecified.Location) [/code]

Member Avatar for VIPER5646
0
7K
Member Avatar for all4peace

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 …

Member Avatar for all4peace
0
135
Member Avatar for chromatinpt

Take a look at this thread - [URL="http://www.daniweb.com/forums/thread238903.html"]http://www.daniweb.com/forums/thread238903.html[/URL]

Member Avatar for DdoubleD
0
591
Member Avatar for royael

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.

Member Avatar for royael
0
64
Member Avatar for kenji

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.

Member Avatar for JamesCherrill
0
98
Member Avatar for pkuchaliya

I would like to suggest you to use [URL="http://directshownet.sourceforge.net/"]DirectShow.[/URL].

Member Avatar for pkuchaliya
0
184
Member Avatar for sathya8819

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]

Member Avatar for Geekitygeek
0
473
Member Avatar for shankbond

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]

Member Avatar for vasanth19
0
112
Member Avatar for Mattpd

[URL="http://www.daniweb.com/forums/thread40291.html"]Flush [/URL]the keyboard input buffer.

Member Avatar for kvprajapati
0
115
Member Avatar for krokodajl

>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"); …

Member Avatar for kvprajapati
0
111
Member Avatar for crazyboy

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.

Member Avatar for crazyboy
0
196
Member Avatar for Mitja Bonca

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]

Member Avatar for kvprajapati
0
193
Member Avatar for taminder

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.

Member Avatar for taminder
0
125
Member Avatar for coollife

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.

Member Avatar for kvprajapati
0
115
Member Avatar for annaqah

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]

Member Avatar for ddanbe
0
327

The End.