5,346 Posted Topics

Member Avatar for danielagaba

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]

Member Avatar for danielagaba
0
125
Member Avatar for power_computer

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]

Member Avatar for cgeier
0
197
Member Avatar for notsogood

[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]

Member Avatar for yellowSnow
0
171
Member Avatar for SkiesBblue

>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] …

Member Avatar for SkiesBblue
0
1K
Member Avatar for vvinayk

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.

Member Avatar for kvprajapati
1
119
Member Avatar for paulious1983

[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]

Member Avatar for kvprajapati
0
860
Member Avatar for dariush29722

Here is a link of tutorial - [URL="http://www.outlookcode.com/codedetail.aspx?id=775"]Creating Outlook appointments with C#[/URL]

Member Avatar for kvprajapati
0
174
Member Avatar for seebharath

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]

Member Avatar for kvprajapati
0
100
Member Avatar for dre-logics

Use, [code=vb.net] Me.MaskedTextBox1.DataBindings.Add("Text", dt, "Date", True, DataSourceUpdateMode.Never, Nothing, "MM-dd-yyyy") [/code]

Member Avatar for dre-logics
0
76
Member Avatar for Nada_ward

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 …

Member Avatar for Nada_ward
0
86
Member Avatar for pradeepfusion
Member Avatar for pradeepfusion
0
794
Member Avatar for realone

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]

Member Avatar for kvprajapati
-1
113
Member Avatar for manish_rms

Here is a link - [URL="http://msdn.microsoft.com/en-us/library/ms227881(VS.80).aspx"]Crystal Report Tutorials[/URL]

Member Avatar for kvprajapati
0
196
Member Avatar for AssaultM16

>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 …

Member Avatar for mrnutty
0
99
Member Avatar for vivekarora

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 …

Member Avatar for vivekarora
0
176
Member Avatar for gretty
Member Avatar for jencas
0
145
Member Avatar for ewanko
Re: C++

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]

Member Avatar for kvprajapati
0
73
Member Avatar for Okimdone

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, …

Member Avatar for kvprajapati
0
89
Member Avatar for k.vijayakumar
Member Avatar for nateuni

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]

Member Avatar for Tom Gunn
0
1K
Member Avatar for kkeyan

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]

Member Avatar for kvprajapati
0
105
Member Avatar for hassanfaraz

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]

Member Avatar for sknake
0
440
Member Avatar for Kakooty

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, …

Member Avatar for Kakooty
0
98
Member Avatar for atx

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]

Member Avatar for atx
0
125
Member Avatar for codedhands

STL MAP is already a b-tree and I think it is a suitable method for your purpose.

Member Avatar for codedhands
0
147
Member Avatar for xfreebornx

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]

Member Avatar for xfreebornx
0
276
Member Avatar for ghaith

You can reference to dll-assemblies, not exe. So your C# must be in Class library or Control library assembly.

Member Avatar for ghaith
0
176
Member Avatar for PhilipJohn

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]

Member Avatar for kvprajapati
0
83
Member Avatar for CodeBoy101

[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]

Member Avatar for peter_budo
0
176
Member Avatar for chanlichin

[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]

Member Avatar for chanlichin
0
158
Member Avatar for gopi17

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 …

Member Avatar for mrnutty
0
163
Member Avatar for realone

@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]

Member Avatar for samir_ibrahim
0
117
Member Avatar for shankbond

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]

Member Avatar for dnanetwork
0
82
Member Avatar for .netidiot

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]

Member Avatar for dnanetwork
-1
170
Member Avatar for vampke

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]

Member Avatar for vampke
0
127
Member Avatar for season2001

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 …

Member Avatar for kvprajapati
0
92
Member Avatar for drexler_kk
Member Avatar for Nada_ward

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]

Member Avatar for kvprajapati
0
124
Member Avatar for csy
Member Avatar for zuve_fox

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]

Member Avatar for kvprajapati
0
69
Member Avatar for pymatio

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]

Member Avatar for tux4life
0
303
Member Avatar for rdhiravani

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]

Member Avatar for rdhiravani
0
89
Member Avatar for k.vijayakumar

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]

Member Avatar for ericstenson
0
112
Member Avatar for bryangarcia

Hi, Good day to you. I am too, don't know what's the problem of your source code.

Member Avatar for yellowSnow
0
103
Member Avatar for soeppp

Please look at - [URL="http://sqlserver-qa.net/google_bart.gif"]http://sqlserver-qa.net/google_bart.gif[/URL]

Member Avatar for sknake
-1
93
Member Avatar for defiant91
Member Avatar for mrfred

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 …

Member Avatar for mrfred
0
90
Member Avatar for ecedano
Member Avatar for kapmsd

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.

Member Avatar for peter_budo
0
86
Member Avatar for t2009
Member Avatar for kvprajapati
0
91

The End.