tonn's Q&A profile
Smart Device Development How to add soft keys / menus to Windows mobile 5.0 pocket pc MFC dialog based application?
How to add soft keys / menus to Windows mobile 5.0 pocket pc MFC dialog based application I am able to create the menu resource. But I am not able to add the menu to the dialog as I normally do in desktop MFC application. When I select the dialog properties, it is not showing the "Menu" option where I can specify the name of my menu resource. Please help Hi, The best way to see how the menus need to manipulated in VS 2005 project is to start off with a Wizard generated SDI MFC application. Starting with VS2005 the menus need to be addeded with CCommandBar class. You need to add a CCommandBar member to your dialog class and then use the following code in your Dialog's InitiDialog met ...Show All
Visual Basic VB 2003 & .Net 1.1 - Data Write/Read Issue
Hi, Working upon an embedded application and have conclusively found the following issue. I have an application that was written before in VB6 that has been upgraded successfully to VB.Net 2003. All issues resolved except the following. Previously, we used the Win32 API to make data writes to a logical disk upon the PC. With the current code, we have upgraded to use the FileStream .Net approach to make all data writes and reads. For interest sake, this is an embedded application that keeps some data in a specific logical drive. The issue is as follows, when I power off the PC and power on, the data is being trashed upon the logical drive where it is being written. I am almost certain that the VB.Net approach we have imple ...Show All
Visual Studio Team System Feature Requests: Database subset, Multiple Databases, and Linked Servers
Database Subset This feature request is from a Software Developer's point of view who has to manage his own database tables where there are no Database Professionals to help them with schema changes. The database design at my work groups serveral different "subset" databases into one database. For example, Application #1 uses Tables with "App1_" prefix. Application #2 uses Tables with "App2_" prefix. However, all those tables are inside under "MyDB_1" database. I can't help but I have to work with it. Possibility #1 Since Application #1 is the one I mantain, I want the Visual Studio to only store a subset of the database schema for each individual project. Possibility #2 Or, I want to b ...Show All
Software Development for Windows Vista Have you looked at TIP - "Transaction Internet Protocol"?
SCENARIO Suppose I call the following method in a ServicedComponent: public void DoMixedUpdates() { DoDBUpdateA(); DoDBUpdateB(); CallWebService1ToDoDBUpdateC(); CallWebService2ToDoDBUpdateD(); DoDBUpdateE(); DoDBUpdateF(); } All 6 calls perform DB updates but the middle 2 calls call "plain old" ASMX web services that each then call a component that performs DB update C and DB update D. QUESTION On the current shipping versions of Windows Server 2003, does a) .NET 2.0 with WSE 3.0 or b) .NET 2.0 without WSE 3.0 support the "transactional web service" scenario d ...Show All
SQL Server Desprate..Please Help
I wrote an application using Visual Studio 2005. This app requires a login that get that accesses SQL Express Data. I have an XP Pro box set up as a server using DSL Modem and connected to that is a Wireless hub. I used Network Wizard to set up a Home/Small Business Network on all the computers. My laptop has XP Pro and has Visual Studio and that's where I wrote the application. It's connect to the wirless hub with a cat 5 cable. The other laptop has XP Home Edition and is in another room is connected with wirless only. I set up a user called user1 in SQLExpress with a password. I set it up using MIXED MODE. (SQL server and Windows authentication mode) Connection String: myCn.ConnectionString = "Provider=SQLOLEDB;Data Sou ...Show All
SQL Server Disable Event Logging to Windows Application Log?
Hi, We are starting to work with SSIS in our production environment & due to support issues; we are trying to get rid of the "Package xxx started" log entries inside of the Windows Application Event Log... So far, I have tried many different things, including setting the LoggingMode to "Disabled", as well as adding a new logging reference with a different destination... All of which still do not get rid of the extra log entries... Is this possible & does anyone know how to get this done Thanks! Hi, Unfortunately I still haven't found a way to get this accomplished... At least I'm not the only one with the same problem.. . :) Thanks Bobette.. For now, we are ...Show All
SQL Server clustering and db mirroring
Hi I know there was a previous thread on setting up DB Mirroring and Clustering where DB Mirroring would failover first because its faster than clustering. But is there a way to set up servers to allow clustering to failover first and then use DB Mirroring failover if the cluster node fails. thanks P Not with HA operating mode. Any cluster failover will cause a failover of Database Mirroring if you have high Availability operating mode configured. You can accomplish this with High Performance or High Protection operating mode, but then the failover is manual. ...Show All
Visual Basic problem of controls array in Visual Basic 2005
Hi: I wrote a project in vb6. That project contains controls array and I want to upgrade this project to vb2005 but I have some problems. In vb6: I have array of checkbox When the user check the checkbox It's index = I as integer then Create 3 elements in 3 arrays of combobox All this elements have the same index When I want to determine any combobox by the index of checkbox I will write code like this: For i = 0 To Check1.UBound If Check1(i).Value = vbChecked Then &nb ...Show All
Visual Studio Problems with Visual Studio Files
Having problems with sending/emailing Visual Studio files. Whenever they are opened only the source shows not the actual project. As Ahmed said, explain more please! Do you try to email project's source-code files but you fail to open it , if yes make sure that you include all the project's files, including project file, classes, etc, etc, .... ...Show All
SQL Server SSIS Auditing example
Greetings SSIS friends, Do any of you guys have a link to a website with an example of how to create a solid audit system for SSIS packages Thanks for your suggestions in advance. Hi Rafael, Are you referring to the SQL Server 2005 Data Quality Solutions white paper I already have this and I have also read the section on Auditing but the document is much more high level and I was hoping for a more detailed session on this forum. The white paper mentions creating a schema consisting of perhaps 5 tables (which seem too much for my liking) but perhaps a detailed discussion here might convince me of their usage ...Show All
Visual Studio Team System Package Load Failure
I have Visual Studio 2005 Team System - Developer Edition running on a VPC. It has been working great. All of a sudden I get "Package Load Failure" when I try to navigate from my Team Explorer into the project tree. Here's the full error: Package 'Microsoft.VisualStudio.TeamFoundation.Build.BuildPackage, Microsoft.VisualStudio.TeamFoundation.Build, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {739F34B3-9BA6-4356-9178-AC3EA81BDF47} ). Please contact package vendor for assistance. Application restart is recommend, due to possible environment corruption. Would you like to disable loading this package in the future You may use 'devenv /resetskippkgs' to re-enable package loading. Any i ...Show All
.NET Development Object must implement IConvertable
Object must implement IConvertable MS Data Access Application Block returns the subject error when passing more than one parameter to a stored procedure.Does anyone know a work-around this problem for C# Thanks in advance hello There is no sqlDbType.ShortInt type in sql types so it is not possible for me to change the type.Give me some other way to solve this problem. Thanks ...Show All
SharePoint Products and Technologies MOSS 2007 RSS Viewer's XSL Link not working
Has anybody been able to get the MOSS 2007 RSS Viewer Web Part to work with the XSL Link I have an RSS feed file and a style sheet in the same anonymously accessible location. It works fine if I just point the web part at the RSS feed. If I try to use the XSL link, it fails every time with this error in the logs: RssWebPart: Exception handed to HandleXslException.HandleException System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetXslCompiledTransform() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform() I started by using the default XSL copied from "XSL Editor..." in the web part. ...Show All
Visual Basic Dataset InserAt
Hello, I am attempting to insert a new row into my database into a particular row location. I use the following code. dim newrow as datarow = me.testdataset.test_table.newtest_tablerow newrow("ID") = "33" newrow("CAB") = "44" me.testdataset.test_table.rows.insertAT(newrow, 3) Now, if I check the contents of row 3, ID does = 33. However, once this information is updated and sent to the database file via the tableadapter.update command, the row is placed at the bottom of the table. Why is that Any help would be great Thanks, - Edward I did understand you problem and detailed the issue that the dataset and the database table are NOT ...Show All
Visual C++ Update Single Item In ListBox
Hi All, I have an owner-drawn a list box.I'm drawing the things I required properly. But the problem is I have a timer and I need to update some specific items in the list box. Is there anyway to refresh or invalidate an item in the list box I'm thinking in the way of re-setting the item's text, so it will re-draw no But I think it's a weird logic. Could you please help me in this regard If this is related to MFC, you should take it to the newsgroups. What do you mean by "update specific items" Are you changing the text of certain items, or do you want to draw them differently ...Show All
