Click here to Skip to main content
Page 1 of 11
Page Size: 10 · 25 · 50


Tag filtered by:  VisualStudio2012 [x]
Tip/Trick 12 May 2013   license: CC (ASA 3U)
This post explains how to launch your ASP.NET web application on multiple browsers at the same time from Visual Studio, and how this feature is enhanced in Visual Studio 2012
Question 12 May 2013   license: CPOL
How do I deal with the error: The remote server returned an error: (500) Internal Server Error. ? When downloading web page sourceError: The remote server returned an error: (500) Internal Server Error.Sometimes the page source request fails and I get the above error, how do I check for...
Question 11 May 2013   license: CPOL
Hy All...!!!i am new in c#...i have problem in creating client server in C# in windows form....in console form,i created it successfuly but in windows form i cannot understand...so plz plz help meee......
Answer 10 May 2013   license: CPOL
The connection string you are using is wrong.Please try to use the correct one according to your configurations.For that you have one awesome website - http://www.connectionstrings.com/[^].Search for the required connection string according to the database and technology.For...
Answer 7 May 2013   license: CPOL
It is DataBinding problem of the DropDown.If you are binding the same DataSource with multiple DropDownLists or when the same ListItem is binded to multiple DropDownLists, then this error may come.Quick FixA quick fix is to clear the selection of DropDown before reading its...
Question 7 May 2013   license: CPOL
hi guysim working on an asp.net web site but wonderfully i cant update data here is my code:int result = SqlHelper.ExecuteNonQuery(SqlHelper.CreateCommand("UpdateArticle", CommandType.StoredProcedure,new SqlParameter("@ID", long.Parse(Request.QueryString["ArticleID"])),new...
Question 7 May 2013   license: CPOL
I have a brand new Windows 7 computer and trying to configure Visual Studio 2012 and TFS Express.Any option in Test is crashing the Visual Studio 2012 and restarting the IDE?How do I use the Code Coverage options in Visual Studio?
Question 6 May 2013   license: CPOL
How do I set a max width for ContextMenuStrip items, so autosizes downwards rather than across?Code: Private Sub ListBox1_Click(sender As Object, e As EventArgs) Handles ListBox1.Click ItemNameToolStripMenuItem.Text = ListBox1.SelectedItem End SubBasically what ...
Answer 6 May 2013   license: CPOL
Rebind the combo box in your button click event, after adding the item.
Question 6 May 2013   license: CPOL
i have a form with a comboBox, a textBox, and a button. the comboBox shows items from an sql database using dataBindingSources. after filling the textBox and clicking the button, a new item is added to this database, but i can't see this new item in the comboBox until i close and re-open the...
Question 5 May 2013   license: CPOL
VB.NET - How do I search through Webpage source for particular div and output inside txt as msgbox?So far I can download a webpage's source code. But I don't know how to search through it for a particular string of information.Code so far:Dim source As String = New...
Answer 5 May 2013   license: CPOL
First and foremost make sure that the SQL Server services are running. Other reasons could be, incorrect connection string or some Firewall blockage.Here, have a look at this blog post to troubleshoot the issue : MSDN Blogs: SQL Network Interfaces, error: 26 - Error Locating Server/Instance...
Question 4 May 2013   license: CPOL
Hi all,I am using visual studio 2012,framework 4.0,I am trying to connect to the local db using connection string SqlConnection con = new SqlConnection(@"Server=(localdb)\v11.0;Integrated Security=true;Database=Practice;"); But I am getting the exception as follows:- A...
Answer 2 May 2013   license: CPOL
You are looking for something like the file command on Linux with it's magic data file.If you only want to identify a few image file types, just read some bytes from the begin of the file and check them for image file specific sequences:const char *lpszType = NULL;char pBuffer[16] =...
Answer 2 May 2013   license: CPOL
It sounds as if you mean that you want to be able to find out what the content of a file is, regardless of filename and extension. In order to do so you would need to research various file format specifications.Wrt JPEGs, all JPEGs always begin with hexadecimal FF D8 (ASCII ÿØ) - the rest...
Question 2 May 2013   license: CPOL
i wanted to know the file name even after renaming.for example i changed .jpeg to .txt then how can find that extension using header.
Answer 2 May 2013   license: CPOL
Basically you cant because,Even you read all files as binary but , for reading binary you need file format of that file and but obeouse reseon you dont have it.Second is that you can make log of file like before name change you stores all file names in some log file or variables and cross...
Answer 2 May 2013   license: CPOL
It can't be done. The only way to do this kind of thing is to record the filename before it is renamed and look at the cached value.
Answer 2 May 2013   license: CPOL
That is an internal problem with the VLC component you're using, not with your VB.NET code.Contact the manufacturer of the component you're using for support on this.
Question 2 May 2013   license: CPOL
When I pause streaming video VLC component on VB.Net. Come back few minutes later. Click play again it restarts from beginning. Then I have to click point on slider where was last at, so to resumeSometimes this will even occur when playing streamed video without being paused, all of a...
Answer 2 May 2013   license: CPOL
Two are different.You can have a look at how to increase performance using sqldatareader here.As per as i know,Sqldatareader is the fastest to access the database.There is brief discussion over here
Question 2 May 2013   license: CPOL
Is there any difference in performance between the control and the sqldatareader in code behind?to get better performance witch on should be used?thanks...
Answer 30 Apr 2013   license: CPOL
The answer is the following: C:\> SqlLocalDb i v11.0 C:\> SqlLocalDb stop "v11.0" C:\> SqlLocalDb delete "v11.0"References: http://www.mssqltips.com/sqlservertip/2694/getting-started-with-sql-server-2012-express-localdb/ and...
Question 30 Apr 2013   license: CPOL
Hey guys,I'm having a problem when I start the Azure Storage Emulator:Error MessageI have tried to do the tips in the url informed into the window, but nothing is working. Anyone can help?
Answer 30 Apr 2013   license: CPOL
That's client side stuff - you would use javascript for that. Here's a javascript function that will return an array containing the IDs of all the elements (that have IDs) in the chosen div. You'll have to enumerate them and decide which children you need to use. This means that all the items...
Answer 30 Apr 2013   license: CPOL
The code LOOKS correct, but without knowing the exception that's thrown, it's difficult to say.The network credentials must be a valid GMail login name.Your work server cannot lbokc access to the GMail servers (most corporate networks do!)You cannot use your GMail email address in...
Question 30 Apr 2013   license: CPOL
Hi everyone!I am creating a forgot password screen for my application for users to reset their passwords. The program is then supposed to send emails with the updated password to the email account associated with the username. The current status is is that the program freezes when it...
Question 30 Apr 2013   license: CPOL
How do I get vb.net to add all links within a particular div from vb browser?I'm trying to get all links from the div class linksmain.E.g.ImageImage
Answer 29 Apr 2013   license: CPOL
It may be a problem with the newer VLC 2.x.x plugin versions. I've had nothing but grief with them. The last version that I've had any luck with is:http://download.videolan.org/pub/videolan/vlc/1.1.9/win32/[^]
Answer 29 Apr 2013   license: CPOL
There is no VLC plugin in the toolbox, so you're using a 3rd party component.The error is message makes it pretty obvious.Either AxVLCPlugin21, AxVLCPlugin21.playlist, or AxVLCPlugin21.playlist.items is returning Nothing, of null is C#. You can't call methods or get/set property values...
Question 29 Apr 2013   license: CPOL
Screenshot Error:Error:Object reference not set to an instance of an object.Error is on the line: AxVLCPlugin21.playlist.items.clear()When I try to clear the vlc playlist within Visual basic.net I get the above...
Question 28 Apr 2013   license: CPOL
Hello,Error: Type does not have a session-specific constructor. Cause of the Err that i have found so far is, "Session instance is used to manipulate your objects, but your classes accept only UoW instances"Now, I've changed all my Uow instances to a Session. But, I still receive...
Question 28 Apr 2013   license: CPOL
I have this project to do working with database in viusal basic, but the problem is i have the code its correct i mean it doesn't come out as error but it doesnt function when running the programHere is the problem:this is my code for the update button( to update the data in the...
Question 28 Apr 2013   license: CPOL
I created an empty entity data model and added the entities and the associations. I updated the code generation strategy property to default.There are many errors in the generated code. what could i do :(Thanks for any info,
Question 22 Apr 2013   license: CPOL
Hi, I am trying to make my first custom control. All I want to do is display a value in Text on a progressbar. I've added the properties that I need (TextValue & TextForeColor), but how do I display the actual text on the progressbar? This is what I have so far:Imports...
Answer 22 Apr 2013   license: CPOL
Short Answers:(1) You could use Label, instead of textbox.(2) To set the alignment, you can use grid wrap around the your object that use to display the text.Note: When you want to create your own custom control, I would recommend you to try to make it with the combination of existing...
Question 22 Apr 2013   license: CPOL
hello,First i'm sorry for my weak english.I need to have an image view(telerik rad list view) and an image list,when user clicks on images of image list,the selected image appears in the picture box.but i can't access selected item's key to show it from list box.i have no idea how to...
Answer 21 Apr 2013   license: CPOL
This is a general purpose PITA - have a look here: Supporting Development and Release web.config in ASP.NET[^] - it's how I do it.
Question 21 Apr 2013   license: CPOL
Hi,I have two connection strings in my Web.config one is for Development environment and another one for Production environment.Now what i want is when i select Debug mode and deploy(Publish) in using File system it should automatically take Development Connection String and when i select...
Article 18 Apr 2013   license: CPOL
How to draw a driving route direction with Bing Maps in C#/XAML in a Windows 8 app.
Question 17 Apr 2013   license: CPOL
I am in the process of migrating a rather large winforms solution from Visual Studio 2008 to Visual Studio 2012. Although the solution builds cleanly, a large number of the forms don't open in design mode. These same forms were opening in design mode in VS2008 without any issue.I have worked...
Answer 17 Apr 2013   license: CPOL
It's not automatic in C++/CLI. You have to set it up manually. Start by Add New Item, Utility, Configuration File. That will create the app.config file in your solution. It should also open the app.config xml file in the editor window. Unfortunately, there's no nice editor, but the intellisense...
Question 15 Apr 2013   license: CPOL
How to update intelliSense in Visual Studio 2005 ?Can I update free intelliSense in Visual Studio 2005 like Visual Studio 2012 ?AndHow ?
Answer 15 Apr 2013   license: CPOL
You will not be able to update 2005 intellisense to 2012.This request does not even make sense. VS 2005 cannot compile 4.0 code and updating intellisense could be disastrous.
Answer 14 Apr 2013   license: CPOL
In btnBrowse_Click you set the value of CurrentArticle but the DataContext still keeps the old value...You can set the DataContext too: private void btnBrowse_Click(object sender, RoutedEventArgs e) { //logic for openfiledialog //strFilePath is...
Question 14 Apr 2013   license: CPOL
The scenario is to bind the WordsNum property of article object to a textblock so that it is updated when the property changes. I have spent hours on debugging this but it seems to be an ugly error!
Answer 14 Apr 2013   license: CPOL
XML tag are designed not for stripping them. They allow you to parse XML without any problems with detail of formatting, according strict syntax. By "stripping", you loose essential information on data structure. Please don't tell me you don't need structure. It does not really matter. If you...
Question 14 Apr 2013   license: CPOL
10387 CD1003 2012-08-08T00:00:00.000 ...
Answer 13 Apr 2013   license: CPOL
You're not understanding what the TableLayoutPanel is or how it works. It really doesn't have any "cells". It's sole purpose in life is to control layout and sizing of controls placed within. There are no properties like you would find in a DataGridView or other visual control.To get what...

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


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