Amit V's Q&A profile
Software Development for Windows Vista Is it a bug for MMC 3.0?
OS: windows 2003 64-bit with sp1 MMC 3.0 and .NET framework 2.0 Visual studio 2005 ============== Reproduce steps. 1. Create a simple MMC project 2. Use FolderBrowserDialog such as the following anywhere FolderBrowserDialog dialog = new FolderBrowserDialog(); dialog.ShowDialog(this); 3. register and run this mmc program, and click button to launch FolderBrowserDialog 4. Make sure that the machine running the program is in a domain and can navigate several domain. 5. navigate to a domain, expand a computer, and go to share folder; 6. then navigate to another domain, expand another computer and folder; 7. repro 5-6 for several times. 8. wait for several minitues and do nothing 9. after yo ...Show All
SQL Server Setting collection element value using expression fails
I'm trying to set the value of the SelectedDatabases collection property of an Update Statistics Task using an expression for the task, basing it on a user variable. Ultimately, I'll set that variable's value from a configuration file at run time and thereby specify the database whose statistics I want to update. When I set this up in the designer, I get an error at the time I try to save the package: TITLE: Microsoft Visual Studio ------------------------------ Nonfatal errors occurred while saving the package: Error at Update Statistics Task: The result of the expression "@[User::SelectedDatabase]" on property "SelectedDatabases" cannot be written to the property. The expression was evaluated, but cannot be s ...Show All
Visual Studio 2008 (Pre-release) asmx interop
Hello trying to get a asmx Web Service client talking to a WCF self hosted service( or windows service) but when i run wsdl i get C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl http://localhost:22 223/NotificationManager wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 2.0.50727.42] Copyright (C) Microsoft Corporation. All rights reserved. Error: There was an error processing 'http://localhost:22223/NotificationManager wsdl'. - There was an error downloading 'http://localhost:22223/NotificationManager w sdl'. - The request failed with an empty response. and a different simple service C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin>wsdl http://vmware-x ...Show All
Visual Studio Express Editions Version
What is the most currant build for Visual Web Dev Thanks for the help!! ...Show All
SQL Server Script Source: Error on truncation etc
I have a script source to deal with a source that has different "record types" (first 3 columns are the same then the remaining 2 to 30 columns are different based on the record type). Script source was working fine... then one of the columns that I had set to String with length of 2 came in with a length of 3 (which is not per spec)... instead of failing - all the columns after the one that had the bad value were null and the script just stopped as soon as it hit that.. AND said it was success. Which means it imported the data incorrectly and since the script says it was a sucess you'd never know anything went wrong and it only imported 30 rows instead of 10k+ Any ideas on how to capture this error Code (shortened ...Show All
Visual C++ Interface inheritance from another interface
Hi, Im working on an application build on plugin using interfaces. Now im trying to expand my normal plugin interface iPluginAPI with a few more methods / properties to allow it to access more restricted functions in the main program. I did this by creating a new interface iPluginExp which inherets the base methods from iPluginAPI and has some methodes / properties from its own. So every 'normal' plugin implements iPluginAPI and the 'privileged' plugins implement the iPluginExp interface. So far so good. When I'm going to use these plugins and load a normal plugin using the code below, everything goes well. When I load a privileged plugin and I try to cast the created instance to iPluginExp , it throws a expetion with ...Show All
Visual Studio Express Editions Programs using different versions of excel and outlook
I built an application using references to Outlook and Excel. On my machine I have Excel and outlook 2003 and the other people in my office have version 2002. How do I fix that to make the applicaton work on all the computers. I'm using the office 11 object library. You could do it using late binding. In order to do this you will not get the intellisense experience when you are developing but with late binding everything is evaluated at runtime - so as long as you are detect which version of the applications are installed on the machine - you can then calling methods / parameters etc. appropriate to the version. I'm not saying this is the desired option but its possible - the reason you have to ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I change my vertex array to Intptr?(DX7, D3D, VB2005)
Hello. I'm making 2D program with Direct X 7, VB 2005 Express. To replace missing blend effect of DirectDraw, I'm making it Direct Draw & Direct 3D hybrid. The situation is simple : D3Ddevice.DrawPrimitive(CONST_D3DPRIMITIVETYPE.D3DPT_TRIANGLESTRIP, CONST_D3DFVFFLAGS.D3DFVF_TLVERTEX, D3DSprite , 4, CONST_D3DDPFLAGS.D3DDP_DEFAULT) The ' D3DSprite ' is the array which contains vertex data(D3DTLVERTEX). And DrawPrimitive requires IntPtr(Handle) instead of array itself. I don't know how can I convert the array into IntPtr type data. Is there any possible solution ...Show All
Visual Basic How can I Reboot Computer Using Visual Basic 2005
How can i reboot, shutdow, log-off my computer using Visual Basic 2005 Can you help me please:( I tried the code listed here to do a restart of Windows. I get the warning screen that Windows is shutting down (I used a 10 sec delay), but at the end of 10 seconds, no reboot. I am running Windows XP professional and have admin priv's. Any ideas Thnx ...Show All
SQL Server Using SQL Server Reporting Services with SQL Server Standard Edition
Hi, I have a website in ASP.Net which uses Oracle database. Everything is fine with the web pages when using Oracle. When we use the reports there comes some memory issues. So we are trying to use some Report Engine and came through SQL Server Reporting Services. I want to know your suggestion about using SSRS 2205 with SQL Server 2005 Standard Edition while using data in volumes of thousands. Please let me know your ideas. Thanks in advance. Regards, Das. Hi Thank You very much for the reply. I am going to use SQL Server only for reporting purpose and we will be using one report server to accomplish this. Do you suggest SQL Server Standard Edition for this Thanks once again. ...Show All
.NET Development Winsock with C# 2005
Can anyone give me links to using winsock in C# 2005. I need to make a server and client in TCP that can handle many users at once. Why not use the .NET Framework’s built in sockets (System.Net.Sockets) to accomplish the same task and remain within managed code and all of the safeguards and benefits that it provides ...Show All
SQL Server Excel Linked Server Problem
To All I'm using the following code to create a Linked Excel server. --- EXEC sp_addlinkedserver 'ExcelSource' , 'Jet 4.0' , 'Microsoft.Jet.OLEDB.4.0' , '\\schuette-dc\DriveH\Temp\EDI\CSCNEDI.xls' , NULL, 'Excel 8.0' ; GO ----- The server create correctly, but when I try the following SELECT * FROM ExcelSource ... CSCN I get the following error ---- [OLE/DB provider returned message: Unspecified error] OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005: ]. Msg 7399, Level 16, State 1, Line 15 OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. ---- I have verified that i have full access to t ...Show All
Microsoft ISV Community Center Forums call addin's userform
I have creadted a .xla file, it have a userform in it. i have loaded the xla addin. now in my new spreadsheet, through vba maros can i display the userform which is in that .xla file any help or ideas on how can i achive such a thing would be appreciated nrupesh hi there, create a public method in your addin that displays the user form. You can then call this method using... Application.Run ("myAddin.xla!ShowForm") It's important that a) you check that the add in has been installed and b) that your addin does not have any spaces in it's filename, otherwise the Run() method won't be able to find it. Use the Addins("myAddin").Installed = True to determine if the Addin has been installed Hop ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Calling Keyboard.GetState() from within thread doesn't work?
Hello All, I'm porting a project i created for the 360 to Windows and i've run into an issue with Keyboard.GetState(). On the 360 i'm able to correctly get the GamePad state from within a thread using GamePad.GetState(), but the same thing doesn't appear to work in Windows when using Keyboard.GetState() inside a thread. Calling GetKey() from the sample below once per game update works as expected and sends back the correct debug text. Creating a thread that executes GetKeyThread() sends "Escape is *NOT* being pressed" to the debug window, but doesn't recognize when escape is pressed. I can think of ways to work around this, but i'd prefer not to redesign the whole thing if i don't have to. Any thoughs Thanks! ...Show All
Visual Studio 2008 (Pre-release) streaming webcam video inside WCF
bit of a newbie, I am trying to stream video from a webcam inside a web service. I am having little or no luck finding decent information about using webcams with WCF. Any information would be greatly appreciated. Can you try to save your captures to disk and then open them which gets you an IO.Stream object If you can do this and get it working, we can take the next step for WCF streaming ...Show All
