Ravana's Q&A profile
Visual Studio a question about matrix and subtotal
hi, all, i need a report like : A B total a 4 3 1 b 5 1 4 the total = A-B , can i use subtotal to do this in matrix control Thanks ...Show All
Visual Basic How do I ADD A NEW DATA SOURCE ... it doesn't work!! Why???
In Visual Stuidio 2005 Enterprise Edition Beta 2 allows you to ADD A NEW DATA SOURCE in one place in only one way. Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed with HRESULT: 0x80004002 (No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))). Michael My mistake for typing the wrong word. I have 27 years of programming experience in 4 continents and 31 ...Show All
Windows Forms DataGridView Performance issues with CellFormatting
Hello: I'm using the DataGridView for displaying data to the user. The number of records that will be displayed at a certain time could vary between 0 and 150. I use the CellFormatting event handler to do some formatting like changing the font face and the background colors based on the cell values. Earlier we were iterating through the rows of the gridview to accomplish the same. Since the performance was dreadful, I changed the code to use the CellFormatting. Now, the performance when the gridview loads is a lot faster than the earlier approach. But everytime, we scroll through the gridview the application just hangs, and its bec ...Show All
Visual Basic Having trouble getting a correct value of textbox3
Hi Im using VIsualbasic2005 Express (its .net of course ) Dim intText1 As Double Dim intText2 As Integer Dim intText3 As Double intText1 = Val(Frm3.TextBox1. Text) 'Here is says Conversion from string "" to type 'Long' is not valid. intText2 = Val(Frm3.TextBox2. Text) intText3 = CDbl(Val(Frm3.TextBox2. Text) * Val(Frm3.TextBox1. Text)) Frm3.TextBox3.Text = intText3 Textbox3 is still 0 When textbox1 = 0.04 and textbox2 = 456 the problem is the Third teextbox3 is just givine me 3 and not the value of Textbox1(0.04) * Textbox2(400) Actually, what my other reply did not a ...Show All
SQL Server Remote Connection
Could someone tell me how to remote connect to other server . Everytime when I try to connect to other server, I get an error message . Eventhough I have opened the 1433 port, allow the remote connection using both TCP/IP and named pipes, and open the firewall for connection. "An error has occurred while establishing a connection to the server. When connection to SQL Server 2005, this failure may be caused by the fact that under the default setting SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error:26 - Error Locating Server/Instance Specified)(Microsoft SQL Sever)" Thank you Hi ...Show All
Visual C++ mem.h
fatal error C1083: Cannot open include file: 'mem.h': No such file or directory. Can anyone help me with this error or tell me which header file I could use in place for this one Sniper167 wrote: fatal error C1083: Cannot open include file: 'mem.h': No such file or directory. Can anyone help me with this error or tell me which header file I could use in place for this one Are you trying to compile some Borland C++ based source code The header files are not the same between Borland and Visual C++ compilers. VC++ has <memory.h> though - which is probably similar in terms of functions. ...Show All
Visual Studio Team System Documentation for Test Test API?
The VS2005 Beta 2 MSDN Library documentation is decidedly lacking when it comes to the Test Test API. It lists all the classes and methods, but provides no information for what any of them are supposed to be used for. (This is under the "Development Tools and Languages | Visual Studio Team System | Team Test | Team Test API" section of MSDN Library.) Is anyone aware of some useful documentation on the API We are actively working on our documentation, but it wasn't ready in time for beta2. What classes are you specifically interested in, or were you looking for a "learning" type look- ...Show All
Smart Device Development Are there any tools for developing C++ program on PPC?
I am a programmer on C++ and trying to work with my PPC when I am on job. After sometimes I tried to develop some software for C++ code inputting on my PPC, I found that I need some function more just like what I do on my notepad. I wander that if there are some software that developed by micorosft I can download to fit my work. Thanks! I am not sure what exactly is y our query .Pls refer to MSDN for more documentation. Here is a link where you can try out some example projects http://www.microsoft.com/downloads/details.aspx familyid=18948AEF-12F9-4D42-893F-7A1CCFD96681&displaylang=en Srikanth Bogadapati ...Show All
Windows Forms passing dataset reference to another form.
Hello, I am trying to pass a reference to a dataset that is being used in my main form to a modal dialog form. The form is being used to add/edit records in a database. I would like to use the exact same dataset in the other form, as opposed to working with a copy of the dataset. Any help would be extremely appreciated. Thanks, Adam You could put a property on the Modal Dialog form that is a DataSet property but if you want to use the DataSet as a ref instead, then you could do something like this: In the modal form: private DataSet _dataSet = null ; public void SetDataSet( ref Da ...Show All
Visual Studio Team System Error on validating viewstate of MAC
http://www.avansoft.net/~levalencia/4.gif Please take a look at the picture, When I recorded the test it didnt have that error, but when I ran it I got that error many times, This is typically a problem with recording. Does your recording end up with one of the view states hardcoded instead of being replaced with the Hidden field context parameter. Check out Josh's paper for information on how to debug these problems: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/WTAuthDebug.asp ...Show All
SQL Server Regenerating Package Id's
I noticed that when you copy/paste your packages the package ID stays the same as the original. This can be a problem when reading reports and such... I recently saw a webcast in which there was a brief talk about this problem and the workaround was to regenerate the package ID's, however, no explanation on how to do so. Does anyone know how to regenerate package id's thanks in advance, Jason Software: SSIS JuneCTP This is all well and good, but what about task IDs in those copied packages See the other thread just started on this problem... Task IDs are read only. ...Show All
Visual C# turn this algorithm into code...help please
The following algorithm is for checking a person's birth date / birth number combination (an equivalent to social security number). The birth date / birth number combination consists of a 10 digit number, YYMMDDNNNN, for example 7401204933. To decide if this number is correct, you multiply each digit alternatively with 2 and 1, starting with 2. Next, you add the results together. Finally, you have to be able to evenly divide the sum by 10, for the number to be correct. For example, checking the number 7401204933 would look like this: 7 * 2 = 14 ---> 1 + 4 4 * 1 = 4 ---> 4 0 * 2 = 0 ---> 0 1 * 1 = 1 ---> 1 2 * 2 = 4 ---&g ...Show All
Visual Basic Instance of a Form
When I run my program, I do not get an Instance of the form. What could possibly cause this to not happen Do you mean you don't get to see the form Does the program run at all Have you set some break points to see what is going on ...Show All
Visual Basic Send email through Notes using VB6
I have develpoed an application to send email through notes using VB6. The only problem is, how to programatically chk whether the mail has been sent successfully or not. Thanks in advance. Kitty I'm terribly sorry Kitty, but these for are for the dot net products and I'd like to please make use of the Visual Basic 6.0 Resource Center to find a solution to your problem. But so you don't go away empty handed. I did write a VB6 Program that sent mail. I don't remember anything about it...but it does have an exception handler. I on't know that it goes to all layer you need but here it is: ...Show All
Windows Forms Printing all elements in Array
Hi, Is there any function (inbuilt) which print all the elements of the Array. I need to print or see what an array contains and the Index/Key of it as well. I can do it by using foreach and it will display the value of each element, but is there any single function in Vb.Net that took the Array of any kind and print the Elem ...Show All
