AndyBrunton's Q&A profile
Windows Forms ActiveX-Controls and AutoScroll
Hello, I use a ActiveX-Control in a Form where AutoScroll is true. If the control is scrolled and I click into the control the control jumps back to 0,0. Is this a known bug How I can avoid this Thanks Andreas Hello Mark, thanks for your reply. I have tested it again, but the behaviour of Windows Forms Controls differs from that of ActiveX controls. In both controls I placed a TextBox in the bottom right cor ...Show All
Visual Studio 2008 (Pre-release) MessageContract Deserialization error with IIS hosting
Hi, I'm having a strange problem. A simple operation with a simple MessageContract works just fine when the service is self-hosted. But when the service is hosted in IIS, I get the strange exception below. public class FooParamsIn { public long ID; } public class FooParamsOut { & ...Show All
Visual Basic edit and continue
I can't seem to enable edit and continue in my VB 2005 app. Everyone seems to be pointing to Tools--> Options--> Debugging, but I don't have a debugging menu in my Tools--> Options. Any help would be appreciated. Thanks, Danny OK, so I found the debugging menu, and edit and continue IS enabled. But when I try to use it I get: "cannot currently modify this text in the editor. It is read-on ...Show All
Visual Basic visual basic Label number as a variable
Is there a way to assign a variable to a label number for i = 1 to 10 label(i).Text = Name next i or something like that Bruce Thanks for the help. I think I will be able to get my job done with that code. does anyone have C64's anymore Bruce ...Show All
Visual Studio Express Editions Problem Installing Beta 2
its funny how people bag microsoft and complain about this product lets face it its one of the most powerful tools out there!! and HEY its in BETA FOR F*&^S SAKES you are supposed to help in testing it i'm using .net 2003 student edition and i have ditched other ide's well when 2005 comes out i know where part of my School funds will go to NUFF SAID! ...Show All
Visual Basic [vb 2005 expr] Killing a copy-dir process
Hi. In my VB 2005 express application I make a copy of one remote directory (connected as a net unit) to my local hard disk with this line: My .Computer.FileSystem.CopyDirectory("F:\namedir1", "C:\namedir1", True ) This works inside a backgroundworker thread. When I cancel the thread, the copy still goes on, especially if the source-directory is big (some Gb). I want to stop immediately the copy, how can I do this Is there a way to know ...Show All
Windows Forms Read and view PDF files like adobe activeX
Hi, How to read and view PDF files like adobe activeX Thank's Alexei If you want to read PDF files, you must install Adobe Acrobat or Adobe Acrobat Reader on your computer, to get the ActiveX control which you must use : Acrobat 6.0 : Program Files\Adobe\Acrobat 6.0\Acrobat\ActiveX folder Adobe Reader 6.0 : Program Files\Adobe\Acrobat 6.0\Reader/ActiveX folder Acrobat 5.x: Program Files\Adobe\Acrobat 5.0\Acrobat\ActiveX folder Adobe ...Show All
Visual FoxPro refresh
i am placing a value one field depending on what is entered in one field for example if a zip code is entered in the zip field then the corresponding city is entered in the city field. i get the city to appear but only if i tab to the city field. how can i get it to automatically be entered upon tabbing or clicking out of the zip field. im just not sure where to put the code. am learning visual foxpro after programming un ...Show All
Visual Basic IActiveDesktop
Hello all you great people, i'm trying to use IActiveDesktop from vb6 the only way iv been able to find is by using a ready made .tlb file could someone tell me how i can make a com file so i can add it to vb6 or if theres another way to add it many thanks, Component File and i don't mind using typelib i just don't know how if you could tell me how i would be Very greatful. Thanks ...Show All
Windows Forms Windows Forms, Avalon (XAML) and the future
Hi, Does anyone know if XAML will ever find its way in to Windows forms What I'm trying to establish is whether sometime in the future (before Longhorn though), XAML will be used to define a more traditional Windows forms app. Something like the MyXaml open source project. Regards Graham MyXaml is the only one that works with any object model, including windows forms. This is because it is generic. It only took t ...Show All
SQL Server DTC problem
I have a master package that executes a series of sub packages. The sub packages run in a series with OnSuccess precedence constraints between them. The master package is run from a SQL Agent job. When I run the master package without setting TransactionOption = Required at any level they all work fine. However when I set TransactionOption = Required at the master package level (and Supported from there downwards) the first package in the ser ...Show All
SQL Server Stored Procedure
I have a SP that returns data into a temp table. How do I need to set things up to query that temp table for my report. Will the SP be in one dataset and the report in another Then do I just query the first dataset Thanks for any help. Can you explain you situation a little more Is the SP that populates the temp table being run on a scheduled bases like SQL Agent If your report is kicking off a SP, then c ...Show All
Visual C# How to convert Image files to stream...
Hi, How to conver an image files like bmp, jpg, gif, tiff, etc into Stream or MemoryStream. The image may be from local disk or database like Northwind. Cheer. Thank you for your suggestion sir. I will have to create a seperate threat for my doubt about accessing OLE header information. Cheer. ...Show All
Visual C++ error LNK2019, how do i fix it?
this is the code im using, when i goto build it i works fine then as its about to finish i ge tthe LNK2019 error, why #include <iostream> int main() { using namespace std; int carrot; cout << "how many carrots do you have "; cin >> carrot; cout << endl; carrot = carrot - 2; cout << "cruch crunch, i ate somse of your carrots. you now have " << carrot << " carotts" << endl; ret ...Show All
Visual Basic Console Application
Is it possible to get right click menu on the console so users can paste If you right click on the bar along the top of a console window, there is an edit menu, which has a paste option. Otherwise, no. Your console app does not have a message pump to process mouse messages. ...Show All
