agiudici's Q&A profile
Visual Studio Hiding Explicit Interface Implementations
I could have sworn that somebody has asked this before, but I don't find the thread anymore and I can't remember the answer... Is there a way to hide explicit interface implementations from the documentation generated using Sandcastle I'm guessing that Eric Woodruff is going to read this at some time. Eric, do you have any plans of adding an option to your Sandcastle Help File Builder that enables users to toggle this on or off I don't get this impression that this is currently done (but I might be wrong). Regards, Michael ...Show All
Visual C++ SNMP Set issue.
Hello! I am developing an SNMP application using the WinSNMP APIs. I have been able to query the resource using the SnmpSendMsg(). The Pdu_type was set to SNMP_GET_PDU. Now that i have to "Set" the value for the object, i have used SNMP_SET_PDU flag. But the confusing part is that i am not sure where and how to put in a new value that needs to be set. Does the new value need to be put in the 'varbindlist', at the index following the OID Please suggest the right approach. Also, could anyone please elaborate on the VarBindList in brief. As, till now i only know that it is used to send the OID. Waiting for reply. Hello Re: SNMP Set issue. Such questions are outside the scope of this fo ...Show All
SQL Server Navigating From Graphs
Hello Is it possible to navigate by clicking on a graph to another report. If so how Thanks Inder Open the Chart Properties dialog box, go to the Data tab, and edit the data point properties. This opens a new dialog box. On the Action tab, select Jump to report and specify the target report as well as drillthrough parameter value expressions. -- Robert ...Show All
Smart Device Development Debugging ATL Project ...
Hi There, I'm writing and SIP ... so i use ATL .. as u know the output will be an .DLL file ... When i run the project in VC++ 2005 and in debug mode VC++ 2005 will register my dll in Emulator successfully but show me this warning: "non-executable project cannot be started directly. please set a command to start debugging this project." what kind of command do i need that make me able to debug the project ! Regards, Normally you debug an ATL project by launching or attaching to an executable that instantiates a COM object contained in your project. E.g. for ActiveX projects Pocket IE is often used as a debug vehicle. Unfortunately in case of SIP ...Show All
Visual Studio 2008 (Pre-release) Would it be hard to add support for SQL IN (...,...) ?
i.e. string[] cities = { "London", "Paris", "Seattle" }; var query = dataContext.Customers.Where (c => cities.Contains (c.City)); LINQ to SQL gives this error: NotSupportedException: Queries with local collections are not supported It should instead convert this query to: select * from customers where City in ('London', 'Paris', 'Seattle') Without this kind of support from LINQ to SQL, what it the best way to support what Joe is trying to achieve, where a field is to be compared to a dynamically provided small set of values ...Show All
Software Development for Windows Vista HandleExternalEvent fires but blocked field of instancestate table is not updated
Hi, I have a workflow with a ListenActivity, two eventdrivenactivities. The first is a handleexternalevent activity and the second is a delay activity. The host start the runtime (with SqlWorkflowPersistenceService, SharedConnectionWorkflowCommitWorkBachService defined in the app.config file), start the workflow. The workflow becomes idle, so the instance is inserted in the instancestate table with Status=0 and Blocked=1. After workflow started, the host check if there are less than 3 workflows of the same type running. If yes, the host send the external event to the workflow to execute activities after the HandleExternalEventActivity. This works fine, but the instancestate table is not updated with blocked=0. So, if the hos ...Show All
SQL Server Foreign Key - ON DELETE RESTRICT
Hi Are there any way to use foreign key in MS-SQL Express with ON DELETE RESTRICT like other databases Best Regards Igor Sane ...Show All
Visual Studio Team System Script INSERT statements for static data?
Hi, Following scenario - after importing database schema to VSTS4DB, I want to create a new static table called Countries with some data inside. I create a Table script (CREATE TABLE Countries ...) without a problem, and when I build I see the CREATE TABLE statement in the generated build script. I would like, however, to include also some INSERT statements, so that the static table can be filled with data as well. I tried to add a Script file to the solution, but whatever I write inside does not get included into the generated build script. If I include the INSERT statements directly in the Table script, they get ignored. How can I include INSERT statements into the generated build script It would be nice if there is a poss ...Show All
Smart Device Development How to get pixels from Picturebox
Hi, I'm developing smart device application by using CF1.0 on VS 2003. I need your help. I've a code for drawing objects (Rect, Circle, String, Image) on PictureBox. what my question is how to copy/get Pixels particular part of area and display its in another PictureBox. Please send your suggestion or links. Thanx. M. GANESAN Hi, Thank you Moayad Mardini . Yeah your code now it works well. By your code i knew one information what it is how to draw shapes on the picturebox through any event. till now i thought its not possible to draw, and only i draw thru PictureBox1_Paint() event. Again I say thank you. Thanx M. GANESAN ...Show All
Visual C++ System namespace ambiguity problem
Hi, I'm new to Visual c++ and can't solve this problem. I'm writing a Windows Forms application and also have to use FMOD library to process audio data. This Library has a class called System. Unfortunately, System is also a global namespace which I have to use in Windows Forms. If I use, in the same file, the FMOD and System namespaces I get a lot of ambiguity errors (error code C2872) telling me that System is an ambiguous symbol because it could be System or FMOD::System. How can I resolve this problem Brian Kramer wrote: Are you compiling any of your code with /clr Here is the documentation for LNK4248: http://msdn2.microsoft.com/en-US/library/h8027ys9.aspx Make sure FMOD_SYSTEM is actually ...Show All
.NET Development multiple stored procedures using SQLCommand
Hi guyz, I wanted to call multiple stored procedures using SQL Command. How will I do it I'm actually thinking of creating two instance of SQLCommand but I'm thinking there might be a better way to do it. I'm looking around the internet but there's no sample. Can someone give me an advice with this Basically, the two stored procedures are related with each other and I want to lock it with SQLTransactions commit or rollback but I don't have any idea on how I will implement it. code: SqlCommand cmd 1 = new SqlCommand( "sp_InsertSample", conn); cmd1.CommandType = CommandType.StoredProcedure; cmd1.Parameters.Add( new SqlParamete ...Show All
Windows Forms numerical textbox
dear all I want to have a textbook with only number entries allowable in it. When a non numeric character is enteredm it shouldnt do anything. I tried using the masked textbox but the problem is if we select only numbers in the properties for the mask, we can still enter digits anywhere in the middle like... 12 45 as a single number with a space, can someone suggest. I want the textbox to be from left to right and ’no spaces allowed. thank you in advance, cheers, prasad.. RizwanSharp wrote: We dont need to publish a book when this facilty is provided by .Net itself! See my code it does the same job as yours! Best Regards, Rizwan Please ...Show All
Visual Basic How to add a control in a TableLayoutPanel ?
I create some controls in a TableLayoutPanel (some buttons in my case) at runtime, but I'd like to catch the associated event handler (I'd like to do something when the button is pressed) How can I do that Thanks a lot for your help Regards, Ch'Portos. Take a look at the AddHandler and RemoveHandler methods. eg Dim b As New Button AddHandler b.Click, New EventHandler(AddressOf Me.ButtonClick)) If you need anymore help, let me know Richard ...Show All
Visual C++ Creating a common resource
I am creating an application to perform common statistical functions. I have created algorythms to execute the necessary steps in performing these functions. They are very common and I would like to centralize them so that I don't have to keep recreating them. I am a bit rusty in my C++ so I need a quick refresher here. My question is, would I create a cpp, h, or dll file to store all these functions under one class, say called Statistics Second, where do I store this file so that my compiler can find it I am running Microsoft development environment 2003, version 7.1.6030, Visual C++ .Net. The cpp and header files I can create, and I assume I do not need to compile them. I have never made a dll file, although I do understand wha ...Show All
.NET Development Simple Question Regarding VB and MS Access
I believe I already know this answer but since I'm a noob with programming, thought I'd ask. If I create a VB 2005 application that queries a small Access database, does the person I send the application to need to have Access installed to use the application I appreciate your time! Doug Actually you will need the Jet database engine, which is not installed with MDAC. In newer versions of the Windows OS (such as XP), MDAC and Jet are already installed. ...Show All
