Carlh62's Q&A profile
Windows Forms Save position in DataGridView after refreshing
I have DatagridView on a form. When user click to save changes I save tham and then re-red data agin to reflect latets updates from database. Question how I can return pintor on current record after refreshing Otherwise user clicj save and find himself on first row of DataGridView. It is really annoyning scrol to old position especially on big table Thanks If you are using the BindingSource, you can store th ...Show All
Windows Forms Print document with Alignment
Hello. I have been trying to print a document from my application, I have been able to fix a couple of problems my self but now Im stuck. I would like to habe the possibility to align text(left,center,right), it must be possible the set alignment of each column separatly. How could I integrade in my code bellow The code is based on an example called vbreport found at Microsofts homepage. Here I write some data from a from my datareadr, the ...Show All
Windows Live Developer Forums Worlds Best App Contest Winners
It’s time to announce the winning applications for MSNR Messenger’s Worlds Best App Contest , which MSN ran from September through December 31 st , 2005. There were a lot of great entries, hard work and interesting new ideas for building new applications and games within Messenger. Submitted applications were judged based on the official rules and judging criteria which included creativity, launches during the contest, suit ...Show All
Visual Studio Architecture Question
Hello! We're an ISV that produces a Windows Forms/SQL Server based desktop product. We have the following requirements: 1. We can't require IIS 2. We need to be able to develop reports independently from the product - then plug them in. 3. We would like the "fancy" charting that comes with Dundas 4. We cannot require users to purchase SQL Server standard The way we see it, we have the following options: 1. Use WinForms.ReportViewe ...Show All
Visual Studio Express Editions Serial Port Read Hangs
G'Day, Trying to read data from a serial port using Microsoft supplied Snippet. Project involves occasional read/writes to a microcontroller on the serial port Have been able to enumerate and write to port no problems. Reading works okay if there is something in the port buffer, but if there isn't anything there, it just hangs at location marked below. Dim buffer As New StringBuilder() Using comPort As SerialPort = My .C ...Show All
Visual Basic Please help: convert statemets into PDf through VB code
Hi! I need to generate thousands of statements based on current database and then save those statements as PDf format in some local directory. The whole process should excute in some **.exe file in the background. Dose anybody have good suggestion how to do it Mostly, I will create some window console application to generate those statements which have data filled from database. My question is how can I convert those stateme ...Show All
Visual Studio Internet Connection in VS 2005
Hi, I just installed VS 2005 on my machine, but my online help cannot be accessed. I keep getting the message: "The request failed with Http Status 407. Proxy authentication required". IE on my machine does have proxy authentication. Is there a fix for this Thanks, Arshad Hmmm... not really. We're using HTTP POSTs to make our web service calls. Are you able to do HTTP POSTs (not ...Show All
Visual Basic Problem with msgbox
I have a problem in VB.Net with the msgbox function. When it runs, it does not always display. Sometimes it just pops onto the taskbar, but and I have to click it to get it to display. The msgbox is coded as follows: Dim Reply As Integer Dim style As MsgBoxStyle style = MsgBoxStyle.YesNo Or MsgBoxStyle.Question Or MsgBoxStyle.DefaultButton2 Reply = MsgBox( "You have made changes to this record, do want to save them &quo ...Show All
SQL Server MS Help - Reporting Services PDF Rendering and Code Security Context
This is a long post. I have spent a collective 8 hours over the last 2 days working with MS Technical Support on determining the reason why my reports images, when called using absolute references to a web project ( http://localhost/projectname/mypic.jpg ), were not displaying when exported to PDF. Side note - the techs I worked with were excellent, but just as stymied as I was concerning this problem. My architecture has a .NET 1.1 app wr ...Show All
Visual Basic Loading data into a Listbox
I have a form with two listboxes, the listbox in the right hand box is dependant on the selected item in the left listbox I have used:- Private Sub loaddata() 'clear existing dataset Me .Ds_otdef1.Clear() 'call SP Me .SqlSelectObjectTypeDEf.CommandText = "usp_getobjecttypedef_id" Dim parid As New SqlClient.SqlParameter("@attributeid", CInt ( Me .TextBox1.Text)) Me .SqlSelectObjectTypeDEf.Parameters.Add(pa ...Show All
Visual Studio Team System Missing Specified field in Scenario work Item
Hi, I read in MSF agile process guidance that Scenarios item should have a field called Specified which is used to indicate that the scenario has been written. But I cannot find this field anywhere and if I try to add columns in the Scenarios.xls and the column is not displayed here either. Could someone please check if this is a general issue or only an issue with my installation I’m running the ...Show All
Visual Studio back/forward mouse buttons work only with external help
I'm using a "Highscreen" mouse with 5 buttons, and I really like navigating the browser by mouse. The Document Explorer does recognise the backward/forward commands (given by mouse buttons) in external mode. With internal help the mouse buttons work only if no other document window is open. If I open a document, the mouse buttons are ignored, as soon as I close the document window, the mouse buttons are recogized again. Alt+Le ...Show All
SQL Server Failed to start monitoring changes to .\wwwroot\web.config because access is denied
The message continues... Source Error: [No relavant source lines] I'm using .Net framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26. So, what is up with this When I checked, there was no web.config file in the wwwroot directory. Now there is. But, there must be stuff missing in there Also, the SQL installation went off without a hitch. Any ideas anyone Thanks, -Eric Check this KB article. It helped me. http ...Show All
.NET Development Compatibility between .NET 2.0 and Crystal reports 9 for VS 2003
I am runing reports which were made by CR 9.0 for VS 2003. After .NET 2.0 framework is installed, there is an "Query Engine Error" on Crystal Report Windows Form Viewer. I know I should let my app use .NET 1.1 by an exe.config file, but the problem is my app is not a stand-alone application, it is a MMC snapin. So I cannot write a mmc.exe.config to force all mmc snapins to use .NET 1.1. So .NET 2.0 is not compatible with CR f ...Show All
.NET Development A stored procedure can be created correctly in Beta 2, now it doesn't be created correctly in Microsoft Visual Web Developer 200
A stored procedure can be created correctly in Beta 2, now it doesn't be created correctly in Microsoft Visual Web Developer 2005 Express Edition, why This stored procedure (only part code) can be created correctly in Beta 2, but now it doesn't be created correctly in Microsoft Visual Web Developer 2005 Express Edition, I get a error information below when I try to create: XQuery [cw_Bookmark.Bookmark.value()]: 'value()' requires a singleton ( ...Show All
