5,346 Posted Topics

Member Avatar for shubham.tanwar.39982

Welcome to Daniweb. Yes, you can style the text if you're working with Graphical user-interface APIs. For more details read threads - [1](http://www.daniweb.com/software-development/cpp/threads/5652/how-do-i-make-a-gui-in-c)[2](http://stackoverflow.com/questions/1186017/how-do-i-build-a-gui-in-c)

Member Avatar for jwenting
0
238
Member Avatar for kavitha.g04
Member Avatar for hitro456
Member Avatar for wish4129

Have a look at [URL="http://social.msdn.microsoft.com/Forums/en/winforms/thread/d081d7bd-014d-4e50-90a2-556568e38bcf"]FAQ[/URL] and an [URL="http://www.codeproject.com/KB/grid/ElvinDataGridEx.aspx?msg=3059229"]article[/URL].

Member Avatar for Mukesh_3
0
943
Member Avatar for cypress1976

Use RecordSelectionFoumula, [code] ReportsourceObject.RecordSelectionforumal="{tableName.colName}=1" [/code]

Member Avatar for Gayathri1990
0
359
Member Avatar for Reverend Jim

[VideoLan DotNet](http://vlcdotnet.codeplex.com/) works perfectly for me. Dim cnt As New Vlc.DotNet.Forms.VlcControl cnt.Media = New Vlc.DotNet.Core.Medias.PathMedia("x:\file.mp4") cnt.Dock = DockStyle.Fill Me.Controls.Add(cnt)

Member Avatar for Reverend Jim
0
4K
Member Avatar for CasianSushin
Member Avatar for swadeep.kujur
0
187
Member Avatar for jrb47

Sorry I did't get you. Do you want to fetch some data when user hits `Next` button? Is it web or winForm app?

Member Avatar for hericles
0
269
Member Avatar for ddanbe

Hi! Do not use [icode]Show[/icode] method of contextMenuStrip and no need to handle cell mouse events. In fact, Show() method parameters - ColumnIndex and RowIndex represent column and row index values not the region of datagridview location. Here is code (from your snippet :) ). [code] private void Form1_Load(object sender, …

Member Avatar for ddanbe
2
3K
Member Avatar for mcoliver88
Member Avatar for everton.retweets

>What is the field type of `kickoff`? If it is DateTime then `$TodayDate` as bindParam variable. $STM->bindParam(':kickofftime', $TodayDate); $STM->execute(); $rows = $STM -> fetchAll(PDO::FETCH_ASSOC); foreach($rows as $row) { .... }

Member Avatar for everton.retweets
0
2K
Member Avatar for markii.borabon

Resource variable `$result` is null. You need to verify the value of `id` and also the result of `SQL statement`. $result = mysql_query("...... "); if($result) { while($row = mysql_fetch_array($result)) { ... } } Important: Do not use [mysql_* extension](http://in1.php.net/manual/en/intro.mysql.php). Always use MySqlI or PDO.

Member Avatar for markii.borabon
0
352
Member Avatar for theashman88

This thread is already been marked as *solved* without adding justification. In opening post, there are issues with properties definition especially to `set` accessor where `value` parameter replaces the field. public double Length { get { return length; } set { // value = length; <-- length = value; } …

Member Avatar for kvprajapati
0
289
Member Avatar for kieky

[code] db.DMSDataContext.DOCUMENTs.InsertOnSubmit(new DOCUMENT() { name = TextBox_Form_Judul.Text, description = TextBox_Form_Deskripsi.Text, VERSIs = new System.Data.Linq.EntitySet<VERSI>() { new VERSI() { UrlFile = "Uploads/" + strFileName; Size = size_file; Type = type_file; ModifiedOn = DateTime.Now; } } }); db.DMSDataContext.SubmitChanges(); [/code] PS: I haven't tested.

Member Avatar for arunkumars
0
277
Member Avatar for sanz

There are many different kinds of barcodes. Most all third-party component libraries can generate these codes but there are also other options for generating barcodes. Have a look at codeproject articles: 1. [url]http://www.codeproject.com/KB/graphics/ean_13_barcodes.aspx[/url] 2. [url]http://www.codeproject.com/KB/graphics/barcodeimaging2.aspx[/url]

Member Avatar for JOSheaIV
0
298
Member Avatar for ayesha789

Open [B]httpd.conf [/B]file located under conf folder in apache folder. (apache/conf/httpd.conf) Edit (httpd.conf)it in Text editor and change the path of root directory. [code] DocumentRoot "d:/newdirectory_name" .... .... <Directory "d:/newdirectory_name"> # # Possible values for the Options directive are "None", "All", # or any combination of: .... [/code]

Member Avatar for mukul127
0
21K
Member Avatar for neutralfox

[QUOTE=neutralfox;865110]Hello everyone, I got a small question on encryption, actually I am trying to learn the various techniques to encrypt a message. Now I am trying AES, using the built in security package in Java. The problem is that I am having a problem with this encryption algorithm. Actually I've …

Member Avatar for JamesCherrill
0
1K
Member Avatar for john_beginner

You need to set Relay IP-Address. (Relay restrictions). Steps: 1. Open IIS applet from the control panel 2. Go to0 [b]Default SMTP Virtual Server[/b] 3. Select tab [b]Access[/b] + Click on [b]Relay[/b]. 4. Add IP of localhost [b]127.0.0.1[/b]

Member Avatar for nevil120
0
1K
Member Avatar for crazyboy

>FileSystemWatcher class is not giving this facilities. Nope! Please read these articles - 1. [URL="http://msdn.microsoft.com/en-us/library/ch2s8yd7.aspx"]http://msdn.microsoft.com/en-us/library/ch2s8yd7.aspx[/URL] 2. [URL="http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.includesubdirectories.aspx"]http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.includesubdirectories.aspx[/URL] 3. [URL="http://www.codeproject.com/KB/files/monitor_all_filesystem.aspx"]http://www.codeproject.com/KB/files/monitor_all_filesystem.aspx[/URL]

Member Avatar for aryan123
1
390
Member Avatar for eedirex

Hi, This link will help you to design your application: [URL="http://pareeksha.sourceforge.net/"]http://pareeksha.sourceforge.net/[/URL]

Member Avatar for Theirligh
0
321
Member Avatar for dip7

There are number ways to do it. The most efficient and economic way is to use WebServices (paid or Free). Please refere this link [URL="http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx"]http://www.codeproject.com/KB/cpp/SendSmsThroughWS.aspx[/URL]

Member Avatar for szurcsii
0
2K
Member Avatar for jatin24
Member Avatar for ashab27
Member Avatar for CrankyMero

If you've ASP.NET MVC project then 'PrepareCheckout()' should be an action method and you can request via `jQuery.ajax`. If not then create AJAX Service component, add `PrepareCheckout` method in it and request it via jQuery.ajax function.

Member Avatar for M.Waqas Aslam
0
289
Member Avatar for lord0o

Please read this thread - [Recommended hash for passwords in ASP Classic](http://stackoverflow.com/questions/253673/recommended-hash-for-passwords-in-asp-classic)

Member Avatar for lord0o
0
324
Member Avatar for Hpsvtw

>I want a group of users to be able to work offline... Well you need to plan local-storage. You can use XML,CSV, Serrialization etc. >I have an application that is running on the inernet, done in asp.net(webforms).... You should have to deploy WCF service components along with the webapp. Fore …

Member Avatar for Hpsvtw
0
218
Member Avatar for SkyCross

In order to insert/update/delete rows, you need to configure UpdateCommand, InsertCommand and DeleteCommand properties of OldDbDataAdapter. Well I'm suggest you to learn/use the EDM.

Member Avatar for kvprajapati
0
297
Member Avatar for asprin

[b]>Resizing ContentPlaceHolder in Master Page.[/b] You can't. Because it has no user interface or html markup. ContentPlaceHolder allow us to declare the portion of page where we can insert custom/page-specific content.

Member Avatar for WiredWill
0
3K
Member Avatar for codefinger

I hope this article might help you. [URL="http://www.codeproject.com/KB/audio-video/SpeechReg.aspx"]http://www.codeproject.com/KB/audio-video/SpeechReg.aspx[/URL]

Member Avatar for rizwanakhalid
1
546
Member Avatar for Ghost

Friends! Please do not resurrect threads that are years old. By doing so you run the risk of confusing current posters. If you have any questions please ask. You are welcome to start your own threads. Have a look at forum [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]rules[/URL]. Thread Locked.

Member Avatar for vasanthmc2
1
10K
Member Avatar for rocky2008
Member Avatar for Ancient Dragon
0
935
Member Avatar for Sin Savada

Friends! Do not resurrect old threads. This thread is quite old (3 years). Thread closed.

Member Avatar for winstongel
0
5K
Member Avatar for dr761

[b]>I've already tried using Jquery but while it works in firefox it doesn't work in IE7 or IE8. [/b] Check this [URL="http://beckelman.net/post/2008/11/04/Right-or-Left-Click-Context-Menu-Using-jQuery-Demo.aspx"]sample[/URL].

Member Avatar for samundersingh
0
215
Member Avatar for ajijacobm

Use DataSet class, [code=c#] // Populate DataSet using Database SqlDataAdapter adp = new SqlDataAdapter("select * from tableName", "your_conn_str"); DataSet ds=new DataSet("MyDB"); adp.Fill(ds,"tableName"); // Write Data into XML ds.WriteXml("file.xml"); [/code] [code=c#] // Load(Read) XML data DataSet ds=new DataSet(); ds.ReadXml("file.xml"); DataTable dt=ds.Tables["tableName"]; dt.Rows.Add("val1","val2"); // Adding row [/code] [code=c#] // Update database SqlDataAdapter …

Member Avatar for JobPencil
0
1K
Member Avatar for mansi sharma

This is C# forum. Ask web related question in asp.net forum. You can bind one dim array with grdiview, [code=asp.net] String []ar={"A","B","C"}; GridView1.DataSource=ar; GridView1.DataBind(); [/code] Use may bind dataTable: [code=asp.net] DataTable dt=new DataTable(); dt.Columns.Add("No",typeof(int)); dt.Columns.Add("Name"); // default type is string dt.Rows.Add(1,"A"); dt.Rows.Add(2,"B"); GridView1.DataSource=dt; GridView1.DataBind(); [/code]

Member Avatar for brianmanee
0
1K
Member Avatar for danielagaba

Check your database located at Debug\Bin folder. A database in your project folder get copied at Debug\bin each time a changes occurs in your database(mdf).

Member Avatar for jigar.makhija
0
968
Member Avatar for S2009
Member Avatar for mcoliver88

In order to select rows from database, you need to use SELECT with appropriate WHERE clause. Include necessary code and description of problem in your post. PS: I'd like to suggest you to learn/use LINQ and Entity Framework.

Member Avatar for Cameronsmith63
0
260
Member Avatar for Sonic42

[QUOTE=Sonic42;1140191]Hi- How can I change the content of the PictureBox control based on user entry? I'm assuming it would be similar to this: [CODE]If (TextBox1.Text = "Test") Then Picturebox1.Picture= (testpic.jpg) End If [/CODE][/QUOTE] Use Image class. [code] PictureBox1.Image= Image.FromFile("c:\folder\file.gif") [/code]

Member Avatar for Deep Modi
0
11K
Member Avatar for chen.fisher
Member Avatar for dipanjandutt23

Please have a look at this POST : [What's the difference between “Layers” and “Tiers”?](http://stackoverflow.com/questions/120438/whats-the-difference-between-layers-and-tiers)

Member Avatar for dipanjandutt23
0
107
Member Avatar for sushmaja.arumalla.9

Please read these posts: 1. [IE 10 fails to display styles locally](http://foundationphp.com/blog/2013/09/07/ie-10-fails-to-display-styles-locally/) 2. [A webpage that uses CSS styles does not render correctly in Internet Explorer](http://support.microsoft.com/kb/262161/en-us)

Member Avatar for M.Waqas Aslam
0
990
Member Avatar for dimaash
Member Avatar for ZeroGhost

Have a look - [url]http://www.gnupg.org/[/url] and [url]http://www.codeproject.com/answers/69866/Encrypting-and-Decrypting-files-with-PGP-and-Cshar.aspx#answer5[/url]

Member Avatar for Angel Armando
0
3K
Member Avatar for newbie26

>session?global variables? No. You have to use `Application` object. Post your code if possible.

Member Avatar for newbie26
0
227
Member Avatar for laura301019

You need to correct the parameter name and SELECT statement. You can either use `?` or `@paramName`. cmd.CommandText = "SELECT username FROM Users WHERE username=@username"; cmd.Parameters.AddWithValue("@username", txtNewUser.Text); PS: ExecuteScalar() returns value from 1st column and 1st row.

Member Avatar for kvprajapati
0
152
Member Avatar for aldm

[b]>How can I select button that is nested in table (in table cell) in Visual Studio in a design view.?[/b] You can't select that child button through design view. Open source view instead.

Member Avatar for JorgeM
0
268
Member Avatar for sarikahit
Member Avatar for vn412

You should have to use [b]Value[/b] property of DateTimePicker control. [code] Dim dtfr, dtto as Date dtfr=DateTimePicker1.Value dtto=DateTimePicker2.Value str="select * from table where curdt between #" & dtfr & "# and #" & dtto & "#" [/code]

Member Avatar for Krishan_2
0
614
Member Avatar for gahhon

You should have to create wrapper class to manage cookies and session data. For example, public class CookieWrapper { /* Username property */ public static string Username { get { return GetCookie("Username"); } set { SetCookie("Username", value, false); } } /* Role property */ public static string Role { get …

Member Avatar for gahhon
0
1K

The End.