albewar's Q&A profile
Visual C# help with "Error : No overload for method "FillByGlkco' takes '2' arguments."
I'm am trying to programm an event handler that locates the user-specified GLKCO value, however I recieve this error : No overload for method "FillByGlkco' takes '2' arguments Below is the code that I have written, I am completely stumped and have no idea what to do. Any help will be greatly appreciated. Thanks to anyone that is able to help me. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DatabaseManipulation { public partial class DatabaseManipulationForm : Form { public DatabaseManipulationForm() { InitializeComponent(); } private void f0911BindingNavigatorSaveItem_Click(object sender, Eve ...Show All
Visual C++ Windows related Question (Concerning VC++)
Hi all, I was wondering if someone could help me with the following problem that is occuring. The thing is that every now and again a computer of mine, gives a message that the computer has run out of resources. So the thing is, is there any way I can handle such an event in VC++. When I try to connect to that PC throught PC Anywhere, I can't because of this message. Can anyone help Thank you in advance Hi, I guess the message should also go into the system event log as "Application Popup". You might try to write a service monitoring for the occurence of this event. I think the message of the message box is included in the event log entry data. Have a look at the API NotifyC ...Show All
Windows Forms Case study Problems... PLEASE HELP...
Dear people, I am getting very very crazy. I am trying to make a case study but I just cant do it. In the link you will find the requirements of the case study... I realy hope that you can help me. Its my last case and then I am done.... http://www.vbforums.com/showthread.php p=2766193#post2766193 I got it open this time. changes to frmMainFrom Private Sub WoodsheetsDataGridView_RowHeaderMouseClick( ByVal sender As Object , ByVal e As System.Windows.Forms.DataGridViewCellMouseEventArgs) Handles WoodsheetsDataGridView.RowHeaderMouseClick strWoodsheetName = Me .WoodsheetsDataGridView.Item(1, e.RowIndex).Value intWoodsheetID = Me .WoodsheetsDataGridView.Item(4, e.RowIndex).Value fr ...Show All
Commerce Server Calculate Tax based on Product Information
I have come across a situation that presents me with 2 problems. 1. In the state we work, some items are not taxable (Clothing, for example) while other tiems are (Household, for example). We need to be able to identify which category (not necessarily Catalog Category) the items in the LineItem belong to. At first my thoughts were to add a custom property in the Catalog Manager (IsTaxable) and i would be able to find this property inside the pipeline. Form there on it would be fairly easy to accomplish. 2. I can live with the solution above, if i could find a way to get access to the product information, which i cant. Anyone has any ideas on how to get this data OrderForm.LineItems does not provide access to actual Product Info; ...Show All
Visual Studio Team System Viewstate hardcoded as Form Post Parameter
One of our web apps allows the user to create notes or reminders by launching a new window. The webtest is recording the launch of the new window and the submittion of the note or reminder however, looking at the Form Post Parameters for the submittion, __VIEWSTATE is hardcoded. I can extract the viewstate from when the form launches and use that, but I am wondering why it is not automatically being grabbed as a hidden field. Could there be a limitation as to the length of the viewstate as a hidden field For Creating a Note it is over 200K long. For Creating a Reminder it is over 700K. (Please give any recommended code in VB. ) Thanks in advance. This is likely a bug th ...Show All
Visual C# Compressed Embedded Resources
I need a way to embed numerous resources in compressed form into my DLL. I need the files to be easily editable, however. So, I need some sort of tool that will compress the files and embed them each time I build. VS.NET doesn't seem to support this, and I can't figure out an easy way to do this. Any ideas If you are using a third party compression, one would need to write a console application which could compress the item. That action would have to be a pre build step and place the result in the target embedded object. During runtime, you could extract the information and decompress it. Another angle would be to us the "CustomTool Property" options...this may not be what you want to achieve... ...Show All
Visual Studio 2008 (Pre-release) Changing the Color of a Row On a ListView
I'm trying to set up a listview control where if a row meets a condition i want it to change the color of the text for that row (red) else it should be the default color. I have it bound to a dataset. Could someone point me in the right direction Thanks Hi Burldo, That link is specific to the Windows Forms version of a ListViewItem and not the WPF version. I'm not trying to be a jerk, rather, I'm just trying to help A.Carter stay on track. ...Show All
Visual Studio Tools for Office Copy Excel Sheet from one Workbook to Other Workbook
Hi Apurva I am developeing an Excel Application. i get Data File Daily. Based on this data file i need to generate two reports. approach i have taken: have Excel template which has two reports sheets [daily MIS] [OverView] Task pane offers selecting an excel file [data file]. copy a sheet [Daily Dump] from Data file and paste it into the Excel file generate based on template so now new file has two sheets[daily MIS] [OverView] + i copied sheet [Daily Dump] . Query How to copy a worksheet of one workbook into the other workbook i have been trying this long .... not getting answer CODE : ..... private Excel.Worksheet xlWS= null; xlWS holds reference to [Daily Dump] .[a file selected by user but whose visibility is set ...Show All
Visual Studio Team System Integrated Code Analysis with Team Build
I have a 'Debug|Any CPU' build with Code Analysis enabled in the configuration, and in the TFSBuild.proj script. The code analysis runs and I end up with a *.codeanalysis file with the warnings/errors. The code analysis results do not show up in the build details screen like shown at this site: http://msdn2.microsoft.com/en-us/vstudio/aa718459.aspx I only end up with: Result details for Any CPU/Debug Associated changesets Associated work items There is no "Compilation and code analysis errors and warnings" as described on that page. I have Visual Studio Team Suite installed on my workstation, and TE for Devs + TE for Testers on the build server. What is required for this to work Regards, Gr ...Show All
Visual Studio Wrong Icon Pixel
I am working for a software company and we use Microsoft Visual Studio to edit all of our dialogs. In our dialogs, we have icons that are displayed as 16x16 pixels in the actual software, but in Microsoft Visual Studio, they are displayed as 32x32. The difference in pixels is a big annoyance as it is very difficult to position the icons when editing under Visual Studio b/c the actual size of the icon will be much different when it is launched in the software. The work around that we came up with is to create a new image type as 32x32 (the original icon is listed as 16x16 in Visual Studio). We then copy the original icon and paste it into the new 32x32 image type. There are a few limitations in this work around and we have thousands of icon ...Show All
Windows Forms Persisting Graphics Problem
I understand the need in VB 2005 to draw graphics in the picrurebox paint event handler if it is to persist across a window minimize/restore sequence. I have a program that uses a timer ... when the timer fires a random number is generated and a small circle is drawn in a picturebox at coordinates dependent on the random number. This happens thousands of times. Now, if everytime the timer fires and I draw another circle (and do that by invalidating the picturebox and calling the paint event handler) then I will have to redraw all the of circles drawn earlier ... this means that I have to keep track of all the circles drawn so far )their sizes, locations, colors, etc.)and redraw then all everytime a new one is drawn. Is that correct This a ...Show All
SQL Server KPI Visualisers
Hi there, We would like very much to define and manage our KPIs through AS2005's KPI repository. We would like those KPIs to be visualised with some sort of sweet looking gagues, like the ones available from Dundas. http://www.dundas.com/Products/Gauge/RS/index.aspx However, I can't see any reference to using this product to connect to KPIs that have been centrally defined. Instead, it looks to me like you have to do all the " If actual > budget then 1" sort of logic all over again, within the gague - i.e. at the presentation layer, which seems fundamentally flawed to me. Am I missing something Has anyone used any of these sort of visualisation tools to connect direct to AS2005 KPIs ...Show All
Visual Studio Express Editions Chart
Hi All, Is it anyway to implement chart in c# without including third party load.... plz guide me, how make chart....in c# without third party tool. thanks and regards Amjath Thank u very much for ur kind help. i already got this sample, but i want to change the legend names, i dont know how to do this. can u plz help me...how to change the legend name. for example i have 4 legends by default it comes with c1,c2,c3,c4 when i try to change that by using chart.ColumnLabel = "someText" it will appear for c1....but i dont know how to change for remaining legends like c2, c3, c4... -Amjath ...Show All
Windows Live Developer Forums How to use Windows media Encoder SDK
Hi, I want to create the chat application.. in that I did the text chat. I want to do Video and audio chat.. I downloaded the Windows Media Encoder SDK and I have installed Windows media Encoder. In this Windows Media Encoder SDK they have given one Predefined Interface and It's working fine.. My problem is... using this SDK how to create video and audio chat in my GUI then, Is it possible to connect more than one client to that machine which is encoding the live video from then web cam Thanks in advance ...Show All
Microsoft ISV Community Center Forums Verifying completion of a file's creation from VBA
I need a way to monitor a file in a folder (created by an external application, such as Word or Acrobat), and verify that the process of writing to the file has completed (in Windows 2000 or XP). I.e., that the file is finished, and can be opened by Excel. It's easy to verify that the file exists, and what it's file length is, but the file length continues to increase as the file is written to (especially for a large file). Anyone know of a way in VBA to verify that the file is complete I assume that Windows sets some kind of bit in the file to indicate completion. Thanks... ...Show All
