Toni Chaffin's Q&A profile
Visual C++ Controls of my dlg do not have XP style.
Hi all, Its dialog based MFC application. My problem is, controls in my dialog do not have XP style. But in VC++ IDE's design mode, all buttons, edit boxes have XP style. I hope you understood what I asked, otherwise send me your mail-id I can send dialog's appearance in BMP image format. Thanks. :) Purusothaman A You are missing a manifest for your application See using Windows XP Visual Styles ...Show All
Visual Studio RegexMatchStringConverter
Any help with this converter would be greatly appreciated. I have done the google search and search of this forum but no luck. The chm does not have docs for the ...Library.Converters namespace ... so, I am hoping someone can be of assistance. Ideally I would like to use it in a recipe declaratively. < Argument Name = " DocumentationFeedbackEmail " Type = " System.String " Required = " true " > < Converter Type = " Microsoft.Practices.RecipeFramework.Library.Converters.RegexMatchStringConverter, Microsoft.Practices.RecipeFramework.Library " /> </ Argument > How does one specify the actual RegEx Thanks in advance! Also, if a chm is available for the Library.Con ...Show All
SQL Server Transaction causes hanging of SSIS
Hi I set TransactionOption=Required for my SSIS package. In this package, 2 tasks are included, one is execute sql (TransactionOption=supported) 2nd is DataTransformation Task (TransactionOption=Supported) But it hangs on the execute sql task itself! Didnt find any reason 4 it so far! Use sp_who2 to see if there is any blocking occurring on the server. If there are any processes getting blocked by spid=-2 then you know MSDTC is causing blocking. -Jamie ...Show All
Windows Forms Adding new column to an Access database
My application works with an Access database that contains valuable production data. I need to add a couple of new columns to one of the tables, but don't want to trash the user's data. At startup, I would like to check the existing database for whether or not it has been modified and, if not, add the new columns. What is the best way to do this Thanks for the reply. As I said in my initial posting, this is a production application with an active user base, otherwise I wouldn't have to worry about the impact of revising a table's structure. I certainly can't switch to XML, at this juncture. ...Show All
Visual C++ About this Forum
I read the heading of this forum, which says " General questions about Visual C++ 2005, including the development environment, libraries, setup, debugger , samples, and documentation." Seeing the word "debugger," I asked a couple questions about the VS2005 debugger, and they were both moved to a debugging forum. In which case, I wonder why the word "debugger" is part of the description of this forum. Anyway, the questions being moved wouldn't be so bad, except that nobody has answered my questions on the much lower traffic debugger forum. The questions can be found here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=658102&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=654161& ...Show All
Visual Studio 2008 (Pre-release) Distinct extension method : different result with anonymous type or "static" type
Hello, I need to return the result of LINQ queries across layers (even between components of the same layer, or from a method call) : as stated in this post , the only (maybe am I still wrong ) safe manner is to return an IEnumerable of what Keith called a “Data Contract”. The problem I got now is that I want to “filter” my result-set with the Distinct() extension method and see that the behavior is not the same if I use an anonymous type (method 2 in my code) or a type I explicitly define (method 1). I think that it is perhaps because anonymous types use some kind of default IEqualityComparer, different from the one used with my defined type. Am I correct If so, how can I use the Distinct() signature with an IEqualityComparer I ...Show All
SQL Server Help with SQL
Hi, i hope i posted int he appropiated forum. I hope you can help me with an sql sentence i dont know how to do,... The problem is that i have a database with fields like this: name, adress, etc.... , phone number but sometimes, i get them like this: paul, ... street... , etc... , 776509332 paul, ... street... , etc... , 234536445 paul, ... street... , etc... , 567847345 The client si the same, but he has more than one phone number.... I need to do, somehow, another table that makes this kind of duplicates to dissapear, and joins the phone numbers in an unique field for that person, so it will in the end look like this: paul, ... street... , etc... , 776509332 234536445 567847345 Can anybody help me Thanks ...Show All
SQL Server Problem when exporting data into Excel file from SSIS
I have problems when exporting data into Excel file from SSIS. It all works fine with numeric columns but an apostrophe is attached at the beginning of each text cell. I tried using derived columns and data conversions but it didn't work. It seems to me that problem is in 'excel destination' task... I saw many people had this kind of problems too... Is there any solution possible Thanks. Export that data to a CSV file from Excel and you'll find that the tick does not exist. I believe you'll find that the 'tick' is just an Excel display feature. It's not really part of the data. ...Show All
SQL Server distributed install - connection error
we have a sql server 2005 reporting services distributed installation db server has: sqldb01\dev, sqldb01\tst, sqldb01\beta web server is TestWeb01. This had dev, tst, beta installations of report server all reports are working ok except on beta. Beta was setup just a couple days ago so it has not worked thus far. all reports use a shared data source on beta(just like on dev and tst) here is the error on beta for all the reports: any idea (SQLDB01_DEV is not the shared data source name. SQLDB01_DEV was used by the developer when creating the report. But this should not matter right The report should ignore this and use the shared data source i assume ) An error has occurred during report processing. Cannot cre ...Show All
Visual Basic The Instruction at Referenced Memory at (XXX) referenced memort at "xxxx" The Memory Could not Be Read
Hi, I have migrated a VB6 application using VS2005 upgrade wizard. The application is running but while closing the application I am getting the error "The Instruction at Referenced Memory at (XXX) referenced memort at "xxxx" The Memory Could not Be Read" Please help me to resolve the error. regards Mano Hi, Please let me know the steps to attach the unmanaged debugger & how to turn on the first chance of exceptions Thanks & Regards Mano ...Show All
Visual Basic COM interop using exe instead of dll
hello, i have a program that is used both as an exe, and as a COM dll instantiated in a VB6 program. maintaining this has been a pain in the butt, so i would like to know how i can just use the exe and not have to compile the dll at all. i have made my exe COM aware, but everytime i try to instantiate it i get an error. do i have to use regasm to accomplish this task all th docs discuss dll's, and do not explain anything about exe's. please give an example if possible. I have tried this: compile exe run regasm to create tlb (regasm myprog.exe /tlb:myprog.tlb) but reference in vb6 causes errors. does not cause errors with dll. thanks, Daniel Unfortunately, .net doesn't support the no ...Show All
SQL Server Configurations and Child Packages
Hello, I was hoping someone might be able to clarify how configuartions work with child packages. My process has 3 levels of packages. The main packages called two child packages each of which calls more child packages. I'm using Configurations to pass variables from parent packages to child packages. But each level of packages contains Data Flow Source/Destination connections. I was planning on having only 1 XML Configuration file in the main package that would allow the data connections for the main package to be configured for the target enviornment. When the job is scheduled I will be able to point a configuration file for use with the main packages. But will that configuration file be applied to all child packages that will ...Show All
Software Development for Windows Vista Windows Vista other versions.
Hi, I downloaded windows vista RC2 build (v5744-16384) from microsoft connect site and installed in my PC. It is installed only Windows Vista Ultimate Version. Is there any option for installing other versions like Home Basic, Home Premium etc., Note: I downloaded Windows Vista (v5744-16384) FAQ document also from microsoft connect site. In that document, they have mentioned about all the versions of windows vista available in the v5744 build. But, i am not able to find any other versions. Thanks in Advance. Regards, dotnetsekar. Hi Kitzo, I followed the steps from Mike Danes reply on my question. I can able to install the following version of Windows Vista RC2, Windows Vista Business Windows V ...Show All
Visual Studio 2008 (Pre-release) Reference Element not in context
I'm working with the OnSelectionChanged method of an InkCanvas buried several levels deep in some XAML. I'm overriding the OnSelectionChanged method of the inkclass. I want to interace with another item (named fontToolbar) in the main window from the override method, but don't know how to get a reference to it. I'm getting the error: "the name 'fontToolbar' does not exist in the current context." Is there a way to reference an object in the window from a subclass Your best bet might be to go the application model route and use this API: http://msdn2.microsoft.com/en-us/library/system.windows.application.mainwindow.aspx Sometimes you see this as Application.Current.MainWindow ...Show All
Visual Studio Express Editions naming variables as control
hi i have 5 textboxes grid1, grid2, grid3, grid4, grid5 I can change the colour of grid 1 as follows ----------- Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim g As Control Dim a As Integer a = 5 g = Grid1 g.BackColor = Color.Red End Sub -------------- my question is how can i set g to "grid whatever a is" (e.g i take a as an input from 1 to 5 and turn that box red) i tried g= "grid" +str(a) but no joy with that many thanks - i only downloaded VB express today and am trying to adapt my limited programming knowledge Thanks for your reply. i'm not r ...Show All
