Farrukh Akhtar's Q&A profile
Visual C# How To Serialize an Object using application settings
In my application, I need the ability to store user defined data. My desire is to use the new application Settings mechanism (.NET 2.0) I have been experimenting with the various methods of doing this... Initially I used the IDE's application\properties\settings method where you specificy the settings in the gridview and VisualStudio creates the wrapper class for you. I had success doing this but when I tried to serialize the data inside o ...Show All
Software Development for Windows Vista Problem in building video capture program
Hello guardian angel, I am Jack n I've been trying to get a video capture program working on the DirectX DirectShow SDK. Here's my scenario: I have installed DirectX SDK 2006 (that doesn't have dshow.h since it was moved to the Platform SDK) over which I have replaced the DirectX 2003 Extras which added the missing Directshow classes in that release. "I am using Visual Studio 6" Now, the problem I have is t ...Show All
SQL Server Scheduling to email a report with "dynamic" parameters
Hello, I have a report that uses a begin date and an end date as paremeters along with a user's email adddress to generate thier schedule for the coming week. I would like to schedule this report to run at the beginning of the week and email to each user based on thier email address. So the parameters will be system.date +1 and system.date+6 and user email. I have the users email addresses in a table so the 3rd parameter could be a "for ...Show All
Visual Studio Team System Field name issue after B3R to RC upgrade
When I upgraded the server from B3R to RC, I met following error: found field name in custom methodlogies that will clash with new CMMI methodlogy. So I renamed the field name of "Microsoft.VSTS.Common.Severity" from "Severity" to "Exposure". After upgrade, I wanted to import customized work item "bug.xml" to one project. In this xml, the field "Microsoft.VSTS.Common.Severity" has the name &qu ...Show All
.NET Development Integrated security problem
Hi I have two virtual webs on my win2K3 server. WebApp and WebServ, the latter is hosting a remoted object and the former is calling it. With anonymouse access turned on everything is fine. However I want Integrated Security instead with no anon access, but with this option I get the error: The underlying connection was closed: The request was canceled. I've followed what I believe are the neccessary steps outlined in the following Kb article ...Show All
SQL Server SQL Server/Windows 2003 Mapped Drive Limit.
I am setting up 4 Windows 2003 server with SQL server 2005 . I am using a new SAN device and I am setting up over 37 separate devices. Three of the machines will be the production machines. The fourth machine will contains log shipped copies of 37 databases. I would like to keep each the 37 databases on its own device on the new SAN device. The problem that I am running into is that I can only map drives up to the letter Z . ...Show All
.NET Development Dll loading during p/invoke
Hi, Do you have a reference to an article which explains how ddls are loaded in .net I'm particulary interested in finding out how a dll and its dependents are loaded during a pinvoke call. Thanks ! Bart The following article may be helpful: http://msdn.net/msdnmag/issues/1000/metadata/ Hope that helps, Stephen Fisher ...Show All
Smart Device Development MissingMethodException when trying to directly access SQL Server throught .Net Compact Framework 2.0
Hi, URGENT! I'm receiving a missing method exception while trying to instantiate a object that contains simple SQL Client code on Pocket PC 2003 Projects. I'm using .Net Compact Framework 2.0 with Visual Studio 2005. The piece of code i post bellow is able to simulate the problem i'm talking about. I just can't see any problems. I've even declarated on the Pocket Project a reference to ...Show All
Visual C# How can I prevent system prompt message to display? thanks!
After launch the following code, I find that a message window which require to insert floppy disk is displayed, only after I close the window, the message "A driver is unavailable!" can be displayed! but I don't wish that the additional message with requiring to insert floppy disk is displayed, how can I do thanks! try { string[] a1=Directory.GetDirectories(@"A:\") ; } catch { MessageBox.Show("A driver is unavailable!"); } ...Show All
SQL Server server is not a subscriber (SQL2005)
Just setup 2 boxes w/ SQL Server 2005 (Developer Ed) (SP1) Server A: Tablet PC running XP (publisher/distributor) Server B: running Win2K (subscriber) Setup replication and recv'd error: 'server B is not a subscriber'. This error is very vague and does not offer any direction to look for a solution. unable to locate help on a solution from online books. thx. for your review and input to this issue..bt ...Show All
Visual Studio Crash when creating new reoprt in VS2005 June CTP beta2
Just installing June CTP beta2, When Create a new report . Once select dataset or "create a new connection ", vs2005 will crash , why ...Show All
Windows Forms How to create dynamic menustrip ?
Hi All , I need to build dynamic menu that depending of the user type . The data can be storage in table or XML file . Thanks In Advance Boaz Shalev. ...Show All
Visual Studio Remote debugging "Access denied"
Trying to access remote machine to attach to it's MDM, get: Unable to connect to the machine 'xxxxxx'. Access is denied. Verify that you are an administrator or a member of the 'Debugger Users' group on the machine you are trying to debug. After being added to the 'Debugger Users' group, you must log off and log back on for the setting to apply. Server (mac ...Show All
Visual C++ How to convert unmanaged Recordset20Ptr to managed IntPtr or to managed DataSet object
Hi all, I am trying to get managed representation of unmanaged Recordset20Ptr. More importantly, I want to convert unmanaged Recordset20Ptr to managed DataSet object, or convert unmanaged Recordset20Ptr to managed IntPtr. I have gone through System::Runtime::InteropServices ::Marshal, and could not figure out how to do this. Can I be helped Thanks in advance. IntPtr is a value type. So you can do this :- IntPtr p = (IntPtr) pIUn ...Show All
Visual C++ time.h(145) : error C2144: syntax error : 'int' should be preceded by ';'
time.h(145): _CRT_INSECURE_DEPRECATE_GLOBALS _CRTIMP __checkReturn int * __cdecl __daylight ( void ); I'm trying to compile my project under VC8 for the first time. This error appears to be caused by the macros _CRT_INSECURE... and/or _CRTIMP and/or __checkReturn. Anyone have any idea why these would cause a problem in the standard library headers I get several of these in a row all surrounding lines containing these macros. Thank ...Show All
