RonSchlegel's Q&A profile
Microsoft ISV Community Center Forums Send Email via outlook through excel
Hi to eveyone, I’ve been looking around to find some code that could send an email from excel but I found the next problems: I need to put a message in the body of the email. I need to attach the active workbook or a file saved in my PC. I need to control via the code "on error resume next" if the email cannot be send because the variable passed to outlook with the name of the person is not located in the outlook agenda, but I need to continue process, because the macro sends several emails in its execution. Thanks in advance. Hi, I know that there have been a num ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Combining Shaders
I'm currently working on implementing vertex and pixel shaders for a project and so far this is going alright. I'm using multiple passes to obtain the desired effects. The concern I have is related to what I call global geometry passes. A global geometry pass is basically a pass that requires all meshes in the scene to be rendered for the desired effect. A typical example is light (ambient, diffuse, specular). The concern isn't that this doesn't give the desired result, the concern is that this will eventually end up in a lot of global geometry passes. So getting to the point. Is there a way to combine shaders to lower the number of globa ...Show All
Visual Studio Team System Dumb Question Dept - how do I "delete" a public build from the list?
Scenario: I perform a team build as a "smoke" test and decide to mark it's quality as rejected. The team makes changes and the second "smoke" team build is successful. Since the changes are logged into Version Control, I don't need the first build hanging around. How do I delete it There doesn't seem to be anything in the beta help or menus that is apparent on how to remove the builds. I can remove the folders from the drop site, but the logs still remain in the system. Short of traversing the database myself, anything else I could do Regards, Michael Shorten Hi Michael, Sorry I missed replying to this thread. You can subscrib ...Show All
SQL Server Problem with multi-valued parameters since SP1
Hi, after the installation of SP1 I have a problem with multi-valued report parameters. The option to select all values are gone. Is there a bug within SP1 Before the installtion of SP1 multi-valued report parameters works fine, the option to select all values was added automatically within the preview in Visual Studio 2005 and in published reports on the server. The server was migrated from SQL2000 SP4 to SQL2005. So long Lemmi This was a breaking change in SP1 - documented in http://msdn2.microsoft.com/en-us/library/ms143380.aspx (scroll to: Adding the ALL member for multivalue parameters" ...Show All
Smart Device Development ODBC
Hello everyone and happy Easter, i'd like to write some data in any database using ODBC, is this possible on windows mobile 2003 and how till now i've tried to get the ODBC drivers from my pocket pc but i keep having null objects as results. here is the code, it's actually 3 c# files that u add to a project and a form that has a button called button1 and a multiline textbox called textBox1, when you click on the button the drivers' list should be displayed in the textbox this code gets the DSN name using System; namespace ODBCMngr { /// <summary> /// Summary description for ODBCDSN. /// </su ...Show All
SQL Server SCD Historical Component not working
I have an SCD that contains a historical output path. If I throw dataviewer in the flow before the SCD, I can see that it should trigger a trip down that lane, but its not. In the advanced editor, all looks good. Anything I can check. BTW, the datatype of the fields that should cause the SCD are datetime. thanks in advance A collegue figured it out. Shout out to my homeboy Joe! For those who are having similar problems... We're trying to pump out quite a few packages. When I went through the wizard, on the SCD column screen, I do the dropdown for the first column, and then TAB through a ...Show All
Visual Studio Crysal Reports "Publish" error when Building in vs2005
I just moved to vs 2005. When building my application containing a crystal report I get the following warnings at the bottom of the screen: Warning 1 Unable to apply publish properties for item "crystaldecisions.enterprise.framework". TMS Warning 2 Unable to apply publish properties for item "crystaldecisions.enterprise.infostore". TMS Warning 3 Unable to apply publish properties for item "crystaldecisions.reportsource". TMS Warning 4 Unable to apply publish properties for item "crystaldecisions.shared". TMS Warning 5 Unable to apply publish properties for item "crystaldecisions.windows.forms&q ...Show All
Visual Studio Team System How do I run new UnitTests automatically?
Hi I’ve setup up a Nightly Build on the Team Foundation Server, which build my solutions, and runs UnitTests. Using the “New Team Build Type” wizard I’m only able to select a predefined list of UnitTests, and we have to remember to add new UnitTests to this list (using Visual Studios Test Manager). Of cause we all forget to add new tests to this list, and think that the build is ok, even if a new test is failing. Can I configure the Build to automatically include ALL UnitTests in my solution Thomas Hi Thomas, We've received many feedbacks on this and we're adding features to improve this expe ...Show All
Visual Studio Team System Team Build Error
Hi, Can anyone tell me how to resolve the below issue. I have a Windows application added to the Team Project. Application is using some DLL's and other misc things like Infragistics Control,XHEO Linecing,SharePoint Dll When i try to build in TFS, m getting more then 100 errors and some warnings. I have the error,warning like bellow as the whole log is a big one so i m pasting some of them Primary reference "Microsoft.SharePoint.Portal". C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microso ...Show All
.NET Development concurrency with one user ??? vb.2003
Hi I got a simple form with a grid bound to a dataset and a button that calls adapter.update when i modify the same record twice i got a concurrency error The code in the handler looks like this Try Me .BindingContext(DataGrid1).EndCurrentEdit() If DsFall1.HasChanges Then SqlAdGebruikers.Update(DsFall1.GetChanges()) DsFall1.AcceptChanges() End If Catch ex As DBConcurrencyException MsgBox(ex.Message & Environment.NewLine & CType (ex.Row(0), String )) &n ...Show All
Visual C++ customize codepage used by "cl.exe"
I'm using Visual Studio 2005, I'm wondering whether there's anyway to set the codepage used by "cl.exe" instead of the default system codepage. For example, the system default codepage (ACP) is 936, but I want the "cl.exe" to use code page 1252 instead. Any suggestions Thanks in advance! As you probably are aware, the compiler uses the codepage corresponding to the setting under the "Regional and Language Options" control panel. I'm assuming that you do not want to change your entire system to English, but rather just use the English codepage for the compiler in particular. I'm not wholly sure how this w ...Show All
Software Development for Windows Vista Scalability for Hosting Multiple Instances in a Single Workflow Runtime
Hi, I would like to know the maximum number of workflow instances that a single workflow runtime can handle at the same time. Is it just dependent on the server hardware hosting the workflow runtime or there is a maximum number of workflow instances to be hosted in a single runtime. Hi Akram, The maximum number of workflows that can run simultaneously in a single workflow runtiem is the same as the number of Clr threads available for the process. Typically this is 25 for Single proc machines and 100 for dual proc or server machines. You can control the number of instances that can be run by specifying the number in the ...Show All
Visual C++ Reverse Digits in C++
Dear C++ experts, I need help with this program: Write a complete C++ program that reverses the digits of a given positive integer. For example if the user enters a positive number 123456 , your program would print 654321. Kind Regards, Ahmed Mahdy Sorry my bad #include <iostream> using namespace std; void ret_str( char * s) { if (*s != '\0' ) ret_str(s+1); cout<<*(s); } int main() { cout << "Please write your string : " ; //255 is an arbitrary number it represents the length of your input s ...Show All
Visual Basic Displaying a file if hexadecimal format.
I am a beginner at BASIC and I am using Visual Basic 2005 Express. This is what I am trying to do: I want to open a file, the file can be any format or size. I want to open it kind of like a hex editor would, except I want to be able to read the values of certain addresses in decimal format. Here is an example: I have 3 textbox controls: txt1,txt2,txt3. When I open the file I want to take three values from it. The first value is from address 10 and I want it to be 8-bits. The second value is from address 14 and I want it to be 16-bits. The third value is from address 26 and I want it to be 32-bits. Value 1 will go in txt1, value ...Show All
Windows Forms Window / Form refreshing issue
hi, this is the first time i've looked at windows forms and i know that im just doing something very silly. I have a simple form which creates a filesystemwatcher with associated events. When a folder has images dropped in it my code is called which updates a ListBox, does some image processing, updates a database and updates a viewer control on the&nb ...Show All
