5,346 Posted Topics

Member Avatar for mrnobody

[b]>What I want to achieve next is if the powerpoint file is already opened..[/b] System.Runtime.InteropServices.Marshal.GetActiveObject() method. Have a look at - [url]http://support.microsoft.com/?scid=kb;en-us;316126&spid=2509&sid=global[/url]

Member Avatar for mrnobody
0
103
Member Avatar for sumangala

Try this sample - [url]http://www.trirand.com/blog/jqgrid/jqgrid.html#[/url]

Member Avatar for zahir_palsaniya
0
229
Member Avatar for lgonzo

[b]>i want to be redirected to preform the actual conversion[/b] Ask specific questions, don't ask people to do your homework.

Member Avatar for lgonzo
0
2K
Member Avatar for mtsaad

[b]>i can't save my data into access using vb.net[/b] I can not see any code that insert row into a database. [b]>when i ru this program, MsgBox("Certificate already exist.!![/b] Clarify in which circumstances you want to show this message.

Member Avatar for kvprajapati
-1
126
Member Avatar for Aradhanaa

You are working with SqlDataSource, so, you do not have to write any statement for updation or deletion.

Member Avatar for Aradhanaa
0
141
Member Avatar for evanguiton

Check syntax of delete statement. [code] protected void btnSubmit_Click(object sender, ImageClickEventArgs e) { SqlConnection conn = new SqlConnection(WebConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString); SqlCommand comm = new SqlCommand("Delete From [Staff] Where Staff_number=@Staff_Number", conn); comm.Parameters.AddWithValue("@Staff_Number",txtStaff.Text); conn.Open(); comm.ExecuteNonQuery(); conn.Close(); } [/code]

Member Avatar for jatin24
0
586
Member Avatar for vvashishta

[b]>What is Global Class in ASP.Net[/b] ASP.NET application event file. [b]>where it is stored[/b] Root of web application. [b]>what is its functionality?[/b] It allows you to write event handlers that react to [URL="http://msdn.microsoft.com/en-us/library/2027ewzw.aspx"]global events[/URL].

Member Avatar for kvprajapati
-3
60
Member Avatar for puhzl

[b]>I keep getting errors when making it. Any advice?[/b] Read - [url]http://www.parashift.com/c++-faq-lite/templates.html[/url]

Member Avatar for kvprajapati
0
594
Member Avatar for mrclark

[b]IPAddress.Any[/b] will automatically choose [icode]the network interface for you.[/icode] To listen on a certain interface you have to use the correct IP. You need to specify the IP address on which you want to listen, instead of IPAddress.Any. For example, [code] For Each list In System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces() For Each …

Member Avatar for kvprajapati
0
247
Member Avatar for ashab27

Choose page_load() event to add controls dynamically. [code] protected void Page_Load(object sender, EventArgs e) { CheckBox cx=new CheckBox(); ... form1.Controls.Add(cx); } [/code]

Member Avatar for kvprajapati
0
1K
Member Avatar for Kenyaweb

[URL="http://www.asp.net/%28S%28dfjoah55n4ywsy45zregske4%29%29/Community/control-gallery/browse.aspx?category=37"]Ajax tree.[/URL]

Member Avatar for kvprajapati
0
85
Member Avatar for JAM1011

[b]>I was wondering if any knows how to specify the patch for the database[/b] Sorry, I'm not quite following the problem. Can you provide some more information about what are you trying to do?

Member Avatar for kvprajapati
0
135
Member Avatar for brubru

[b]>Is there anyway on how can I calculate the paragraph size in centimeters?[/b] Read this article (blog) - [url]http://blogs.technet.com/david_bennett/archive/2005/04/06/403402.aspx[/url]

Member Avatar for brubru
0
177
Member Avatar for ukshir

[b]>How can I open the form in the designer so that I can modify the same?[/b] Unfortunately, you can't do anything.

Member Avatar for ukshir
0
345
Member Avatar for renyges
Member Avatar for ontherocks

Put an array into dictionary. [code] ... engine.put("lcc",lc); String script ="lcc[0]>lcc[1]"; Object bol = engine.eval(script); System.out.println(bol); ... [/code]

Member Avatar for ontherocks
0
115
Member Avatar for Pari13

[b]>I can not able to store file content into byte variable.[/b] Where you want to store these information. In database? In case of memory, information is already stored into FileList array.

Member Avatar for Pari13
0
244
Member Avatar for tanvirahmad

[b]>My problem is how to search any text in data grid view ?[/b] Use Filter property of DefaultView (DataView) of datasource (DataTabe).

Member Avatar for TomW
0
107
Member Avatar for abcd24ef

[b]>I'm trying to implement MVC pattern (Note: not by using ASP.net MVC framework).[/b] Do not use web.config create your own configuration file instead.

Member Avatar for kvprajapati
0
95
Member Avatar for dawsonz

[b]>I have the code working so that it locates the file however I receive an error once I click submit.[/b] It cannot work with asp.net (web-application). Look at apegram's post.

Member Avatar for kvprajapati
0
194
Member Avatar for samratfriendz

>[b]Use of unassigned local variable 'ans'[/b] Local variables in c# are initially unassigned. So, initialize the 'ans' variable. [code] char ans='y'; [/code]

Member Avatar for samratfriendz
-1
1K
Member Avatar for jithusdani
Member Avatar for charqus

[b]>Why i can't write a text in the box of a tab ?[/b] This is not an editable area. It is a container region in which you may add other controls (textboxes, buttons, etc).

Member Avatar for Geekitygeek
0
99
Member Avatar for elmaco93
Member Avatar for elmaco93
0
119
Member Avatar for badx

[code] addpro.Parameters.Add("@DATE_ASSIGNEDDATETIMEPICKER", OleDbType.VarChar, 50).Value = [COLOR="Red"]date_AssignedDateTimePicker.Value[/COLOR]; [/code]

Member Avatar for Geekitygeek
0
151
Member Avatar for julseypart
Member Avatar for kvprajapati
0
204
Member Avatar for Bei_Mu_tian

Insert a field at specific index. [code] GridView1.Columns.Insert(0, field1) [/code]

Member Avatar for kvprajapati
0
303
Member Avatar for vinaya
Member Avatar for kvprajapati
0
497
Member Avatar for noname1015

[code] Private Sub Delete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Delete.Click conn_1.Open() Dim sqladapter_1 As SqlClient.SqlDataAdapter = New SqlClient.SqlDataAdapter("select * from Table_1", conn_1) sqladapter_1.Fill(sa, "Table_1") Dim cmb1 As New SqlClient.SqlCommandBuilder(sqladapter_1) For Each row As DataGridViewRow In DataGridView1.SelectedRows DataGridView1.Rows.Remove(row) sa.Tables("Table_1").Rows.Remove(row) Next sqladapter_1.Update(sa, "Table_1") conn_1.Close() End Sub [/code]

Member Avatar for noname1015
0
4K
Member Avatar for sjfleming
Member Avatar for sjfleming
0
8K
Member Avatar for chetanbasuray

[b]>I'm just learning and I'm sorry if you feel this a too basic question.[/b] In fact, your question is not basic. I would like to suggest you to read [URL="http://en.csharp-online.net/Deploying_Windows_Applications%E2%80%94Prerequisites"]this[/URL] article thoroughly.

Member Avatar for chetanbasuray
0
158
Member Avatar for sonia sardana

From the Microsoft help for FolderBrowserDialog class: [QUOTE]Typically, after creating a new FolderBrowserDialog, you set the RootFolder to the location from which to start browsing. Optionally, you can set the SelectedPath to an absolute path of a subfolder of RootFolder that will initially be selected.[/QUOTE] Are you possibly setting the …

Member Avatar for ghimangi
0
198
Member Avatar for shanakaprabath

You might want to read [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]Daniweb [/URL]rules and homework policy ~[URL="http://www.daniweb.com/forums/announcement61-2.html"]We only give homework help to those who show effort[/URL]~ if you run into problems and want to ask for help here.

Member Avatar for shanakaprabath
0
130
Member Avatar for MGIndia

[b]>mainly doesnot know the difference between mailitem and postitem.[/b] From [URL="http://msdn.microsoft.com/en-us/library/aa210983%28office.11%29.aspx"]MSDN article[/URL]. SUMMARY: PostItem represents a post in a [B]public folder[/B] that others may browse. Unlike a [icode]MailItem object, a PostItem object is not sent to a recipient.[/icode] You use the Post method, which is analogous to the Send method …

Member Avatar for MGIndia
0
384
Member Avatar for miamia11

Stored-procedure "InsertUser" has three parameters and you are adding four parameters. (There is no out parameter). [code] insertcommand.Parameters.AddWithValue("@username",UserName) insertcommand.Parameters.AddWithValue("@email",Email) insertcommand.Parameters.AddWithValue("@password",Password) [/code]

Member Avatar for miamia11
0
412
Member Avatar for shruti patel

[b]>how to save the jpg file into database using file upload control?[/b] Use/learn ADO.NET classes. [b]>how to retrive that stored jpg file from database and show on image control.[/b] 1. Retrieve binary data from database and save into a file (say temp.gif). 2. Set ImageUrl property of Image control.

Member Avatar for mail2saion
-1
109
Member Avatar for aruntuneson

Read MSDN article - [URL="http://msdn.microsoft.com/en-us/library/bb264562%28SQL.90%29.aspx"]Embedding SQL Server Express into Custom Applications[/URL].

Member Avatar for kvprajapati
0
84
Member Avatar for ashab27
Member Avatar for hossam.khalili

[b]>i try to repeat form depanding on drop down list[/b] In ASP.NET, you cannot add more than one form tag with runat="server" attribute.

Member Avatar for kvprajapati
0
30
Member Avatar for rajabca

Read this article - [url]http://www.asp.net/%28S%28pdfrohu0ajmwt445fanvj2r3%29%29/learn/security/tutorial-02-vb.aspx[/url]

Member Avatar for kvprajapati
0
58
Member Avatar for Batoul88

[b]>I want to ask if there is a ready tool like..[/b] Use [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.imagebutton.click.aspx"]ImageButton[/URL]. [code] void ImageButton_Click(object sender, ImageClickEventArgs e) { } [/code]

Member Avatar for kvprajapati
0
98
Member Avatar for RAjushendre

[b]>do in search engines like google when u want to search anything in it by entering 2 to 4 characters u can get full related topics of same characters[/b] Use following properties of Combobox, 1. AutoCompleteCustomSource 2. AutoCompleteMode 3. AutoCompleteSource

Member Avatar for kvprajapati
0
70
Member Avatar for bumassjp

[b]>Can a string be directly stored as a varchar or do I need to convert this to something else beforehand? [/b] If a string variable contains non-English characters then use nvarchar field type otherwise string will be stored as varchar.

Member Avatar for kvprajapati
0
89
Member Avatar for sedalnas

[b]>i'm new to WPF so i didn't understand the controls that does not exist in WinForms..[/b] The WPF is a graphical subsystem for rendering user interfaces in Windows-based applications. WPF, WPF is built on DirectX, which provides hardware acceleration and enables modern UI features like transparency, gradients and transforms. Have …

Member Avatar for kvprajapati
0
95
Member Avatar for ZoMbiESsSZ

[b]>Does anyone know how I can speed this up? or a BETTER alternitive?[/b] I suggest to read CodeProject article - [url]http://www.codeproject.com/KB/edit/SyntaxRichTextBox.aspx[/url]

Member Avatar for kvprajapati
0
282
Member Avatar for kenakena

[b]>Is there a way to envoke a re-format of IDE so that all code will automatically align in its proper place ?[/b] If you are about visual studio then choose menu option Edit Menu + Advanced + Format Document.

Member Avatar for kvprajapati
0
78
Member Avatar for mike.p.poulin

Have a look at FAQ - [url]http://social.msdn.microsoft.com/Forums/en/wcf/thread/e744fb34-04de-4200-a21a-9805e3ce6e56[/url]

Member Avatar for kvprajapati
0
137
Member Avatar for DennisTouchet

Have a look at this [URL="http://wiki.asp.net/page.aspx/282/passing-value-from-popup-window-to-parent-form39s-textbox/"]article[/URL].

Member Avatar for DennisTouchet
-1
475
Member Avatar for badx

I would suggest to use SELECT with WHERE clause. [code] private void loginBtn_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection(@"provider = Microsoft.Jet.OLEDB.4.0;Data Source= C:\Documents and Settings\Developers ITD\My Documents\Visual Studio 2005\Projects\Jackson\Jackson\call.mdb"); OleDbCommand com = new OleDbCommand("SELECT username FROM Login WHERE username=@uname and password=@upass"); com.Connection=conn; com.Parameters.AddWithValue("@uname",usernameTextBox.Text); com.Parameters.AddWithValue("@upass",passwordTextBox.Text); conn.Open(); object result=com.ExecuteScalar(); …

Member Avatar for SharpJohnnyG
0
144
Member Avatar for Geekitygeek

Correct me if I am wrong. I suggest you to use an expression field. [code] DataTable dt = new DataTable(); dt.Columns.Add("Title"); dt.Columns.Add("Colour1"); dt.Columns.Add("Colour2"); dt.Columns.Add("Expression", typeof(string), "'This ' +Title + ' is available in ' + Colour1 + ' or ' + Colour2"); dt.Rows.Add("A","Cyan","Blue"); [/code]

Member Avatar for Geekitygeek
1
82

The End.