Jutsin Leung's Q&A profile
SQL Server SQL Agent Step Notification
I have several SQL Agent jobs that each contain multiple steps. I want the job to continue, even if one step fails, as they are not dependent on each other. However, if I set it up so that the goes to the next step on failure, it appears that I have no way of being notified of the failure, since the job ends successfully. Am I missing something Is there a notification that can be sent if a step fails Thanks Bob So, rather than having a step failure action for send mail, I will have to setup a second step for every step that I have... I was afraid of that. I have 22 steps now, making this solution a maintenance nightmare. To be honest, that's what I thought. MSFT- any chance of getting more granular on the notifi ...Show All
Silverlight (formerly WPF/E) News: "WPF/E" Feb 2007 CTP is Live!
Freinds, Earlier today, you may have noticed your “WPF/E” December Community Technology Preview (CTP) control expired. No worries though- we’ve just posted the February CTP for Windows and Mac to Microsoft's download center and updated the samples on the Channel 9 Playground to work with the new CTP. Note that to get your samples working with the February CTP, you’ll need to change out the agHost.js file with the new one found here . Tomorrow we’ll update the website with details on what’s new in this release, and an updated SDK and samples will be available soon too. Thanks, "WPF/E" Marketing Can’t wait to see if this CTP gives us some controls to work with :) arrh, a long wa ...Show All
Visual Studio Tools for Office Excel ListObject issue
Hi, My problem is the following : I've added a ListObject to an Excel-sheet. It has no rows to start with. Let's say i'm pressing a button and a certain number of rows are added. So far so good, the cells are being filled correctly. Now when I press the button again, I'd like the ListObject to "refresh" i.e. all rows should be deleted, and new ones added. (The number of rows to be added is not a constant number) I've got following code to delete the rows : foreach (Excel.ListRow row in this.lstListObject.ListRows) row.Delete(); But it throws an exception when it tries to delete the last row that is left : "Exception from HRESULT: 0x800A03EC" What am i doing wrong Greets, Ben ...Show All
Visual Studio Express Editions Showing Forms (From VB6 thinking to VC++)
Hi! I'm switching from VB6 to VC++ Express. I'm still learning c++ syntax and semantics, but I'm trying to get a "working" feel for VC++ at the same time (in VB, this was a propelling method of learning, just load it up and dive right in, so please, let me know if I'm being counter-intuitive here). Anyway, to the point; here's how I'm thinking: "Form2.Show" What I know about VC++: I've managed to go from "combo1.additem" to "comboBox1->Items->Add("test");." So at least I'm getting somewhere. Unfortunately there is not near as much available documentation (apparently) online for VC++ as there is VB, which leads me to this question: How do I show a second form I've added ("adminPass.h") I've managed to figure out I need: #pragma once # ...Show All
Smart Device Development Dynamic forms on .net CF
Hello, I am looking around for a dynamic mobile forms application (it would be better open-source, but it could be a closed product). Something like a questionnaire or field inspection solution. Google is not helping much, so maybe you people know a project. Thanks a lot Joaquin ...Show All
Windows Live Developer Forums STILL NOT WORKING :@
I too am having the same problem as the above post. I have vista basic. and i am fed up of using online messenger. I really need Messenger running soon. I had the same problem but I right clicked the messenger icon on my desktop and selected "run as administrator" in the properties/shortcuts/advanced. It starts up every time now. I use Vista Home Premium. ...Show All
Visual Basic can't edit stored procedure from vs.net 2003
Hi, lots of documents says that we can edit stored procedure by right clicking stored procedure name and select 'edit stored procedure' in the server explorer, but I never have this 'edit stored procedure' Item at all in my context. I have all the permissions to edit, delete or create stored procedure to the database. Anyone can help with this would be highly appreciated. Zhiwei Did you set up a Data Connection Then you should be able to just double-click on a stored procedure under the Data Connections node and edit the stored procedure. ...Show All
Visual Studio Team System Passing Credentials to witexport / witimport
There must be a way to pass credentials. After all, I can connect from VS to a TFS that I have no trust relationship whatsoever just passing my credentials. What happens if I need to add a template to say CodePlex I don't even own the server... Is there a way to circumvent this unbelievably annoying issue witimport & witexport do not support specifying any permissions in the command line. You should consider using 'runas' command; type 'runas / ' from the command line to get more information. With it you can run any command with any permissions you want. Thanks, Alex ...Show All
Windows Forms some other bug now
hi, i want to get the row index of a grid view and i used the following code, Dim rec_pos As Integer rec_pos = Me .DataGridView1.Rows( "ORDERS" ).Index where orders is my table name But it produces an error [Conversion from string "ORDERS" to type 'Integer' is not valid.] any help is appreciable.thanx in advane. rgrds, rohit hi, what i'm trying to do is Private Sub Button5_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim rec_pos As Integer Me .OleDbDataAdapter1.Fill(DataSet91) rec_pos = Me .DataGridView1.CurrentRow.Index DataSet91.ORDERS.Rows(rec_pos).Item( "S ...Show All
Visual Studio Express Editions retrieving the items of listbox...
Hi!!! I need to retrieve the items of a Listbox and assign they to an array. Somebody knows How to do this Thanks in advanced Dim myItems As New ArrayList() For Each i As String In Me .ListBox1.Items myItems.Add(i) Next ...Show All
Visual Studio 2008 (Pre-release) Strange Popup Behaviour
Hi, I am experiencing a very strange error with the Popup control. I developed a control that inherits from a Popup to show error information. This was a few months ago. The problem is that every now and then, the control just doesn't show. The problem is that sometimes, the popup will fail to show, but when I restart my computer, run precisely the same scenario, the popup works fine again. This is very worrisome as I can't rely on a control that on rare occations just stops working. I really can't tell you how to re-create the problem as I don't know how and why this happens. I would like to know if anyone has experienced this same problem with the Popup. And it is with the RTM version of ...Show All
Visual Studio Team System TFS Product Key
I originally had TFS Trial installed, and have since purchased the Team Suite MSDN that comes with TFS Workgroup Edition. How do I get the product key for the workgroup edition so I can update the trial license Brian, your conversion went smoothly When I went from Trial to Workgroup I lost all access to TFS. I had to connect using my TFSService account, and none of the Workgroup security groups were added to my TFS. ...Show All
Visual C# Drawing Toolkits...
I'm looking for a toolkit that does something similar to visio, ie drag and drop diferent objects and then connect them, either a toolkit or an example... or at the very least give me an idea of where to start... so far what I'd been thinking was to create a couple of user controls and a couple of interfaces, but what I have no idea is the arrow drawing part (it's a project do draw and simulate petri nets) James http://www.codeproject.com/csharp/drawtools.asp ...Show All
.NET Development CLR Tasks (IHostTask and IHostTaskManager)
I have some queries or perhaps misunderstanding about tasks within the CLR. I am writing a CLR Host, which implements an IHostTaskManager. As I understood it, a 'Task' is an abstraction of, in my case, a thread. So whenever the CLR needs to create a thread, it creates an ICLRTask and asks me for the corresponding IHostTask and thread. (If I was using Fibers a Task would in this case be a Fiber not a Thread). The Customising the .Net Framwork Common Language Runtime book indicates that the CLR will not use my task manager if it needs to create certain 'internal' threads (for example) for the garbage collector, a debugger thread, a thread to gate access to the thread pool and a timer thread. So I assume that my IHostTaskManager should ne ...Show All
Visual Basic VB.Net, Excel and multiple workbooks
Hello all, VB.Net 2003 and Office 2000 running on Windows 2000 Sp4. I have written an application that opens two Excel workbooks, copies data from one to the other, formats it and saves it. Nice and simple and has worked perfectly with just one workbook in another part of the application. Problem comes when I quit Excel and run the garbage collector, to tidy up the excel.exe that is still running in the background, and then Excel throws an unhandled exception which is revealed to be the following in the debugger, Unhandled exception at 0x300341b6 in EXCEL.EXE: 0xC0000005: Access violation reading location 0x650eeed8. Is there anything I am missing with the two open workbooks that I have to do differently when using one workbook ...Show All
