5,346 Posted Topics

Member Avatar for Evil Genius

I don't think your work is [b]wpf/b] related. Please take a look at this article - [URL="http://www.c-sharpcorner.com/UploadFile/prathore/TabControl01292009003152AM/TabControl.aspx"]http://www.c-sharpcorner.com/UploadFile/prathore/TabControl01292009003152AM/TabControl.aspx[/URL]

Member Avatar for kvprajapati
0
101
Member Avatar for Xses420

Use [b]System.Diagnostics.Process[/b] class. You may find [b]StandardInput[/b] and [b]StandardOutput[/b] methods.

Member Avatar for kvprajapati
0
38
Member Avatar for peter_budo

Good suggestion, Indeed. The [B]'Read Me' [/B]thread has great value and adding some sticky threads (as suggested by Peter) to the Java web development will helps the community.

Member Avatar for peter_budo
3
88
Member Avatar for ingbat

Please check your stored-procedue. [code] Public Function UpdateDap(ByVal ScanLog As Integer, ByVal WFID As Integer) As String Dim myOdbcConnection As OdbcConnection Dim myOdbcCommand As OdbcCommand Dim ra As Integer myOdbcConnection = New OdbcConnection() If WFID <> -1 Then Try myOdbcConnection.Open() myOdbcCommand = New OdbcCommand("sp_set_ew_workflowid", myOdbcConnection) myOdbcCommand.CommandType = CommandType.StoredProcedure myOdbcCommand.Parameters.AddWithValue("@transId", ScanLog) …

Member Avatar for ingbat
0
99
Member Avatar for mnewsome

mnewsome, [b]Beginning Object-Oriented Programming with VB 2005[/b]: From Novice to Professional by Apress is a very good book. Actually had it sitting right here on my desk when I saw this question. You may be able to find a more up to date edition.

Member Avatar for mnewsome
0
77
Member Avatar for facadie

LoginView control displays the appropriate content template for a given user, based on the user's authentication status and role membership. Read this article - [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginview.aspx"]http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.loginview.aspx[/URL]

Member Avatar for guru_sarkar
0
113
Member Avatar for Harssh
Member Avatar for ritu verma

[code] ListView1.View = View.Details ListView1.HideSelection = False ListView1.FullRowSelect = True Dim lCount As Integer ListView1.Columns.Add("No", 100) For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next If ListView1.Items.Count > 0 Then ListView1.Items(0).Selected = True End If [/code]

Member Avatar for ritu verma
0
4K
Member Avatar for QuickBooksDev

Handle [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.cellclick.aspx"]CellClick[/URL] event.

Member Avatar for TomW
0
939
Member Avatar for ekonagu

Verify data type of fields. [code] sql = "update Tbl_Pat_Registration set Pat_name='" & Trim(txt_name.Text) & "', pat_id='" & Trim(Txt_id.Text) & "' where id='" & id & "'" [/code] Note: Non-numeric fields (date, text) must be surrounded with single quotes. Use [b]Parameterised query[/b] instead of forming sql string. [code] cmd.CommandText="Update TABLE …

Member Avatar for TomW
0
525
Member Avatar for jeevsmyd

Turbo C++, Visual C++ are [URL="http://en.wikipedia.org/wiki/List_of_compilers"]C++ compilers[/URL]. I think you will get more ideas from this article - [URL="http://en.wikipedia.org/wiki/Substitution_cipher"]http://en.wikipedia.org/wiki/Substitution_cipher[/URL].

Member Avatar for jeevsmyd
-1
437
Member Avatar for yorro
Member Avatar for yorro
0
655
Member Avatar for sonia sardana

Set [b]FormBorderStyle[/b] [code] Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None [/code]

Member Avatar for yorro
-1
357
Member Avatar for nicholasamh

Read the pages of online book - [URL="http://books.google.com/books?id=aL3P3eJdiREC&pg=PA59&lpg=PA59&dq=c%2B%2B%2Bfile%2Block%2Bwindows&source=bl&ots=SRnwwluNIn&sig=LnWMJOo-RWUKuErSuKiNTL87nls&hl=en&ei=%5FawJSputOJ%5FwswOQzo3XCA&sa=X&oi=book%5Fresult&ct=result&resnum=8#v=onepage&q=&f=false"]Secure programming cookbook for C and C++ [/URL].

Member Avatar for kvprajapati
0
90
Member Avatar for dhaval_shah

[URL="http://msdn.microsoft.com/en-us/library/9yb8xew9.aspx"]IEnumerable[/URL], which supports a simple iteration over a collection of a specified type. [code] protected int GetSpecifiedIndexByName<T>(T collection, string itemName) { int count = 0; foreach (MyElement claim in collection as IEnumerable<MyElement>){ if (itemName.Equals(claim.Name)){ return count; } count++; } return count; } [/code]

Member Avatar for dhaval_shah
0
175
Member Avatar for Anupama G

Use [b]CompareValidator[/b] validation control. (set the value for properties - Operator=DataTypeCheck and Type=DateTime)

Member Avatar for Anupama G
0
113
Member Avatar for snakay

Take a look at this MSDN article - [URL="http://msdn.microsoft.com/en-us/library/ms971481.aspx"]http://msdn.microsoft.com/en-us/library/ms971481.aspx[/URL]

Member Avatar for snakay
-1
198
Member Avatar for levineduan

Here is an article from MSDN - [URL="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webpartverb.aspx"]WebPartVerb Class[/URL] [QUOTE]Provides an interactive user interface (UI) element that enables users to perform actions on a Web Parts page.[/QUOTE]

Member Avatar for kvprajapati
0
63
Member Avatar for facadie

ASP.NET is an extended class library of .net framework. You may use same set of ADO.NET classes you used in c#.

Member Avatar for kvprajapati
0
68
Member Avatar for prince23

Yes, there are number of ways. Take a look at this tutorial - [URL="http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/usingFRNET3.htm"]http://livedocs.adobe.com/flashremoting/mx/Using_Flash_Remoting_MX/usingFRNET3.htm[/URL] and a very good book [URL="http://www.springerlink.com/content/q6h742g3h45046m4/"]Two-way ASP.NET/Flash Communication[/URL]

Member Avatar for kvprajapati
0
198
Member Avatar for paldss

Take a look at the book - Thinking in java [URL="http://www.codeguru.com/java/tij/tij0018.shtml"]http://www.codeguru.com/java/tij/tij0018.shtml[/URL]

Member Avatar for kvprajapati
0
92
Member Avatar for shayacov

Take a look at this article - [URL="http://msdn.microsoft.com/en-us/library/w67sdsex.aspx"]http://msdn.microsoft.com/en-us/library/w67sdsex.aspx[/URL] [code] ... var q = from c in db.TableName select c.Column1 comboBox1.DataSource = q.ToList() ... [/code]

Member Avatar for kvprajapati
0
86
Member Avatar for AceiferMaximus

Read this [URL="http://wvware.sourceforge.net/caolan/index.html"]wmf[/URL] documentation.

Member Avatar for kvprajapati
0
99
Member Avatar for magl8036

Please verify your code. Use bb code-tags to post source code. Public Class Form1 Inherits System.Windows.Forms.Form Dim DBConnection As SqlConnection() Dim DBCommand As SqlCommand Dim DBReader As SqlDataReader Dim SQLString As String Private Sub form1_load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DBConnection = New SqlConnection() DBCommand = …

Member Avatar for kvprajapati
0
92
Member Avatar for Peric

Take a look at this article - [URL="http://www.codeproject.com/KB/cpp/custompanel.aspx?msg=1333352"]http://www.codeproject.com/KB/cpp/custompanel.aspx?msg=1333352[/URL]

Member Avatar for kvprajapati
0
151
Member Avatar for summey

If your are working with asp.net web application then it is easy and fast in asp.net using httpmodule. Read this article - [URL="http://www.hanselman.com/blog/AnIPAddressBlockingHttpModuleForASPNETIn9Minutes.aspx"]http://www.hanselman.com/blog/AnIPAddressBlockingHttpModuleForASPNETIn9Minutes.aspx[/URL] [URL="http://msdn.microsoft.com/en-us/library/zec9k340(VS.85).aspx"]Extending ASP.NET Processing with HTTP Modules[/URL]

Member Avatar for summey
0
94
Member Avatar for saradha

How much are you grateful if I send complete code? First of all, your question must be moved... Post your problems in ASP.NET forum.

Member Avatar for saradha
0
119
Member Avatar for ayesha789

Use directory functions - [URL="http://us2.php.net/manual/en/function.readdir.php"]http://us2.php.net/manual/en/function.readdir.php[/URL] [code] <?php $dirsource = "D:/files/images"; $dirdest = "D:/files/dest"; recursive_copy($dirsource, $dirdest); function recursive_copy($dirsource, $dirdest) { // recursive function to copy all subdirectories and contents: if(is_dir($dirsource))$dir_handle=opendir($dirsource); $dirname = substr($dirsource,strrpos($dirsource,"/")+1); mkdir($dirdest."/".$dirname, 0750); while($file=readdir($dir_handle)) { if($file!="." && $file!="..") { if(!is_dir($dirsource."/".$file)) copy ($dirsource."/".$file, $dirdest."/".$dirname."/".$file); else { $dirdest1 = $dirdest."/".$dirname; recursive_copy($dirsource."/".$file, …

Member Avatar for kvprajapati
0
866
Member Avatar for lotrsimp12345

Try it, [code] template<class T> T my_vector<T>::show_vector(unsigned int siz){ if(siz!=0){ show_vector(siz-1); } cout<<numbers[siz-1]<<"\n"; return 0; } [/code]

Member Avatar for lotrsimp12345
0
89
Member Avatar for gauri_phatak_87

Close the current file and reopen it or use [URL="http://www.cplusplus.com/reference/iostream/istream/seekg/"]seekg[/URL] method.

Member Avatar for kvprajapati
0
178
Member Avatar for elio888

Use [URL="http://www.cplusplus.com/reference/clibrary/cmath/fmod/"]fmod[/URL] - (<cmath> header file). [code] .... lon=fmod(lon1-dlon +pi,2*pi )-pi; ... [/code]

Member Avatar for kvprajapati
0
105
Member Avatar for jjplaw

Take a look at this FAQ - [URL="http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/83c31ac8-4946-49be-8a34-c7a7592fb906/"]http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/83c31ac8-4946-49be-8a34-c7a7592fb906/[/URL]

Member Avatar for kvprajapati
0
124
Member Avatar for gretty

@gretty: I have never seen this before class Y : public X. What does that mean? [b]Reusability[/b] is important feature of object-oriented programming. C++ strongly supports the concept of reusability. The C++ classes can be reused in two ways: [u][b]Creating an object[/b][/u] Once a class has been created and tested, …

Member Avatar for kvprajapati
0
4K
Member Avatar for bmiles2001

Read - [URL="http://msdn.microsoft.com/en-us/library/system.security.cryptography.tripledes.aspx"]http://msdn.microsoft.com/en-us/library/system.security.cryptography.tripledes.aspx[/URL] Here is a sample, [code] Dim ts As New TripleDESCryptoServiceProvider() Dim trans As ICryptoTransform Dim plainText As String = "Hello" Dim bArry() As Byte = System.Text.Encoding.UTF8.GetBytes(plainText) Dim eArry() As Byte trans = ts.CreateEncryptor eArry = trans.TransformFinalBlock(bArry, 0, bArry.Length) Dim EncText As String = System.Convert.ToBase64String(eArry) Console.WriteLine(EncText) 'Decrypt eArry …

Member Avatar for bmiles2001
0
184
Member Avatar for Ashumrcool
Member Avatar for Ramesh S
-1
97
Member Avatar for prem.teamwork

Take a look at [URL="http://www.asp.net/"]http://www.asp.net/[/URL] (Microsoft portal site for the ASP.NET development community)

Member Avatar for Ramesh S
0
186
Member Avatar for shanks_86

Your code has some bugs. Have a look, 1. Variable [b]var xmlhttp;[/b] must be placed outside the function. 2. Callback method, [b]xmlhttp.onreadystatechange=XLNAME;[/b] [code] <html> <head> <title></title> </head> <body bgcolor="#008000"> <centre> ENTER THE WORLD </centre> <script type="text/javascript"> var xmlhttp; function ajaxFunction1(){ if (window.XMLHttpRequest){ // code for IE7+, Firefox, Chrome, Opera, Safari …

Member Avatar for kvprajapati
0
115
Member Avatar for krajad

krajad, You can't export a function from a .NET dll. This is not supported. If you need to expose your .NET objects to non-.NET languages, the your best bet is to expose your classes via COM. Take a look at : 1. [URL="http://www.dotnet247.com/247reference/a.aspx?u=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vcconMixedDLLLoadingProblem.asp"]http://www.dotnet247.com/247reference/a.aspx?u=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vcconMixedDLLLoadingProblem.asp[/URL] [URL="http://tom-shelton.net/?p=40"]http://tom-shelton.net/?p=40[/URL]

Member Avatar for krajad
0
190
Member Avatar for leokuz

[code] Imports System.Net.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ..... End Sub End Class [/code]

Member Avatar for leokuz
-1
368
Member Avatar for bbxrider

Use [b]Using ... End Using[/B] [code] Dim file As String = MapPath("~/Test.txt") Using vcf = System.IO.File.AppendText(file) vcf.WriteLine("Hi") vcf.Flush() vcf.Close() End Using System.IO.File.Delete(file) [/code]

Member Avatar for kvprajapati
0
75
Member Avatar for amey.rane86

Write Response headers, [code] Response.Clear(); Response.ClearHeaders(); Response.AddHeader("Pragma", "public"); Response.AddHeader("Expires", "0"); Response.AddHeader("Content-Type", "application/word"); Response.AddHeader("Content-Disposition", "inline; filename=sample.doc"); Response.Write("<table><tr><td><h1>No</h1></td></tr></table>"); Response.Flush(); Response.End(); [/code]

Member Avatar for amey.rane86
0
815
Member Avatar for GradStudent

[b][URL="http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspx"]XSD[/URL][/b] tool. The XML Schema Definition tool generates XML schema or common language runtime classes from XDR, XML, and XSD files, or from classes in a runtime assembly. To read XML data into the object, use the [URL="http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.deserialize(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.deserialize(VS.71).aspx[/URL]

Member Avatar for kvprajapati
0
110
Member Avatar for jineesh

Rows and Cells collection of DataGridView control. [CODE=C#] // First Row and first column DataGridView1.Rows[0].Cells[0].Value DataGridView1.Rows[0].Cells[1].Value // 2nd column ... [/CODE]

Member Avatar for mbeck99
0
88
Member Avatar for jagz

You have to use [b]Template Field[/b]. Read MSDN document - [URL="http://msdn.microsoft.com/en-us/library/ms228046.aspx"]Creating a Custom Column in a GridView Web Server Control [/URL]

Member Avatar for kvprajapati
0
97
Member Avatar for cavpollo

It's a sticky footer. [code] <html> <head> <style> * {margin: 0; padding: 0} html, body, #wrap {height: 100%} body > #wrap {height: auto; min-height: 100%} #main {padding-bottom: 100px} /* must be same height as the footer */ #footer {position: relative; margin-top: -100px; /* negative value of footer height */ height: …

Member Avatar for cavpollo
0
1K
Member Avatar for Merovingian
Member Avatar for TomW
-1
74
Member Avatar for Wolf CCMLG

Missing typename of argument in method definition, [code] int stringClass::wordCount(string line){ ..... //(n+1) = total; // <---------------Remove this .... } [/code]

Member Avatar for Wolf CCMLG
0
156
Member Avatar for loukiachr

I think here is the best answer - [URL="http://p2p.wrox.com/xslt/76405-xslt-header-footer-word.html"]http://p2p.wrox.com/xslt/76405-xslt-header-footer-word.html[/URL]

Member Avatar for kvprajapati
0
123
Member Avatar for Hayagriva

Create user-control. Take a look at [URL="http://msdn.microsoft.com/en-us/library/system.windows.forms.usercontrol.aspx"]http://msdn.microsoft.com/en-us/library/system.windows.forms.usercontrol.aspx[/URL]

Member Avatar for kvprajapati
-1
41
Member Avatar for sa3q
Member Avatar for kvprajapati
-1
196

The End.