daz2006's Q&A profile
Visual Basic System tray icon
Hi, I have an application that is controlled by a service. when the service starts, an icon is supposed to be placed in the system tray and this icon is then used to display a balloon intermittently. the problem is that when the icon is placed in the balloon and for some time after this, it is visible in the system tray, but after some time if i try to hover the mouse over the icon, it then disappears, although i still get a message that ...Show All
Software Development for Windows Vista DecCTP_5270_32bit_Main_DVD Installation Problem
I install vista build 5270 on my Dell Dimension 5150, but it encount a problem, and the error information is: Problem Signature: Problem Event Name: WinSetupDiag01 Report signature 01:WinMain_idx03 Report signature 02:5270 Report signature 03:0 Report signature 04:1 Report signature 05:4 Report signature 06:0 Report signature 07:Ultmate Report signature 08:2600 Report signature 09:30053 Report signature 10:300 ...Show All
Visual Studio Open a new Document
Hello, I am tying to customize the DSL Tool with own code. The purpose is: when a user double-clicks on a shape another document is create and open to continue modelling... For instance, in a Shape class... public override void OnFieldDoubleClick( ShapeField field, DiagramPointEventArgs e) { //Method witch creates anoter store and serialize it as file in a //specified location CreateDiagram(); OpenDiagram(); // -> I do ...Show All
.NET Development DateTime Error
i am using DtaeTime variable in my codes and adding some days to it but getting error Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks can any one help out You're obviously adding values that fall outside the bounds of what is allowed. You need to post some code if you want us to tell you what's wrong with it :-) ...Show All
Visual Basic Help: Visual basic program
Hi i am making a program with a listbox named (lst) and picturebox named (pic) and i put the following code into the listbox selectedindexchanged sub so as the user clicks on the picture name from the listbox it displays in the picturebox Note: the listbox contains the paths of the images as there is openfiledialog in the program Private Sub lst_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lst.SelectedI ...Show All
Visual Studio Tools for Office Globalization and Localization Problem with Excel and VSTO 2005.
Hi, We created a new Excel application in VSTO and Excel Professional 2003 SP1 for our business requirement. We used the Excel formals in order to evaluate several requirements. These are all working fine if the settings were there in en-US culture. But when we tried to run the Excel application after changing the settings to any other culture apart from en-US we are getting following error when we tried to access the Formulas. Error: “HRES ...Show All
Visual Basic DataAdapter & query
kind of a 2 part question: I need to query on 3 parameters: i.e. Name AND <X AND >Y at one Table in the DataAdapter. In using the DataAdapter.SelectCommand approach I find that one can pass only 1 parameter. So I simply put 3 separate commands - - and this seems to work (when there is a match) though I haven't rigorously checked it. so part 1 - is this approach ok In this DB there can only result in 1 match or no match. par ...Show All
Windows Forms Adding UserControl to Windows Forms Application
Hi - I have created a small Windows Forms Application test application. I want to add a UserControl to my project that is editable in the Designer. To do this I am right clicking on the project in the Solution Explorer, then selecting Add->AddClass. This brings up a dialog with a tree view with all the class types I can add. I select .Net from the tree control and then the UserControl Icon. When I click Open I recieve a MessageBox that says: ...Show All
.NET Development How to send mail from a Windows Application??
I am attempting to write an application which will send a mail message with an attachment. Here's code: using System; using System.Drawing; using System.Data; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Web; using System.Web.Services; using System.Web.Mail; string filename = "c:\\stuff.xls" MailMessage send = new MailMessage(); send.To = " validmail@mymailserver.com "; s ...Show All
Visual Studio Team System Profiling in visual studio 2005 not working
I am using Intel 64 bit duel core processor WinXP64 Visual Studios 2005 Team, prof My app is a 32bit. I am trying to use the IDE's built in Profiling/optimisation tools to check my function times. BUT I keep getting Error VSP1460: Profiling WOW64 processes is not supported by this version of the profiling tools. Does anybody know if this issue has been fixed. I have spent a lot of time to bring over my code to run under Visual Studio 2005. I ...Show All
Software Development for Windows Vista duplicate ruleconditionsattribute
hello. while building exercise 3 code of the hand on labs i'm getting an error which says "Duplicate System.Workflow.Activities.Rules.RuleConditionsAttribute attribute". i've tried rebuilding the owrkflow by using the code only option. now i get another error: activity XXX validationfailed: can not find the condition autoapprovecondition. check if the condition is defined in the conditions file btw, i've checked and in both cases there's a ...Show All
Windows Forms Tray icon
Hi.. how can i add an icon of my app. to the tray and hide it there when i click the minize button! thnx You want to use the NotifyIcon. Simply drop a NotifyIcon on your form, set its Icon property to an .ico file of your choice, and set its Visible property to false. Now you want to capture the minimize, which results in a resize event. (There's some extra code to properly keep track of your WindowState before the minimize.) T ...Show All
SQL Server setting up sqlexpress
My OS is WinXP home edition. I just want to run the sql server on my computer. Should I have the sql service accounts run as "local system" or "local service". Also, should I install sql express prior to vb.net express. Thanks for your help Ken Hi Ken, Unless you have a specific scenario for changing the default service account, I would suggest you stick with the default. Also, VB.NET Express will actually inst ...Show All
.NET Development Best way to parse parameters
Hey guys, I have parameters returned in the following format "@startDate='1/2/2005'@endDate='12/12/2006'@value1='test'@value2='test3'" my questions is whats the best way to parse all the values out. Basically i jus wanna get each value out such as ie. '1/2/2005' and assign then to another variable i just created. So wats the best way i could parse this Thanks I see 2 options: either you parse the string yourself. The stri ...Show All
Visual Studio Can't install Visual Studio .NET 2003 on Win XP Tablet Edition PC
Hi: I get the following message when I try to start the installation of Visual Studio .NET on my Win XP Tablet Edition PC. Visual Studio .NET Prerequisites Setup has detected that some of the system components that are installed on your computer do not match the versions required for Visual Studio .NET. You must install a different version of these components. Any thoughts how I proceed with the installation Thx, QC ...Show All
