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

Software Development Network >> Raja Pratap's Q&A profile

Raja Pratap

Member List

tovarish
Vamsee Krishna
Residual Logic Games
Rosetta
Jnanesh
Harry123
schmod54
Jamie Thomson
Daye Rev
shettydeepak
Tryst
Deepak Vyas
Pierce28
Vladimir Chtepa
MidNightQc
PCSQL66
DigitalFusion
ks06
redshock
RickHan
Only Title

Raja Pratap's Q&A profile

  • Visual Basic Printing a Treeview

    I am using vb.net 2003 and am interested in any links to procedures indicating how to print a tree view hierarchy to a text file. Thanks, Fred I am unsure however I believe that you could maybe go through each node in the treeview and then write the current node value(s) into a textfile. try this, this maybe on the similar lines: http://www.thecodeproject.com/csharp/treeviewtoxml.asp you could maybe serialize the treeview: http://www.codeproject.com/cs/miscctrl/treeviewxml.asp take a look at this too: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=137052&SiteID=1   hope it helps in some way ...Show All

  • Visual C++ Abstract class object

    i hav read in all books dat we cant create object of abstract classes.. . and reasons like they are too abstract to create an object.. .. i want to know more of these reasons why we cant create objects...... . . . . manish hello AFAIK, Abstract class is incomplete, which means it has at least one pure virtual function. When we create an instance of an object, a certain memory space will be allocated to contain this object, abstract class does not have enough information to achieve this allocation. so it can not create an abstract object. Supplement is welcome :) Bite ...Show All

  • SQL Server Clear all the tables of a database

    Is there a simple method to clear all the tables in a db or to make a copy of the mdf file without the datas I tried to use TRUNCATE TABLE but it doesn't work with foreign keys Thanks. You probably will have to write your own script for this to reflect the dependencies. As you already stated, Truncate won’t work with foreign keys and an undocumented procedure like sp_msforeachtable won’t care about the order to process. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic how to call fun in console

    hi we are declaring and creating function in windows application in vb.net how to call that funcation in console applicaiton If they are in the same solution: WindowsApp1... Class Class1 Public Function1() Return True End Function End CLass now from the sub main of ConsoleApp: Public Sub Main Dim c as New WindowsApp1.Class1 If c.Function1 then dosomething end if if they are not in the same solution the same prinicple applies you just have to make a project level reference to the windows application...(Project menu "Add reference") ...Show All

  • Software Development for Windows Vista Setting proper rights and integrity for ProgramData

    Hi All, I have an ActiveX control that is loaded by IE7 Protected Mode (eg Low integrity) which needs to be able to write to my folders in "Program Files" and "ProgramData."  When my installer creates the folders, it sets the proper rights/integrity (low).  I have this working for "Program Files." However, I have not been able to create my folder in "ProgramData" with the proper integrity to allow the Low integrity process to write to it.  Setting the SACL (S:(ML;;NW;;;LW)) does not work, although it does have some effect, because when I set it to S:(ML;;NW;;;HI), even a medium process can't write to "ProgramData". I find it quite weird that I can now write to "Program Files," but not "ProgramData."  Any ide ...Show All

  • Visual C# Code Snippets for the Windowsforms and SmartDevices not showing in intellence

    I have just downloaded the entire snippets for c# ( Why MS did not add these i will never know.) and set the reg up correctly and the SnippetsIndex.xml... All is working but the Windowsforms and the SmartDevices ... they both have nested directorys.... here is my Reg Info %InstallRoot%\VC#\Snippets\%LCID%\Visual C#\;%InstallRoot%\VC#\Snippets\%LCID%\Refactoring\;%MyDocs%\Code Snippets\Visual C#\My Code Snippets\;%InstallRoot%\VC#\Snippets\%LCID%\OfficeDevelopment\;%InstallRoot%\VC#\Snippets\%LCID%\Application\;%InstallRoot%\VC#\Snippets\%LCID%\Connectivity\;%InstallRoot%\VC#\Snippets\%LCID%\Database\;%InstallRoot%\VC#\Snippets\%LCID%\Filesystem\;%InstallRoot%\VC#\Snippets\%LCID%\OS\;%InstallRoot%\VC#\Snippets\%LCID%\SmartDevices\; ...Show All

  • SQL Server MDX Cell Properties

    Is it possible to get the Values!! for cell properties like Back_Color (so the RGB value) within a simple MDX-Statement (getting the results in a flat table) Uli Yes, it is possible SELECT ... FROM Cube CELL PROPERTIES BACK_COLOR HTH, Mosha ( http://www.mosha.com/msolap ) ...Show All

  • Visual Basic Newbie to VB.net

    I'm trying to find a replacement for Vb Printform think I may have found it..... this will not compile: could someone walk me through the setup of this I created new project with one form on it Form1 in the code area I put the following:: Public Class Form1 Imports System.Drawing ' ... Private Const SRCCOPY As Integer = &HCC0020 Private Declare Function BitBlt _ Lib "gdi32.dll" ( _ ByVal hdcDest As IntPtr, _ ByVal x As Int32, _ ByVal y As Int32, _ ByVal Width As Int32, _ ByVal Height As Int32, _ ByVal hdcSrc As IntPtr, _ ByVal xSrc As Int32, _ ByVal ySrc As Int32, _ ByVal dwRop As Int32 _ ) As Boolean P ...Show All

  • Smart Device Development How to Merge *.reg File From Code

    Hello, Reg files usually are merged automatically during Cold Boot. Is there a way of merging a reg file from code (Something different than reading the file, parsing it and manually calling Reg functions from API.) The only thing I was able to find out about the issue was information about existance of RegMerge.dll. Thanks, Artur There's no registry editor on most Pocket PC or SP devices. Some vertical market devices (which I suspect you're working with) might have special capabilities/applications from device vendor not available in general. For example, this "Application" folder is specific to Symbol devices as far as I remember. As to "merger", "merge" mig ...Show All

  • .NET Development Issue About Registry Entry Through Setup

    Hello All Actually I have made a setup project that has to make the entry in registry.The specified dll will be in the %Systemdrive%Program Files folder at the client machine from where the setup will run. I have make this registry entry value type as Reg_EXPAND_SZ and its path as %Systemdrive%Program Files but when this setup runs it makes the entry as %Systemdrive%Program Files, I wonder why setup don't replaces the SystemDrive with (c:/,d:/) while it runs. I want the entry with the C:/ProgramFIles ....and I wanted that setup to detect the systemdrive at the Target Machine and then replace the variable "systemdrive" with actual drive and then make the entry in the registry. your help in this ...Show All

  • Windows Live Developer Forums Driving Directions Answer

    Is there any way to add driving directions to your website where the user can define the start and the end of it Sorry somehow I thought your question was how to setup a route between two pushpins...i think i'm going insane. So for the two boxes the user would simply enter in the textual locations, same code as from the sdk except instead of hard coding the loccation you use the textboxes' values instead. I haven't got to impliment this part yet in my app but i believe when you specify the callback function you get access to the data itself and the directions don't pop up, maybe someone else can pitch in here. John. ...Show All

  • SQL Server Custom Properties in External Metadata not writeable using the Advanced Editor

    Hello, I'm working on a custom dataflow destination component. It makes use of the External Metadata Collection. I also use Custom Properties with the external metadata collection. When I open the destination component using the Advanced Editor, and select an External Metadata Collection and change the Custom Property it always changes back to the original value. Additionally the method SetExternalMetadataColumnProperty never gets called. Here is a little Test Component that surfaces the problem: [DtsPipelineComponent(ComponentType=ComponentType.DestinationAdapter, DisplayName="Test Destination")] public class Class1 : PipelineComponent { public override void ProvideComponentProperties() { base.ProvideCompo ...Show All

  • SQL Server Probleam with ReportViewer Jumping to Report

    Hi, We have an ASP.NET application using a ReportViewer to show reports. I have two reports (both with logo - image - in yours headers): - Report A: with action to jump to Report B. - Report B: with action to jump to Report A. This work fine into BID and into Report Manager , but into our application, when I click in first link into Report A, show me the Report B, but our logo isn't visible. If I try to return to Report B (clicking in action), show me this error: The path of the item "(null)" is not valid. The path must be less than 260 characters long and must start with slash. Other restrictions apply. (rsInvalidItemPath) May I need to configure something into my web.config to work fine too Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Appearance of buttons

    Ok, this may sound crazy, but does anyone else have an effect on XP SP2 whereby the right-edge of the button is ever-so-slightly aligned too far to the left E.g. the right-edge is slightly inset into the button (although the top/bottom go to the correct place). I get this on all buttons (including the "x" in the top-right). I've tried various settings to do with ClearType, thinking that the font may be an issue. Everything looks fine when I run it on my Vista installation but ANY WPF xaml looks wrong on my XP boxes (e.g. all three I've tried so far). This is starting to bug me, as the visual effect may, unless it is known will-be/is fixed, may prevent me from being able to use WPF on a project as the target platfor ...Show All

  • Visual Studio How to anchor a line to Page footer?

    I need to be able to draw a line that will extend from a table to the page footer. Is there any way to anchor an object to the bottom of the page or programatically set the size/location of a line or rectangle based on the page number or bottom of the table MSDN Lib ms251697.aspx says " If you want to add a line within repeating rows of data (for example, in some cell of a detail row), you must write an expression that draws the line and puts the expression in the cell where you want the line to appear." From this I gather that you can draw a line programatically, but I have no idea how to do it. Any Ideas Thanks Jack McArdle ...Show All

©2008 Software Development Network