swathi_challa's Q&A profile
Visual FoxPro Creating an exe from the Control Panel
Hello, I have finished my firs application and I have troubles with generating an exe to be installed in the customer’s PC. I’ve accomplished all the requirements seemingly for example to copy the dll that indicates the help of VFP, in same the directory where the application is executed, and to start up from an initial program that after calling to the form from this program, I`ve addedd the sentence of READ EVENTS at the end, I execute It and can’t see anything. The exe run like a process in memory (I do check it with the task Administrator of Windows XP). If I have an open sesion of VFP, it works, but if I close it, It does not (AND the client doesn't have installed VFP) Thank you for your support Regards, Alberto ...Show All
Visual Basic Option Strict On disallows implicit conversions from 'Utilities.MessageBox.Products' to 'Utilities.MessageBox.Products'
This error has me completely baffled. We have a property on one of our UserControls which takes something of type Utilities.MessageBox.Products (we wrote our own message box for the purposes of our program). Public Enum Products As Integer Prod1 = 1 Prod2 = 2 Prod3 = 3 End Enum It is all declared properly, everything has a unique type. The compiler tells me that I should cast it: Me.Sheet.Product = CType(Utilities.MessageBox.Products.Prod1, MessageBox.Products) Which gives me the exact same compiler error on the first argument into CType (how can you get a conversion type error inside a cast at compile time !). Anyway, this makes no sense, something is seriously wrong. Has anyone encountered this before I don't want to turn off ...Show All
SQL Server Unable to View Cube/Dimension Data
Hello, I am new to Analysis Services. I have installed MSAS on SQL Server 2000, and am following steps described in the tutorial. I was able to create cubes and also process them. When I try to browse data in the cube or dimension, I get the error Unable to browse the cube <cubename> Unspecified error. What is the cause of the error and how to fix it Thanks Vani I have the same problem as Vani above, however I already have SP4 installed and I still cannot browse my cube. I've tried adding everyone to the cube role, but no luck. Any help is appreciated. thanks ...Show All
Audio and Video Development how to use the different controller events for animation ?
Hi, Can anyone please tell how to use different controllers events to animate some image move using different controllers please give examples using controller Apis. Thanks in advance.. Basically you would register an event handler for controller_key_down and based on the value of the key property, use the animated property api to move the object around. You can also do it through markup if you like, but it would be a lot more complicated. ...Show All
Visual C# Protected member variable access
Hi All, I have three classess. Class program, A and B. A has a protected variable of type int. B is dervining from Class A. I am able to access protected variable through object of class B from withing Class B. But I am getting error while i try to do the same from Class Program. Following is the code using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { a obja = new a(); b objb = new b(); //variable x is not accessible from object of b class. error displayed for this line objb.x = 10; } } //end of class Program public class a { protected int x = 0; } public class b : a ...Show All
Visual Basic Application - Object Browser interface.
Alright, I must admit that I am an object browser addict. Is it a Dll that an be called by another application If you mean the "Object Browser" view from Visual Studio then no... that's VS stuff, not part of the framework. It doesn't even seem to be a .NET thing... ...Show All
Visual Studio Express Editions Sizing items in a web browser box
My question, I have a web browser box accepting a RSS feed or any web information for that matter, is there anyway to size the incoming feed to fit in the size web browser box I place on a form. Thanks IrishWolf, Do you mean that you want to save the feedback from you websites Database is the best choice like SQL Server or some other DBMS. In your program, I suggest you to use the Session object on your server side and allow cookie configuration on the client side. If this description is not about what you want, please reply me and tell me the details in your project and tell me what is your problem in your problem or some other related problems. Waiting for your reply :-) ...Show All
Visual Basic form access and memory leaks
I have a class that when certain public members are called, opens a form that is nothing but a docked textbox. The class dumps output to this window. If the user clicks on the "X" in the upper right corner, the form is disposed. What I want to do, is to continue to append text to the text box the next time any public member of the class is called. If the form was disposed, I'd like to open a new copy of it and start with a clean slate. What I came up with is: If mdioOut Is Nothing Then mdioOut = New frmMDIOOutput ElseIf mdioOut.IsDisposed Then mdioOut = New frmMDIOOutput End If My concern is that the second New frmMDIOOutput will dereference the first one before it is finalized, leavin ...Show All
SQL Server SSIS Import/Export flat file
Firstly, I hope this question isn't asked too frequently but I found no existing reference to this situation.... I had a bunch of stored procedures in SQL 2k which imported and exported data to and from flat files using TEXTPTR, READTEXT, UPDATETEXT etc... The flat files were continuously changing so the filepath was a parameter for the sp. The reason I used the pointer to flat files is because I didn't want to load the files in memory before commiting them ie. with TEXTPTR and UPDATETEXT I can import a 1Gb binary file 80000 bytes at a time and keep (precious) memory usage down. I was accessing this procs from a C# application. Since these methods are going to be phased out by the guys at MS what is the best way of importing/exportin ...Show All
Visual C# Not able to retrieve data using data reader
Hi.. I am developing windows forms using c#. I am not using the datgridview to present the data, but normal combo box and textboxes to display the data. I am using datareader to extract the data. i am able to get the table name, but i am not able to get the other datas into the textboxes. Below is the code of how i tried to retrieve the data. private void dpdnListName_SelectedIndexChanged( object sender, EventArgs e) { if (!dpdnListName.SelectedText.Contains( "Select" )) { txtName.Text = dpdnListName.SelectedText.ToString(); string strConnString = System.Configuration. ConfigurationSettings .AppSettings[ "Connectionsql" ].ToString(); DBManager dbManager = new DBManager (); ...Show All
Visual Basic File Shourtcuts
How do I create file shourtcuts in Visual Basic Thanks in advance, Jupiter13 The following thread deal exactley with creating file shortcuts in VB.NET http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=437688&SiteID=1 This should get you sorted. ...Show All
Software Development for Windows Vista C# Workflow Rules in March CTP of Visual Studio "Orcas"
Hi, The download page of March CTP of Visual Studio "Orcas" notes the following enhancements in the CTP: C# Workflow Rules Workflow Rules allows users to enter rules (and conditions) in a code-like manner Support the use of the new C# Extension methods features in their rules Enable operator overloading and the new operators in their rules Can someone from the team elaborate on this topic please Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg/ Extension Methods - Extension methods make it possible to extend existing types with additional methods. This is a useful way to define new static methods on preexisting classes. For example, one could extend the string class with a ToInt32() metho ...Show All
Visual Studio Team System error uploading reports
Hi everyone, when my team is trying to upload one of the reports we created but we are geting this error " The Value expression for the textbox ‘Severity’ refers to the field ‘Microsoft_VSTS_Common_Severity’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope. (rsFieldReference) Get Online Help " any idea how to solve this problem thanks or once i do get a report uploaded i get " The report server cannot process the report. The data source connection information has been deleted. (rsInvalidDataSourceReference) " Thanks for your help and time ...Show All
Smart Device Development The remote connection to the device has been lost.
Hi, I get the following message when I run my application on my pocket P.C. It happens randomly. Sometimes it works fine. Other times I get this message. I am not using any breakpoints. At the moment it is happening when I try to add data to a database from information got from a form. The con.executenonquery line causes this error. "The remote connection to the device has been lost. Please verify the device conection and restart debugging" Does anyone know why this happens, and if so, how to fix it Michael Michael Carty wrote: Hi, I get the following message when I run my application on my pocket P.C. It happens randomly. Sometimes it works fine. Other times I ge ...Show All
Visual Studio 2008 (Pre-release) Finding Height of a chid control in a custom control
Hi, I am writing a customControl which is inherited from framework element, and has a Grid, this Grid in turn host some canvases, and the canvases show a custom drawing depending over some prooperties' exposing data. Now, to get the height and width of these canvases is not being possible for me, at ay point of time if i need height and width of them, i have some private variables, and i update them in the measureoverride, with the help of availablesize.width, and availablesize.height and dividing this available size with some constants say 6 (My grid is based on star sizing so it's possible) but isn;t there a way to get the size of a child control. thanks and Regards brij ...Show All
