cbaldo1's Q&A profile
Windows Forms ClickOnce installation error
Below is the error messages many of my users are encountering when attempting to install a ClickOnce application. This error only occurs for some users. Some users do not experience any issues with the installation. LATFORM VERSION INFO Windows : 5.1.2600.65536 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll ...Show All
SQL Server A question about group structure?
hi, all I have one report like this: Students Scores For Class 1 StudentID StudentName Age Score........ ....... Average:....... Students Scores For Class 2 StudentID StudentName Age Score........ ....... Average:....... ... For this report, I need to show StudentID StudentName...... on every page as header, but Students Scores For Class only show once for each class. So, in this case, the structure would be: GroupHeader --> Studen ...Show All
Windows Forms Scrollbars and Custom Border Painting
I've customized a panel to draw a custom border utilizing WndProc but I have a problem when the scrollbars are displayed, take a look at the lower right portion of my border. I have attached a snapshot of the problematic control and a .NET pan ...Show All
Smart Device Development Keep program ontop
Hi, Could anybody tell me please how to make my program forms ontop of any other running program even when it loses focus i am using C# thanks Hi! (This post concerns topmost window problems in Windows CE) I've had a similar problem and thought I'd share my findings. I use C++ and create several windows within the same application. I pass WS_EX_TOPMOST to CreateWindowEx. Everything worked fine until I used the Show Desktop button. After ...Show All
Visual Basic messagebox problem
Hi, I find it curious, when soemtimes, i put for example like this : messagebox.show("") exit sub or without exit sub. after messagebox pop up, and I click on OK. my form always lost focus . but this things to usually happen on msgbox. i have to manually click on the form to get the focus again. is there any other way to get this done, or is the problem of my form settings Regards David Hi, I'm not sure this will fix it but have you tri ...Show All
.NET Development Migration from DAO VB 6 to ADO VB .NET (Visual Studio 2005)
Can anyone give me good sites with examples of this migration... DAO dim db as database dim rs as recordset Set db= opendatabase ("nome da base de dados") 'access database Set rs = db.openrecordset("SELECT * FROM table1 WHERE (cod>100);", dbopendynaset) do while not rs.eof ... rs.movenext loop ... rs.close db.close ADO There are a lot of sample on the vb-tips ...Show All
Visual Basic Selecting Multiple Items in a ListBox
Does anyone know how to output a select statement into a ListBox, and then allow users to click and highlight multiple entries Thanks in advance. The multiple selection is simple setting the SelectionMode to multiple. As far as output a select statement into a listbox Are you talking about populating using a SQL select statement. If you want to select the items initially then look at the Listbox.s ...Show All
Visual Studio Express Editions It doesn't work (newbie problems)
I've been programming for ages and decided to try C#. I downloaded the Visual C# 2005 Express Edition and installed it. So far, so good. I took a look at the tutorials on building DirectX games, supposedly with 2005 Express Edition, and found that whatever version of the IDE the teacher was using was vastly different from the 2005 version. Ok, forget that. I took a look at the absolute beginner tutorials and tried to do the Hello World project. ...Show All
Microsoft ISV Community Center Forums Overflow problem
I am getting an overflow problem with this code it is occuring in the line: newgrad = (.Range("C13").Value - Cells(30 + oneD, 2).Value) / (.Range("C12").Value / 2 - .Cells(30 + oneD, 1).Value) My values for the following cells are: C12 = 50 C13 = 1 C17 = 4 C18 = 101 Option Explicit Public ninterval As Single Private Sub CommandButton1_Click() Dim oneD, rbedradius, xinterval, mbedslope, newgra ...Show All
SQL Server Reporting services installation
When I install reporting services in sqlserver 2005,its stops half way saying ' sqlserver setup failed to obtain system account information for the ASPNET account.To proceed re install the .NET framework and continue' How do I set up an ASP account so as to continue with the installation Hi MSR, The ASP.NET IIS Registration Tool (Aspnet_regiis.exe) allows an administrator or installation program to easily update the script map ...Show All
Visual Studio Team System I want to do unit test on native c++ using .net framework, but there are some errors
I created a COM project named "alt3",then assign the properties of CLR with "Common Language Runtime Support (/clr)",then i created a test project, add references to alt3, then i create unit test from the Solution Expolorer, but there are some errors: ------ Build started: Project: TestProject1, Configuration: Debug Win32 ------ Copying 'e:\visual studio 2005\projects\vc\alt3\alt3\debug\alt3.dll' to target directory... Cop ...Show All
.NET Development Changing connection strings based on configuration
What is the best recommended practice for changing db connection strings based on project configuration We have a test server and a production server, so I want connect to the test server for Debug and the production server for Release. I don't need to change the string dynamically at runtime, just based on the project configuration. When I create table adapters through the wizard, I have the choice of embedding the string in the generated code ...Show All
Visual Studio Express Editions Combo Box Help (beginner)
I added Items to the combo box. How do I define these items Combo Box has a value of 1' = 100' (This is what you see in the drop down list), but I would like to convert this to 1/1200. Can I do this Define {1' = 100'} = {1/1200}. If so, how By the way I would like the 1/1200 to be an Integer(I Think) so it returns a value of .0008333 repeating. Thanks, Mike I'm still struggling with this. I changed ...Show All
Visual C# Bytes Read
Ok, I have a media player and I would like to know how to read the size of a media file, and display it in a textbox. You can use the FileInfo class: FileInfo info = new FileInfo("c:\\MyMedia.wma"); MessageBox.Show(info.Length.ToString()); ...Show All
Visual Studio Team System Beta 2 WSE 2.0 Compatibility
Is VSTS Beta2 (Framework 2.0) compatible with WSE 2.0 We are also currently investigating the issue that you have with WSE 2.0 DataSets. We will get back to you ASAP with a response. Thanks, Ali ...Show All
