tylerl's Q&A profile
Visual Studio Express Editions Data not updating: VB 2005 Express Tutorial
Hi! I'm new to VB and databases, so I'm working thru the below linked tutorial provided by MSDN: http://msdn2.microsoft.com/en-us/library/es6f6ht5.aspx My code is correct and I have followed the directions to a T. However, I cannot get my database to save changes using either the BindingNavigator control or by (attempting) to force it to update using the TableAdapter.Update() function. Here is all the code I have for the lesson: Public Class Form1 Private Sub AddressesBindingNavigatorSaveItem_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles AddressesBindingNavig ...Show All
Windows Forms Async methods
Hi! Is there a simple way to define just one method of a class as an ASYNC method without having to define the whole class as IAsync For example: I use an Data-Access-Layer for retrieving data from a webservice. Now I load a form and want to retrieve data from my webservice without blocking my UI. I´m calling the webservice in an asynchronous&nbs ...Show All
SQL Server Default Values do not show in WinForms.ReportViewer parameters
I have two multivalued comboboxes on my report. One cascades from the choice in the other. In IE or report preview the default values load and show on the form. In the reportviewer control the default value needs to be selected in one which then causes the default value to load in the related combobox. I was hoping to find some custom code for loading the in the report_load event but Custom Code is hard to come by. I just got the Osborne 2005 book and it has nothing in it about the internal custom code only how to reference code in dlls. I do not have either paramters to set to allow blanks or nulls so I would think it would force the ...Show All
Visual Studio Team System functional verification points
Is there a way to add functional verification points to a web test, such as tab order, initial focus, maximum length, and type of field (numeric, characters,...etc) You can specify validation rules to inspect the response of any request. Here's a link to the help topic that describes how to add validation rules to a web test. http://msdn2.microsoft.com/en-us/library/ms182544.aspx There are a few built-in validation rules that you can use (such as searching for a regular expression in the response. If the built-in rules do not provide what you're looking for, you can write a custom validation rule to perform the specific opteraion ...Show All
Windows Forms Search a string in a string...
Hi folks, I'm looking for a way to look for a string in a string. Like this: string a = "A: AResult B: BResult C: CResult asdflkjasdfölj saldkfasöldk asldöfaslödk sadlöfksdaölf söadlkasdölfkj saldkfasöldk asöldkasöldk asölkfasöldk" Now I want to have following results: string aA = "A:"; string aAResult = "AResult"; string aB = ...Show All
.NET Development Updating (Refreshing) Dataset Source Info
All, Can someone send me a clue on how to update a DataSet in visual studio 2005 after making changes to the stored procedure it is attached to (adding new fields, etc) There seems to be no way to do this that I can find without completing deleting it and starting over. Em, help. Joseph Just so it's clear...It's not the data records I am trying to refresh, it's the connection itself. As mentioned, I am using a stored procedure and let's say I go to SQL and make changes to the stored procedure (adding fields, etc. ) Visual Studio seems to have no idea that the changes were made. I am presuming that be ...Show All
Visual Studio Express Editions System.Windows.Forms.TextBox,%20 is being added before each substitution
Hello, I am trying to "make" a web address from some textboxes from my form... I need to get this: http://api.local.yahoo.com/MapsService/V1/mapImage appid=SSVRT_KN1123&city=redmond&state=washington&lvl=10 but I am getting this: http://api.local.yahoo.com/MapsService/V1/mapImage appid=SSVRT_KN1123&city=System.Windows.Forms.TextBox,%20Text:%20redmond&state=System.Windows.Forms.TextBox,%20Text:%20washington&lvl=10 This is my code: --------------------------CODE------------------------ Public Class Form1 Public cityLoc As String Public stateLoc As String &n ...Show All
Windows Forms Nested controls scaling
Somebody have example or recommendations how correctly create automatic scaling and moving nested controls if control resized. Interesting also automatic fonts scaling. ...Show All
Visual C# who the hell started the animation ?
Hi, Check out the snippet: /* DoubleAnimation animation = new DoubleAnimation ( 0d, 1d, new Duration ( TimeSpan .FromMilliseconds( 1000 ) ) ); animation.Completed += new EventHandler ( animationCompleted ); Rectangle rectDest = new Rectangle(); rectDest.BeginAnimation( Rectangle .OpacityProperty, animation ); */ private static void animationCompleted( object sender, EventArgs e ) { // how can i know here that rectDest property is animated any ideas } Thanx... I don't know wish type of rectangle you use that contians a BeginAnimation method b ...Show All
.NET Development how do I get the key for a collection?
If I have the following VB.NET collection: Dim oUser As New Collection oUser.Add("jbloggs", "CN") oUser.Add("jbloggs", "samaccountname") oUser.Add("Joe Bloggs", "DisplayName") oUser.Add("Joe", "givenName") oUser.Add("Bloggs", "sn") I can do this: msgbox (oUser("CN")) and get this result: "jbloggs" But how would I check for the collection's key = "CN". It would be handy if the Key could be used in conjunction with its value as well. Example (only pseudo code, this will not actually work) For i = 1 to oUser.Count If oUser(i).Key = "CN" Then .... Next I figured out how to do it, but ...Show All
SQL Server All possible combination in a where condition
Dear all, In the dataset of a report in the Reporting Services 2000, I need to write an SQL statment with a Where condition which makes all possible combination of 10 conditions. Could that be done by any way except by ORing and ANDing all the conditions For example, If I have three conditions, A, B, and C, I need all possible combinations in a WHERE condition as follows SELECT * FROM table WHERE A = @A OR B = @B OR C = @C OR A = @A and B = @B OR A = @A and C = @C OR B = @B and C = @C OR A = @A and B = @B and C = @C Note: @A, @B, @C are Report parameters I need to do the same with 10 conditions, I think it's too much to do it that way. ...Show All
Visual Studio Custom task: assembly could not be found
Hi, I am using the final version of Framework 2.0. I have created a custom task called SimpleTask (modelled after the Hands-On-Lab document). When I try to use it in a project file, I get the following error message: C:\tmp\I2DL\i2dl.proj(11,5): error MSB4062: The "SimpleTask" task could not be l oaded from the assembly c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll. Could no t load file or assembly 'file:///c:\tmp\vs6build\vs6build\bin\Debug\v6build.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its d ependencies are ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Force Feedback not working with Feb2006 SDK
Hi there, I just went out and bought a new Logitech "Rumblepad2" gamepad. I've installed the most recent drivers for it, and the Feb2006 DirectX SDK. In the control panel -> Game Controllers I can get it to rumble without a problem, so it does work. In there its possible to test at least 10 different rumble effects. I'm developing in VS2005/WinXP Pro. When I tried the MSDN example of force feedback (located here: http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/directx9_m_Oct_2004/directx/input/directinput_forcefeedback.asp) it flops. First problem with that example is you need a "force feedback effect file& ...Show All
SQL Server Reports containing Drill Through Interactive bar charts not working properly when deployed
Hi all, Drill through bar charts work great in the report designer preview, but as soon as I deploy the report, and view the report in a webpage, drill through does not work smoothly. I have to move the mouse around to be able to find a place on the bar to click through to the next report. Sometimes, I am able to click on the bar to go to next report, but then sometimes I have to click on the label, and other times somewhere in the vicinity of the label. Any help will be much appreciated. Thanks, Kanwal Hi, This is happening for me too…. I am running RS 2005 (Microsoft SQL Server Reporting ...Show All
Visual Studio Team System How can I get the users of a group by WIQL ?
Hi, Can anyone help me on Work Item Query Language (WIQL) !! I want to get the list of bugs assigned to the members of a specific user group. For example, I want to see the list of current unfixed bugs assigned to the members of developer group. Is it possible through WIQL Thanks. Yes, the best way to do this is by using an IN query like this: SELECT System.AssignedTo, System.ID, System.Title FROM workitems WHERE System.AssignedTo in ('joselugo', 'jeffhay', 'linaabola') The query language is is detailed in the Beta 2 extensibility kit here: http://www.vsipdev.com/downloads/vs2005tsekBeta2.aspx The Beta 3 version of ...Show All
