toadspit's Q&A profile
SQL Server Can't Send mail using MultiServer Admin
Hi, I have a Master server which I want to use to handle jobs for our Production Servers. the master server has Outlook installed but the Target servers do not. I need to find a way to get the job to send a mail confirming whether the job has succeeded or failed but without having a mail client installed on any of the target servers. Currently the actual backups do run but the send mail section fails with the following error. xp_sendmail: Procedure expects parameter @user, which was not supplied. [SQLSTATE 42000] (Error 17985). The step failed. I can't see any parameter @User on BOL, it may be that using sendmail is not the best way foward here Any ideas anyone Hi, I had this problem when I mig ...Show All
SQL Server What is CUBE ?
Can any body help me to know about cube in dataminig How is the cube represented in database How to querry the cube Dear Mallikarjun, I cannot answer directly about cube in data mining. But here is my definition about cube : As type, cube is collection type which values are combination of aggregated values and non- ggregated value. The aggregated value can be put in one or more aggregated column(s), and is the result of applying aggregated operations (MIN, MAX, AVG, STDEV, SUM, COUNT) to the measured columns coming from fact tabes. The non-aggregated values are usually identity or description values coming from dimensional tables. As a simple example, you can create a table called Inventories wi ...Show All
Visual C++ backward compatibility
I have some project files which was built in the previous version of VS. I currently have VS 2005 installed in my system. when I try to open the project files, i am being asked to convert the same to the new version. Even though I converted once, every time I open the project, I have to convert the entire project once again. What is the way out Does it mean that we do not have backward compatibility here What would be the issue if we do not convert VS2005 can convert previous project files to the new version. After you convert, save the file and look into the vcproj file. If it's a VC++ 2005 project, it should start with < xml version="1.0" encoding="Windows-1252" > <VisualStudioProject Pro ...Show All
Windows Forms Buffering Images HELP
Im not sure if this is the right place for this post, if not I apologize in advance this is my first time on the forum. My question is - I am trying to write an Image Viewer program that reads the file paths from the file system and stores them in a list. Then it loads the first 25 images into an Image list(the 25 can be set to whatever I want.). That all works fine. The problem is when you get to the end of the 25 and its time to add more images. It works but is EXTREMELY slow. I cant seem to figure this out and have been playing with it for a while now. Any insight would be appriciated. Heres my code for adding to the buffer - public void vScrollBar1_Scroll( object sender, ScrollEventArgs e) { Thread addThread; i ...Show All
Visual Basic VB SDK and Examples...free to use?
I've got a quick question. Are the SDK examples provided by Microsoft free to use I've found some sample code for compressing file in the SDK and I'd like to include it in my application. Is this legal Can I use code from the samples for a commercial app Thanks. ...Show All
Software Development for Windows Vista how to customize icons shown in the designer
Hi, does someone know, how I can replace the images shown for the root activity and for the last activity in the designer with my own images I mean the white arrow within the green circle on top of the designer surface and the white circle within the red rectangle at the bottom of the designer surface. All activities are shown inbetween these symbols. Regards, Mario Solved this myself. I found that the workflow itself is an activity by studying the FlowChart example provided at this site. Together with the information in the designer rehosting example at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/WFDsgnRehst.asp I managed to control painting of all stuff on the designer surfac ...Show All
Game Technologies: DirectX, XNA, XACT, etc. $$?
Just out of curiosity, if we send a game, are we expected to do it for free If you send a game WHERE If you use XNA on a PC then the distribution and cost etc are the same as DirectX. Sell whatever you like. The current EULAs for XNA on the 360 say that it is for non commercial use only which would seem to imply you cannot. ...Show All
Microsoft ISV Community Center Forums 1004 Run-time error
I tried doing a search for this error message, but couldn't find one related to my problem, so here goes. Running Excel 2000 here and this macro (snippet below) has been running fine on several machines. Suddenly, this one machine in particular has been getting a 1004 Run-time error (With statement). I have an idea what the problem is, but the thing that gets me is this code still successfully works on several other machines at my work place. I know the code is sloppy, as you'll see below. I'm simply trying to fix something that was already in place before I got here. I'll definitely clean it up once I get it working. Any ideas Thanks in advance for the help. -------------------------------------------- Sub maketable() ...Show All
SQL Server Migrating Data from MySQL
Hello I am looking for a way to migrate my data from a MySQL database to a SQL2005 Express data base. All of my MySQL Schemas only have 1 or 2 tables in them so I would imagine that it isn't that hard to do. I treid just exporting it to a CSV file with the intention of just using import/export in MSSQL but in the express edition, it ain't there. Like I stated all of my schemas are only 1 or two tables none are linked in any way they are independant table and the most records any one of the tables contain is around 250. Any suggestions hi a way to migrate is you import into Access and afzer them you build in SQL-Express the Table structure and import via ODBC the dates into the new table. I have this do ...Show All
Gadgets ASP.NET 2.0 and AJAX for gadgets
Has anyone tried using ASP.NET 2.0 and AJAX to develop Gadgets Scripts and HTML seems to be less efficient in coding, especially when you need to connect to web services at the back end. Atlas has some (very old) built-in support for generating gadgets. However, keep in mind that gadgets are still going to be javascript and HTML. You could certainly programmatically emit that from an ASP/ASPX page, but the bulk of the work will ultimately need to be done in javascript and HTML rather than C# or VB.NET. Also I don't believe you can get hosted on Windows Live Gallery if your gadget is an ASPX page (Chris Butler could speak to this). Not being hosted on Gallery means you can't use your gadget on Spaces. Any w ...Show All
Windows Forms Include the parent control when a child is cut / copied and pasted.
Hi all, This is the final step in what became a rather involved process. The big picture is that I need to present a container control at design-time which does NOT clip its children. So yeah, I want for instance a child button control to be able to draw beyond its parent's bounds. I've gotten it to work by implementing an "envelope / hub" mechanism, where the hub is the above-mentioned container, and the envelope is its parent, another container which sizes itself to envelop the hub. When the user needs to "float" (ie. un-clip) the child button, it gets re-parented to the envelope and now has free reign to paint over the hub's bounds. All that to say, I have one final problem: when the hub is cut to clipboard, ...Show All
Visual Basic Synchronize textbox scrolling
I have two multiline textboxes, no wrap (horizontal/vertical scrollbars) Is there a way I can sync the scrolling so when I scroll one, the other one scrolls OK, unfortunately, the regular textbox control doesn't have scroll events. That's a pain. The RichTextbox control, on the other hand, does. So this is easier with a rich text control. You can do the following: Const WM_USER As Integer = &H400 Const EM_GETSCROLLPOS As Integer = WM_USER + 221 Const EM_SETSCROLLPOS As Integer = WM_USER + 222 Declare Function SendMessage Lib "user32.dll" Alias "SendMessageW" ( ByVal hWnd As IntPtr, ByVal msg As Integer , ByVal wParam As Inte ...Show All
Visual Studio 2008 (Pre-release) No appropriate XAML tags for inline code
According to the documentation (...), in an XAML document one can have inline code which contains, say, C# code for event handlers. Is it possible to insert such code in an XAML created with Visual Studio If yes, what is the correct tag which should contain the CDATA element In the articles that I consulted, either <def:Code> or <x:Code> is used; however, these tags always generate errors when I try to compile the project. This is what I did: - I created a new project (WPF or XAML browser); - in the XAML editor, I added some controls - say, a <Button>; - I added a handler for the button, with ' Click="OnClick" ' - I wanted to have the code of the handler in the XAML file. For this I tried to ...Show All
.NET Development How can access to LPT1 directly
hi I need to send data directly to printer port.So I want to know what is similar command for this in VB6 : open "lpt1:" for output as #1 Hi. I tried this : Hn = CreateFile("lpt1:", &H40000000, 0, Nothing, 2, &H80 Or &H40000000, Nothing) but it doesn't work.Hn will be -1 ...Show All
Software Development for Windows Vista How to test the GDI compatibility of an Application for Windows Vista
Hi, It would be really helpful if some one can tell me what are the methods that can be used to test an application to ensure the Graphical compatibility of it in Windows Vista. Hello Techorn, What do you mean by methods for testing an apps graphical compatibility Are you looking for methods that tell if desktop composition is enabled on the system (Can the system run glass) If an installation has Aero Glass enabled it means that the hardware supports DirectX 9.0 (which is fairly high end equipment). Does your application has a specific directX requirement You will also want to be careful if your application is doing any custom drawing using GDI+, here are some of the changes made to the WM_PAINT ca ...Show All
