Philippe Cand's Q&A profile
Smart Device Development Standard SDK in WinCE 6.0
Hi All, Is there any Standard SDK for Wince 6.0 as there was in WinCE 5.0 If there is, can anybody provide the link Is that integrated in VS 2005.. THen how it can be used for app devolpment like smart device mfc_ application. I am trying to make an samrt device MFC application using VS2005. The VS2005 gave Pocket PC 2003 + some other ones( I had Windows Mobile 5.0 SDK's) as SDK. But i wanted to make my own SDK and make it work. Why I wanted this way was that, I have created an OS image ( I had given set sysgen_mfc=1). Also I created a sample SDK. So I can build my smart device application using sample sdk , Then download the image to Intel PXA (Mainstone) board. Now i can make the application work fine and for debugging the same ...Show All
Microsoft ISV Community Center Forums Worksheet.Copy causes execution to stop
Hi I am experiencing an odd behaviour from my VBA code in Excel. I have some code that has worked until recently. We have gotten XP instead of win2k, which i could suspect is causing this in some strange way. My problem is that i have the code below. In the line where i say Worksheet.Copy, the execution simply stops. No errors appears, nothing. <CODE> On Error GoTo ERROR: Worksheets(SN_MonthYearAct).Copy After:=Worksheets(Worksheet.Count) .... ERROR: MsgBox(Err.Description) </CODE> The variable SN_MonthYearAct is a constant containing the string "MonthYear Act", and a sheet with this name does exist. Worksheet.Count returns currently 8, and there are 8 sheets in the workbook. I have trie ...Show All
Visual Basic CallBacks, or what do I really need?
Hello! About your request Public Class xxForm Public zPanel as New xxPanel End Class Public Class xxPanel Public zLabel as New xxLabel(Me) Public Property Ticker() As Long End Class Public Class xxLabel Private zParentPanel as xxPanel (<constructed in New(xxPanel) sub) Me.Text = zParentPanel.Ticker.toString End Class you can easily use the idea of events for example if i have a user control that uses n-Label the question is how can i handle the event click for example the answer is by using The AddHandler and here in ur clase xxPanel , u can use this Public Class xxPanel Public zLabel As xxLabel Public Sub New () zLabel= New xxLabe ...Show All
SQL Server The product level is insufficient for component when executing package using C# code.
Hi, I have created a Integration Services package that takes a table in a database, and transfers it to a flat file. This package has successfully run through visual studio 2005 as a .dtsx package, and given the output that I expected. However, now, I am trying to excecute the package (as xml) using C#, and I am receving this error: Error in Microsoft.SqlServer.Dts.Runtime.TaskHost/DTS.Pipeline : The product level is insufficient for component "Flat File Destination" (31). I do not understand how a working package would have this kind of error. Considering that it runs when I do not use C# code to execute the package means that I have SSIS properly installed, and I have the proper versions (or it should not execute ...Show All
Windows Forms How to bind a DataGridViewComboBoxColumn?
Hi! I'm trying to add a combobox in my datagridview, but i can't show any value. I have two DataTables, A and B. I want that the DataSource of my DataGridView be A, and the DataSource of the DataGridViewComboBoxColumn be B, so i can select any value from B in any value in A. I try: dvg_variantes.DataSource = A; DataGridViewComboBoxColumn col = new DataGridViewComboBoxColumn(); col.HeaderText = "Nexos"; col.Name = "Nexos"; col.DataPropertyName = "ID"; col.DataSource = this .B; col.ValueMember = "ID"; col.DisplayMember = "NOMBRE"; col.ReadOnly = true ; Debug.Print(col.Items.Count.ToString()); // --- > 0 dvg_variantes.Columns.Add(col); } I think that the problem is DataPropertyNa ...Show All
Visual C++ call wrappers and function addresses in DLL's
Hi, I'm having trouble with C code that stores the addresses of functions that come from DLL's. The problem is I don't get the same value if I take the address of a particular function from two different DLL's. I can see that this is ultimately because the value my C code gets is actually an address in a jump table and my program has more than one one jump table. Here's my situation: .exe doesn't do much, just implicitly linked to DLL A which does all the work DLL A explicitly (calls LoadLibrary) on DLL B. Runs a routine in DLL B by calling GetProcAddress() etc, I'll call this initB() DLL B is implicitly linked to DLL A. When initB() is called it stores the address of a function inside DLL B in a list. I'll call that routine fu ...Show All
Visual Basic auto hide toolstrip
Hi, I am trying to create a beautifull program interface using VS2005. I plan to create autohide toolstrip, but i can't fing how. Anyone know to do this, please kindly help me thank you Private Sub Form1_MouseMove ( ByVal sender As Object , ByVal e As System . Windows . Forms . MouseEventArgs ) Handles Me . MouseMove If Me . ToolStrip1 . Bounds . Contains ( e . Location ) Then Me . ToolStrip1 . Visible = True Else Me . ToolStrip1 . Visible = False End If End Sub ...Show All
Windows Forms Trouble handling keypresses.
Hi. I'm having a great deal of trouble handling keypresses. On my Form I have a mixture of standard, overridden and custom controls. I need to direct keypresses and look for hotkeys and stuff, and I also need to explicitly handle down and up events separately. I'm really stuck with this! I want to capture all keys including arrows and tab, and this is proving to be a major sticking point. By implementing event handlers on the form I can capture most events, but not the arrow keys since these are 'control' keys. When I try to do things like override IsInputKey or ProcessDialogKey I get no result. This seems to have something to do with either the use of custom controls, or my Tabcontrol control which seems to hog the arrow key events no ...Show All
Windows Forms Question about how show different display panes
I'm sorry for what is probably a simple answer and probably not a very clear explanation of what I'm attempting to do. I'm trying to understand how to create a program that can display different information in a main window pane. For clarity and as an example, I'm trying to understand/clone the way Outlook functions. When you click on a button the main pane as I call it changes, either your mail displays, or your calendar displays, or, well, you get the idea. Do I create, place, and destroy programmatically in code each control that I want to display based on the button pressed Is there a way to layout the controls for each sub-form that I want to display in the main window form so I can see the layout in real time and not through ...Show All
Smart Device Development Maximum class / method / application size ?
I am having a problem with my Compact Framework application which is very hard to track down.Specs are WM 5.0, CF 1.2, VS 2003. The situation is this: I have a form class which uses the OpennetCF Signature control. It works fine up to a certain threshold point. After that point, I add another control to the form. It does not matter what type of control I add; it causes the same symptoms. Once this control is added, the class (or whatever) seems to be too big. There are no compile-time errors. However, when the code comes to use the Signature control in any way, I get a Null Reference Exception as if I never instantiated it. The strange thing is that when I remove the offending control by deleting it off the form and bring the application ...Show All
SQL Server Packege success, despite task failure
Hello, When I run my package, a task will fail, however, the package will claim that it was successful. Why is this, and how can I trigger a failed package when one task fails Thanks in advance. Look at your package execution properties. You will see the "Fail package on Failure" option. The package claiming that it is successful is odd. You might want to also look at the "Maximum Error Count" property (again at the package level) to make sure you haven't set it higher than 1. Look at the "Force Execution Result" property also to make sure you don't have it set to "successful". Hope this helps. ...Show All
Visual Studio Express Editions Word 2003 and C# Express 2005
Dear Consultants, Do someone know how to work on word 2003 document through Microsoft Visual C# Express 2005 I am interested especially in cut and paste of text from document to document and macro initiation from out side of word. Sincerely yours Ron I think you may have to use the COM Interop approach. Install the PIA/office SDK. Also your destination computer must have the Word application installed in order to work this. Office 2003 PIA: http://www.microsoft.com/downloads/details.aspx familyid=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&displaylang=en http://msdn.microsoft.com/library/default.asp url=/library/en-us/stagsdk/html/stconWhatArePIAs_HV01083418.asp &nb ...Show All
Visual Studio Express Editions database
can u help with the display data, i have one mdf tha manages all the employees, but i'd like to show only one category... i searched the web and i found a look and find method but it didnt work.. how can i do do u know where to find an example... kisses there are also many examples on the forums on how to retrieve data and databind them to a bindable control and perhaps even show a specific column :-) Here are some links which hopefully will guide you to the right points: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=753872&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=728535&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=632326&SiteID=1 ...Show All
SQL Server Silent install new SQL Express instance via MSI
I'm currently building an MSI to install SQL Express and want to install as a new instance, not the default instance, and not into the SQLEXPRESS instance either. I saw the package.xml for Express in my VS Studio install. How would I go about using this Or would I have to modify the MSI via Orca or something I hope not. Wouldn't have a clue where to start. In short, regardless if there is already an SQL Express instance on the machine or not, I need to silently install a fresh new instance of the server engine only, no client tools except sqlcmd.exe I have seen that MS would advise that everyone use the SQLEXPRESS instance but I don't agree with it. I don't want other application installs trampling over my server settings and I do ...Show All
Visual Studio Testing an Itemgroup in a Propertygroup Condition
Hi, Is it possible to test an element within an itemgroup from a property group I tried but its not evaluating and I know my systax is right there is no errors during a build. e.g. < ItemGroup > < ConfigurationToBuild Include = " Release|Any CPU " > < FlavorToBuild > Release </ FlavorToBuild > < PlatformToBuild > Any CPU </ PlatformToBuild > </ ConfigurationToBuild > </ ItemGroup > < PropertyGroup Condition = " '$(ConfigurationToBuild.FlavorToBuild)'=='Debug' " > < DeploymentServer > Radon </ DeploymentServer > < DeploymentSharePath > DeploymentTargetDEV </ DeploymentSharePath > & ...Show All
