Click here to Skip to main content
Page 1 of 9,315
Page Size: 10 · 25 · 50


License filtered by: The Code Project Open License (CPOL) [x]
Answer 14 May 2013   license: CPOL
I ended up doing something like:public dynamic myName { get; set; }if (myName != null) if (myName is string) // can access it directly else // is object with .value property for reading // (need more checks for safety, of course)This idea was spawned from...
Question 14 May 2013   license: CPOL
hye, i always thinking why my report viewer does not visible true on event click even when I set it visible true. the report viewer will visible true if i not set it visible false on Page Load but set visible false on others event click.here's the code below.as you guys can see, only the Label1...
Answer 14 May 2013   license: CPOL
Just I want to know which language is easy to develop and deploy without buying any additional hardware and Software. My understanding is android development is an open source and does not cost anything. I can have my team anywhere in the world to develop apps for my clients who in...
Question 14 May 2013   license: CPOL
i have 2 pages. main.aspx and download.aspxpage_load at download.aspx is to download a filetextbox and download button at main.aspx, button redirect to download.aspxafter i filled the textbox and press the button, the page remain at main.aspx and file is downloaded from...
Question 14 May 2013   license: CPOL
Welcome all:I would like to ask you about this javascript, this is a peace of code: name:
Question 14 May 2013   license: CPOL
I'm doing a multiplayer game, the server code is written in C# and the client is Actionscript3.The best way to do this is probably serialization/deserialization. I'm a little lost with serializers when it comes to AS3. If both sides were C# I could just use any serializer and use DLL for all...
Answer 14 May 2013   license: CPOL
Of course, looking at my WHS diary, I realised that the first of January is not always in week 1, but is sometimes week 52/53 of the previous year, and also the last few days of December may be counted as the first week in the next year.Thus all the solutions given so far, while some of them...
Question 14 May 2013   license: CPOL
I wants to develop a web solution with major Graphical Outputs like flowcharts on the webpage. I mean after performing some activity it should display it as a BOX on the web page with brief description about the activity. Also the box should have some meta data behind the scene to edit it. I can...
Question 14 May 2013   license: CPOL
I have to make the encrypted comunication between server and client ,where to encrypt the message we use RC2 and the secret key is protected by RSA.My code for the client is :using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using...
C#
Answer 14 May 2013   license: CPOL
Try the procedure described below. It should work unless the damage is really big in which case you’ll need a third party tool such as ApexSQL Recover[^] to actually read the MDF file and restore the data.Stop SQL Server -> Copy database and transaction log files to another location ->...
Question 14 May 2013   license: CPOL
i want to start the server of the wcf program which i had made it in visual studio but i want open it without using visual studio (debugging it) i want to open it with WcfSvcHost.exe but i couldn't
WCF
Answer 14 May 2013   license: CPOL
I did it!Thanks to Richard MacCutchan's comment, I have managed to implement it!Everything works fine, I just had to adjust x and y coordinates!Thanks ALOT Rich!
Technical Blog 14 May 2013   license: CPOL
Simply run the script and then every time SQL is restarted all your Identity columns will be reset to the latest available seed.
SQL
Question 14 May 2013   license: CPOL
Hello Sir,I would like to make a language translator like the one Babylon application which can be installed on the system.Request you to guide me on how do i go about in making one. i Want make it for my college project, kindly help.you can mail on nospam@deleted.com as...
C#
Technical Blog 14 May 2013   license: CPOL
It stops you from having to do multiple copy and pastes.
C#
Technical Blog 14 May 2013   license: CPOL
Creating a Sudoku Problem Solver using Microsoft Solver Foundation.
C#
Technical Blog 14 May 2013   license: CPOL
Problems installing Windows 8 apps.
Answer 14 May 2013   license: CPOL
Well, for starters, I can tell you that your if statement is garbage. You're assuming that a process never starts at the same time another process exits. Your logic is flawed. You cannot compare the number of processes on the last pass with the number of processes in the latest pass and draw...
Answer 14 May 2013   license: CPOL
Please see my comment to the question and start here: http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs[^].—SA
Answer 14 May 2013   license: CPOL
You can also look at this project: https://facebookwin8.codeplex.com/
Answer 14 May 2013   license: CPOL
The best idea so far is the Solution 4.The right solution for System.Windows.Forms is: create a custom control which behaves like a button and implement rotation property. If you want to rotate to an arbitrary angle, you should also set the property...
Answer 14 May 2013   license: CPOL
You would need to make two connections (or any other number of connections you may need) using two separate instances of TcpClient, which is, basically, a wrapper around an instance of a Socket. Besides, you can do development either on the level of Socket objects, or TcpListener/TcpClient...
Answer 14 May 2013   license: CPOL
My VB is rusty, but I think you want:Dim options(300) As Stringinstead of the line you have declaring it.
Question 14 May 2013   license: CPOL
in the home web form of the website, there are login button i want this button to allow the admins of the website to check or enter to specific account in the website, but i did not know how i can code this. any help please
Article 14 May 2013   license: CPOL
Create data structures that implement the right Clone To Modify Pattern the easy way.
Question 14 May 2013   license: CPOL
good night i need help for this problem i use this CButtonhe work perfectly in vs2010 (0 error,0warnings,etc)but in the VS 2012 i get this errors.... (only in the design mode) Object of type 'System.Int32' cannot be converted to type 'System.Int16'. 0 0 thanks
Answer 14 May 2013   license: CPOL
Please, read my comment. You did not provide enough information to post exact answer.VB6 vs. VB.NET[^] - there are similar languages both not the same.Array class (VB.NET)[^]I would suggest you to use custom class. Please, follow this link: Using Classes and Structures in Visual Basic...
Question 14 May 2013   license: CPOL
Can anyone tell me where I can find free eBooks on Expression Blend in Visual Studio 2012?I have used Google to search for a few, only to find that the links that claim to be free, are not really free.Thanks in advance.
Answer 14 May 2013   license: CPOL
Does this work:Structure selectStruct Dim options() As String Sub New(ByVal size As Integer) ReDim options(size - 1) End SubEnd StructureNote that I used "size - 1" because I'm guessing the original code should say "options(0 To 299)".
Answer 14 May 2013   license: CPOL
I would start by understanding XLinq since it is the newest XML technology from Microsoft. There are also other ways of doing it, but probably want to use the newest: XLINQ Introduction Part 3 Of 3[^]
Answer 14 May 2013   license: CPOL
Please see: http://msdn.microsoft.com/en-us/library/tey4z3ca%28v=vs.110%29.aspx[^].—SA
Question 14 May 2013   license: CPOL
I have the following code in VB6. How can I re-write this in Visual Studios 2012? As it is written below, I get the following error message: "Arrays declared as structure members cannot be declared with an initial size. "I've seen possible alternatives to how this should be written...
Answer 14 May 2013   license: CPOL
No, the keyword delegate and System.Delegate are not the same, not at all.You could be confused with the C# alias keywords. For example "int" is an alias for System.Int32. For delegates, this is not the case.Read the documentation on these type and look through all the cases of using the...
Answer 14 May 2013   license: CPOL
When I saw what code you used, I immediately thought you were not using the LIKE the correct way. When you use a LIKE, you would usually include a wildcard character. For example, when searching for things that start with the letter M, you'd write something along these lines: {Name} LIKE "M%"....
Question 14 May 2013   license: CPOL
My query as follows select fa.facname,f.bfid,b.class,b.examdate from bthfac f,batch b,faculty fa where month(b.examdate)= '11' and year(b.examdate)= '2012' and b.bthid=f.bthid and fa.facname = 'MADHAVAN'when i execute the above query output as follows;Facname Bfid class ...
C#
Answer 14 May 2013   license: CPOL
you can use simple tags to construct you menu. For some awesome effects use JQuery and CSS as per your requirment.You can llok at this.Smaple[^]
MVC
Answer 14 May 2013   license: CPOL
If you fetching data from database, the fastest way to export data is to use CopyFromRange()[^] method for MS Excel range.More about: How to transfer data to an Excel workbook by using Visual C# 2005 or Visual C# .NET[^]
Question 14 May 2013   license: CPOL
I have a VB.Net 2005 project that uses a WebBrowser control on a windows form. On the control, I have created an imagemap using HTML and javascript. When a user clicks on the imagemap, a marker (like a map pin) is displayed where the user clicked, and prescribed processing for that section of...
Answer 14 May 2013   license: CPOL
Have a look here:HOW TO: Transpose Data in a Table or Query in Access 2000[^]Transpose data from columns into rows using SQL[^]and try to it by yourself.
C#
Answer 14 May 2013   license: CPOL
No server controls in MVC Razor. Use a Partial View instead.
MVC
Answer 14 May 2013   license: CPOL
The above code will return the markup for the Events/Index to JQuery method.The post method of Home controller should be "void" in your case, and then just remove return before RediectToAction().It will give you desired result.
MVC
Answer 14 May 2013   license: CPOL
I have not actually tested this, but it should work for your simple case:var names = baseMenu.Items.Cast().Select(j => j.Name);What I have had to do is dynamically change a context menu depending on the selected record. I used the ContextMenuOpening event and then used a method in the...
WPF
Question 14 May 2013   license: CPOL
Allotment table as follows in Ms access database Sdate Period Staff 14/5/2013 1 TR 14/5/2013 2 MD 15/5/2013 1 SG 15/5/2013 2 GV from the above Allotment table, i want the output as follows in ms access database Sdate ...
C#
Answer 14 May 2013   license: CPOL
Might not be the most elegant one, but it is a working solution:using System;using Newtonsoft.Json;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { Newtonsoft.Json.JsonSerializerSettings jsonSettings = new...
Question 14 May 2013   license: CPOL
My query as follows; SELECT F.facname, BA.examdate, FD.bfid, FD.rate FROM faculty F JOIN bthfac B ON F.facid = B.facid JOIN facfeedback FD ON FD.bfid = B.bfid JOIN batch BA ON BA.bthid = B.bthid...
C#
Answer 14 May 2013   license: CPOL
There are various approaches you could take to achieve this.one could be to do a foreach loop on the form.controls collection where you are searching for a control of type MenuItem, then collect the name property from it and put that in an array. Then when you want to retrieve a control you...
WPF
Answer 14 May 2013   license: CPOL
You might want to try F12 Developer Toolbar in IE/ FF - Web Console tools to find out what is wrong in the rendered output.
Answer 14 May 2013   license: CPOL
well in your case there is no duplicate data in table,but if you consider only names as duplicate data then you can get distinct data in following ways...select MIN(ID), Name from tbl_1group by Nameorselect MAX(ID), Name from tbl_1group by Namechoose any of above according to...
Answer 14 May 2013   license: CPOL
So this is how I have solved:1. Modified the App.config like: and this is DatabaseConnectionDetails.config:
Answer 14 May 2013   license: CPOL
I see that you have SetFocusOnError="true" propery set for RequiredFieldValidator.since it is set when there is validation failure, focus will be set to the control which failed in validation. Set SetFocusOnError="false", if you wish to change that behaviour.

Page 1 of 9,315
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid