sssmith03's Q&A profile
Visual Studio Express Editions Problem porting a Visual C++ 6 application to Visual C++ 2005
I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility Hi! You need to provide more information about your problem. Which library you use - MFC, ATL, WTL, STL... or clean Win32 API What function not working ...Show All
Microsoft ISV Community Center Forums passing data from a form to a module
I have the following module Option Explicit Public Currency_Sold As String Sub AutoShape1_Click() UserForm1.Show Cells(10, 11) = Currency_Sold End Sub In UserForm1 I have Public Sub OK_Click() Currency_Sold = Currency_Sold_Code.Value MsgBox (Currency_Sold) Unload Me End Sub When I clik on the AutoShape1 button in the spreadsheet I do get the correct value of Currency_Sold in the MsgBox, but it i ...Show All
Visual Studio Express Editions Playing Avi's w/Window Media Player.
Hi, I want to play AVI's with Visual Basic 2005 using the Windows Media Player interface. I made and APP. inserted the Windows Media Player control and work fine. I did pass the AVI want to play by software and want to know by software how to Stop, Play, Pause, FF, RW, get the current position and play an AVI file from a specify position. All help is appreciated Thanks, http://msdn.microsoft.com/codin ...Show All
SQL Server Suspend All Transactions for a Split-Mirror Backup Strategy?
We currently use a split-mirror backup strategy for our Sybase database, which has a "quiesce database" command to suspend all transactions. By quiescing the database before splitting the mirror, we suspend all transactions to ensure we get a stable backup of the environment. It works very well for us and I'm trying to understand how we could implement this with our SQL Server 2005 DB. (I'm aware of SQL Server mirroring and that there are other ...Show All
Software Development for Windows Vista Beta 2 Installation Problems (Package Load Failure)
I just finished installing beta 2 of workflow foundation and when I open up Visual Studio I get: package load failure microsoft.workflow.vsdesigner.designerpackage I'm running XP sp 2, VS 2005 pro, and all the feb ctp winfx bits. All the installations completed without error. I tried repairing the orcas dev tools install and the 2005 extensions for workflow install but it didn't help. I was ...Show All
SQL Server import hierarchical data
hi folks, I have to import hierarchical text files like: 32;country;city;postalcode;street 21;name;firstname;salutation;title;age;nickname 21;name;firstname;salutation;title;age;nickname ... additionally I have to eleminate doubles. what is the best way for this problem I have set up a flatfilesource with two columns and a conditional split on the first column so now I have an output with [country;city;postalcode;street] and one with [name;firs ...Show All
.NET Development Multiple monitors support
Hi guys, What is the .NET way of determining multiple monitor configuration and positioning windows on different monitors Thanks in advance, Genady In general you don't have to worry about multiple monitors. They simply work. If you want information about a multi-monitor system then the System.Windows.Forms.Screen class is what you want. Within this class is the AllScreens property which contains an instance for eac ...Show All
Visual Basic Wierd error message with Access DB
Hi all, I have this wierd error message that I get when I use my DataAdapter.Fill function. The message is : "No value given for one or more required parameters" I just Cant figure it out, here's my fuction Dim strSQL As String Dim cmdSelect As New OleDbCommand dsIPBs = New DataSet 'Verification de l'existence du chapitre dans la BD strSQL = "SELECT * FROM PN Where PART_PK = '" & gIPB.PARTNO & "' AND N ...Show All
SQL Server Wishlist: MOST WANTED Tasks, Sources, Transformations, and Destinations?
Until there's an Integration Services 2.0, what custom components would you most like to see examples of The documentation team is starting work on the 2nd Web refresh of Books Online and SQL Server samples, anticipated for release around April, and may be able to incorporate some requests as samples or BOL topics. I scanned Kirk's "Requests" thread and, although many requests are for tweaks to existing SSIS widgets, I noted the following ...Show All
Windows Forms Visual Inheritance and Abstract Classes
Does anyone have a better way of doing this The designer fails if I have any forms or controls declared MustInherit. So typically what I find myself doing instead of having MustOverride members is having Overridable members that throw exceptions& ...Show All
Visual C++ generic class objects in function template
I have a MS 32-bit C/C++ compiler version 12 installed on my PC running MS Windows 2000. I have a problem with compiling a C++ program containing a function template which takes more than one generic class objects. e.g. a fragment of the C++ program: ***********************************************8 ... namespace { template<class spec1, int sz2> class tclass2 { int ii[sz2]; spec1 sp; public: tclass ...Show All
SQL Server SQL Server 2005, Parameterized Filter: Snapshot could not be applied
Hi My merge replication (over Web) has been working fine. But since two days, I've got the following error: If I'd like to reinitialize a subscriber or add a new subscriber, the following occures (on the client side): Client connects to the (Web) server All the snapshot files are loaded down to the client The client tries to apply the snapshot (to a blank database), but then, the following error occures: (Translation from German) Microsoft SQL ...Show All
SQL Server SP_MSTableSpace
Hi All most of us <SQL Server Developers> have been in a case the we require to know How many rows in a specific table and it is too easy just run a select count(*) from TableName to achive this . But that statement does a full scan to the table consuming a big time if the table have too many rows. Well the SP_ MSTableSpace retrives the number of rows in no time and it returns also the space use by the data stored in thi ...Show All
Visual Studio Express Editions datagrid view column name
well yes that is an option but i am using different sql statements every time thus it takes time to alter every statement so what i really weant is that at the load of the gridview i would like to change the column name from the db to my customized column name so that the grid_load checks for them just once and alters the names as and when they occour is this confusing... by the way thanks for ur reply one more thing i have a dropdownli ...Show All
Visual Basic Can you create an enum for strings
Is it possible to create an enum list for strings Example, I would like to have a selection of status codes which are "CS", "BP", "MT". And I would like to be able to specify this parameter type in a function call. As far as I know you can only create enums for integers. Currently: Public enum MyStatus stCS = 1 stBP = 2 stMT = 3 End enum I would like: Public enum MyStatus stCS = "CS" stBP ...Show All
