5,346 Posted Topics

Member Avatar for cruisx

[b]>how could i do it in managed c++? [/b] Use/Learn methods of [URL="http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx"]HttpWebRequest[/URL] class. [b]>i see many examples of this in c# but not in c++[/b] You could write your managed HttpWebRequest code into a C#, and compile it as a DLL. Use RegAsm.exe to register it as a COM …

Member Avatar for kvprajapati
0
275
Member Avatar for beta911

[b]>trying to do the updating through gridview but somehow doesn't work at all.[/b] Execute update query or invoke Update method of DataAdapter.

Member Avatar for kvprajapati
0
76
Member Avatar for ashabhatt

[b]>but here when i do this then i am getting last row value not first row.[/b] In above code snippet, you are trying to assign values (approx. 60 rows) from datatable to a single textbox and optionlist control - and, that is a problem. To solve your problem, you must …

Member Avatar for kvprajapati
0
105
Member Avatar for kanuri1

Use [b]&[/b] (string concatenation) [code] booking_no = CStr(year) & "/" & sino [/code]

Member Avatar for kvprajapati
0
83
Member Avatar for snakay

You can't apply inner join directly on Typed DataSet. Take a look at this thread - [URL="http://forums.asp.net/p/996217/3353200.aspx#3353200"]http://forums.asp.net/p/996217/3353200.aspx#3353200[/URL]

Member Avatar for snakay
0
76
Member Avatar for Brian Charlie

From the [URL="http://www.w3.org/TR/wsdl20/#intro"]http://www.w3.org/TR/wsdl20/#intro[/URL] WSDL - provides a model and an XML format for describing Web services. [b]>Can I add a XML WSDL to my VB .Net 2003?[/b] You have to create web service [URL="http://msdn.microsoft.com/en-us/library/d2s8y7bs%28VS.71%29.aspx"]Proxy[/URL] using web service [URL="http://msdn.microsoft.com/en-us/library/aa529578.aspx"]proxy class tool[/URL].

Member Avatar for kvprajapati
0
88
Member Avatar for wingers1290

The best way to asynchronously load an BitmapImage in C# is [URL="http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx"]BackgroundWorker[/URL] class. (It executes an operation on a separate thread.)

Member Avatar for wingers1290
0
270
Member Avatar for Clyw

[QUOTE]From [URL="http://en.wikipedia.org/wiki/Multitier_architecture"]WikiPedia[/URL][/QUOTE] SUMMARY: In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which the presentation, the application processing, and the data management are logically separate processes. For example, an application that uses middleware to service data requests between a user and a database …

Member Avatar for kvprajapati
0
133
Member Avatar for tqmd1

You are doing well. Take a look at this - [URL="http://www.vbforums.com/showthread.php?p=3708712"]http://www.vbforums.com/showthread.php?p=3708712[/URL] and [URL="http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/8f713f45-fc25-4a31-b2ea-f38984d93d12"]http://social.msdn.microsoft.com/Forums/en/winformsdatacontrols/thread/8f713f45-fc25-4a31-b2ea-f38984d93d12[/URL]

Member Avatar for kvprajapati
0
430
Member Avatar for Snubnose

Welcome Snubnose, I suggest you to read this (CodeProject) article - [URL="http://www.codeproject.com/KB/GDI-plus/CsTranspTutorial2.aspx"]http://www.codeproject.com/KB/GDI-plus/CsTranspTutorial2.aspx[/URL]

Member Avatar for kvprajapati
1
135
Member Avatar for chathuD

[b]>so can any body help me to develop this program?[/b] Showing your code might help. You can use Win32 API/PInvoke.

Member Avatar for kvprajapati
-2
60
Member Avatar for emilio

[b]>Is there any way to show a PowerPoint presentation on a WebBrowser control?[/b] Take a look at this article - [URL="http://support.microsoft.com/kb/243058"]How to use the WebBrowser control to open an Office document[/URL]

Member Avatar for kvprajapati
0
67
Member Avatar for wingers1290

Thanks wingers1290. On behalf of all of daniweb members, we appreciate your feedback. I recommend custom serialization (BinaryReader and BinaryWriter) instead of BinaryFormatter. If your data is complex, high in quantity or you need to query it locally then object databases might be a valid option. I'd suggest looking at …

Member Avatar for wingers1290
0
172
Member Avatar for mittalanuj

[b]>Is there any development tool i can install on my mac for ASP.net?[/b] [URL="http://www.mono-project.com/Main_Page"]Mono[/URL]

Member Avatar for rg10
0
304
Member Avatar for asenteni

[b]>Disable a datagridview row from being selected.[/b] Set value false to Enabled property of datagrid.

Member Avatar for asenteni
0
16K
Member Avatar for TommyTran

You have to target version 3.5 .net framework to use linq. Please verify the .net version at your school. Actually you can't use Linq in .NET 2.0. However you can download [URL="http://code.google.com/p/linqbridge/"]linqbridge[/URL] - which provides a LINQ implementation for Framework 2.0.

Member Avatar for apegram
0
92
Member Avatar for love_dude1984

[b]>how can i add thm to a specific location?[/b] Use [URL="http://msdn.microsoft.com/en-us/library/ty0ce8sc.aspx"]Table[/URL] server control.

Member Avatar for kvprajapati
0
69
Member Avatar for blacksymmetry

[b]>How to fill rows in ListView from DataRow?[/b] [code] DataTable dt = new DataTable(); dt.Columns.Add("No"); dt.Columns.Add("Name"); dt.Rows.Add("1","AA"); dt.Rows.Add("2","BB"); dt.Rows.Add("3","CC"); dt.Rows.Add("5","DD"); listView1.Columns.Add("No"); listView1.Columns.Add("Name"); foreach (DataRow row in dt.Rows) { string []ar=Array.ConvertAll<object,string>(row.ItemArray,p=>p.ToString()); listView1.Items.Add(new ListViewItem(ar)); } [/code]

Member Avatar for JerryShaw
0
2K
Member Avatar for JohnDove

ASP.NET is an extended class library of .net framework or .net framework's web technology that allows developer that he/she can author applications in any CLS compliant language and [icode].net framework class library[/icode] to develop a web application.

Member Avatar for kvprajapati
0
83
Member Avatar for tqmd1

[b]>How to make datagridview current row bold?[/b] Use RowEnter and RowLeave event handler. [code] ..... ..... AddHandler DataGridView1.RowEnter, AddressOf test1 AddHandler DataGridView1.RowLeave, AddressOf test2 End Sub Sub test1(ByVal s As Object, ByVal e As DataGridViewCellEventArgs) DataGridView1.Rows(e.RowIndex).DefaultCellStyle.Font = New Font("Arial", 10, FontStyle.Bold) End Sub Sub test2(ByVal s As Object, ByVal e …

Member Avatar for kvprajapati
0
211
Member Avatar for sathya8819

From the MSDN - [URL="http://msdn.microsoft.com/en-us/library/ms173212.aspx"]extern alias (C# Reference)[/URL] SUMMARY: To reference two assemblies with the same fully-qualified type names, an alias must be specified at a command prompt. Take a look at this blog - [URL="http://blogs.msdn.com/abhinaba/archive/2005/11/30/498278.aspx"]http://blogs.msdn.com/abhinaba/archive/2005/11/30/498278.aspx[/URL]

Member Avatar for sknake
0
82
Member Avatar for MatthewKeyzer

Try to set width, [code] <style type="text/css"> .FixedWidth { width:200px; } </style> <table> <tr> <td class="FixedWidth"> View Meetings </td> </tr> <tr> <td class="FixedWidth"> View Personal Details </td> </tr> </table> [/code]

Member Avatar for MatthewKeyzer
0
91
Member Avatar for niro_fernando

Take a look at [URL="http://www.ratz.com/features.html"]Good and Bad web design.[/URL]

Member Avatar for niro_fernando
-1
76
Member Avatar for rudz

[b]>please can someone help, i wana add row to a xml file?[/b] You can manipulate xml document using System.Xml (DOM) or System.Data.DataSet classes.

Member Avatar for kvprajapati
0
65
Member Avatar for carey_amanda

Take a look at an article - [URL="http://en.csharp-online.net/Deploying_Windows_Applications"]Deploying Windows Applications[/URL]

Member Avatar for sknake
1
111
Member Avatar for Poojasrivastava
Member Avatar for DesperateDan

[b]What happens is that the error message is displayed first and when I press OK, only then can I move to the other textboxes. [/b] set CausesValidation property of OK button [code] OK.CausesValidation = false [/code]

Member Avatar for DesperateDan
0
141
Member Avatar for mshravs
Member Avatar for pauldani
0
94
Member Avatar for Gibson_Junk

[b]>Trying to login to websitewith C++[/b] Consider using something like [URL="http://msdn.microsoft.com/en-us/library/aa384270%28VS.85%29.aspx#Posting_data_to_the_"]WinHttp [/URL] or [URL="http://curl.haxx.se/libcurl/"]libcurl[/URL]. EDIT: In this thread you are asking help for Managed C++ code. [URL="http://www.daniweb.com/forums/thread253746.html"]http://www.daniweb.com/forums/thread253746.html[/URL]

Member Avatar for kvprajapati
0
69
Member Avatar for satiss7pwr

[b]>i get false value of checkbox[/b] Don't use IsPosback. [code] protected void Page_Load(object sender, EventArgs e) { cb = new CheckBox[count - k]; //Database code......... while (dr.Read())//read data from access database { cb[z] = new CheckBox(); cb[z].Text = dr["Member_Name"].ToString(); Panel2.Controls.Add(cb[z]); Panel2.Controls.Add(new LiteralControl("</br>")); z = z + 1; } } [/code]

Member Avatar for kvprajapati
0
86
Member Avatar for shreeLokesh

In order to write code against external component, your project must first contain a reference to it.

Member Avatar for kvprajapati
0
63
Member Avatar for rp_prakash

[b]>When I click second time I got error Procedure or function "procedure name display" - has too many arguments specified.[/b] You are adding a parameter object each time. Use MyCommand.Parameters.Clear() method, [code] MyConnection.ConnectionString = connstring MyCommand.Connection = MyConnection MyCommand.CommandText = "sp_developer_display" MyCommand.CommandType = CommandType.StoredProcedure MyCommand.Parameters.Clear() Dim param As SqlParameter = …

Member Avatar for kvprajapati
0
186
Member Avatar for rp_prakash

[code] ... Dim mydst As New DataSet MyConnection.ConnectionString = connstring Dim disp As New SqlDataAdapter("sp_developer_display", MyConnection) disp.SelectCommand.Parameters.AddWithValue("@developerid",10) disp.Fill(mydst, "dev_display") ... [/code]

Member Avatar for rp_prakash
0
165
Member Avatar for Diamonddrake

A very good book to read - [URL="http://books.google.co.in/books?id=-l2HUDdYNzkC&pg=PA113&dq=Playing+sounds+Async+from+memory+with+high+performance&cd=1#v=onepage&q=&f=false"]High performance memory systems.[/URL]

Member Avatar for Diamonddrake
0
243
Member Avatar for sbanks_charles

[b]>I need to serialize the array to do this but don't understand the process.[/b] [code] Dim no As Integer() = {11, 22, 33, 44} Dim MS As New System.IO.MemoryStream Dim bin As New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter bin.Serialize(MS, no) Dim bytes(MS.Length - 1) As Byte MS.Position = 0 MS.Read(bytes, 0, bytes.Length) .... ... …

Member Avatar for sbanks_charles
0
1K
Member Avatar for makdu

[b]>Is there any dependency to be added to make sure that the exe run in any computer?[/b] You need a .net framework. Take a look at this FAQ - [URL="http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en"]http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en[/URL]

Member Avatar for privatevoid
0
133
Member Avatar for techker
Member Avatar for techker
0
57
Member Avatar for barristerpee

[b]>whenever i click the button next. But the code is only displaying the last record in the database.[/b] It will not work. DataReader instance reads a forward-only, read-only stream of data from a data source. Use DataSet (Relational classes) and DataAdapter.

Member Avatar for kvprajapati
0
550
Member Avatar for tqmd1

[b]>I want to apply primary key on sno+date columns[/b] Yes. It is called composite-primary key. Note: You can't assign blanks (spaces) to date and numeric fields.

Member Avatar for kvprajapati
0
102
Member Avatar for scias23

[b]>i want to display the inserted row to my datagridview. how can i accomplish this?[/b] You might want to show all rows having Inserted RowState. Use daaViewObject.RowStateFilter = DataViewRowState.Added

Member Avatar for kvprajapati
0
112
Member Avatar for babbu

Handles RowEnter event, [code] .... dataGridView1.RowEnter += new DataGridViewCellEventHandler(dataGridView1_RowEnter); } void dataGridView1_RowEnter(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex == 0) ((DataGridViewComboBoxCell)dataGridView1.Rows[e.RowIndex].Cells[0]).DataSource = new string[] { "1", "2", "3" }; if (e.RowIndex == 1) ((DataGridViewComboBoxCell)dataGridView1.Rows[e.RowIndex].Cells[0]).DataSource = new string[] { "11", "21", "23" }; if (e.RowIndex == 2) ((DataGridViewComboBoxCell)dataGridView1.Rows[e.RowIndex].Cells[0]).DataSource = new string[] …

Member Avatar for kvprajapati
-1
166
Member Avatar for SasirekhaMuthu

Set DrawMode property of treeview with OwnerDrawText or OwnerDrawAll. [code] private void Form1_Load(object sender, EventArgs e) { treeView1.DrawMode = TreeViewDrawMode.OwnerDrawAll; treeView1.DrawNode += new DrawTreeNodeEventHandler(treeView1_DrawNode); TreeNode root = new TreeNode("Programming"); treeView1.Nodes.Add(root); root.Nodes.Add("Java Programming"); root.Nodes.Add("C Programming"); } void treeView1_DrawNode(object sender, DrawTreeNodeEventArgs e) { string[] s = e.Node.Text.Split(' '); e.Graphics.DrawString(s[0], new Font("Arial",10f) ,Brushes.Red …

Member Avatar for SasirekhaMuthu
0
879
Member Avatar for mm_89

.net compact framework is ideal for development/deployment on Pocket PC / Windows Mobile devices. Take a look at [URL="http://en.wikipedia.org/wiki/Mobile_development"]wiki [/URL]for more details.

Member Avatar for kvprajapati
0
100
Member Avatar for tqmd1

1. [code] str = "Select * from [gpass] where [vou_no]=" & Val(Me.txtGat.Text) & " And [Date] = '" & Me.txtDat.Text & "'" [/code] 2. [code] Dim cmd As New SqlClient.SqlCommand("update [gpass] set [c]=@c, [bno]=@bno, code=@code, [vehicle_no]=@vehicle_no,[trasportr]=@transportr,[time]=@time where [vou_no]= @vou_no and [Date] =@date", con) [/code]

Member Avatar for kvprajapati
0
86
Member Avatar for JohnDove

Please read this article - [URL="http://msdn.microsoft.com/en-us/library/ms997636.aspx"]http://msdn.microsoft.com/en-us/library/ms997636.aspx[/URL] [QUOTE]SUMMARY: Icon Sizes There are four sizes of Windows icons—48 × 48, 32 × 32, 24 × 24, and 16 × 16 pixels.[/QUOTE]

Member Avatar for kvprajapati
0
114
Member Avatar for Satya Priya

|[URL="http://social.msdn.microsoft.com/forums/en-US/sqlce/thread/dc31ea59-5718-49b6-9f1f-7039da425296/"]DataDirectory[/URL]| is a substitution string that indicates the path to the database. [code] Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\Database\health.mdb;Persist Security Info=False") Public Sub opencn() [/code]

Member Avatar for kvprajapati
0
58
Member Avatar for wasyazwan
Member Avatar for bilaman

Welcome bilaman, >then whenever i click the student name it will automatically fill the name in a ready made .doc form Can you be more specific please? We only give help to those who show effort. You might want to read the [URL="http://www.daniweb.com/forums/announcement58-2.html"]homework[/URL] policy if you run into problems and …

Member Avatar for bilaman
0
65
Member Avatar for networkmancer

Don't put .exe extension. [code=vb.net] Dim p() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName("calc") If p.Length = 1 Then p(0).Kill() End If [/code]

Member Avatar for Chrono841
0
210
Member Avatar for ZidaneXero

Use order by desc clause. [code=text] SELECT * FROM TABLENAME ORDER BY OrderTakenDateTime DESC [/code]

Member Avatar for ChrisPadgham
0
87

The End.