SCaRa56195's Q&A profile
Visual Studio Team System Implicit constraints, Pre-defined constraints, User-defined constraints
Please could someone explain to me the differnece between the following: Implicit constraints Pre-defined constraints User-defined constraints As I understand it, Implicit Constraints seem to be those that come with an object when you drag it onto the designer. There is a list of implicit constraints, somewhere e.g. SupportsASPNET, SupportsASPWebApplications, SupportsStaticContent, AuthenticationModeConstraint. Where in the system do I find these objects Pre-defined constraints - these are pre-defined in what sense User-defined - these are User-defined in what sense Why is there a node named User-defined on t ...Show All
Smart Device Development WINCE400\OTHERS\SAMPLES\MFC Where is it?
The following is stated at this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_wcemfc4/html/aforisampleprojects.asp Sample applications show how to use MFC for Windows CE classes and demonstrate some of the differences between MFC for Windows CE and the standard desktop version of MFC. You can choose File | Open in the eMbedded Visual C++ IDE to open any of the samples in the WINCE400\OTHERS\SAMPLES\MFC folder. Sample applications include the following: I have searched for a couple of hours and cannot find these sample anywhere. Please send me a link where these can be downloaded! (and perhapos make a n ...Show All
Software Development for Windows Vista frame grabbing via directShow for windows mobile
Can anyone tell me what directShow filter would help me grab frames from a video being captured by a phone camera I use the windows mobile for pocket PC SDK for development. I heard that SampleGrabber is the standard filter used but I cannot find it in the above SDK. Is there an alternative Sample Grabber is the only filter I can think of. IIRC, it is implemented in qedit.dll, which may not be available on mobile. Failing that, I would think you would have to write your own filter. ...Show All
Visual C# WebRequest and System.ArgumentException
Hi! How is it possible to fetch such urls like these: http://ad.doubleclick.net/ad/N2886.MSN/B1674003.15;sz=728x90;ord=6652 I get this error: System.ArgumentException: Illegal characters in path. ... try { WebRequest req = WebRequest.Create(url); if (req != null ) { res = req.GetResponse(); if (response != null ) { remote = res.GetResponseStream(); byte [] buf = new byte [1024]; &nbs ...Show All
Windows Forms Slow processing for Databound Combobox
Hi, My application is terribly slow loading. After starting at the top and working my way down to find the bottleneck, I determined the real slowdown is after I retrieve my data and set the datasource for my combobox. Here is the code. Private Sub LoadStaff() ' Load the drop down combo box on Task Bar Dim StaffDBCommand A ...Show All
Visual Studio Tools for Office How to invoke the events in Business Contact Manager(Outlook addin)
I want to know that can I program the events in BCM(Outlook addin) like item_add event for adding contacts and updating them through item_update. Its not working for BCM at my end. Please guide me how could I achieve this task. Thanks in advance, Peeyush Agarwal Peeyush, I'm sorry you are having trouble with this BCM issue. It is helpful to remember that this forum is mainly for issues that directly pertain to the Visual Studio Tools for Office tools per se. So you will be best served by posing this question to a forum or newsgroup wholly dedicated to application-specific issues such as yours. Here ...Show All
Visual C# Reading file digital signature details
Hi all, Do you know any way to read the detals of a digital signature of a certain file. I receive files with digital signatures, I want to read the details of the signatures and insert them into a database. Please help... Regards... Different files formats use different ways for Digital Sigunatures and different encryption algorithms. Unless you know which algorithm is used you will not be able to decrypt the file. All file formats support signing differently. Word has a different way, PDF has a different way. If you are going to deal with Word and PDF then you should look at both the Word API's and the A ...Show All
Visual C++ MySQL and Visual C++
I am writing a program that can connect to a MySQL server running on the localhost and perform basic database operations. I have extensive experience using MySQL and PHP but never with C++. I am currently using ODBC to connect. I have downloaded and configured the MyODBC driver version 3.x (not sure about the version) I am creating an instance of CDatabase which allows me to connect just fine. Is it neccesary to use the functions found here http://msdn.microsoft.com/library/default.asp url=/library/en-us/odbc/htm/odbcodbc_function_summary.asp Are there any examples or tutorials available on using this method Is there a better way to do thi ...Show All
Visual C++ Binary Compatiblity
Hello, Is the VC++ Express Edition binary compatable with the Full Versions of Visual Studio In this context, what do you mean by binary compatible Are you wondering if libraries built or used by in Express or the higher versions are compatible with the other versions If so... yes. All the Express editions use the same underlying systems as the higher versions, the primary difference is that the Express versions don’t come included with all of the extra tools that the higher ones do. ...Show All
Windows Forms Menu makes application non-responsive
In my application, I launch a subroutine from a different thread (using the form's invoke function). Normally, this works very well. However, if the user has his finger on a menu item when the subroutine is invoked, then the whole application becomes non-responsive until the subroutine is complete. Is there any way to avoid this Yes, th ...Show All
Smart Device Development Split screen in native
Is it possible to split the PPC screen so that an application can be running on 3/4 of the screen, while a custom tool bar remains visible either above or below it I need this badly; I hope it's possible... Thanks, Pete M Hi, When you say custom toolbar do you mean a tool bar in the application If that is the case then that can be done with a toolabr in the main frame window, while you use the view for displaying the actual window. Thanks ...Show All
Visual Basic Problem with msgbox
I have a problem in VB.Net with the msgbox function. When it runs, it does not always display. Sometimes it just pops onto the taskbar, but and I have to click it to get it to display. The msgbox is coded as follows: Dim Reply As Integer Dim style As MsgBoxStyle style = MsgBoxStyle.YesNo Or MsgBoxStyle.Question Or MsgBoxStyle.DefaultButton2 Reply = MsgBox( "You have made changes to this record, do want to save them " , style, "Cancel" ) If Reply = vbYes Then SaveRecord() End If This is a Web based project You cannot show a message box with a web ser ...Show All
Smart Device Development Memory problem using GetAdaptersInfo?
Hi, I'm programming on a Samsung i730 with evc4. I've been monitoring memory usage when calling GetAdaptersInfo and I've noticed that it will randomly bump up the memory anywhere between 0-8192 b reguardless of the results I get. I do not know how to recover this memory. Since my program will be calling this function often, it will slowly consume all the memory. Does anyone know why this might happen Here is some code: IP_ADAPTER_INFO* aInfo= 0; ULONG size = 0; DWORD result = GetAdaptersInfo(aInfo, &size); ... delete [] aInfo; after this, the memory use can go up by any of 0, 4096, or 8192 bytes (bits ) Any help is much a ...Show All
SQL Server How to change from SQL Server Express to Database.mdf connection
Hi, I've created a SQL Server Express Database that is used by an ASP.NET 2.0 application (developed using VWD Express). I would like to be able to: Make changes to stored procedures, views and table structures while developing/testing ASP.NET application - which, ideally, needs a SQL Server Manager Studio Express connection and Upload my application and data to a database on a network - which, ideally, needs a direct Database.mdf connection. I know that I need to change my connection string - and am able to achieve that with ease - but I'm not sure what the best way of switching between the two ways of attaching on the ...Show All
Visual Studio Team System LISTITEM filter for groups
Hi! In TFS I have a project named 'Test'. In the Bug-workitem xml I added this code under WORKFLOW: < STATE value = " Being_Fixed " > < FIELDS > < FIELD refname = " System.AssignedTo " > < ALLOWEDVALUES expanditems = " true " filteritems = " excludegroups " > < LISTITEM value = " [Test]\Contributors " /> </ ALLOWEDVALUES > </ FIELD > </ FIELDS > </ STATE > In the 'AssignedTo' definition <VALIDUSER/> is defined. The problem is that I cannot witimport my new schema to TFS, error message is this: TF26204: The account you entered is n ...Show All
