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

Software Development Network >> chandrala's Q&A profile

chandrala

Member List

cjserio
Steve_fr88
Rajat_Katyal
bruce bubello
MohsinAta
Pavan Battula
jcarlos.net
stswordman
Jonas1980
Minherz
Thomo
Winnie.Wang
Agent Nikko
khld
faraaz_malak_c92eb4
Alan M Dunsmuir
DotNetDave
Biggo
Jamie Thomson
Tilfried Weissenberger
Only Title

chandrala's Q&A profile

  • Visual Basic Case Usage

    I am pretty much a noob programmer, but I'm getting the hold of visual basic pretty much. But in one of my programming attempts something is messed up, because as far as I know my code is good... Take this code: The issue now is that without converting this to a number, it is comparing the string value you enter rather than the numeric value. One way to avoid a lot of these issues is to: 1) Give the user a combobox of acceptable values or 2) Use VAL(Textbox1.Text) and VAL(Textbox2.Text) ...Show All

  • Visual Studio 2008 (Pre-release) Fitting Lines to Fill Available Space

    Hi, I would like to be able to have a line be able to fit to the available height. For example, < StackPanel Background = " SlateGray " Height = " 100 " Width = " 100 " > < Line X1 = " 50 " X2 = " 50 " Y1 = " 0 " Y2 = " 100 " Stroke = " Yellow " StrokeThickness = " 5 " StrokeDashArray = " 3,3 " /> </ StackPanel > But without having to specify the Y2 value. Clearly, in this simple case I could bind to the parent width, but I would like to have it do it automatically. Does anyone know of a way to do this Thanks! Sure eno ...Show All

  • Visual Basic How to set the install path for application

    I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. Open up the File System view in your setup project Right Click on "Application Folder" and select properties Look at the "DefaultLocation" Property Set the value to to the desired location on the user's computer. ...Show All

  • Visual Studio Tools for Office Programmatic access to Outlook appointment categories?

    Hello, I'm new to the VSTO world, so please bear with me. I'm using VSTO 2005 with Outlook 2007. I want to customize the categories associated with appointments in Outlook. In Outlook when creating an appointment, the user can choose to customize the categories (i.e. associate a name with a color). How can I acheive that programmatically Also, can I add other colors to be used for categories, or am I constrained to the 26 existing options Also, what are the best online resources for learning how to use VSTO 2005 with Outlook 2007 I've searched online for some reference material, but don't want to waste time with mediocre tutorials. Thanks a lot for any help. Nevermind, I figured it out. Globals .ThisApplication.Session. ...Show All

  • SQL Server How do i find all subscriptions

    Hi There I need to get rid of all subscriptions (including cleaning up all associated sql jobs) for RS 2000 and 2005. We have hundreds of reports , going through them 1 by 1 is not an option. When i look at the system tables, i join Subscription to Catalog, but i find reports with subscriptions in the system tables but when i go to Report Manger there is no subscription for the report. In a nutshell , how can i see all valid subscription for all reports in RS, how can i delete all of them and make sur eall sql jobs associated etc are deleted. Thanx Hi Lukasz, in general i agree with your statements, but until the Reporting Services are having some gaps in Administration i'm forc ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animated Sprite - the MSDN example

    Hi, With regards to this article, does anyone have the graphic they are loading in or a similar example I whipped up a simple 48x16 .png anim strip but when I use the AnimatedSprite class, it only shows one frame - the first, then blank, then frame 1 and so on, not the other 3 frames. I'm sure it's something simple I'm missing! I've entered the frame total as 3 by the way as I have 3 frames in that image. Cheers, Dylan. I would put a breakpoint in the DrawFrame method and see what values are being calculated for the "sourcerect" every frame. Do they fall within the bounds of your texture \ I would also potentially look at the UpdateFrame method ... are you calling this method and passing in " ...Show All

  • Software Development for Windows Vista designerHost uses the wrong activity designer

    I have the code shown below to assign a custom designer to my custom activity. The activity type shown is the type I use as the root activity type in my workflow. When I later look at the rootDesigner using the following code IRootDesigner rootDesigner = designerHost.GetDesigner(designerHost.RootComponent) as IRootDesigner ; then I can see that the RootComponent is of type SequentialWorkflowDesigner and NOT of my custom type WorkflowActivityDesigner. The constructor of WorkflowActivityDesigner is not being called. Why does the designerHost not use my custom designer or How can I change the designer used for the root component ----------------- [ Designer ( typeof ( WorkflowActivityDesigner ))] ...Show All

  • Visual Studio Team System Is there a way to edit/modified changeset?

    Hi all, Is it possible that we could update changeset using commandline/UI I remember somebody already post this but I couldn't find. Best Regards, I guess I was confuse everybody. I really do apolgy. Let me re-phrase my question. How do I added or deleted file from a changeset Is it possible via UI/Commandline/API Best Regards, ...Show All

  • Software Development for Windows Vista LockProfile of IStreamBufferSink

    I am working timeshift function in Windows vista. I have to use IStreamBufferSink::LockProfile function. But it is failed in Windows Vista. In DirectX C++ MSDN, it is written that This topic applies to Windows XP Service Pack 1 only. How can I do for use LockProfile in Windows Vista Pls, help me. Anyone from MS to help on this issue I have the same problem Even if it's possible to force an app to run in admin mode this does not seem right. ...Show All

  • Windows Forms Distribution program error

    I don't know if this is the right place for this.. but... when I compile my program via command line based ( C:\c-sharp>csc.exe /target:winexe /out:c:\c-sharp\blah.exe c:\c-sharp\blah.cs) then I upload it to my server.. .then I download it... and when I try to run it I get the following error message. Cannot load VDM IPX/SPX support anyone knows why Bhanu Prakash Nunna - MSFT wrote: Hi, Could you please post the answer as reply to the thread, so that some other user can also be benefitted. Even the link to the answer should be fine. thank you, bhanu. Ops sorry.. I meant to post it before.. thanx for the reminder.. here is a link to a fix like this just incase someone else have this same error http://www.computing.n ...Show All

  • Windows Search Technologies Add a new location to wds3

    Is there a simple way to add a new location to the wds3 scope In 2.5 (or 2.6 ) we could edit the locations in the registry under HKCU. Since wds3 is now running as SYSTEM and there is only one indexer per machine I guess HKCU a suitable place for this If we have to implement Craw-Scope related Interfaces could you point me in the right direction where to find then. Or better still point me in the direction of some sample code I can tear up. Again my preference is to do this in C#, so any interface for C# would be fantastic. (If it can be done) Paul - The correct registry location in WDS 3.0 is: HKLM\Software\Microsoft\Windows Desktop Search\DS\Views\Locations Paul Nystrom - MSFT ...Show All

  • Visual Studio Express Editions Error Trying to compile MediaShare

    im having a problem with compiling the MediaShare SDK that i downloaded and didnt touch a single file, im new to Visual C++ and windows programming, i can do C++ in linux but is like brain surgery in windows for me.. ill give the build log in this post for the communicationframework and... media share... anyone that could help me look over it and tell me what changes to make... thank you :D... Communication Framework: Command Lines Creating temporary file "c:\Documents and Settings\RuneSpy\My Documents\MSDN\Media Share Starter Kit\Source\CommunicationFramework\Debug\RSP00000134802716.rsp" with contents [ /outputresource:"..\debug\CommunicationFramework.dll;#2" /manifest ".\Debug\CommunicationFram ...Show All

  • Visual C# Minimize KeyEvents...

    Hey, I have developed a very simple program that takes the pressed key (e.KeyData) and executes a method based on the letter. However, when the program is minimized, the program doesn't look for what the user types. Is there a way where i can make the program always check what key is pressed even when it is minimized Thanks, I believe you may need to look into keyboard hooks as the keypress events you are handling is only for your application, not for Windows itself. try a forum search about keyboard hooks or even on google, there have been a few topics but I am no expert on this however I thought I would let you know ...Show All

  • SQL Server Only one CPU is used by the server

    How can I utilize all four CPU’s by the SQL server Configuration: HPDL385 2 x Intel Xenon 5160 3 GHz Dual Core, 4 GB Ram Windows Server 2005 SQL Server 2005 Standard Edition When running heavy SQL SP’s, the CPU load is only 25% nicely distributed over the four CPU’s as if only 1 CPU was present. Is it the operating system that creates this problem or the SQL server How does the SQL server react if the license somehow is configured wrong - is this the problem Regards This is the normal behavoir, where SQL Server 2005 will try to spread the load evenly among the four processors. You can experiment by appending OPTION MAXDOP(1) to the end of a query, then running it in a q ...Show All

  • Visual Studio 2008 (Pre-release) How to get a framework element define in cell template

    Hello, I'm working with ListView+GridView. I define my own datatemplate (stack panel with an image and a textblock inside) for each GridViewColumn.CellTemplate I have. Once I have the table up and running (loaded, etc) I want to get a reference of for textblock object in a given cell. Is that possible When I define the template I give a unique name for the textblock, later I try to use ListViewItem.Template.FindName() to retrieve my textblock but it returns null. Thanks Felipe this talks about your concerns http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=373518&SiteID=1 ...Show All

©2008 Software Development Network