Software Development Network Logo
  • VS Team System
  • Windows Vista
  • Microsoft ISV
  • Visual Basic
  • Game Technologies
  • SharePoint Products
  • Smart Devicet
  • IE Development
  • Visual FoxPro
  • Visual Studio
  • Visual C++
  • Visual C#
  • Audio and Video
  • .NET Development
  • SQL Server

Software Development Network >> Shekhar M's Q&A profile

Shekhar M

Member List

Mike9000
Avi_B
Aman B
Ultrawhack
cooldoger
bryanedds
JohnDB
Bernaridho
FloridaJohn
Shodin
itznfb
GMagana
Techman1950
Josh Smith
Oroborus
Michael_75
navrichard
spasnikowski
UncleSam89
Tonito01
Only Title

Shekhar M's Q&A profile

  • .NET Development This Error Appears: Format of the initialization string does not conform to specification starting at index 0.

    I have saved the database connection string to a key named 'ConnectionString' allowing to access it by calling 'configurationSettings.AppSettings("ConnectionString") But a red line comes under the configuration in the part of the : 'configurationSettings.AppSettings("ConnectionString")'. When i run it this error appears: Format of the initialization string does not conform to specification starting at index 0. and says: Line 4: Public Shared Function GetCategory() As SqlDataReader Line 5: Dim connection As New SqlConnection(connectionString) Line 6: Dim command As New SqlCommand("GetCategory", connection) Line 7: command.CommandType = CommandType.StoredProcedure Line 8: connection.O ...Show All

  • Visual Studio Mixed-mode debugger hangs

    We have a quite large native C++ application with some parts in C++/CLI, and some GUI components written in C#. Recently, the mixed-mode debugger has become unusable for us because it hangs with a high CPU load as soon as the managed components are used. Visual Studio itself stays responsive, until I select 'break all' -- then VS itself also hangs, now without CPU load. During the high-CPU-load hang, VS uses ca. 59% of the CPU, our program (the debuggee) uses ca. 17%. The process explorer (from sysinternals) shows that VS uses CPU mainly in two threads which stay in ntoskrnl.exe. The number of objects marshalled also increases continuously. Here are typical call stacks for those two threads if I debug the devenv.exe and break execution: &g ...Show All

  • Internet Explorer Development Change page result when there is no internet connection

    Hi I need change the page that is displayed when IE doesn't have internet connection. I know that res://ieframe.dll/navcancl.htm is show when this happen, but i need to show a different html page. I tried changing the registry value, but it does not work. I NEED HELP thanks Hi, Try a BHO or Toolbar that redirects to your custom error page on the onError event. Yes, Changing the about: protocol entry in the registry does not seem to work. I read that there is a 500kb file size thresshold size before a custom error page is downloaded, but I could never get it to work with the about: protocol. Oh check if there is a HKCR entry for about: in the registry (to lasy to check myself). The ...Show All

  • Visual C# IDE freezes for 5-10 seconds when saving a file

    I recently replaced my motherboard, and since then saving files in Visual Studio "freezes" the IDE for 5-10+ seconds. It displays the animating save icon in the status bar, but doesn't respond to keyboard or mouse input, and doesn't repaint if I move another window over it, until the save is done. This also happens every 5 minutes when Visual Studio auto-saves recovery information. I'm not certain where the problem is - if it's with Visual Studio, the drivers for the disk controller, or the hardware, but since I haven't experienced anything similar in any other application, I figured I'd ask here. In case it's important, my new motherboard is an: ASUS A8N-SLI Premium Socket 939 NVIDIA nForce4 SLI ATX AMD Thanks. ...Show All

  • SQL Server Delete records that don exist in the destination

    Hi all, I am developing an ETL wherein the requirement is to do an incremental load and at the same time, if there is a record that got deleted in the Source delete it from the destination too, makes sense. The approach am doing is, pick data from the SRC and Destination, pass it onto a Merge join component, do a Full Outer join, then pass the rows to a conditional split. Newly Added records and updated records I can handle, how do I handle the Deleted records Am I correct in the way I am doing or there is something better to handle this Thanks in advance MShetty wrote: Hi all, I am developing an ETL wherein the requirement is to do an incremental load and at the same time, if the ...Show All

  • Windows Forms UserPreferenceChangedEventHandler

    Here's my code, what am I missing Dim UserPref As New Microsoft.Win32.UserPreferenceChangedEventHandler( AddressOf HandlePrefChange) Public Sub New () InitializeComponent() UserPref. Don't know how to begin receiving events End Sub Private Sub HandlePrefChange( ByVal sender As Object , ByVal e As Microsoft.Win32.UserPreferenceChangedEventArgs) If e.Category = Microsoft.Win32.UserPreferenceCategory.Screensaver Then MsgBox( "Screensaver Settings Changed" ) End If End Sub After a little more testing, the code that I posted previously worked when I changed the category from Screensaver to General in the If..Then statement. For so ...Show All

  • Visual Studio Tools for Office MessageID, email headers

    Dear All, I have VSTO project for Outlook writen in C#. I get every new email and I need to get MessageID from email headers. I don't find how can I do this. I need help. Thanks Tomas Hi, to access to the messageID property I'm doing like this : private const string PR_MAIL_HEADER_TAG = "http://schemas.microsoft.com/mapi/proptag/0x007D001E" ; Outlook. PropertyAccessor oPropAccessor = this .oMailItem.PropertyAccessor; strHeader = ( string )oPropAccessor.GetProperty(PR_MAIL_HEADER_TAG); After that, I parse the strHeader with a regex, is there an easy way A more direct way to access to each proprety (messageID, inReplyToID,... ) of the header using the propertyAcce ...Show All

  • Connected Services Framework Error 26201. Error 2147024769: failed to create SQL Database: CSFTraceDB, error details: unknown error.

    Hi, To install the CSF3.0 Lite edition in my machine, I have done the following sequence of steps. 1) Installed Visual Studio 2005 (This itself installed SQL Server 2005 Express edition) 2) Installed WSE 3.0 3) Installed MMC 3.0 4) While installing CSF 3.0 Lite, I got the following error. Error 26201. Error 2147024769: failed to create SQL Database: CSFTraceDB, error details:unknown error. Anybody can help in this regards Regards Srini I changed Mode from Windows to Mixed and tried, but no use, got the same error. I tried installing CSF by giving various values to SQL Server Log On properties. But getting the same error. I am using SQL Server 2005 ...Show All

  • Windows Forms SetUp & Deployment

    hi all, Can any one tell me the steps to make a Setup of a windows application. Regards Qaja Try this one on ClickOnce . ...Show All

  • Internet Explorer Development Internet Explorer Pop-up

    I'm using prototype.js for displaying another page through a pop-up. it works in Firefox but i keep on having this error in IE 6. Line: 244 Char: 7 Error: Syntax Error Code: 0 URL: http://.... Line 244 is results.push(iterator(value, index)); Anyone knows what seems to be the problem HELP!!! tnx for your reply. im using lightbox pop-up scripts and this includes another script which is prototype.js... All i know is that this is a cross browser script. The links inside my pop-up isn't working. (onclick) < asp : LinkButton ID ="btnSave" runat ="server" Text ="Save" OnClick ="btnSave_Click" Width ="40px ...Show All

  • .NET Development Executing transaction within Visual Studio

    Sorry for crross-posting, but I think the previous question was in a wrong forum.. I've a datagridview bound to a database (I've drag-n-dropped form the dataset to my form!). When the user uses the "red cross" toolbar button to delete a record, I need to execute this: ---- BEGIN TRANSACTION; DELETE FROM fornitori(id_fornitore = @Original_id_fornitore) AND (@IsNull_nome = 1) AND (nome IS NULL) OR id_fornitore = @Original_id_fornitore) AND (nome = @Original_nome); UPDATE fatture SET id_fornitore = 0 WHERE id_fornitore = @Original_id_fornitore; COMMIT; ---- But if I try to enter this I get an error: http://www.zane.it/Immagini/screen/Visual%20Studio%20delete%20command.gif So... how do I execute this transaction on detele Agai ...Show All

  • SharePoint Products and Technologies Enterprise Library 2.0 and SharePoint 3

    I am using a the Data Access application block within a Windows Workflow (done in VS2005) in SharePoint. I'm getting the follwing error: Object reference not set to an instance of an object. ...and the source is Microsoft.Practices.EnterpriseLibrary.Data NB* All the solution assemblies have been added to GAC. I'm thinking the error is being caused by the absence of the app.config file somewhere where the assemblies in GAC would look for it. Anyone knows how to solve this ...Show All

  • .NET Development Connecting to a Sybase db

    When running my program I get this error, I installed the Sybase client in my local machine and I can access the tables using the SQL Advantage utility in Sybase. Do I have to do anything else Message "The 'Sybase.ASEOLEDBProvider.2' provider is not registered on the local machine." String Thank you JM Hi, That would be my best guess. Since the error that you are experiencing suggests that the .Net provider for sybase is not present in the computer... cheers, Paul June A. Domag ...Show All

  • Commerce Server SiteConfigReadOnlyFreeThreaded issue

    Hello, Our development server is spewing this errors during our stress testing: The Commerce Server runtime has detected that more than 336 instances of the SiteConfigReadOnlyFreeThreaded object have been created. Creating many SiteConfigReadOnlyFreeThreaded instances will negatively affect the performance of the site. Please refer to the Commerce Server documentation for the recommended use of the SiteConfigReadOnlyFreeThreaded object. I have not been able to find any information regarding this issue. This is the only other information i found: URGENT: CS2007 dies under heavy load Thanks! Hello VOC, Do you use the dispose method to release managed and unmanaged resources used by this object If not try to d ...Show All

  • Visual C# Adding C# code to VB.NET 2003 project

    I have a VB.NET 2003 project. I have writtten a small code in C# and I want to add it to that project. I also want that when a Command Button on VB.NET Form is clicked, the C# code must execute. Any way You will need to add a separate C# project to your solution, and than add a reference from the VB project to the C# project. Of course, the C# methods will also need to be accessible to callers in VB. -Tom Meschter Software Dev, Visual C# IDE ...Show All

©2008 Software Development Network