michael aird's Q&A profile
SQL Server Axis Labeling Issues
I'm trying to plot some data with integer x-axis values ranging from 1 to 1000. And I can't get the first x-axis label to be 0 rather than 1. Since I'm incrementing by 100, the rest of the labels are now 101, 201, etc. How do I get these to start at 0 (or even 100...as long as all data shows up) Did you try to set the 'Min' property to 0 on the x-axis tab of the chart properties dialog Btw, more information on axis labels and the category vs. scalar x-axis mode are available here: http://msdn2.microsoft.com/en-us/library/aa964128.aspx#moressrscharts_topic3 -- Robert ...Show All
SQL Server ASP writing data to SQL Server 2000
I am having a problem with an ASP program that inserts data into a table on SQL Server 2000. No error msg is returned upon submission and the confirmation msg that displays after the commit command is sent to the server displays, but when we go to the DB, the data sent isn't there. This is an occassional occurance and usually the data is there, just some times, it isn't. Other forms function just fine, using the *exact* same file to perform the submit function (all the forms "include" the same submit page). The only difference we can find is a trigger on the table having problems which executes upon update, capturing the information about who updated the record when. From what we can see, this is the only programmatic difference. ...Show All
Smart Device Development insufficient memory when installing in windows mobile 5.0
when trying to install an application on windows mobile 5.0 it asks for .net framework 2.0 to be installed, since windows mobile 5.0 has a prior version of it, but it fails and i get not enough memory although there is enough memory I'm getting this too... here is a copy of the log file... Any ideas Thanks. 12/01/2007 09:12:39: Entered Install_Init(). First Call: Yes Previously Installed: No Installation folder is: '\Storage Card\Windows'. 12/01/2007 09:12:39: Build 2.0.6129.00 created on May 9 2006 at 06:29:32 12/01/2007 09:12:39: Device CPU: 'ARMV4I', 05020000 (84017152) 12/01/2007 09:12:39: PocketPC 5.01 12/01/2007 09:12:39: AKU string : '.2.3.0' 12/01/2007 09:12:39: OEM info : 'WIZA200' 12/01/2007 09:12:39: Our trust leve ...Show All
.NET Development How put scroll follow in asp menu in this code?
See.... I have this code and i need put something to do menu follow scroll. I think in this javascript ... var Hoffset=200 // largura var Voffset=160 //altura var ieHoffset_extra=15 var cross_obj= document.all.staticbuttons function positionit(){ var dsocleft=document.body.scrollLeft var dsoctop=document.body.scrollTop var window_width=document.body.clientWidth+ieHoffset_extra var window_height=document.body.clientHeight cross_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-Hoffset - 5 cross_obj.style.top=dsoctop //+parseInt(window_height)-Voffset } But where i put this in this webmenu <ignav:ultrawebmenu id="Menu" runat="server" Font-Size="9pt" Font-Names="Microsoft Sans Serif" BackColor="#F0F0F0" BorderColor= ...Show All
SQL Server BUG in BIDS when developing SSIS packages
There seems to be a BUG in BIDS when developing SSIS packages using the Import/Export Data wizard. If you use the wizard to import a large number of tables, and then select all the tables, and then choose to delete exisiting data in each table, the PrologueSQL file does NOT get built correctly. Instead of having a TRUNCATE tablename Go for each table, it just has a bunch of "Go"s with nothing between them. In the step immediately prior, where you confirm what the wizard will do, it tells you, after each table, that it will delete any existing data...but it doesn't do this. If, during the wizard, I select each individual table one at a time and tell it to delete existing data, then it will get built correctly, but not ...Show All
Visual Studio Express Editions End, Stop, Application.exit coming up with compile errors..
Yes, I know this is probally a noob question, but...Does anybody know why end; , stop; , and application.exit; wont' work It comes up with a compile error, would what I have (or don't have) in Using effect anything. I'm just moving from visual basic 2005 to C Sharp, and I need enough knowledge to be able to convert one of my big vb games to C sharp. So right now I'm just trying out different statements, and stuff, seeing how it works with C#. Also, is there a way to kind of hide intiialize component somewhere else, I realize that its needed, or else the controls wont be activated on the form, but is there a way to have it automatically call it, without requiring a call to it in my form's code ...Show All
SQL Server About HTTP Endpoint/Web services
Hi All, I met some problems when I walk through a example for Native Http SOAP in SQL Server 2005 for Developers. after I create the HTTP EndPoint in the Management Studio using following code: USE AdventureWorks GO CREATE PROCEDURE EmployeePhoneList AS SELECT C.LastName, C.FirstName, C.Phone FROM Person.Contact AS C INNER JOIN HumanResources.Employee AS E ON C.ContactID = E.ContactID ORDER BY C.LastName, C.FirstName GO DROP ENDPOINT HRService; GO CREATE ENDPOINT HRService STATE = STARTED AS HTTP ( PATH='/HumanResources', AUTHENTICATION=(INTEGRATED), PORTS=(CLEAR) ) FOR SOAP ( WEBMETHOD 'EmployeePhoneList'(name='AdventureWorks.dbo.E ...Show All
SQL Server Need help in copying a temp tables contents to a existing table
I have a real table with an identity column and a trigger to populate this column. I need to import / massage data for data loads from a different format, so I have a temp table defined that contains only the columns that are represented in the data file so I can bulk insert. I then alter this table to add all the other columns so that it reflects all the columns in the real table. I then populate all the values so that this contains the data I need. I then want to insert into the real table pushing the data from the temp table, however this gives me errors stating that the query returned multiple rows. I specified all the columns in the insert grouping as well as on the select from the temp table. ANY thoughts / comments ar ...Show All
Windows Forms listview ImageList problems... Adding to it...
In my forms Shown event I am making my application search for files on the hard drive. (I am using the windows folder strictly for testing as it has alot of files in it). For each file in the directory I am extracting it's icon from that file and adding the icon to the image list. But upon my application running it returns an error saying that the object reference is not set to an object. (or similar); Is there something wrong with my code Or what I thought is it returning an error because there is no icon to extract DirectoryInfo di = new DirectoryInfo(@"C:\Windows\"); FileInfo[] arrFI = di.GetFiles("a*.*", SearchOption.AllDirectories); foreach (FileInfo fi in arrFI) { this.listView1.Items.Add(fi.Name); System.Drawing.Icon ...Show All
Visual Studio 2008 (Pre-release) Explaination of different timeout types
When I configure a binding I can overwrite several default timeout settings. For example there are: OpenTimeout CloseTimeout SendTimeout ReceiveTimeout InactivityTimeout ... What exactly does each timeout stand for The WCF documentation says "...timeout for an open operation to complete..." for the OpenTimeout for example - but what does this mean exactly Maybe some of you can bring some light in this Especially I want to know, which timeout to configure to achieve the following: A client tries to connect to a server service, but the server is not running at the moment - the caller should recognize this immediately. Which timeout do I have to minimize Regards Bastian Brief summary of binding ...Show All
Software Development for Windows Vista Automatically Binding Properties at Design Time
I am hosting the workflow designer for a set of custom activities. With these custom actitivies, the output of one always becomes the input of the next. The validation of the workflow prevents items other than these activities from being present. What I would like to do to improve the user experience of creating these workflows is to automatically bind the output of the previous activity to the input of the next activity. I would prefer to do this at design time so that users who understand more about windows workflow notice that the property has been set but still of the flexability to modify the workflow if they know what they are doing, while users who don't have a clue won't need to understand the internal structure of the workflow. Is ...Show All
.NET Development How to share the folder using vb.net code
Hi , I have to share a folder using vb.net, i do that using net share command in shell but want to do that using vb.net code. so plz anyone help me. IRSHAD SHAIKH I don't know how to do this in VB.net code, but you can change the folder properties in the hosts computer so only the Hosts User has write to read\write to the folder. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Extending the content pipeline for model loading...
Hi, I'm sorry if this has been answered before, I've searched a bit and not really found anything too helpful. My basic question is how do you go about extending the model loading pipeline I found this example in the help files but it did not want to compile: [ContentProcessor] class ScalingModelProcessor : ModelProcessor { public override ModelContent Process( NodeContent input, ContentProcessorContext context) { MeshHelper.TransformScene(input, Matrix.CreateScale(10.0f)); return base.Process(input, context); } } I put this in the spacewar starter game, and got some errors like so: Error 2 The type or namespace name 'ModelProcessor' could not be found (are you missing a using directive or an assembly refer ...Show All
Windows Search Technologies no e-mails are indexed
just installed latest version of windows desktop search on my home computer. I use it at work and think it is great. However at home no e-mails are indexed it does not seem to recognise that I have outlook installed. I have outlook 2003, windows xp, service pack 2 and latest updates. Any help would be appreciated as i would really like to be able to use this at home too. thanks Sorry gra67 - step two is coming in a minute. I've had to restart my computer a few times due to mandatory system updates. I'll be back after a reboot :-) Paul Nystrom - MSFT ...Show All
Windows Forms does it make a difference if the value given to CmbBOX.ValueMember is lower or upper case
I have a combobox that I bind to a table in a dataset like this: cm.CommandText = "select * from route" da.SelectCommand = cm da.Fill(ds, "routes") CmbRoutes.DataSource = ds.Tables(0) CmbRoutes.ValueMember = "CODE_RT" CmbRoutes.DisplayMember = "DESCR" this code above gives me the right result : combobox with the correct list when I replace the line CmbRoutes.ValueMember = "CODE _RT " with CmbRoutes.ValueMember = "CODE _rt " '(i make RT lower case) I don t get the same result or I get an error: can bind to nvaluemamber any explanantion pls thanks yeah true, u can even still address most items, whatever it is that have a name by lower and ...Show All
