ATS16805's Q&A profile
Windows Forms Passing Data Between Forms Without Flicker
Hi.. Please help!! I've created a custom dialog form to accept size and name attributes for a new project. I spawn a new frmProjectLayout object from the main form and when the user selects ok keep the frmProjectLayout in scope by calling Hide so I can pass parameters back to the oMainForm. I then dispose of frmProjectLayout after I have retrieved the& ...Show All
Visual Studio Global Assembly Cache Problems.
Hi There, I have a single report application that I am attempting to publish. When I install the application on my machine it works fine, but when I attempt to install on any other I am told that the installation requires:- CrystalDecisions.CrystalReports.Engine Version 10.2.3.600.0 installed in the Global Assebly Cache (GAC) first. I have looked within the project properties, at the references section but as far as I can tell the reference is there. Any help would be greatly appreciated. I am running VS2005 Professional. Rob Go to: Admin ...Show All
Visual C++ Problem with Application Configuration and Manifest in VS2005
Hi All, I have the same problem as follows; Using MS Visual Studio 2005 C++ I have an application originally built in VS 2005 C++ beta 1 (was running well). I've installed the beta 2 version. After fixing the application to account for depreciated libraries I get a clean compile & link, but I get an error when I try to run it as follows; Pop-up: "...The application has failed to start because the application configuration is incorrect" Nothing at all appears in the output window of the debug tool. Manifest file (debug) is as follows; ***** < xml version="1.0" encoding="UTF-8" standalone="yes" > <assembly manifestVersion="1.0" ...Show All
.NET Development how to format xml string with an xsl stylesheet
Hi, I have a string that is in an xml format <items><num>5</num><text>sometext</text></items> I want to transform that string somewhow using my xsl document listed below and attach it to the body of an email. I was trying to use the code below but the xmldocument load does not take a string. How can i go about accomplishing this. XmlDocument docXml = new XmlDocument(); docXml.Load(sb.ToString()); XslCompiledTransform docXsl = new XslCompiledTransform(); docXsl.Load("xslFormats.xsl"); Thanks! Alex I 'm not sure what you are trying to accompli ...Show All
Visual Studio Question concerning "can grow"
I am sure that there is an easy answer to this question, but I have not been able to find it. When I format an object choosing "can grow", how do I make the object under move down so that the growing object doesn't grow into it. The object that can grow will most of the time be quite short, but a few times be pretty long. It will look silly on the report when the "can grow" object has its normal size, if I really have to move the object beneath it so far down that such a "collision" can never happen. Apparently, if I have understood it correctly, the only way to avoid this problem, is to let the "can grow" object be the last ...Show All
Visual Studio Express Editions win32 application
i have read abt this frm the forum and followed steps given in the following link : http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx but still i am getting the following error: 1>c:\documents and settings\administrator\my documents\visual studio 2005\projects\test\test\stdafx.h(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory i am missing something . plz help Looking at http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx, step 3 is the problem. You should add C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include to include directori ...Show All
Windows Forms Displaying Int values as Hex in datagridview
Hi all, desperation has forced me to my first post! I am writing a network analyzer and need the option to display my int variables as Hex values for a number of databound datagridviews, (a la) debugger. I can ToString("X") but it would mean having a string equivalent for all my ints! As I am binding to bindinglist of a managed class.(bindinglist<class^>) C++ Started using .Net only 4 months ago so am hoping that my lack of knowledge is the problem to finding an easy solution. While I am asking, how can I force zero filling on conversion to Hex, should ToString("4X") give me 4 Hex Digits. It would ...Show All
Visual Studio 2008 (Pre-release) Databinding to a service method...
Using what seems to be the preferred approach for accessing WinFX services, is data-binding possible There are two approaches, I understand, for handling references to a WinFX service. In the first, you use the "scvutil" application to auto-generate proxy classes. These classes wrap all necessary logic to call a service. There is no direct reference to the service project in your consuming application, and you can generate these proxies even if you have no access to the service's code. The alternative, if you're developing the service yourself, is to define the service contract in an interface library, and reference the li ...Show All
.NET Development Network Stream Read
I am using the networkstream to read a message sent. When ever I get messages back-to-back in a short period of time, the stream still does not separate the messages, which is causing me errors when I try to parse the messages and save information into a data base. I know this is probably a logic problem, but I am not fimilar enough with network steams to figure out what I can do to have the network stream just send on message at time to be processed Hello David. The nature of TCP means that you can get messages bunched up messages can be split. So sample packets Packet 1: Message1\r\nMessage2\r\n Packet 2 ...Show All
SQL Server SQL 2000 Edition Change
I accidently installed SQL 2000 Enterprise Edition instead of the Standard Edition. If I uninstall Enterpise and then install Standard, can I restore the system databases, ie master, model, msdb Are they compatible If the databases are empty - if you didn't create any metadata - you should be fine. If you did create metadata that uses Enterprise features, I don't know what will happen but probably the reattach will fail. ...Show All
Visual Studio Tools for Office What versions of Office 12 will support VSTO?
As I understand things, VSTO is currently only supported by Office 2003 Professional (or the Word/Excel standalone editions). Office 2003 Standard and Small Biz editions do not support VSTO. Does anyone know if this will still be the case with Office 12 Or will all Office 12 editions support VSTO I ask b/c we are a small ISV that would love to do component based development using VSTO, but are afraid we will alienate a large percentage of our potential user base if VSTO continues to be unsupported on non-Professional versions of Office. Anyone have any info Hi This has not been determined yet. W ...Show All
Windows Forms Creating controls at design time: Error: 'child' is not a child control of this parent
Hello all together, I am just having a little problem with my custom control and its control designer. My task: Writing a control (derived from TableLayoutPanel) which has the following behaviour: Other developers could select it in the Toolbox of VS.NET and drag it to the form. Afterwards they can drag other controls (TextBoxes, ListBoxes, etc.) from the Toolbox and drop them into my control. At this time, a control designer should ask the developer to enter a name for a Label, which belongs to the control dropped by the developer. Now, the Designer forces my control to redraw itself. Redrawing: The Control should create a specified amou ...Show All
.NET Development Template Column
Hi, First I have 2 text box as with Id as name and age. Then when I press a button add it add the data well and I am able to bind to the datagrid well. The problem starts when I declare a custom button to handle the edit. Because what I want to do is that to have a click edit button and then fire a custom function which will populate my original text box I stated earlier. My data grid code is shown below < asp : DataGrid ID ="DataGrid1" HorizontalAlign ="Center" CellPadding ="3" HeaderStyle-BackColor ="#F7F7F7" EditItemStyle-BackColor ="#F7F7F7" AutoGenerateColumn ...Show All
Visual C# Can I define Array with a defined structure type?
I want to define an array of structure tryped data. Can I do it and is it same as conventional way of Array define Thank you very much for your help. James Thank you for your info. I didn't see a sample in C# document so I have not tried it out. Would you have any example of this in C# I greatly appreciate your help. James ...Show All
Windows Forms Please Help
I am trying to deploy an application to our web server and I get the error Cannot Continue. The application is improperly formatted. Contact the application vendor for assistance (I am the vendor). This is the details: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : http://slsappstage/installs/pbi/PreboardingInterface.application ERROR SUMMARY Below is a summary of ...Show All
