ultek's Q&A profile
Visual Studio 2008 (Pre-release) MouseUp/MouseDown/MouseClick
I've wrote a very simple WPF application , and put some Control Templates and Databinding based on EID sample data. The issue I want to solve is that, on my animating bubble buttons, I've put some trigger implementations right in the xaml code, which fire MouseEnter, MouseLeave, MouseUp, MouseDown and MouseClick. As if you check the executable, the events work fine for mouse right-click, but mouse left click has a problem, which doesn't fire MouseUp. Is there anything I should take care of Button "handles" the MouseUp event. You can either add a handler to the PreviewMouseUp event (so that you get it before Button does). There is also a way to register a class handler that gets the event even when it is marked ...Show All
Visual Studio 2008 (Pre-release) Update a grid row when an item is selected from a combo box
Hi, Just wanting to know how to do the following. I have a grid with the first column being a drop down. Whenever I select an item from the drop-down, I want to be able to refresh the current row with the details of what I have selected from the drop-down. The dropdown is populated manually. I have the following code - the grid has two columns, the first column is the drop down and second column is just a text. Whenever I select an item from the drop-down I want the second column to update, but unfortunately it doesn't. Thanks in advance. The Data using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Text; namespace WindowsApplic ...Show All
Windows Forms Having to disable Virus Scan to use an application that has smpt email
I have an application with email code in it. the code creates an csv file attaches it to an email then sends it to a supplier. loop next supplier...... my problem is that my virus scann is blocking some how error the message could not be sent to the smtp server. the transport error code was 0x800ccc15. the server response was not available Any help would be great I’m afraid that you are going to have to be much more specific on the problem you are having as you’ve given only the what of what the end problem is but left out the context of where this is happening and what you are doing to see this problem. Without more information there is little chance of anyone being able to help. ...Show All
Visual FoxPro Dot matrix printers with Visual Foxpro
Hello all, We are in the process of converting an old Foxpro 2.6 (DOS) software into VFP, the problem that we face is that the printing is very slow on dot-matrix printers We cannot shift to laser printer as the stationery is pre-printed and has to be multi-part. Can anybody offer the solution Thanks in advance did not understand what u are telling. but if u want to print continuously and want to eject only at the end of reprot then clos all clear set date brit set cent on set dele on set talk off set device to file cust.txt nrou = 0 do printheader sele 1 use customer go top do while !eof() @ nrou,000 say custname @nrou,040 say custid @nrou,050 say location nrou = ...Show All
Visual Studio Team System Suppression of Warning Messages
Hi, Using the RTM version, I have loaded the four databases that comprise our system but I have over 300 warning messages. I cannot see the wheat for the chaff. I am slowly working through these warnings, changing our code where I can, to eliminate them. However, many of the warnings are generated because we have stored procedures that create, and fill, #tables and then call other stored procedures to process the records in them. However, VSTS4DBPro issues a warning for every line in the called stored procedures that reference a field in one of these #tables. Is there any way that I can declare a #table in the called procedures, that will not cause an error when it is called, and which will cause these warning messages to go away ...Show All
Visual Studio 2008 (Pre-release) Memory problem when refreshing ListView with ADO .net
Hello, I have a listView with GridView, that is binded to a dataset. First, what is the correct way to update the listView, for now I use the fill method of the adapter to fill the dataset again. adapter.fill(Dataset.Table); Second, When I'm doing this, the memory keeps increasing. Is this normal Thank you Your code looks OK. I built an app similar to yours, but it doesn't leak. There must be something different about your app that I'm not seeing, or perhaps I filled in some of the details in a different way. (For example, I don't have your ListView_PreviewMouseDoubleClick method - although that's not likely to be the problem.) I'd like to figure this out - memory leaks are bad. But it l ...Show All
Visual Studio Tools for Office Printing Word docs closes my VSTO template
I'm using Microsoft Visual Studio Tools for Office, and I have the following problem: If I create a new Word Template project (Visual C# | Office | Word Template) and then press F5 to start it up, it all works and MSWord2003 starts up as expected. But then if I right click on any existing Word doc file (no VSTO) and select Print from the context menu, my VSTO Template closes unexpectedly. I wonder if this only occurs to me or is indeed a bug. Can someone else try and report the result I've also tried to put a break point on BeforeClose event of the Document and it doesn't get fired!! Regards John Hi, Me again! Just to let you know that I've fixed my problem. The whole thing was happening because I'm usi ...Show All
Internet Explorer Development IE7.0 + .NET 2.0 + AJAX = Problems!!!
I installed IE7.0 and now my app’s AJAX control (accordion) and hidden panels are not coming up. Is this a potential bug Is my HTML outdated This is happening on my master page with the AJAX accordion control and on a content page as well. I am running XP SP2 on IE7.0.5730.11. Any suggestions would be greatly appreciated. -Tim I have a similar panel issue. The position of my panels is a DISASTER! They've shrunk. I had to change the width properties of all my panels that were wrapped inside ajax update panels. This happened right after I installed IE7. What happened The Report Viewer is messed up as well. I had to adjust the height of the report. Before, the hei ...Show All
SQL Server Sql Server Management Studio Express --- Sql Agent
In Enterprise Manager, we could view the Sql Agent and start/stop any jobs. I can't find the Sql Agent or any Sql Jobs in the Sql Server Management Studio Express tool. Where is it How do I view the sql jobs using this tool, or can I even do it ...Show All
Software Development for Windows Vista Newbie question - Methods not available
Hi folks, Forgive me if this is a real dumb question... I'm a newbie to MS Workflow Foundation, and have only today download the Visual Studio 2005 extensions. I am working through a book I've bought on the subject "Presenting Windows Workflow Foundation - Beta Edition", and have fallen more or less at the first hurdle. One of the very first example contains the following code: ====================================== Shared Sub Main() Dim workflowRuntime As New WorkflowRuntime() workflowRuntime.StartRuntime() AddHandler workflowRuntime.WorkflowCompleted, AddressOf OnWorkflowCompleted Dim type As System.Type = GetType (Workflow1) Dim parameters As Dictionary( Of String , ...Show All
Visual FoxPro Future of Visual Foxpro
Hello friends, I have a general question. What will be the future of VFP The reason for asking this question is because, our company is planning a major commercial software development. So far we were very much satisfied with VFP. But now doubts are being raised whether we should base our investment on this platform or consider something new like VB.NET. Especially when we hear that the products will not be served beyond 2009!!! Any sincere opinion will be a big help. Thank you. Financial Investment companies here in the US often use the phrase "past performance is not an indicator of future returns". The same holds true with software. Just because old applications continue to run fine does not mean they will conti ...Show All
Windows Forms CheckedBoxList
HI, I am using this checkedBoxList control and I really got stuck with adding values to each check box. Also when I add Items to the listbox, the check box is checked or unchecked only at a double click. First click it select the row and then checks the checkbox Is there way to change this that check the box at a click I am able to retrieve the text of the checked box but how do I assing a value to it and retrieve the value Or is it better generate check boxes dynamically Please help me with this control! Thank you. HI, thanks for the reply but i am not really sure if that helps me. All I want to do is Bind a Datasource to the checkedBoxList and Assing DisplayMember and ValueMember. So I can display string (eb. Name of books alo ...Show All
Visual Studio VS 2005 IDE Crashes when debugging a stored procedure/inserting breakpoint.
Hi. I'm running the following setup: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41026 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41026 Microsoft Visual C# 2005 when I try and debug a stored proc in the IDE it immediately crashes and pops up the dreaded "send an error report " dialog. Specifically, I create a new sql server proj, add a db connection, open the stored proc, set the breakpoint and it immediately crashes. If I open the stored proc and "execute" it, it will excecute successfully about half the time. If I try ...Show All
Visual C# Unhandled exception only when running in release without debugger attached.
I am beyond baffled by this. My application throws a System.AccessViolationException only when it is run in Release mode without the debugger attached (as in, I run the exe directly, outside of Visual Studio or I do "Start Without Debugging" in the Debug menu). Debug mode - everything works great; Release mode with debugger attached - everything works great. The very nature of how this error is thrown makes it impossible to debug, so I have no idea where to look into correcting it. Has anyone else ever come across such an error Does anyone have an idea how to hunt down such an error The application is not just a few hundred lines, it is easily on the upper end of tens of thousands of lines. I cannot seek it out with a debugger be ...Show All
Visual J# Trouble with this JavaScript code
Hello, I'm having trouble with this code: <html><head> <script language="JavaScript"> function ChangeColor(object){ object.bgColor = "#00cc66"; } </script> </head><body> <table><tr> <td onMouseOver=ChangeColor(this);">Button </td></tr></table> </body></html> Ofcourse this is not only a part of the code.. The problem is that the Web browser says that this function is not defined. And it says "Object expected". I know this forum is for VJ#, and not for HTML and JavaScript, but please help me! I am in a hurry. You must define a span object first. <html> <head> <scrip ...Show All
