Ragas's Q&A profile
Visual FoxPro SCATTER/GATHER
Hou can I "scatter" in a method (valid) and "gather" in other method(click).My vf.7 is forgetting all "m." variables between methods. Thanks, Daniel You are missing something VERY basic about memory variable scoping. Unless it's declared PUBLIC (a bad idea), a variable is scoped to the procedure (method) that declares it and possibly called procedures (if PRIVATE). When a method that creates a variable ends, the variable goes out of scope and is released. A far better mechanism for making values available across all form methods is to create a property of the form. (From the Form menu, choose New Property.) ...Show All
SQL Server (Newbie) Trying to get rid of NonEmptyCrossJoin
Hi everyone, As I have said before, I am new to MDX. Any help much appreciated. I am trying to substitute the Exists() function for the NonEmptyCrossJoin() function, but Exists is not producing the results that I would expect. The test query that I am running is: SELECT {[Measures].[Value]} ON COLUMNS , NonEmpty({[Fact].[Name].[All]. CHILDREN }) ON ROWS FROM [AS Test1] WHERE NonEmptyCrossJoin ({[Start Date].[Month Hierarchy].[2006-01-01 00:00:00]:[Start Date].[Month Hierarchy].[2006-06-02 00:00:00]}, {[End Date].[Month Hierarchy].[2006-06-15 00:00:00]:[End Date].[Month Hierarchy].[2006-12-31 00:00:00]}) This is not ideal code, but performs correctly, only listing members with start and end ...Show All
Visual Basic Image On Mouseover (Repost because nobody replied to the origional)
How do I get an imgae to display & follow the mouse by having my mouse over another image You can also set up a custom cursor that only displays when over a particular control: ' Cursor from image example. ' Example uses a button, picturebox ' and openfiledialog Public Class Form1 Dim pubcur As Cursor Private Sub Button1_Click( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.Filter = "Jpg files (*.jpg)|*.jpg|Bmp files (*.bmp)|*.bmp" If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then ' If you do not size the cursor's source ' bitmap as shown below (32x32). The ...Show All
SQL Server how do i?
anyone know how to attach a db installed on the client using vs 05 and oneclick Thanks Thanks for opening up a new thread, I don’t have any further idea, that sounds like a straight forward implementation to me as from your description. Some last question, your wrote that "and the Windows Application contains no data but everything else works fine. " So is the (opening of the) connection to the database working or does your application throw an error Hope you will find the solution, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
.NET Development GetHashCode and Equals once again
I do not see how GetHashCode() and Equals() can ever successfully be implemented given the guidelines. I am assuming that one of the guidelines, apart from the well-known one of two objects being equal ( Equals() ) returning the same hash code ( GetHashCode() ), is that GetHashCode can not change during the lifetime of an object. Given this assumption it appears to me that GetHashCode must either be implemented on a totally immutable class, or that it must only use immutable data members of a class. Since this is the case, the Equals() function must also depend on either a totally immutable class or only use immutable data members of a class. To me this need to rely only on immutable data in a class defeats the entire purpose of object eq ...Show All
Software Development for Windows Vista Correlation does not work if used with WorkflowChanges at runtime!
To better describe the problem I created an example: http://download.adestis.de/wf/CorrelationTest.zip Here comes the description: Background ------------ I am currently developing a error handling activity. This activity should be used as a container activity like the SequenceActivity. If the the inserted child activities faulted this process (child activities) should be retried or the error should be ignored or the workflow should be aborted. This logic needs to use the CallExternalMethodActivity and the HandleExternalEventActivity with correlation. To archive this goal (the errorhandling) I tried different approaches. The only working approach seems to be to dynamically extend the child activities with the error handling log ...Show All
Visual Studio Tools for Office Access Controls in Word (VSTO 2005)
Hi, I would like to access at a later state my controls (textboxes and a dateTimePicker), which I have previously generated dynamically. For an unknown reason, I can't access the Item property in the ControlCollection class ! I have also tried to pass through the GetEnumerator() method like this: System.Collections.IEnumerator en = Controls.GetEnumerator(); while (en.MoveNext()) {en.Current} But when I have the "en.Current" object, I don't know how to access the property of the control. Can anybody help me out Thanks a lot! Claudia I know, I have seen already some examples doing exactly what I have described in the previous message... but I can't find! Any suggestions Thanks, Claudia ...Show All
Visual Studio 2008 (Pre-release) TCP URL?
I have a web service that is listening on an HTTP port and a TCP port. I can see that this is happening with netstat -a. I try to test the TCP connection using the ChannelFactory like: EndpointAddress address = new EndpointAddress ( "net.tcp://localhost:8005/Services" ); ChannelFactory < IServices > factory = new ChannelFactory < IServices >( "WSHttpBinding_IServices" , address); and I get: The provided URI scheme 'net.tcp' is invalid; expected 'http' Any idea what I am doing wrong Thank you. Kevin hi, The scheme must match the binding. It looks like you're using wsHttpBinding instead of netTcpBinding. your scheme is indicating tcp (net. ...Show All
SQL Server Problem Launching Report Builder
Hi, I am having a problem launching Report Builder on one of my users pcs. When he clicks on the icon the following error message appears: dfsv.exe has encountered a problem and needs to close When I log in as myself to his PC Report Builder launches with no problems. Any advice Cheers Hi, Re-creating the user's profile worked in this case, Thx ...Show All
Visual C++ Where is this said "fulfillment site"?
"The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported." OK, sounds good ... how about a link to it, Bill!! Can someone please post a link to this "order a CD of February 2003 Edition of the Platform SDK for Visual C++ 6.0 fulfillment site" Many Thanks in Advance! Robert Hello Sorry my answer annoyed you; this forum deals with VC++ 2005 questions/issues only. There are newsgroups that deal with questions for previous versions – sorry if the scope of this forum was not clear enough when you initially posted. Thanks Damien -- PS ...Show All
Visual Basic Parseing text file
Hi All, I've serached the formums for this and have foudn the following links which is part of what I want to do http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.fileio.textfieldparser.aspx http://msdn2.microsoft.com/en-us/library/x710fk43.aspx The 1st of these two links is more what I want, however in the file I'm loading the delimeter may not always be the same for each row. The records will all follow the same format, for example --> Row1, Field1, Field2, Field3;Field4,Field5, Field6:Field7, Field8 Row2, Field1, Field2, Field3;Field4,Field5, Field6:Field7, Field8 As per the example here, between Fields 3 and Field 4 on every row there is a semi-colon ";" as a delimeter and between Field6/7 ...Show All
Visual Studio Team System Get latest version vs get specific version
Im getting some feedback from users who have complained that they are not seeing the latest version of source files or in some cases if a person has created a new file and checked it in to source control it cannot be seen unless a Get Specific Version (force get) is issued. Im just wondering if this is how Get latest version and Get specific version are supposed to work and how should users approach bringing down files especially when they start their day in a shared environement. Thanks Aaron I do not think that you are describing standard behavior. Get latest gets the actual file in case the local file is outdated as compared with the server version; TFS does not check the actual file contents; ...Show All
.NET Development Multilingual resource editor
Hello, I have an idea for an application, maybe it already exists. The aim is to allow the user to simultaneously edit different localisation resource files. The tool I have in mind is like an extension of Lutz Roeder's .NET Resourcer. Basically you open resource files ResourceFile.resx, ResourceFile.en.resx, ResourceFile.fr.resx and you have treeview. Top level are the resource keys in the files, and the next level has the values for each culture : default value, EN value and FR value for this example Hopefully this quick description is clear. Does this sort of tool exist anywhere Thanks, goPlayer Check this web page, it sounds similar. http://www.wilsonc.demon.co.uk/d10resourceeditor.htm ...Show All
Visual Studio MSBee and toolsets
Just as a reminder, the MSBee toolset (a set of tasks and targets that MSBuild can use to create binaries targeting .NET 1.1) has a forum of its own at http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=291&SiteID=1 For example I posted something to clarify what we consider a "toolset" and how we might improve our support for the concept going forward. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=510398&SiteID=1 Questions welcome there. Dan ...Show All
Visual Studio Express Editions Printing
I have made a web browser and I am using it right now. I have 5 problems. 1. Right now on this posting thing I can't right-click the text-box and paste code. HOW CAN I MAKE ME BE ABLE TO PASTE, CUT, AND COPY 2. I wnat to be able to print my webpage by pressing a button here's my code so far: PrintDialog1.ShowDialog() If Windows.Forms.DialogResult.Ok Then PrintDocument1.Print() END IF 3. I have a menu strip on the top of my form. one of the thing's says BOOKMARKS. I need some code to add a webpage to bookmarks and make code to get us to the web site when I click on it. 4. I have a progress bar and I need it to react to how muc ...Show All
