5,346 Posted Topics
Re: [b]>What is the differences between both ? Can 2008 be installed in Windows 7 ?[/b] Read [URL="http://stackoverflow.com/questions/193281/visual-studio-2005-vs-2008-what-are-the-benefits"]Visual Studio 2005 vs 2008 - What are the benefits?[/URL] [b]>Can 2008 be installed in Windows 7 ?[/b] Yes. | |
Re: [b]>I am calling LoadLibrary of kernel32 but it returns me zero.[/b] Because it fails to load due to lack of privileges. | |
Re: [b]>Adding Custom Controls to Visual Studio Tookbox programatically[/b] Read these blogs: 1. [url]http://www.codeproject.com/KB/macros/addcontrol2toolbox.aspx[/url] 2. [url]http://blogs.msdn.com/b/chetanc/archive/2005/10/05/477128.aspx?wa=wsignin1.0[/url] | |
Re: [b]>crystal reports total records[/b] Create [b]Running Total[/b] field. | |
Re: Buddy, You are confused. You are right and what you have done is absolutely right. I think problem in your control - UCCites. | |
Re: Please read before posting - [url]http://www.daniweb.com/forums/thread78223.html[/url] Hi bhavu4u . I appreciate your help. Have you ever noticed that the current thread is three years old? Please do not resurrect old threads and have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. | |
Re: chubbs1900>I am trying to self teach C++ and I am to the point of loops. ... adatapost>Tryout. [CODE] 1. 1 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 1 1 1 1 1 1 2. 1 0 0 0 1 … | |
Re: Download open source pdf api - [URL="http://csharp-source.net/open-source/pdf-libraries/itextsharp"]http://csharp-source.net/open-source/pdf-libraries/itextsharp[/URL] | |
Re: [b]>i m new user in visual studio 2008.[/b] Purchase VB.NET books ad prepare yourself. [b]>i want clear information to work with this topic[/b] Nope. | |
Re: love_bug>I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database. I think you want to fetch all data and paint on the page once new record is added. Itsn't it? Where is your code? | |
Re: [code] private Label[] label=new Label[5]; int b = 70, d = 157; //these two are the coordinates where the label(s) should start creating for (int i = 1; i <label.Length; i++) { label[i] = new Label(); label[i].Visible = true; label[i].Location = new System.Drawing.Point(b, d); label[i].Size = new Size(80, 70); label[i].TabIndex … | |
Re: I'd like to suggest a wonderful book - [b][URL="http://www.amazon.com/CLR-via-Dev-Pro-Jeffrey-Richter/dp/0735627045"]CLR via C# 3rd Edition.[/URL][/b] | |
Re: Please read - How to cancel installation [URL="http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/19b5b86b-3769-44d7-ab24-89bfd34afb2e"]programmatically[/URL]? | |
Re: [b]>Need help adding a new record to a database using VB.NET[/b] Do you want to find or add a record? INSERT statement is needed to add a record. | |
Re: You can't use optional parameters in WebMethod. Take a look at an alternative - Method overloading. | |
Re: [b]>what is the purpose of anonymous constructor?[/b] That is called [b][URL="http://msdn.microsoft.com/en-us/library/bb397696.aspx"]Anonymous Types[/URL][/b] not an anonymous constructor. Read this [URL="http://stackoverflow.com/questions/793415/use-of-anonymous-class-in-c"]thread[/URL]. | |
Re: [b]>I guess we can do using WithEvents.[/b] Of course, Yes. Another way to handle events is [B]AddHandler/RemoveHandler[/B] statement | |
Re: @CintoJose. Please show us your code work. | |
Re: Please take a look at this link - [url]http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/86e4cbee-17ef-47cd-b476-30e8ae053d1d[/url] | |
Re: Welcome @sakura_hanah07 I'm glad you got it helpful and if you have any questions please ask. You are welcome to start your own thread/New thread. Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Thread Locked. | |
Re: @dheai Do not hijack another thread to ask your question but start your own thread instead. Please read the rules before posting again - [url]http://www.daniweb.com/forums/thread78223.html[/url] and [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Thread Locked. | |
Re: benjaminTribe7, Use bb code tag to post your source code. Source code must be surrounded with code tags. Found problems at : - Modify a setImage method of IFrame class. - main() - Entry point method public void setImage(Image image){ viewer.setImage(image); } public static void main(String []args) { new IFrame(); … | |
Re: Hi Major, You have to change NavigateUrl's bind property of Hyperlink on default.aspx. [code=asp.net] Eval("ProductName","~/Default2.aspx?pname={0}") [/code] and code of Default2.aspx should be, [code=asp.net] string productname=Request["pname"]; // QueryString key SqlConnection cnn = new SqlConnection("Data Source=HAFEZ\\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True"); DataTable dt = new DataTable("Emp"); SqlCommand cmd = new SqlCommand("select quantityperunit , unitprice from … | |
Re: [b]>i tries to Delete or edit new added roecord it is not working[/b] You need to configure InsertCommand, UpdateCommand, and DeleteCommand properties of dataAdapter. [code] Imports System.Data Imports System.Data.OleDb Public Class Form1 Dim Conn As New OleDb.OleDbConnection Dim Ds As New DataSet Dim Da As OleDb.OleDbDataAdapter Dim Cmb As New … | |
Re: Use Hashtable class where you may assign value at unique key. [code=c#] Hashtable hs = new Hashtable(); hs.Add("thousand", 1000); hs.Add("hundred", 100); hs.Add("one", 1); hs.Add("two", 2); string[] ar = "one thousand two hundred".Split(' '); int no = 0; for (int i = 0; i < ar.Length; i+=2) { no= no + … | |
Re: First, statement `c1.addItem(rs.getString(1));` must be placed inside the loop. while(rs.next()) { c1.addItem(rs.getString(1)); } Use code tags. Source code must be surrounded with code tags. | |
Re: [URL="http://www.edgeofnowhere.cc/viewtopic.php?t=430074"]Managed .NET DLL Injection[/URL] Code project article - [URL="http://www.codeproject.com/KB/threads/taskex.aspx"]http://www.codeproject.com/KB/threads/taskex.aspx[/URL] | |
Re: Show us your code. I recommend [URL="http://www.extrememl.com/index.php/home/download"]extrememl[/URL]. | |
Re: You can start to learn ADO.NET provider classes for MS-SQL server. | |
Re: Have a look at this thread - [url]http://forums.asp.net/t/1322826.aspx[/url] | |
Re: Take a look at MCI command string - [url]http://msdn.microsoft.com/en-us/library/ms712587%28VS.85%29.aspx#[/url] | |
Re: I'd like to suggest you that you should read this articles: 1. [URL="http://code.google.com/apis/maps/articles/flashmapinwpf.html"]Hosting Google Maps in a Microsoft WPF application using XAML[/URL] 2. [URL="http://www.codeproject.com/KB/web-image/Google_map.aspx"]Show Your Data on Google Map using C# and JavaScript[/URL] 3. [URL="http://www.codeproject.com/KB/recipes/ProjectMapPosition3.aspx"]Real Time position display software model for Google maps using C#.net and Microsoft XNA framework[/URL] | |
Re: Correction to @pritesh2010's post. Return data type of method [B]ExecuteScalar()[/B] is [B]object[/B] - type cast is needed. [code] OleDbCommand cmd=new OleDbCommand("SELECT count(*) from table",con); con.Open(); int count=(int) cmd.ExecuteScalar(); con.close(); [/code] OR use [B]DataAdapter[/B] way: [code] OleDbDataAdapter adp = new OleDbDataAdapter("select count(*) from " + table, @"put_connection_string_here"); DataTable dt = new … | |
Re: You can write browser hosted WPF application - it combines features of both Web applications and rich-client applications. For more information read MSDN articles : 1. [url]http://msdn.microsoft.com/en-us/library/aa970060.aspx[/url] 2. [url]http://msdn.microsoft.com/en-us/library/aa480223.aspx[/url] | |
Re: I'm so confused about your threads regarding to DataGridView control. I think you are struggling to understand the datagridview control structure & data binding and unfortunately I am unable to answer your broken posts/threads. Please don't forget to read - [url]http://catb.org/~esr/faqs/smart-questions.html[/url] . Always visit MSDN. Some links from MSDN for … | |
Re: 1 & 3. Redirect input/output/error stream. 2. Use [B]Arguments[/B] property of ProcessInfo. | |
Re: [b]>i want railway reservation project in vb.net[/b] Nice concept. Good luck. | |
Re: Write following code in the constructor method of MainForm, [code] ... public MainForm() { Login lg = new Login(); lg.ShowDialog(); InitializeComponent(); } ... [/code] [code] if (dr["UserID"].ToString()==txtID.Text&& dr["UserName"].ToString() == txtUser.Text && dr["Password"].ToString() == txtPass.Text && dr["Station"].ToString() == cmbStation.Text) { this.Close(); } ... [/code] | |
Re: Welcome @eminent123, Please do not resurrect old threads. If you have any questions please ask. You are welcome to start your own threads. Thread Locked. | |
Re: [URL="http://www.cacr.math.uwaterloo.ca/hac/"]Here[/URL] is a good book might help you to understand and solve your problem. Tutorials/Articles: [url]http://www.codeproject.com/KB/security/RSACryptoPad.aspx[/url] and [url]http://www.dreamincode.net/forums/topic/67705-rsa-encryption-in-vbnet/[/url] | |
Re: Create and configure DataTable instance. [code] Dim dt as new DataTable dt.Columns.Add("No",GetType(Integer)) dt.Columns.Add("Name") dt.Rows.Add(1,"A") dataGridView1.DataSource=dt [/code] | |
Re: [code] for (int i = 0; i < listView1.SelectedItems.Count; i++) { listView1.SelectedItems[i].ForeColor = Color.Red; } [/code] | |
Re: [b]>how to create a folder in client machine[/b] Nope. You cannot. | |
Re: [QUOTE=kayfar;1272986]can anyone tell me how to publish web application from asp.net?[/QUOTE] Please take a look at this tutorial - [url]http://www.asp.net/hosting/tutorials/deploying-your-site-using-visual-studio-cs[/url] | |
Re: Please take a look at this thread - [url]http://stackoverflow.com/questions/127040/put-text-on-the-clipboard-with-firefox-safari-and-chrome[/url] | |
Re: [b]>Multiple radio buttons in one record[/b] If field type of your table is "varchar(7)" then I'd like to use, [code] String gender="Male"; if(RadioButton2.Checked) gender="Female"; ...... [/code] | |
Re: First of all please focus on sql (learn) statements. INSERT statement is completely incorrect. | |
Re: [b]>what this code is doing please? :)[/b] Based upon [B]ID[/B] (request parameter) value, code reads a row from the Car table. After that, exception will be thrown when data reader has no row, otherwise it writes an array of bytes (image content) into the response buffer. | |
Re: [b]>i would like to backup .exe files from 24hours ago using C#....what is the best method to do this?[/b] Please tell us about backup methods you have tested so far. Take a look at - [url]http://windows.microsoft.com/en-US/windows-vista/Methods-for-backing-up-your-files[/url] | |
Re: [b]>but when I run the project I doesn’t show any data on crystal report viewer. in crystal report why it happened what should I do.[/b] I think you are creating [B][URL="http://www.codeguru.com/csharp/.net/net_general/toolsand3rdparty/article.php/c13253"]push model[/URL][/B] crystal report model because the data is pushed to the report, as opposed to the data being retrieved … |
The End.