5,346 Posted Topics
Re: Read this article carefully - [URL="http://msdn.microsoft.com/en-us/library/aa287928(VS.71).aspx"]Deploying Crystal Reports in .NET Applications[/URL] Another article at codeproject - [URL="http://www.codeproject.com/KB/dotnet/dotnetdeployment.aspx"]Deploying a .NET Application with Crystal Reports[/URL] | |
Re: Use vector instead of array. [URL="http://www.cplusplus.com/reference/stl/vector/vector/"]http://www.cplusplus.com/reference/stl/vector/vector/[/URL] Example, [code=cplusplus] .... vector<music_list> items; music_list b={"A","B","C",1}; items.push_back(b); for (int i=0; i < items.size(); i++) cout << " " << items[i].title; .... [/code] | |
Re: [B]Changes[/B] are, 1. In SearchFile1() function, [code=c] .... while ( fscanf( ptr, "%s%s%s%s" ,s_code,s_lname,s_fname,s_mname) == 4) { ... } ... [/code] 2. In ViewStudentRec() function, [code=c] ..... for(ctr = 0;ctr < StudRec_count;ctr++) { } .... [/code] | |
Re: >parts = new Tire*[numOfParts]; generate the error invalid conversion from? Your code is about to create/allocate an array of Tire pointers which is illegal in this context. Create an array of pointers of CarParts. [code=cplusplus] parts = new CarPart*[numOfParts]; for (int i = 0; i < numOfParts; i++) { parts[i] … | |
Re: Use static_cast, [code=cplusplus] void print(poly &abc){ abc.area(); if(typeid(abc)==typeid(square)) static_cast<square*>(&abc)->display(); } [/code] PS: display() must have public access. | |
Re: [code=c#] WebClient wc = new WebClient(); Stream stream = wc.OpenRead("http://www.google.co.in/search?hl=en&q=regular+expression+in+.net&meta=&aq=7&oq=regular+expression+in+.ne"); StreamReader reader = new StreamReader(stream); string s = reader.ReadToEnd(); Regex r = new Regex(@"href\s*=\s*(?:""(?<1>[^""]*)""|(?<1>\S+))",RegexOptions.IgnoreCase | RegexOptions.Compiled); Match m = r.Match(s); while (m.Success) { Console.WriteLine(m.Groups[1].Value + " " + m.Groups[1].Index); m = m.NextMatch(); } [/code] | |
Re: Here is a link of tutorial - [URL="http://www.outlookcode.com/codedetail.aspx?id=775"]Creating Outlook appointments with C#[/URL] | |
Re: Read this article - [URL="http://www.codeproject.com/KB/tree/mwcontrols.aspx?msg=904987"]http://www.codeproject.com/KB/tree/mwcontrols.aspx?msg=904987[/URL] | |
Re: Use, [code=vb.net] Me.MaskedTextBox1.DataBindings.Add("Text", dt, "Date", True, DataSourceUpdateMode.Never, Nothing, "MM-dd-yyyy") [/code] | |
Re: Changes: [code=vb.net] Dim l As Integer = 5 c1b1 = New CheckedListBox(3) {} '<= For i As Integer = 0 To 3 ReDim Preserve c1b1(i) c1b1(i) = New CheckedListBox c1b1(i).Size = New Size(75, 30) addii(c1b1(i)) c1b1(i).Location = New Point(5, (l + 25) * i) Me.Controls.Add(c1b1(i)) Next [/code] [code=vb.net] Dim o … | |
Re: >I want it should show in horizontally. Yes, It is [B]Cross-Tab report[/B]. | |
Re: GetName() Method, [code=vb.net] cmd = New SqlCommand(sql, myConnection) reader = cmd.ExecuteReader() Dim I as Integer For I=0 To reader.FieldCount - 1 cmbfld.Items.Add(reader.GetName(I)) Next [/code] | |
Re: Here is a link - [URL="http://msdn.microsoft.com/en-us/library/ms227881(VS.80).aspx"]Crystal Report Tutorials[/URL] | |
Re: >First how can I use a main...? Using function parameters. >and not have to give it new information. Value parameter (Called By Value). - A new storage location is created when the value of an actual argument is passed to a formal argument of function, and modification of the formal … | |
Re: vivekarora, Welcome to the Daniweb. >Is it possible to invoke .... Answer is No. Read this article - [URL="http://www.acm.org/crossroads/xrds1-4/ovp.html"]The ABCs of Writing C++ Classes Constructors, Destructors, and Assignment Operators[/URL]. [QUOTE]SUMMARY: Do I need a copy constructor? Are default arguments necessary in my constructors? How do I provide type conversion for … | |
Re: Use, [code=cplusplus] pic_links.erase(pic_links.begin()+i); [/code] ![]() | |
Re: Arguments that are passed automatically without being explicitly declared. [code=cplusplus] class Test { private: string name; public: void setName(string s){ name=s; cout<<name<<endl; //implicit argument cout<<s<<endl; //explicit argument } }; [/code] | |
Re: Okimdone, Code at OP is now supported by C99 standard compilers. C99 standard support not implemented in Visual C++ Express Edition. You should have to use c99 compatible [URL="http://www.mingw.org/"]mingw[/URL] compiler. Read this article - [URL="http://en.wikipedia.org/wiki/C99"]http://en.wikipedia.org/wiki/C99[/URL] Another informative link is - [URL="http://www.parashift.com/c++-faq-lite/newbie.html#faq-29.1"]http://www.parashift.com/c++-faq-lite/newbie.html#faq-29.1[/URL] [QUOTE]SUMMARY: [B]int main()[/B] main() must return int. Not void, … | |
| |
Re: Read this article at Dr.Dobb's [URL="http://www.ddj.com/cpp/184402023"]http://www.ddj.com/cpp/184402023[/URL] [QUOTE]SUMMARY: Standard Library string functions like strcpy() are not considered secure by today's standards. The Managed String Library is one possible solution.[/QUOTE] And here is a link of a very good book [URL="http://www.oreillynet.com/network/2003/05/20/secureprogckbk.html"]Secure Programming Cookbook for C and C++[/URL] | |
Re: kkeyan, Welcome to the daniweb. Read this article - [URL="http://www.codeguru.com/cpp/g-m/gdi/capturingimages/article.php/c3663"]http://www.codeguru.com/cpp/g-m/gdi/capturingimages/article.php/c3663[/URL] [QUOTE]SUMMARY:This article demonstrates the methods of capturing different portions of the screen. You have the facility to then save the captured image to a file.[/QUOTE] | |
Re: Welcome hassanfaraz, I think you need this, [URL="http://www.w3schools.com/SQl/sql_view.asp"]SQL CREATE VIEW Statement[/URL] [URL="http://www.microolap.com/products/database/mydbacentral/help/Query_SQL_View.html"]Query SQL View[/URL] | |
Re: According to the MySQL API Documentation, MYSQL_ROW isn't null-terminated strings. You should use mysql_fetch_lengths() to copy your desired field to a new string. [URL="http://dev.mysql.com/doc/refman/5.1/en/c-api-datatypes.html"]Mysql API Documentation[/URL] Example [code=c] unsigned long* lengths; int intval; char buffer[20]; row = mysql_fetch_row (result); lengths = mysql_fetch_lengths (result); if (lengths[0] != 0) { memcpy (buffer, … | |
Re: I hope you will get appropriate answer from this link - [URL="http://msdn.microsoft.com/en-us/library/0yw3tz5k(VS.80).aspx"]http://msdn.microsoft.com/en-us/library/0yw3tz5k(VS.80).aspx[/URL] | |
Re: STL MAP is already a b-tree and I think it is a suitable method for your purpose. | |
Re: xfreebornx, Don't you think that it's strange that I call you by a [B]"please ugent help needed". [/B]Try to give suitable title for your question, title of the thread must reflect your question. Don't forget to use code tags. For example, [noparse] [code=cplusplus] .... statements [/code] [/noparse] | |
Re: You can reference to dll-assemblies, not exe. So your C# must be in Class library or Control library assembly. | |
Re: Create a compressed (ZIP) file using classes of System.IO.Compression namespace and then download it. [URL="http://msdn.microsoft.com/en-us/library/system.io.packaging.zippackage.aspx"]Example[/URL] | |
Re: [code=jsp] .... String query = "insert into table(stringcol, numcol) values(?, ?)"; pstmt = conn.prepareStatement(query); pstmt.setString(1, "A"); pstmt.setInt(2, 10); pstmt.addBatch(); pstmt.setString(1, "B"); pstmt.setInt(2, 2); pstmt.addBatch(); int[] updateCounts = pstmt.executeBatch(); checkUpdateCounts(updateCounts); conn.commit(); .... [/code] | |
Re: [code=vb.net] sql = "SELECT DISTINCT year(dates) as MYear FROM summary WHERE plants = '" & yieldsummary.cbPlant.Text & "'" da = New OleDb.OleDbDataAdapter(sql, con) Dim Dt as New DataTable da.Fill(Dt) cbYear.DataSource=Dt cbYear.ValueMember="MYear" cbYear.DisplayMember="MYear" ..... [/code] | |
Re: Here is incorrect syntax. You must have to specify the bounds for all dimensions. [code=cplusplus] int game[][]; [/code] Correct way is, [code=cplusplus] int game[4][4]; [/code] Or use pointer to pointer (dynamic memory allocation). [URL="http://www.cplusplus.com/doc/tutorial/dynamic/"]http://www.cplusplus.com/doc/tutorial/dynamic/[/URL] Another problem is with calling a function, [code=cplusplus] genrand(game,size); // do not add subscripts [/code] Arrays … | |
Re: @jbisono: [icode]add this at the end.[/icode] DataGridView1.DataBind() No, It's not working. It is for ASP.NET. [code=vb.net] DataGridView1.DataSource = ds.Table("bdata") [/code] | |
Re: Read more about the session - [URL="http://msdn.microsoft.com/en-us/library/ms972429.aspx"]ASP.NET Session state[/URL] and [URL="http://www.codeproject.com/KB/aspnet/ExploringSession.aspx"]http://www.codeproject.com/KB/aspnet/ExploringSession.aspx[/URL] | |
Re: Use |DataDirectory|. [code=asp.net] myConnection = new System.Data.SqlClient.SqlConnection(); myConnection.ConnectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True;"; [/code] | |
Re: Use ShowDialog() Method, [code=vb.net] Private Sub FrmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SplashForm.ShowDialog() 'Use Timer's event to close this form. frmLogin.ShowDialog() End Sub [/code] | |
Re: Welcome season2001, Have a look at - [Learning ADO.NET](http://msdn.microsoft.com/en-us/data/aa937699.aspx) > SUMMARY:ADO.NET is a data-access technology that enables applications to connect to data stores and manipulate data contained in them in various ways. It is based on the .NET Framework and it is highly integrated with the rest of the Framework … | |
Re: Use, [code=vb.net] dt1.Rows.Add(DD,CUSTNAME) [/code] | |
Re: I think you want to record user action. Isn't it? Here is a link of commercial software - [URL="http://www.ranorex.com/gui-testing-guide/record-user-actions-mouse-movements-keyboard-inputs.html"]http://www.ranorex.com/gui-testing-guide/record-user-actions-mouse-movements-keyboard-inputs.html[/URL] | |
Re: Add reference of that DLL into your project. | |
Re: You know a little bit googling wouldn't hurt you, heres one resource which I found via google:- [URL="http://capture.sourceforge.net/"]http://capture.sourceforge.net/[/URL] | |
Re: Try it, [code=c] char word[3][10]; while (fscanf(f, "%s%s%s",word[0],word[1],word[2])!=EOF) { printf("\n%s %s %s %s",word[0],word[1],word[2]); } [/code] | |
Re: Use an implicit object of jsp page - [B]request[/B] [URL="http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletRequest.html"]ServletRequest[/URL] | |
Re: Read the reference of paypal api - [URL="https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_reference"]https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_api_reference[/URL] | |
Re: Hi, Good day to you. I am too, don't know what's the problem of your source code. | |
Re: Please look at - [URL="http://sqlserver-qa.net/google_bart.gif"]http://sqlserver-qa.net/google_bart.gif[/URL] | |
Re: Welcome mrfred, I think you are looking for this - [URL="http://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx"]Creating a Child Process with Redirected Input and Output[/URL] [QUOTE]SUMMARY:MSDN topic demonstrates how to create a child process using the CreateProcess function from a console process. It also demonstrates a technique for using anonymous pipes to redirect the child process's … | |
Re: Use gp.PathPoints and graphics.DrawLines methods. | |
![]() | Re: Please minimize the scope your question however I am sure that the documentation of apache-tomcat will assist you to understand the deployment issue of web application. |
Re: It's called [URL="http://www.geekinterview.com/question_details/19324"]Event Bubbling.[/URL] |
The End.