Karen Mae Sapla's Q&A profile
Visual C# ASCII Replacment and Printing Question...
1) How do I replace all the content of a string with an ASCII Code, in this case 219... http://www.lookuptables.com/ 2)How would I determine the number of lines available for printing Also the amount of characters per line. I am trying to fill up two pages with repeating text without going over 2 pages...I will have a loop filling each line until my maximum line is reached... The font is Microsoft Sans Serif, 12pt. To my knowledge I am using default margins. ...Show All
Software Development for Windows Vista about showwindow
In early Windows version, the window is not be shown immediately after ShowWindow called, only idle or UpdateWindow called, it will be shown immediately. But in Vista, the window is shown immediately after showwindow called. Because it, the black will flash in the window. How to reslove it Thanks. When hbrBackground is set to NULL, you are supposed to process the erasing of the background. MSDN documentation indicates: "If hbrBackground is NULL, the application should process the WM_ERASEBKGND message and erase the background. " If your picture covers the entire window client area, you could ...Show All
SQL Server Licencing -some clarification.
Hi All, Not _strictly_ a DB engine question but could not find a better home... I have 3 boxes: A) 4 Dual core procs B) 8 Dual core procs. C) 4 Dual core Box A will have SSIS, Reporting Services and IIS. (No SQL) Box B will have only SQL. Box C will have Analysis services on. What I want to know is do I have to pay for SQL, 4 procs, for box A when it only has SSIS on it I pay for SQL, 8 procs, for box B, do I need for the other two servers Closest I could find is below, which would indicate I have to pay 3 times even though I am not using SQL in two of the cases. http://www.microsoft.com/sql/howtobuy/f ...Show All
SQL Server Average on a calculated column in matrix
Hi, i have some data i am showing in a matrix. The first row group is on month, the second row group is on year, in this way i get year on year reporting of my sales data. One of the columns i have in the matrix is a "average $ per hour". The calculation for this works nicely on each row, i just get the total sales, and divide by the number of hours in that particular month (which i calculate). So it looks like this (these figures are invented): Month Year Total sales Avg $ per hour May 2005 $123,456 $20.15 2006 $129,112 $21.56 June 2005 $100,449 $18.45 ...Show All
Visual Studio "Failed to open a rowset"
Help me.... I am using Crystal reports 9 embedded. I have a report which I'm loading using the following code. When I deploy the application in a client's pc "Failed to open a rowset" is the error that appears. I am using an ODBC connection. Any help would be appreciated.... Dim cr As New crptCMR Dim crtableLogoninfos As New TableLogOnInfos Dim crtableLogoninfo As New TableLogOnInfo Dim crConnectionInfo As New ConnectionInfo Dim CrTables As Tables Dim CrTable As Table Dim TableCounter Dim crReportDocument As New crptCMR With crConnectionInfo .ServerName = sname .DatabaseName = dbname .UserID = uid .Password = pwd End Wi ...Show All
Windows Forms How to view/edit a PDF file inside a .NET application
Hi Is there any tips or ideas how to view a PDF file from inside a .NET application. What is the best/cheapest solution //lasse Hi. Mayby I'm missing something here............... There is alot of PDF controls, but they are print and create controls. No viewers..... I'm I missunderstanding something. //regards //lasse ...Show All
Visual Studio Running Assembly-based tests with build server.
Sorry if this is a repeat - I couldn't find anything though. We have what I thought would be a pretty common scenario - we have a couple of projects containing our automated unit tests and we want to run these as part of the build. In normal unit testing behavior, we don't want to maintain any lists of the tests, we just want to say "run the tests in this assembly". On the desktop, that's very straight foward, we just throw out a call to "mstest.exe /testcontainer:MyAssembly.dll" However, there's a big brick wall between that point and the server. First, it seems that MSTest.exe is not installed as part of eithe ...Show All
SQL Server Report builder using SQL SERVER 2005
Hi All!! Can any body help me out in how to build reports using SQL SERVER 2005. I will be very thankfull for that Thanks Biresh Singh Hi!! Can any one tell me that if i build report in SQL EXPRESS 2005 and deploying it.And now the problem comes while intergating my report with my application bulid in .NET Framework 1.1. I am using VS.NET 2003. Can i integrate my report with NET Framework 1.1 Please reply. I will be very thankfull for that thanks Biresh singh ...Show All
Visual Studio Team System Installing Team Foundation Server Beta 2
I just completed downloading Team Foundation Server Beta 2. The Installation Guide notes that Microsoft SQL Server 2005 in a prerequisite and that only the April CTP is supported. However, I haven't seen an April CTP of SQL Server available on MSDN. Will it be posted shortly or am I just missing its location in the tree MadHur - the post above was for the April 2005 CTP of SQL Server 2005. TFS has RTM'd -- as far as I know, you can no longer deploy Beta2. The RC and/or December CTP may still be available (I think they both use the RTM version of SQL Server 2005). ...Show All
.NET Development Visual Studio 2005 Webservices error
Hello, I created a webservice that return a typed dataset [WebMethod]public Rotas.mailing_configuracoesDataTable ListaConfigValida() { callcenter.Dados.RotasTableAdapters.mailing_configuracoesTableAdapter adapter = new callcenter.Dados.RotasTableAdapters.mailing_configuracoesTableAdapter(); return adapter.ListarConfiguracoes(); } When I add a web reference to the webservice and try to consume it doesnt return any data... If i try to get manually by the proxy it return "Any1" data How to consume the webservice Thanks Cleber TableAdatpers return the object type DataTable typically and you cannot return a DataTable ...Show All
Visual Studio Unistall VS 2005 Beta 1
I'm trying to uninstall VS 2005 Beta 1 - This fails because vs_setup.msi is not on my local disk. Any suggestions Thanks If you want to uninstall all of the Visual Studio 2005 Beta 1 files, I suggest using the betas uninstall tool prepared with that scenario in mind. Try this link: http://go.microsoft.com/fwlink/ LinkID=47598 I hope you will find it helpful. ...Show All
SQL Server June CTP - Interactive Sort and Sub-Reports
When I drill-through to a sub-report, the sub-report displays correctly but once I click on the interactive sort arrow, the entire report data disappears. I am using the same configuration as on the main report where the interactive sort works just fine. Anyone else seen this There are known issues related to using interactive sort in subreports in CTP June. These have been fixed and will be available in the next CTP and in SQL Server 2005 RTM. -- Robert ...Show All
Visual J# performance difference in .NET 1.0 and .NET 2.0
I recently upgraded a sockets application from .NET 1.1 to .NET 2.0. I found that the getByName method on the INetAddress class takes several times longer to execute under .NET 2.0 than it did in .NET 1.1. That is INetAddress.getByName("10.0.0.1") is a MUCH costlier operation under 2.0. Any suggestions on how best to go about 'recovering' the lost performance would be appreciated. Currently, I am caching the resolution, but it seens silly that a dotted IP address would take up so much time. In fact, any solution where I can convert a System.Net.IPAddress to a java.net.INetAddress trivially would be great. ...Show All
Visual Basic How to "Pop" a Windows App on Top of Other Windows Apps?
I have a windows application that when I start it, I want to let it run and let me go off and work on another windows application such as MS Word. When my application has completed its task, I would like for it to "pop" in front of the MS Word application (or whatever app is running) so that I know that my application has completed its task and is ready for new input. How can I accomplish this Would it be easier to have my entire application "pop" to the front or simply have some dialog box come to the front Thanks for any help! Both are about the same difficulty. To make a form ...Show All
Visual Studio Team System Is there a kind of Validation Tool for Processs Template?
Hi, all I am customizing the process template for a specific project in TFS. So is there a kind of validation tool for XML processing Because I modified the XML template files, and try to import it. But the process failed. I think there is something error or mismatch in Template XML files. So whether such a kind of tool provided by Microsoft or other ISV I just wanna validate my XML files. Thanks. In the "Authoring WorkItem Types.Doc" ( which is installed in the "Work Item Tracking\Work Item Types" directory when the Extensibility SDK is installed ), there is a section called "Field Reference Names" Also, ...Show All
