SHL GmbH's Q&A profile
Visual Studio Express Editions Creating a web browser...
Hi everyone! I'm making a web browser but I don't want 'webbrowser2' to be created on the form untill I click a button... I tryed: private void button5_Click( object sender, EventArgs e) { WebBrowser webbrowser2 = new WebBrowser (); webbrowser2.Height = 250; webbrowser2.Width = 279; } But it dosn't seem to be working (and i don't know how to set the location). Can someone please help me out! THANKS! There's also left and top properties you need to set. An easier way would be to let it be created, but set it as not Visible ( visible = false ) and then make it ...Show All
Windows Forms Deployment Error
I developed an application on my local box with VS2003. It runs well, and looks great. When I install the application and try to run it locally on another box I get the following error: Application has generated an exception that could not be handled Processid = 0x828(2088) Threadid = 0x910(2320) All of the PC's are running the .net&nbs ...Show All
.NET Development A correction!
I need to populate a dropdown listbox named "sub category" once the user the clicks his desired selection in the dropdown listbox named "category" e.g. clothing has subcategories like gent's clothes and ladies clothes. I need to know which event i have to use Im not sure in what event i have to put my code in exactly.Please help. Maxood wrote: I need to populate a dropdown listbox Do you mean combobox Maxood wrote: once the user the clicks his desired selection in the dropdown listbox ....I need to know which event i have to use Im not sure in what event i have t ...Show All
Visual Studio 2008 (Pre-release) Why simple large forms are rendered that slow?
Hi Some project, like the one that I’ve been working on the past 2 years, require large forms, combined from hundreds of controls, a single form can go 10 or 20 pages long. We are currently using Microsoft InfoPath 2003 with the .NET framework, and although it is not that fast, rendering of a large from with a 1000 text boxes for example will take couple of seconds. Of course our forms are much complex than just having text boxes, but I tried to build an Avalon application with a 1000 text boxes, and the performance was even worse than Windows Forms, a simple Web Form (HTML), or even InfoPath!. I ...Show All
Visual Studio Paging in toolbar off-by-one
I'm using the ReportViewer control in a WinForms project, using Local processing mode. On the report itself, it always correctly shows the current page and total number of pages in the report using Globals!PageNumber and Globals!TotalPages. However, in the toolbar page navigator, the total number of pages is always initially shown as one less than the actual number of total pages. For example, I've got a report that actually has 8 pages. When I view the report in ReportViewer, in my report header it indicates "Page 1 of 8". However, in the ReportViewer toolbar page navigator, it indicates "1 of 7". Strangely, ...Show All
Visual Studio Team System During a merge, the "Building Change Summary" goes into infinite loop
My machine hangs while resolving conflicts during a merge. Here's what is happening: I initiate a merge between 2 branches It correctly identifies the conflicting files. I select one of the conflicting files and click on "Resolve" button. The "Resolving Conflicts" window comes up saying that its building a change summary. This process of building change summary keeps spinning.....and my machine hangs. The resolving conflict operation never ends. Note: This only happens for some files and not others. I tried doing this from multiple machines and got the same result. Is this a known problem, bug ...Show All
Visual Studio Date format
I have a view which is getting updated via procedure . That view shows the header information in my report made in crystal . my client machine date format is dd/mm/yyyy in the procedure where I am updating this view I have not converted to any format. but in the report it is showing mm/dd/yyyy why is so for e.g. if entered 12/05/2006 in the report it is showing 05 Dec 2006. can anybody help me on this Urgent Su Hi, there are two things you can try. The first is to format the field in Crystal. Right click on the date field and select "Format Field". You can change the format there. The second is ...Show All
Visual Studio Tools for Office getting data from an excel chart
I am trying to get some form of data from a chart (to redraw it using another program*) - i.e. the source data or the plotted points on the chart. so far I have Excel.SeriesCollection sc= (Excel.SeriesCollection) ExcelApp.ActiveChart.SeriesCollection(Type.Missing); for ( int i=1; i<= sc.Count; i++) { Excel.Series series = (Excel.Series) sc.Item(i); //what on earth do I do here } I just can't find any documentation or examples involving the series collection and c#. Plenty of VBA cod ...Show All
Visual Basic Clicking my MaskedEdit control places the cursor in the middle of it rather that at the start position (position 0)
I have a MaskedEdit control in my form. When I click once on it, my cursor goes to the middle of my text that has been already enetered before. This is what I want when I click the control: 1/ How to place my cursor all the time at the begining (position 0 of the text or the control) istead of the middle 2/ In some specefic cases, I ll need the whole text to be selected when I click the control, so that if the user wants to delete the whole text, he ll just need to press Delete button and it ll be deleted, then I want my cursor to be placed at the begining right after the deletio. Can I also do the same thing with ...Show All
SQL Server Your SQL Server installation is either corrupt or has been tampered with...
Hi I have installed SQLExpress. Whenever I boot my PC (XP Pro SP2) I get the following error just prior to logon: "Your SQL Server installation is either corrupt or has been tampered with (Error generating instance ID from name). Please uninstall the re-run setup to correct this problem." I have now uninstalled and re-installed twice with no success. SQLExpress seems to be running fine, just this worrying message all the time. Any help will be gladly appreciated. Larry_t. Hi, I've seen this before after changing the computername. You can re-run sql setup and choose Advanced / ...Show All
Visual Studio Is Intellisense autocompletion active?
Hello, I'd like to bring this issue again. I received a valid answer for VS2005, but I haven't been able to find a way to do it for VS.NET 2003 (and possibly 2002). The question is: how can I determine whether the Intellisense autocompletion drop-down is on display Some users of my product would like it to behave differently depending on the circumstance, and I'd like to provide the functionality. Indirect methods would also be useful: QueryStatus on a certain command returning a different value, etc... Thanks a lot in advance, J ------------------------------------------------- ViEmu - vi/vim emulation for Visual Studio http://www.ng ...Show All
SQL Server DHCP Service fails to start after installing SQL Server 2005 April CTP
I have a Windows 2003 Server SP1, Active Directory, Application Server and RIS installed on my computer. After installing SQL Server 2005 April CTP my DHCP Service fails to start. In the Event Viewer I see the following Events. Event Type : Error Event Source : Service Control Manager Description : The DHCP Server service terminated with service-specific error 20013 (0x4E2D). Event Type : Information Event Source : Application Popup Description: Application popup: Service Control Manager: At least one service or driver failed during system startup. Use Event Viewer to examine the event log for details. Event ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why does my window go blank after a resize?
Just as a quick test too see if I understood how directX initialization works attempted to creat a new DX window using windows forms from scratch. But I have a problem... Can anyone explain to me why the triangles rendered in the following code disappear permanently when ever i resize the window I have comparable code that doesn't disappear when I resize but after hours of comparing I just can't see why one code works and this one doesn't. namespace DXTest { public partial class DXForm : Form { private Device myDevice; private PresentParameters presentparams; protected CustomVertex . PositionC ...Show All
SQL Server Error Runing a subscription on report server 2000
Dear All, I am trying to run a schedule of a report that is working fine online. I keep on getting this error : "An internal error occurred on the report server. See the error log for more details." And that's it. the user that is trying ro run, is the admin, so there is no permission problem. Can Anyone give me a direction where to look. Any help will be most helpfull. Uri see my reply to This Post ...Show All
Visual Studio Team System Team Build unable to Run Auto Builds now
For some reason today, when I run a build type (automated build) thru the VSTS Interface. I get the following message back: "Failed to retrieve data from the server. Please verify the network connection and try again." I have no problem building the Solutions manually. Only encounter problems thru the Build Type. I see the following in Event Viewer on the Team Foundation Server log: " An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date ...Show All
