Richie_C's Q&A profile
SQL Server Local Application Launch
Hi, Does anyone know if there is a way to launch a local application on a users machine from a report We have a bespoke thick client system running which accepts a command line execution i.e. c:\program\programx.exe ref=xyz. I would like to lauch this from a report if possible passing in the ref - has anyone done anything like this before as I presume we may need to add code to do this. We could use client side script and wshost however IE doesnt like this unless its a trusted site so dont want to go down this route if possible although this may be the answer. Thanks in advance for your help Dan. ...Show All
Visual Studio Express Editions Inheriting Form Issue in VB2005
Hello All, As usual, I think I'm doing something that's not "Kosher" in trying to inherit a form to a new Item. I get a ton of errors including data connection, etc. The solution works and builds, publishes and all that, but there seems to be settins somewhere that are pointing the inherit function somewhere else. Please Help...I don't want to redo all of those controls and buttons again on the new pages. Thanks, Elgee... PS...Any ideas on how to map the numeric keypad to a masked textbox I can't figure out how to advance the digit after a mouse click...I can only get one digit to enter ...Show All
Windows Forms Problem in Form Inheritance if the Base form use some shared property of a class
Hi, I have a problem when I inherit a form. I have explained the problem below. Please help me. The solution contains 4 projects. 1. BaseFormProject - Has a base form which is used components project's PaletteManager class 2. ChildFormProject - Has a child form which is inherited from the base form which is available in BaseFormProject. 3. Compo ...Show All
SQL Server Installation refused
Really no good experience! After uninstalling every stuff regarding : .Net, MSDN, Sql Beta version, etc. no way to finish the installation starting from this package "SQLEXPR_ITA.EXE". I lose any idea how to solve this Windows MisterY. I left installed Visual Studio 6.0. Please suggest me something new...I would avoid to eliminate everything Thanks Eibike After some unsuccessful tentatives to install SQLEXPR_ITA.EXE on XP Home edition, analyzing the content of _Core.log file, in folder C:\Programmi\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files, I found this: Delay load of action "DetectPatchedBoot ...Show All
SQL Server Time Intelligence gives this failure if X64bit installed on a different drive
TITLE: Microsoft Visual Studio ------------------------------ Could not find a part of the path 'C:\Program Files (x86)\Microsoft SQL Server\90\Tools\Templates\OLAP\1033\TimeIntelligence.xml'. ------------------------------ BUTTONS: OK ------------------------------ SQL Server is installed on D:\SQLServer2005 (x86). and the XML file is on the D: drive. Has anyone come across this Here is previos post about templates. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=247945&SiteID=1 You should be able to just copy the TimeIntelligence.xml into the folder you mention for BI Dev Studio ...Show All
SQL Server uestions on Message Source Property of the Send Email Task in SSIS
My issues / questions 1) When I put HTML in the Message Source property of the Send Email Task Editor in my SSIS package, the email is sent to my outlook alias. When I open it in outlook, it's not in html format, rather I see the html instead of it converting to html. My outlook client is set to html in the properties of my client so it should be fiine. 2) I find the Message Source area to enter the body of the email a pain. I can't return lines by clicking enter on my keyboard. Is there another way to code this 3) Is there a way I can manage this using a CSS class and somehow include a css document that the ...Show All
Visual Studio Express Editions Trying to build PHP 5.1.2 using the .NET SDK, R6034 on startup
Hi, I'm try to build PHP 5.1.2 on XP Prof using no other tools but the free .NET SDK tools (.NET SDK, Windows Platform SDB, Visual C++ Toolkit). I managed to compile PHP but I'm getting error messages when I try to start PHP (R6024). I hope this is the correct forum. If not, please redirect me. A warning: I'm not a Win32 programmer, I just wonder if it's possible to compile PHP using the free tools. So, please be patient with me. I found some notes about R6034 on http://www.codeproject.com/cpp/vcredists_x86.asp#PrivateAssembly . As I understand it the web site basically says that I have to create a .manifest f ...Show All
Windows Forms How do I get rid of the first blank item in the combobox?
I have created a context menu that has a combobox in it. I have 3 items listed in the combobox. I have the dropdown style set as dropdownlist so no one can enter text. What I want to do is to not have that initial blank in the listing. I want for it to show the first thing in my collection. Is there a way to get rid of the blank item in the combobox Reason is that I am submitting to a database and if for some reason someone does not select an item in the combo it will automatically enter a blank in that database table. So I don't have a reason to keep the blank in the list, would it rather show the first item in my collection. T ...Show All
Visual Studio Tools for Office How to create a hyper link to insert into a .doc file ?
Hi dear all: how to create a hyper link ( is it an object ) prorammatically to save ( insert ) into a .doc or a .rtf file ( like the one we create manually in MS Word ) even without MS Word running or installed on the machine. Thanks. You need to have Word installed to access its object model. You can also learn about the object model with the macro recording capability. Mariano ...Show All
SQL Server SQL DMO Support in SQL Server 2005...
Hi, We have a C++ application that uses the raw SQL DMO COM interfaces to connect to the SQL Server 2000. When this application tries to connect to SQL Server 2005, it failed to connect for obvious reasons. I tried to use the latest SQL DMO interfaces and, to my surprise, in the June CTP, I didn't find any header files that contains the COM interface definitions for the latest SQL DMO. Is this something that MS forgot to include in the install SQLDMO documentation in June CTP says that the SQL DMO header files will be found under 90\Tools\DevTools\Include. I did a complete install of the June CTP and I don' ...Show All
Visual Studio Adding code lines to a VS 2005 source code file
I need to add some code lines to an existing source code file (.cs or .vb) in VS 2005. I'm writing a VSPackage that has to do this. Which is the better way to do this - I add code lines directly in the source file as text - I get the code dom graph and I add the code lines adding instruction statement to it and then serializing it again. - other... Any hints Thanks the code dom lets visual studio worry about language syntax and positioning, but doesn't do a good job of covering things that are different between languages or new in vs '05 (for example - i haven't found a way to use t ...Show All
Windows Forms Properly exit an application that doesnt wanna die
Been asking a lot of questions lately, but I guess thats what these forums are made for so here goes another one... In my application I have an exit button, and also use the same code for the Form_Close event, incase the user clicks the X instead of my "Exit" button. What do I do to properly exit. If I do "this.close()" it closes, but if I open the Task Manager, I see my application still running, just not visible. If I throw an Application.Exit(); in there, it does the trick. I have read that this is a nasty way to exit an application however. Should I call dispose() first, then app.exit If this.close isnt closing the entire application, ...Show All
Visual Studio Team System Can't instrument project targets for ASP.NET performance session?
I create a new ASP.NET performance session and point it at my web application directory (i.e. not using IIS). Now, I can sucessfully get performance data for the web site itself, but I cannot seem to get performance data for any other project assemblies I've configured for instrumentation. At first I noticed that it was instrumenting the project assemblies in their respective project \bin directory as opposed to my web site's \bin directory. Then I tried using target binaries and selected my assemblies directly from the web site's \bin dir, but that didn't help either (and also doesn't seem like the right thing to do). So... any clues ...Show All
SQL Server June CTP - Report Parameter Placement
Is there a way to control the placement of report parameters There are 3 parameters placed on 2 rows, however there is enough room for the third parm to fit on the first row itself. It will be nice to reclaim some real estate. Thanks, Sorry, you cannot control the parameter placement in report manager - unless you write your own frontend and then use SOAP or URL access to render the report. You may also want to look at the RS controls available in VS 2005 - they allow easier customization and integration into existing Winforms or Webforms applications. -- Robert ...Show All
SQL Server What should the maintenance plans be on your mirror server?
If your principal fails and your mirror assumes the main role and it is in Full recovery mode (which it has to be in Standard edition), then the log files will grow and grow until a transaction backup and shrink is executed. I have maintenance plans running daily (and hourly for transaction log backup/shrink) on my principal, but nothing on my mirror. Do I need to set up the same maintenance plans on my mirror server Thanks Ed Hi Ed. Database Mirroring works at the database level, not the server level (like clustering), so yes, you need to configure and run server-level jobs, data, etc. on your ...Show All
