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

Software Development Network >> Shankar K's Q&A profile

Shankar K

Member List

Peter McEvoy
baga
Brandon Amoroso
hdp203
claydevin
MikeLR
mike11d11
AnthonyAM444
John_Wesley
MarissaM
cadouthat
Luca Beretta
AM Varela
polease
Carl Berger
3jg13
saj14saj
Raros
Jun_1111
Sudheer Palyam
Only Title

Shankar K's Q&A profile

  • Visual C++ std string assignments failing in debug in VS2005

    In a C++ DLL that works fine when built with VS2003, upon building with VS2005 it crashes every time in the debug build upon attempting to execute a simple std string assignment, e.g.: #include <string> using namespace std; extern "C" __declspec ( dllexport ) void * DoSomething(HINSTANCE hInst, HWND hWndParent) { string boo; boo = "abcd" ; // exception here ... } Upon exception, the call stack is: msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Eos(unsigned int _Newsize=0x001d1d78) Line 2003 + 0x15 bytes C++ msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::eras ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Programming Noobs

    I'm currently going to school for game development and have absolutely no experience with programming or any of the scripting languages. Will the GSE be "beginner friendly" or will I need to obtain some prior knowledge of certain tools in order to be able to use this platform Thanks, 93 An indie XBox Live Arcade is crucial ! And a XNA Club secret decoder ring! And some kind of temporary tattoo! Those are the three pillars of this initiative, without one of which the entire project will come crashing down. 93_confirmed - don't let anyone frighten you away from programming. When it comes down to it, coding is not that hard - as long as you don't bite off more than you can chew. Think of ...Show All

  • SQL Server How could I notify new subscribers with previous data?

      Hi! I have my NS running. Subscribers are reciving notifications right. How could I  send past notifications to new users  . Could it be possible I think we have all the previous data (the event data table as the notification table) what do you think is the best way or approach to do it i.e: Insert an action item asigned to a user in my DB. If the user has a subscription to it, NS generate a notification and send an email to the user. In my case this user is not a subscriber yet, I add him 2 days after. How could I send the notification thas had been created for him before   Regards ;) If I ever have this problem, I will probably pla ...Show All

  • Visual Basic Console Application buffer DOS window??

    Hi everyone, Primary platform is Framework 2.0. I've got a Console Application written by means of Visual Basic and I was wondering how to resize the buffer for the DOS window. I'd like to see more information.. Now upcoming information is rewriting the old one.. Is it possible Let me know if you need further information or any clarification. TIA http://msdn2.microsoft.com/en-us/library/system.console.setbuffersize.aspx Best regards, Johan Stenberg ...Show All

  • Visual C++ CPU temperature using memory map

    Hi, can CPU temperature be measured by reading a memory map(SMBIOS viewer) is it possible If yes, please let me know how should i proceed. Thanks in advance manasi This question has already been covered at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1092831&SiteID=1 . ...Show All

  • Visual Studio analyze doesn't resolve a problem

    when running analyze, i receive the following error: Database analysis in progress @ 30.12.06;15:50. The file K\DATA\\ is not a valid SourceSafe physical database file. It must be renamed to a file with an extension or moved to another directory outside the database. Analysis complete @ 30.12.06;15:50 Some errors were found: run ANALYZE -F to fix these problems. To fix the database problems, you can restart the analyze using the following command: "C:\Programme\Microsoft Visual SourceSafe\analyze.exe" -F -V3 -D "c:\vss\statik\data" well i did run analyze as prompted, however, this did not fix the problem. also, there is no file namend "K\DATA\\" in my database directory. how do i get rid of this error ...Show All

  • Windows Forms minimize, maximize, and close button image...

    hey, In Visual C# 2005 express how would I use some images I made for the minimize, maximize, and close buttons, and change the defaults to the ones I made The images are .PNG if that is somthing you need to know... Thanks :) Ok, I have made the skinning thing work, it looks fine, but there is one problem... The Close, maximize, restore, and minimize buttons are to far down...I want them to be at the very top of the TopBorder...like the Windows Vista ones are... I looked int he code below for somthing that does what I am trying to do but I dont see anything...so is there anything in the code below that will do what I am trying to do #region Using directives using System; using System.Drawing; ...Show All

  • SQL Server Query Not Collating correctly

    I have restored an SQL 2000 database in to 2005 Standard edition. I have several views that are displaying incorrect results though when viewed in SQL Management Studio, and hence back to Excel Word etc.... The view is as follows: SELECT TOP (100) PERCENT DATEPART(mm, ARV_date) AS Month, COUNT(*) AS Count, SUM(DATEDIFF(mi, ARV_date, RES_date)) AS [Minutes Unresolved], MAX(DATEDIFF(mi, ARV_date, RES_date)) AS [Max Dur(min)] FROM dbo.ps_Remedy_Data WHERE (DATEPART(yy, ARV_date) = DATEPART(yy, GETDATE())) AND (RMDY_Priority = 'Urgent') GROUP BY DATEPART(mm, ARV_date), RMDY_Priority ORDER BY Month When I execute it from Word or Excel the returned data is NOT in Month order... When I right click the view and sa ...Show All

  • SQL Server MSSQL Express 2005 performance so inconsistent!

    Hi, just wondering if anyone noticed the MSSQL Express 2005 is so inconsistent with its performance. I was testing out a query with 2 joins, with the main table having about 13,600,000 records. With the same criteria value, sometimes it finished executing in 3 secs. sometimes almost a 1 min. Could it be just the volume of the data This is really driving me crazy! Any advise will be greatly appreciated. Rick.. Hi, I took home the database and loaded it up in my machine this weekend. I think the inconsistency I as experiencing at work has something to do with my machine setup. In the office, my PC has WinXP 64 Pro. At home I have just the plain WinXP Pro. Running the same scripts/SP at home were m ...Show All

  • SQL Server Totals and Calculated members bug in SSAS 2005 (CTP3, SP2)

    I have created two calculated members in the Adventure Works cube: ---------------------------------------------- CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesAggregate] AS Aggregate ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ; CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesSum] AS SUM ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ...Show All

  • SQL Server Setting Up replication on SQL Server 2000 using Distributor running on SQL Server 2005

    Hi I have a setup where I need to replicate the database which is actually subscribing from another database. The current setup is all in SQL Server 2000. I need to now setup a Distrbutor on a SQL server 2005 and publish the database using this distributor to another server on SQL server 2000. Has anybody done this before. If yes what will I need to check. Can you please let me know :- 1) SQL Server 2000 which SP should be installed to support this enviroment. 2) SQL Server 2005 which SP should be installed to support this environment. 3) Any thing that I need to look out for. Thanks for any inputs on this. Regards If you are running Win2K3 on your publisher and i ...Show All

  • Visual Studio Team System Evaluating Check-in Policies during Shelveset Creation ..

    Is there any way to *require* that the check-box for "Evaluate policies and check-in notes before shelving" is selected when a shelveset is created Additionally, is there a way to detect (even by inspecting the Shelveset object programmatically) that when a particular shelveset was created, whether the check-in policies were evaluated or not I see that the Shelveset class has a property named "PolicyOverrideComment", and I guess this property allows me to detect whether any policy was overridden. However, how do I find out if the polcies were evaluated in the first place We receive certain code submissions from distributed teams via shelvesets and would like to know whether they have passed the policy evaluation p ...Show All

  • Windows Forms How to test for supported styles for fonts...

    I am writing a program that allows me to draw text on the screen. And I have a combo box that allows the user to select the font. But while I step through the fonts, I get this message: Font 'Palace Script MT' does not support style 'Regular'. Is there a way to tell which styles a given font will support I would like to test for this before I try to create the font. Thanks for any help! Bob Use the FontFamily class to test for font styles: FontFamily ff = new FontFamily(" Palace Script MT "); Console.WriteLine(ff.IsStyleAvailable(FontStyle.Regular)); Thanks, Bryan Phillips - http://bphillips76.spaces.live.com/ ...Show All

  • Software Development for Windows Vista SSL Problem

    I have unzipped and installed the batch file in 'Creating Managed Cards.zip'. The batch file displays success for all 4 installations : 'CAPICOM, Certificates, host, web sites'. However, when the browser attempts to enter the page https://www.fabrikam.com/CardSpace the following message appears. The security certificate presented by this website was not issued by a trusted certificate authority. The security certificate presented by this website was issued for a different website's address. Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server. This persists even I have imported the www.fabrikam.com certificate, www.fabrikam.com.pfx , into the trusted people store. ...Show All

  • Visual Studio Tools for Office How to Disable Macros in C#?

    I'm trying to disable macros from running via Automation. Is it possible Here's what I have so far, but I get a Method Not Found exception. object wordBasic = wordApp.WordBasic; object [] someParams = new object [] { 1 }; wordBasic.GetType().InvokeMember( "DisableAutoMacros" , BindingFlags .InvokeMethod, null , wordBasic, someParams); Am I going about this entirely the wrong way Any help is much appreciated. See if Application.AutomationSecurity will do what you're looking for msoAutomationSecurityForceDisable should prevent any macros from running as long as your code is executing . This includes both "AutoMacros" as well as other macro code. ...Show All

©2008 Software Development Network