Pardasani's Q&A profile
Visual Studio AddNamedCommand still not working?
We are using AddNamedCommand to add commands to our command bar. This is running fine in 2003. It did not work in Beta 2 -- another person iquired about this and was told it was a known issue (see: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=4221 ). Has this been corrected in the RTM for VS 2005 I have tried it and still get a failure when calling AddNamedCommand. Thanks I have puzzled through and found that VS 2005 does not like the 0 value for the CommandDisableFlags. When I use 3 (1+2) it works. Not so consistent -- especially for a parameter marked as op ...Show All
SQL Server Task Expression Evalutation Time
I have designed a package whose first step initializes several variables . Other steps in the package have expressions based on those variables. Example Expression for MyTask: PropertyName = "Disable" Expression = "@DoMyTask" Given this example MyTask will be enabled/disabled solely based on the value of @DoMyTask at the time the package execution begins. Changing the value of @DoMyTask prior to the normal execution of MyTask has no effect . My conclusion is that the expression is not being evaluated late enough. Any help DarrenSQ ...Show All
Software Development for Windows Vista .icl files not supported by build 5308?
Hi there, build 5308 does not recognize .icl (Icon Libraries) as files storing icons ... whenever I open an .icl file I get a message saying that the files does not contain any icons. I am pretty sure that it was working fine with the December CTP ... I tried it with several .icl files which are all working fine on XP. No luck on Vista, though ... Can someone confirm having the same problem with build 5308 Or can someone of MS confirm this to be a bug Thanks! Steve Hello Steve, I'm Marc EMILE, author of IconWorkshop. I've released version 6.0.2 last week and now it s ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missing something or is nobody printing anymore Maybe we have finally reached the holy grail of the paperless office by MS removing the ability to print. Seriously though, can anyone point me at a p ...Show All
Windows Forms Help with C# syntax
Hi, i'm developing an ebay application and trying to utilise sample code from thier documention, however the samples are C# and I only know VB. Could anyone help me translate the following statement into VB, i've tried loads of combinations but always get a syntax error DetailLevelCodeTypeCollection detailLevels = new DatailLevelCodeTypeCollection(new DetailLevelCodeType[] {DetailLevelCodeType.ReturnAll}); Many Thanks Ben This convertor does not work every time... Try this one if the first one failed to convert your code: http://www.carlosag.net/Tools/CodeTranslator/Default.aspx Bye. ...Show All
Visual Studio Express Editions VB starter kit
An easy one. Where can I download "My Movie collection Updated Web Version" from Thanks http://msdn.microsoft.com/vbasic/downloads/starterkits/default.aspx ...Show All
SQL Server Configuration File for Multiple Packages
In my solution I have multiple .dtsx packages that read data in from a flat file and load it into a database. Each package reads data from a different flat file so I have to have a different connection in each package that points to the file that package is going to process. For instance, one package is for processing an Orders file so it has a connection to c:\orderheader.txt. Another package processes customers so it looks for c:\customers.txt. Is it possible to have one configuration file for this or do I have to make a configuration file for each package I knwo that I can reuse a config file from ...Show All
SQL Server How to insert data with single qoute?
Hi guys, Anyone of you kindly reply on this. Thanks guys, Hello, Using Replace will corrupt your souce data. If the string "you're" is passed to the app, it should remain as "you're" and stored as such. Cheers Rob ...Show All
Visual Studio Express Editions Can't access Network drive in Window Service
Any other way to access network drive or mapped folder in a window service which is NOt running under a Domain user account who has privilege on that folder. any idea thanks in advance Hi, I think the recommended way is to allow the service account to have access to that folder. To do that in code, I can only think of impersonation. Take a look at this article with sample code: http://msdn2.microsoft.com/en-us/library/5z4b2h41(en-US,VS.80).aspx Best regards, ...Show All
.NET Development Type conversion error
I have multiple projects that depend on SSPI.h (taken from MSDN code samples). However, during the conversion to the .NET 2.0 Framework, this file is generating a type conversion error and I am not sure how to fix it. This is the error where _ _const_Char_ptr is typedefined as System::Char* error C2440: '=' : cannot convert from '__const_Char_ptr' to 'wchar_t __pin *' This is the code snippit: wchar_t __pin* pwszServerPrincipalName = NULL; if ((credential->SecurityPackage == Credential::Package::Ke ...Show All
Windows Forms Creating a Discussion Forum in C# Windows Application
The subject says it all... Creating a Discussion Forum in C# Windows Application. Is it a good idea to use grids to display topics Has anyone done something like this. A screenshot would be great. ...Show All
SQL Server NS 2.0 SP1 Install Problem
What could cause the NS 2.0 SP1 installer to think that a qualified version of SQL Server 2000 is not installed and available I'm trying to install NS 2.0 SP1. The current config is: - Windows 2003 Server (Standard Edition) with SP1 - SQL Server 2000 (Developer Edition) with SP4 - Analysis Services 2000 (Developer Edition) with SP4 - Reporting Services 2000 (Developer Edition) with SP2 - Windows Sharepoint Services 2.0 with SP2 - Office 2003 with SP2 I've tried the NS 2.0 SP1 install for both Enterprise Edition and Standard Edition. If I try to install the database components, both report that no qualified version of SQL S ...Show All
SQL Server What interface does Management Studio use?
Hi, Does anyone know what interfaces Management Studio use It does seem to retrieve information about Server/Database objects without the performance issues that SMO suffers from How does it do it Regards, Joginder Nahil www.starprint2000.com It uses SMO. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Smart Device Development WMP 10 MOBILE CAN'T UPDATE MEDIA LIBRARY FROM EMULATOR STORAGE CARD
In VS2005BETA2 and Windows Mobile 5.0 Pocket PC Emulator, I've ported the sample C# application from the WMP10 SDK. The application presents a list of media it gets from the Media Library for the user to select and play. The application runs fine if the media resides in the emulator file system, e.g., My Documents\My Music, and I use the Emulator's Windows Media Player to update the library. However, if I configure the Emulator's Storage Card to a virtual directory, FILE --> CONFIGURE --> GENERAL (TAB) --> SHARED FOLDER, and I place the media in the shared folder instead, the Windows Media Player Library Update function repl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh Intersect Confusion
EDIT: Let me make my question simpler: How do I shoot a ray (using the Intersect function) from one mesh to another mesh Original Post: I recently found out that the Mesh.Intersect function requires you to transform the ray by the inverse of the Mesh's matrix. I can kinda understand how this works with picking, but, I am trying to shoot a ray from one mesh to another with an arbitrary direction. Now I'm dealing with TWO matrices, not just one. Right now I am taking a point from the "source" mesh, transforming it by the inverse of the "destination" mesh's matrix minus the "source" mesh, then calling the "destination" mesh ...Show All
