Anrijs Vitolins's Q&A profile
Visual Basic How to move a window without title bar
How I can make a window without title bar to move Oh well that is not that hard. Just to give you an overall idea, make use of the Drag events of the form. This way you are able to capture he current mouse position and calculate the form's new position with it. I never did it in windows forms though. Basic flow: MouseDown - Registers that the mouse is down, addhandler mousemove MouseMove - Calculate ...Show All
Visual Studio Express Editions Ignore white-space characters
Does anyone know how can I ignore white-space characters(using a function maybe) I want this to happen when comparing two strings.To be more specific when,for example, I write "<hey>" I want in the string comparison to be perceived as correct with " <hey>" or " <hey> " but not "< hey>" or "<h ey>".I tried with escape sequences like \b or \t but this is for one instance(or as many as you have ...Show All
SQL Server Storing an array in an SSIS variable
I am not much of a VB.NET programmer, so forgive me if the solution to this problem is obvious. What I am trying to do is store an array from a Script Task in an SSIS variable and then access it from later script tasks. In brief, this is what I have tried so far: Init (Script Task) This task initializes an array: Dim processes(0) As System.Diagnostics.Process Dts.Variables("Processes").Value = processes LOOP - Start (Script Ta ...Show All
Windows Forms getting the index of a character in ListBox
Hello, i have a ListBox with allot of text on each row. I would realy like to get the index och the character I'm clicking on with my mouse.. I have tried to get it by taking out the x-cord from mouse on the listbox and dividing it with the Font-size. But it is not 100% accurate. Is it possible in some way The font I'm using is Courier New. Regards Well, I need to have the visual effect; when you shoose a row th ...Show All
Windows Forms how to make an image follow cursor without flicker?
Can anyone help me out I want to make a image that's part of my resources (it's a gif) follow my cursor while it's inside a certain picturebox. I've tried some code that involved a timer, but it had a lot of flicker. Does anyone have a solution Also, the image 48x48 pixels and I want the cursor to be centered on it. What are you using to display the following image Are you using a separa ...Show All
Visual Studio Team System Migrate from Seapine Test Track
My company is moving towards using VSTS but we need to migrate from our existing bug tracker, Seaping Test Track. Are there any utilities to perform the migration We don't provide any converter for Seapine out of the box, but perhaps a third party will. You could create your own using the Work Item Tracking client API. You can find documentation in the Visual Studio SDK at https://affiliate.vsipmembers.com/ . T ...Show All
Visual C++ Error while compiling C2664
Hi, I have this piece of code which I am trying to compile in VS 2005. ///////////////////////////////////////////////////////// CComBSTR combstrEventGroup = bstrEventGroup; hResult = ::UuidFromString(combstrEventGroup, &uuidEventGroupNr ); ////////////////////////////////////////////////////////////// Error: error C2664: 'UuidFromStringW' : cannot convert parameter 1 from 'ATL::CComBSTR' to 'unsigned short *' ...Show All
Visual C# How to Convert HtmlData to string *** Urgent
Hello all, I am using C# 2.0, in my winApp. I am getting the HTML Data. I need this in string format. I don't want to use browser control. how to achieve this. anybody any sounds will be appriciated plz help me my application is e-mail reading application. some cases email body will come in the form of HTML Data. I want to show this in TextBox Control. how to achieve this plz tell me, it is urgent ...Show All
Software Development for Windows Vista Welcome!
Hello and welcome to the Data Access, Storage, Search and Organize forum! There's a lot to talk about here and we're waiting to listen to your comments and answer your questions. A lot of folks are down there at PDC so we're expecting these forums to really cut loose once everyone gets back and starts to work with Vista, but we're open for business now! Hi, These are specific web-based forums and canno ...Show All
Visual C# ADO.NET Handling of a Pending Transaction
Hi, I am working on a part of my app which is working in distributed environment and I am trying to use the Transaction functionality provided by ADO.NET. I understand that transactions remain in Pending mode until Abort() or Commit() is explicitly called. What does this mean What if I am updating two tables and I have completed the update on the first table, when something goes wrong and let's say the application server crashes. Now I ...Show All
Visual Studio Team System SQL Server Name of Team Foundation Server??
If you know the Team Foundation Server name, is it possible to get the SQL Server name that uses for its databases like VSTEAMTeamBuild I need to get the information from its TestResult table. Or, is there any other way to get Test Result information from TFS The DB information is stored in integration services registration. That is what the application tier calls to get it's DB locations. If this is Beta3 ...Show All
Windows Forms Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'
I have created a new test project and when I add a reference to my application project I get the following error message: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' What can cause this Chris Holland Once again MS is publishing incomplete or corrupted programs and then making us pay to fix thier mistakes. Unfortunately the fixes that you mentioned in this article won't work for me. I'm running VS 20 ...Show All
Visual Basic ListBox as an argument
Here is one for the group. Can a list box become an argument, ie. ListBox(21) ListBox(22) My problem is that I have several list boxes with data. I need to compare ListBox1 with ListBox2 and 3 and so on. It would be so much easier to use a variable like ListBox(x) as the list box number. Thanks, rmc The easiest way is to create an array of the TextBox type and add your TextBoxes to it ala: 'Create ...Show All
.NET Development IntegerValidator is silly...
Class, Test and very strange results below. Last time I checked, 2 was right there between 1 and 3. namespace Fido.SnmpPollerServer.Configuration { using System; using System.Collections.Generic; using System.Configuration; using System.Text; /// <summary> Represents a host element tag on the PollConfigSection </summary> public sealed class HostElement : ConfigurationElement { internal sta ...Show All
SQL Server Configuration of Database Mail
Has anyone been able to configure Database Mail and successfully send an email message I set it up this afternoon, but all my messages are sitting in the sys_mailitems table of the msdb database. We use Novell GroupWise as our email client, but we have not installed GroupWise on this server. Can I configure the IIS SMTP server to send the email messages These are the steps I have taken thus far: ALTER DATABASE AdventureWorks ...Show All
