WillTurner's Q&A profile
Visual FoxPro LIST BOX
I can not use a list box.RowSourceType is 6.I am using a database with 37 records.The list box is showing nothing.Sometimes is showing some items but I can not select them. If I build a string from database the list box is working fine. If I not use "SET FILTER" list box is also working fine.Some ideas Thanks I tried but no result.This time I found the answer at : http://support.microsoft.com/default.aspx scid=kb;en-us;135754 I will work with strings, but your ideea is good and I will save it for future. Thanks, Daniel ...Show All
SQL Server Subcube in cube calculations
In AS 2005, can a Create Subcube statement be used to create a subcube that can be used within a Calculated Member in the Calculations tab in the cube editor. The Subcube needs to exist only within the scope of the Calculated Member. (Create member) What are the typical usage scenarios for 'Create Subcube'. Regards Mosha, The calculated member had a case statement , on removing the case and just having the sum part in the member, solved the problem. Now even on the first run, it returns in 5-6 secs and the 'Total Cells Calculated' perfmon counter increases only by a few numbers, which was earlier running into millions. Is there an explanation to this. removed this case CASE WH ...Show All
Visual Studio Team System Build script
Hi! I have VSTS4DBPRO project (and bunch of other projects - SSIS, SSAS, C# - in my solution). And i need to create sql script wich should create database using my custom installation tool and supplied (by user of that tool) database server name, database name, physical layout (database files names and paths) options (assume that database has finite filegroups). Any workarounds how I must build my solution to achive desired result How could I get this by VSTS4DBPRO Andrey Makarov wrote: Jamie, Gert! Thanks for answers! As I intend above there is simple but little bit awkward solution - little prog that trims everything before creation of database objects. And I've just done with it. ...Show All
Visual Studio Team System TFS Warehouse, NullReferenceException in ProcessOlapNoTransaction
Hi, I have many of the same event log entry on my TFS server, occuring hourly, that don't match any of the other problem/solution combos I've seen online for the same error code. Can someone please have a look and help me to resolve this problem. Let me know if I should post more information. Thank you, - Jason Here is the error: Event Type: Error Event Source: TFS Warehouse Event Category: None Event ID: 3000 Date: 20/12/2006 Time: 9:14:53 AM User: N/A Computer: BENJI Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC ...Show All
Smart Device Development sync problem
when i on my motorolla mpx220 mobile phone it gives a msz your phone running with low memory.and then the phone become hang. it also not allow now via usb sync with my pc.it also give a msz that ur divice is menufecture but windows can not recognize. what can i do to use my phone. Check the space on the SD Card. Are you able to establish a connection via ActiveSync What version of ActiveSync are you using As per this link http://www.motorola.com/motoinfo/product/details.jsp globalObjectId=53 Motorola mpx220 is indeed a Windows Mobile based phone. Manav ...Show All
Visual Basic Deleted row of a Datagridview
Hello. A question please. When the user deletes a row of a datagridview, I recognize the event with RowsRemoved. But how can i recover a value of that deleted row in the rowsremoved event Thanks... Do you mean like an 'undo' Or is this a databound grid To get any items back from a deleted row (the 'row' is soimply an item in the rows collection), you would have to save it somewhere/somehow. Perhaps clarify what you are trying to achieve. ...Show All
SQL Server Formatting numbers question
I have a datagrid with currency amounts, the default currency format "C" shows only two decimal places, I would like to show up to 4 decimal places. Useing the formula/expression editor, how would this be done Both of the above are possible options. rs12345 - put "c4" into the Format property of the textbox guyinkalamazoo2 - apply the formatting directly tot he value in the expression of the textbox ...Show All
Visual Studio 2008 (Pre-release) Element Binding: Line X1 Y1 bind with UIElement's location
I have a line object on the canvas and along with button. line's X1, Y1 exactly start from the right border of the button and end after some distance. Now what I want is to bind the X1, Y1 properties of the line object with the location of the button. Now e.g. if the button object moves, the line's X1, Y1 should move with button (just because of element binding). (make sure that X2, Y2 should be static, no movement should occur) Can we do that in xaml.... Any question please ask Thanks alot to read this thread :) and too thanks in advance to feed it actually I am binding the X1 property to the button(left edge) similarly you can bind the Y1 property try to wire up an event handler for buttons click an ...Show All
Visual Studio Express Editions Joining code
Is it possible to make a program with joined code (Like joining a little bit of VB and a little C#) Ohhh How do you make DLL's That too is easy start a new project of the type Class library. Add your code. Wrap it in a Namespace and then build it. Be aware that a dll is a slightly different environment than a process and does not have accesses to all classes that an executable does. ...Show All
.NET Development How i can start to programming messenger
Hellow i want to make chat program on internet as msn with c# how i can start with this and if there is website demonstrate this thanks start taking a look at the Socket classes and its examples: http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.networkstream.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.socket.aspx these are the core classes that handle TCP communication. ...Show All
SQL Server SSIS Newbie - ETL question....
I am tasked with loading the data from one SQL Server 2005 database into another of the same type and schema on the same server. I'd like to use this task to get my feet wet in terms of using SSIS. Can someone suggest a way of doing this Thanks in advance Loopsludge wrote: Yes Jamie. That's correct. I don't want to use the IDs from the source DB because they are typically autogenerated and most likely will not coorespond to the new autogenerated IDs as they get entered, yet I have to maintain the link relationship. Am I making sence No. Because in one breath you say you want the foreign keys coming over (i.e. schema objects) and in the next you say you are interested in data. I think its th ...Show All
Visual FoxPro Why I can't change the back color of the page frame?
Instead of a change the value, the color is same I tried by Opaque or Transparent, but nothing. Thank you. You need to turn off themes. ie: PUBLIC oForm oForm = CREATEOBJECT('myForm') oForm.Show() DEFINE CLASS myForm as Form ADD OBJECT pgf as Pageframe WITH pagecount = 5, BackColor = RGB(0,255,255), themes=.f. PROCEDURE pgf.init this.pages(1).BackColor = RGB(0,0,0) this.pages(2).BackColor = RGB(255,0,0) this.pages(3).BackColor = RGB(0,255,0) this.pages(4).BackColor = RGB(0,0,255) this.pages(5).BackColor = RGB(255,255,0) endproc enddefine ...Show All
.NET Development Drawing on web pages
After way too much research and study, I have not been able to determine how to draw on web pages (not forms). Is it possible If not, how do I launch a seperate form, and can I draw on that (as the client) Thanks in advance. Sinan, Thanks for your response. What I need to draw (like drawing on forms) is lots of small rectangles. Then the client interacts with them by selecting some of them for various purposes. I currently do this in VB6 on forms where the operator interacts with the graphics (by keeping track of X and Y coodinates), but this doesn't seem possible using browser pages, since they don't have form methods, such as paint or mousemove. Could I open a form, paint on that, and interact w ...Show All
Windows Forms Adding help to an application
I have used HelpStudio lite to generate help content but I can't figure out how to add it to my application. The help keeps talking about adding / registering it to Visual Studio, but I just want it to be relevent to the application I am developing. How do I display the help window How do I get the help content being displayed to be the help content I produced Thanks, John The problem is when I go to Visual Studio 2005's help Index, under Help Workshop it references Help Authoring which references HelpStudio Lite. So it seems that 2005 has replaced Help Workshop with HelpStudio Lite. But I can't find the documentation about how to use it! ...Show All
SharePoint Products and Technologies PublishingLayoutPage vs. WebPartPage
When a layout page inherits from PublishingLayoutPage, the masterpagefile attribute gets set at runtime and only the values of default.master or custom.master will work. When a page inherits from WebPartPage we are free to set the the page to any master page file we'd like. Since we would like to use more that one custom master page, we are forced to use WebPartPage. Are we loosing any functionality in our layout pages by not inheriting from PublishingLayoutPage We are a little confused by the limitation. Thanks ...Show All
