Kyle Anderson's Q&A profile
Visual Studio Express Editions keyboard and mouse simulation
I want to simulate a keyboard input in a way that other applications (as word ,explorer etc) will get it. The same by simulating the mouse. I sow a code for simulating the mouse (with cursor.position etc) but it works only inside a form any suggestion Here is an example: http://www.vbforums.com/showthread.php t=358458 you can use P/Invoke to send mouse click from managed code. ...Show All
Visual Studio Team System Display a static text on Work Item Form
Hi! I want to put a static text (e.g. help text) on a work item form. Is this possible, and how do I do it Regards, /Tomas Scott Hi, Hope i got your question in the right path. First i tell you what VSTS have for the HELP TEXT in the Workitem Form...we have separate tag called HELPTEXT for every workitem fields...in this if you specify the content ...this will displayed as a TOOL TIP when someone moves the mouse over the CONTROL....it is just HELP CONTEXT and it is a cool stuff..also...see the below synax for the same.. Let's say you want to give HELP TEXT for the field TITLE ... < FIELD name =" Title " refname =" System.Title " type =" String " > < HELPTEXT ...Show All
Visual Studio Express Editions Trackbar change transparency
I want to know how i can change the transparency of a form by sliding a track bar to the appropriate position ..... Also the command to close a form on button click There is nothing wrong with Tall Dude's code. Have you taken out all the extra blank lines you probably gained when you pasted the code ...Show All
Visual Studio Express Editions Ugh....Driving Me nuts....
I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All
Visual Studio Team System Error getting when trying to build a datawarehouse (Team Foundation Server Data to a Different Server)
Hi, I am trying to move the data from one TFS server to a different one. after restoring the databases ,when i try to build the warehouse database(sql analysys service- Expand the Databases node to see the list of databases that make up the Team Foundation Server data tier. Right-click the TFSWarehouse , and then click Process end of the process i am getting the following error. Errors in the high-level relational engine. The data source view does not contain a definition for the '__ID' column in the 'Assembly' table or view. Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Assembly', Name of 'Assembly' was being processed. Errors in the OLAP s ...Show All
Visual C# Check if string contains valid year
How do I check if a string contains a valid year only... I've the classic way but it seems it works only with complete dates. Here's what I tried: string MyString = "2001"; DateTime MyDateTime = DateTime.Parse(MyString); Console.WriteLine(MyDateTime); This code snippet throws an exception ! Any help would be appreciated. My Version: string MyString=" 1776 "; Console.WriteLine(DateTime.ParseExact(MyString," yyyy ", CultureInfo.CurrentCulture)); ...Show All
Visual Basic Making my programs executable?
I am fairly new to programming, and going to college for Software Engineering (just started); I was just wondering once you get all the code written out, and everything in place like you want it, how do you convert it to an .exe to where it will run on any machine Any help would be appreciated! no worries at all, we all learn from some place :-) Its my pleasure to help you, and anyone. There are no right or wrong questions, in order to learn, you ask questions - which is exactly what you have done! :-) Good luck ;-) ...Show All
Microsoft ISV Community Center Forums Web Page Components
Hello All, I am a complete beginner with Web Pages!. With the help of various forums I have managed to get to a web page via a Sign In page (that is I can get my VBA code to fill in the username and password). The next page I get has some options on it. (Normally if I was to "hover" over them they get underlined, are these links . If so how do I click the appropriate one If I ever get past this the next page will have a combobox where I will have to make a choice again. How will I make that choice . (Ther will be about 5 or six drop down choices. Basically I would like to know how to reference these "controls ". I am assuming this is what they are . As I mentioned earlier, I am a complete novice to this a ...Show All
SQL Server Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
I have: (1) SQL 2005 on a member server, Windows Authentication (2) I'm using Visual Studio.Net 2005 on my Windows XP sp2 work station. (3) From my machine, within my development application, I have no problem accessing the Data in the SQL server. (4) I Receive the Login Failed error after I copy my project to the Test Web Server (Same machine that houses SQL) and test from either my machine or from the host server. More details of the error message are: Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Det ...Show All
.NET Development ASP.NET Remoting over TCP and User authentication
Hello, currently i developing a object-oriented business framework in C# (.NET Framework 2.0) for asp.net applications. I have 3 layers: Web-Browser (GUI), Application Server and Database (SQL Server 2000). The Web-Server and the Application server using a tcp remoting channel for communication. Now i have some trouble with user process impersonation. I need the original user call context in all layers (Web-Server->Application Server). In the web.config i have set the identity tag to: impersonate="true". The web-context works fine, the process run under the calling user account. Server-Machine: Web-Serve = Windows 2003 OS Application-Server = Windows 2000 OS Current remoting configuration (Server): TCP Port = 8900 aut ...Show All
Visual Studio Express Editions Database decimal to convert to double for Equations
Here's a nub question..... I have a database and i'm trying to bring in decimal info into a form and use the decimal in equations. when i do that i get an error saying "cannot convert string to double" how can i resolve this issue Thanks, Rob Your code is freely converting strings to double and (worse) strings to boolean. Put Option Strict at the top of the form, fix your compiler errors and you'll have an idea where things go wrong... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. failed mesh loading
I can't seem to figure out why this function fails. Here is the structure definition(I know it has some unneccessary things in it, I am going to remove them): typedef struct meshstruct { char *name; ID3DXMesh *meshobj; ID3DXMesh *skinmesh; ID3DXSkinInfo *skininfo; DWORD numofmaterials; D3DMATERIAL9 *materials; LPDIRECT3DTEXTURE9 *textures; meshstruct *next; } meshstruct; I excluded the constructor and destructors, as I thought they were unneccessary. I would be happy to post them if you would like. here is the actual function: bool loadxfilesimple(meshstruct* mesh, LPCWSTR filename) { LPD3DXBUFFER matbuff = NULL; // is 0xcccccccc DWORD nummats; if (FAILED(D3DXLoadMeshFromX( ...Show All
Software Development for Windows Vista Storing workflow in Database
Hi All, I need some help on how to store the workflow in database(SQL Server 2005).How can we retrieve the workflow from database How to access the workflow,activities from the database Can we store the custom activies to the database How to access it from the database I am totally confused with the integration of workflow with the database and the persistence,tracking service concepts of the workflow.Can anyone help me with this issue Thanks in advance. Karthick. Hi Kevin, I went through your blog post.It was very much useful for me.I need another help from you.Can you send the schemas which you created for tracking and persistence for your custom workflow database so that i can refer t ...Show All
Windows Forms Datagrid index problem
I have a master/child datagrid. Both grids are bound to dataviews. Everything works find until I introduce a rowfilter on the dataview for the master. I can see the data but I get an argumentoutof range exception for the index paramater when either I change page or select a grid item. What gives here Can anyone point me to a decent article on what needs to happen Glad you solved the first problem. For problem #2, I'm going to recommend you post it to the WinForms Data Binding forum. It sounds to me like the issue lies more in that territory than ADO.Net itself (and I'm not as familiar with Data Binding). Post a new message thread there, since sometimes messages with a lot of responses don't have very ...Show All
Visual Studio 2008 (Pre-release) Text aliasing behavior on ScaleTransform
Hello, I'm writing an app that allows the user to place arbitrary elements on a document surface and to zoom that surface to some arbitrary zoom level using a scrollbar. I figured WPF would be perfect for this, but I'm running into a few issues. First, some background: I've bound the Value of a Slider control to a property on my document view object. That property's setter takes the log of the slider value and sets the ScaleX and ScaleY values of a ScaleTransform which I've set as the RenderTransform for my document view. My document view is subclassed from Canvas. One of the stranger issues I'm having is the behavior of text anti-aliasing: when the user changes the zoom level by moving the slider the document view zooms appropriately. Ho ...Show All
