5,346 Posted Topics
Re: It's called "Globalization". Read these articles: 1. [url]http://msdn.microsoft.com/en-us/library/b28bx3bh%28VS.80%29.aspx[/url] 2. [url]http://www.codeproject.com/KB/locale/GlobalizationSample.aspx[/url] | |
| |
Re: Correct me if I am wrong. [code] this.WindowState = FormWindowState.Minimized; Form2 f = new Form2(); f.TopMost = true; f.ShowDialog(); this.Focus(); this.WindowState = FormWindowState.Normal; [/code] | |
Re: Read this article - security guidelines - [url]http://msdn.microsoft.com/en-us/library/ff648462.aspx[/url] | |
Re: Take a look at these articles: 1. [url]http://geekswithblogs.net/narent/archive/2007/06/21/113361.aspx[/url] 2. [url]http://forums.asp.net/p/1020921/1381225.aspx[/url] | |
Re: Read this article - [url]http://www.switchonthecode.com/tutorials/csharp-tutorial-how-to-use-custom-cursors[/url] | |
Re: Declare a Boolean static field. [code] public class Form1 : .... { static bool flag=true; void form1_load(...) { if(flag) { .... flag=false; } } } [/code] | |
Re: Welcome tongriff. Please do not resurrect threads that are years old. By doing so you run the risk of confusing current posters and/or reopening old wounds. Thread Closed. | |
Re: Please do not resurrect old / solved threads. If you have any questions please ask. .... You are welcome to start your own threads. Thread Closed. | |
Re: [b]>how to load images faster[/b] Use Image.FromFile() method. Read this thread - [url]http://stackoverflow.com/questions/1201228/speed-up-loading-an-image-from-disk-in-a-windows-forms-c-net-app[/url] | |
Re: [b]>can u help me for the java code of this program?[/b] [code] class MyException extends Exception { public MyException() { } public MyException(String msg) { super(msg); } } ... void testMethod() throws MyException { .... if(lengthExceed) throw new MyException("put_your_message"); .... if(!containsVowels) throw new MyException("put_your_message"); } void testException(){ try{ ... testMethod(); … | |
Re: [b]>How can i check if some value exists in the data reader How can i do that ?[/b] [code] IF dataReader.Read() Then IF IsDBNull(dataReader("col1")) Then ... ELSE .... END IF End If [/code] | |
Re: [b]>I am trying to compare an array user_correct[/b] [code] if(user_correct[0]==0 && user_correct[1]==0 && user_correct[2]==0) { ... } [/code] | |
Re: [b]>Where to read a concise tutorial[/b] [URL="http://www.daniweb.com/forums/thread249070.html"]Readme.[/URL] [b]>What is difference between JSP login and PHP[/b] Not a real question. ([url]http://en.wikipedia.org/wiki/Login[/url]) | |
Re: [code] StreamWriter Wr = new StreamWriter(Path1); Wr.AutoFlush=True; [/code] | |
Re: Please verify the database and read articles - [url]https://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Walkthrough/CCDWithDB.aspx[/url] and [url]http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/CascadingDropDown/CascadingDropDown.aspx[/url] | |
Re: @phmurton We appreciate your help. Please do not resurrect threads that are years old. Thread Closed. | |
Re: Welcome manav kumar. Please take your time to ask a question. Read this - [url]http://catb.org/~esr/faqs/smart-questions.html[/url] | |
Re: ExecuteReader() method. [code] ... SqlDataReader dr=cmd.ExecuteReader() if dr.Read() Then TextBox1.Text= dr("col1") & " " & dr("col2") End IF [/code] | |
Re: Try to put absolute path of database and see what happens? (also remove acceptchanges() method). [code] Dim myConnString As String = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\xyz\Userpass.mdb;Jet OLEDB:Database Password=1234567890" [/code] | |
Re: [b]>help me to connect with the server[/b] Steps: 1. Launch Visual Studio. 2. View Menu + Server Explorer (Database explorer) 3. Right click on DataConnection and Select "Add Connection" to verify the connection. | |
Re: [b]>But for this html tag <p class="abstract"> Hello World </p>[/b] Use HttpServerUtility.HtmlDecode Method (String) - It decodes an HTML-encoded string and returns the decoded string. | |
Re: [code] protected void btn1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(" server = localhost;database = booking;Integrated Security=SSPI"); con.Open(); string sqlUserName; sqlUserName = "SELECT seatcount FROM seat where seatid='1'"; SqlCommand cd = new SqlCommand(sqlUserName, con); //SqlCommand com = new SqlCommand(sqlUserName, Con); object result = cd.ExecuteScalar(); if (result!=null) { int … | |
Re: Set TextBox1.Parent property. [code] textBox1.Parent = tabControl1.TabPages[1]; [/code] | |
Re: [code] ..... internal InterestedCompany X { get { if(x==null) x=new InterestedCompany(); return x; } set { x = value; } } .... [/code] | |
Re: [b]>But, the data does not appear until the whole application is restarted. [/b] Open app.config and change the path of .sdf [code=text] <add name="WindowsFormsApplication6.Properties.Settings.Database1ConnectionString" connectionString="Data Source=C:\your_folder\bin\Debug\Database1.sdf" providerName="Microsoft.SqlServerCe.Client.3.5" /> [/code] | |
Re: Turn off auto generated columns property. | |
Re: If productid is non-numeric type then, [code] SQL = "UPDATE products SET product_image = '" & MySmartUpLoad.Files(1).FileName & "' WHERE product_id ='" & product_id & "'" [/code] | |
Re: [b]>how to add the rows of a datagridview to a datatable./b] 1. Populate/create datatable [code] DataTable dt=new DataTable(); dt.Columns.Add("Col1"); dt.Columns.Add("Col2"); dt.Rows.Add("A","B"); [/code] 2. DataBindings [code] dataGridView1.Datasource=dt; [/code] | |
Re: Have a look at code project article - [url]http://www.codeproject.com/KB/cs/DragDropImage.aspx[/url] | |
Re: [b]>I want to be able to maximize and minimize my applet from a menuItem[/b] An applet is a small program that runs embedded in a Web browser’s web-page. As such, applet has a drawing or work area equal to an imaginary picture situated in the same spot. However you can … | |
Re: [b]>Would it be possible to read the entire XML, push an array...[/b] You can use SAXParser - event-driven XML parsing. | |
Re: [b]>All I want is for my splash to display for a few seconds then fade out and load the main form.[/b] Timer Or Thread. Take a look at - [url]http://msdn.microsoft.com/en-us/library/aa446493.aspx[/url] | |
Re: Use [URL="http://msdn.microsoft.com/en-us/library/11405hcf%28VS.71%29.aspx"]Masked [/URL]Edit Control. | |
Re: [b]>Please pay close attention to where my Login.aspx page is; Yes it is in the Account directory. Should not be a huge issue right??[/b] No. Read more about [URL="http://msdn.microsoft.com/en-us/library/b6x6shw7.aspx"]Location [/URL]element. | |
| |
Re: [b]>i was just wondering how can i pass that command from a windows app using c# [/b] [URL="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx"]Process [/URL]class. | |
Re: [b]>and have no idea how to do it.[/b] [URL="http://www.gamedev.net/community/forums/topic.asp?topic_id=353607"]DirectInput[/URL]. | |
Re: [b]>Contact me via pm for more problems[/b] Then what is the purpose of this [B]Thread[/B]. Please post your problems & their respective solutions on the board. | |
Re: [b]>so it need to be deployed into a single computer.[/b] 1. Install .net framework 2. Install required database product. 3. Install IIS 4. Create virtual folder and copy all files of your web-app into virtual folder. | |
| |
Re: Setup & Deployment of Web project. [url]http://msdn.microsoft.com/en-us/library/k8kzx145%28VS.80%29.aspx[/url] | |
Re: [b]>I would like to get the result of search commond into ListView.[/b] Use/Learn SQL statements and ADO.NET Oledb provider classes. [b]>Any sample code for this purpose would be highly appreciated.[/b] Take a look - [url]http://www.daniweb.com/forums/search5714968.html[/url] | |
Re: Check the length of string before [B]substring[/B] [code] if(str2.Length>(dd+1)) str5 = str2.Substring(1+dd); [/code] | |
Re: [b]>I know that in most cases Java is slower than C#.[/b] Nope. Read: 1. [url]http://www.syllogisticsoftware.com/papers/Web_Development_Technology_Comparison.html[/url] 2. [url]http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks[/url] 3. [url]http://portal.acm.org/citation.cfm?id=974037[/url] | |
Re: Read [URL="http://www.carlosag.net/Tools/WebChart/FAQ.aspx"]FAQ[/URL]. | |
| |
Re: @vasuka - Please verify the Date & Time of thread before posting any suggestion. Please do not resurrect old / solved threads. Thread Closed. | |
Re: Read the thread datetime before posting. Please do not resurrect old/solved threads. Thread Closed. |
The End.