adtyerheryh's Q&A profile
SQL Server Unable to send MAil Alert using DatabaseMail
Our configuration : SQL Server 2005 June CTP Enterprise Edition version : 9.00.1187.07 OS : Windows 2003 The Problem: After configuring Database Mail account and profile, maintenance plan or job generated with the maintenance plan Wizard is unable to send mail. The SQL Agent error log contains those messages pointing on a bad profile name. Error Messages [264] An attempt was made to send an email when no email session has be ...Show All
Visual C++ module machine type 'x64' conflicts with target machine type 'X86'
I have converted my project to x64 using Visual Studio Configuration Manager. This is the 2005 Visual Studio Pro final edition, downloaded from MSDN. It all build fine but will not link. I get the following message: module machine type 'x64' conflicts with target machine type 'X86' The compiler command lines look like this: /Od /I "..\..\..\..\..\src" /D "_CRTDBG_MAP_ALLOC" /D "PROJ_SAX2" /D "_DEBUG" /D "PROJ_XMLPARSER" /D "PROJ_XMLUTIL" /D "PR ...Show All
Windows Forms Application.Exit Problem
Hi I am facing a weird problem with Application.Exit in Windows 2003. After this statement is executed, the application does not go down and CPU usage goes up to 100. This problem occurs only in Windows 2003. Windows XP (SP2 and SP1) are just&n ...Show All
Visual C# Saving Toolbar State to Registry?
I am trying to save a toolbar of another process to the registry for later restore. The toolbar is the Windows icon tray. This involves Win32 API calls and PInvoke. Can the SendMessage TB_SAVERESTORE be successfully used in C# I have had success with other cross process communication, but not here. Below is my code. Am i doing things Ok // get toolbar handle IntPtr hWndToolBar = TrayIcons.GetIconTrayWnd(); // get handle to other process // open ...Show All
SQL Server Report Builder button
We've installed SQLServer 2005 and are trying to use Report Builder. But we only see the Report Builder button if we're currently logged onto the machine that's running RS. My understanding is that anybody with a role of Content Manager should be able to see this, but nothing we do with the role assignments seems to help. We've installed on XP and Win2003 machines and this behavior is consistent. Any ideas TIA, Jim ...Show All
Visual Studio Instanciate an external model
I want to acces to a sdm model from my custom model to update it. How can i do Hi Malain, Just to check, you are talking about a custom model built with the DSL Tools here as opposed to an extension to the Distributed System Designers constructed using the SDM SDK If you are talking DSL Tools, then I can imagine a few scenarios. Do you want to incorporate data from an SDM model into the model you're bu ...Show All
Visual C# FTP
Hi there, how can I use C# to transfer files using FTP I found a nice class on the net (h ttp://www.csharphelp.com/archives/archive9.html ), but how do I use it I compiled it successfully. The exaple-code, at the bottom of the script simply has a "using-statement". I tried the same, but without success. The lib can't be found. Where do I have to copy the compiled class Do I have to register it somewhere Thank you, Finch. ...Show All
.NET Development Can not publish ASP.NET pages in IIS.
For some reson I cant deploy my webpages in IIS. I have been using VS.NET 2005 to develop some small assignments and using the internal webserver in 2005 to view them. But now I wanted to use some of my webservices remotely and I put them in my wwwroot. The errors I get is: Either when going to the webservice with my browser: -------------------------------------------------------------------------- XML-tolkningsfel: ej valformat (XML-interpret ...Show All
Visual J# Passed value in ASP Pages
Hi, I would like to know how to retrieve a passed value in J#. I have a new page and I want to access it's passed value. New Retrieved Page Example URL: http://test/default.aspx pageStatus=0 I have an int variable (int pageStatus;) in my default.aspx page and I want to assign this variable the value found in http://test/default.aspx pageStatus=0 What method do I use Thanks in advance, Allan Allan_M wrote: ...Show All
Visual Basic Split a read-in string into more variables or read individual characters
I am extremely new to VBA, so I'll need some detailed answers. Any help is more than appreciated. I have an input box that reads in a set of 3 characters separated by a space like this: A1B 2CD EF3 called Values I then read a 3 character value from an Excel spreadsheet (lets call it Initials) and want to compare this with the read in values. Easiest way, I assume, would be to compare Ini ...Show All
.NET Development INSERT Row to DataTable, data types problem?
(Newbie) (VB 2005) Regarding the INSERT row command below, how do I state my parameters (i.e. the text in brackets below). 1) how do I state a DATE data type, at the moment I am using .ToString , is this correct 2) how do I state the DateTimePicker data type, given that its format is custom h:mm tt Thanks. myDataTableTableAdapter1.Insert(DateInput .ToString , DateInput .ToString , Start_TimeDateTimePicker , Fi ...Show All
Visual Studio Express Editions How to make radio buttons in a groupbox unchecked when form loads?
The excercise is a small app containing 3 group boxes (2 contain radio buttons, 1 contains check boxes) When the app starts the first group box containing Male & Female radio buttons receives focus,but for some strange reason always checks the Male radio button by default. I am trying to get both radio buttons in this group box unchecked so that the user decides without a default option being used. Any help gratefully received ...Show All
SQL Server NOT IN + if structure
Hi folks, I would like to implement the following statement in my report. AND (CASE WHEN @afwezig ='T' THEN b.tnr_opname NOT IN (SELECT tnr_opname FROM r00aanafw WHERE datum_van < convert(DateTime,'01/01/2001',103) AND (datum_tot > convert(DateTime,'01/01/2001',103) OR datum_tot is null)) When the parameter equals T, then the field b.tnr_opname shouldn't be in the following select-statement, else there shouldn't happen anything. ...Show All
.NET Development Typed DataSet custom code...
In ADO 2.0, I see that typed datasets allow you to add code in partial classes to the generated datasets.. I would like to add an event handler public partial class vgm { partial class LanguagesDataTable { void TableNewRowHandler(object sender, DataTableNewRowEventArgs e)   ...Show All
Visual C++ Reading and Writing Xml from unmanaged VC++
Hi, Unfortunately I cant move to managed at the moment. I need to read and write Xml Files from un managed VC++, what is the best way to do this are there any api's that i can use, if which is the best. Thanks in advance Will For general how to questions, please use the newsgroups at http://msdn.microsoft.com/newsgroups . Folks there might have reay algorithms for that. Thanks, Ayman Shoukr ...Show All
