Stoobs's Q&A profile
Visual Studio Express Editions variable
is it possible to make variables "be read" from form to form Just make them public members of the form. Or, highly recommended, expose them with a public property of the form. Of course, the 2nd form needs to have a reference to the form with the member. ...Show All
Visual C++ Problem starting a executable linked with a .net library
Hello, I am using in a C++ dll (let's call the dll MyDll) a class written in C#. For using this class, I made a VS2003 project in C++ to interface with my C# library and my C++ DLL. MyDll is loaded at the start of an executable (also written in C++) and everything works fine. The problem is that some others executables (written in C++) are also linked with MyDll (using the lib file), and these executables are crashing when starting! (a crash in nt.dll). Doing some tests, I realize that theses executables are only crashing when MyDll is linked to the C# library! When not, everything works fine! The only difference between the first executable which is working fine with MyDll and the others executables which are crashing is ...Show All
Visual Studio Express Editions Copy to clipboard
I have made an listviwe within iamges. But how can i copy the selected images to the clipboard Need help fast My . Computer . Clipboard . SetImage ( Me . ListView1 . SelectedItems (0). ImageList . Images ( Me . ListView1 . SelectedItems (0). ImageIndex )) Will copy the imagelist item for the first selected item in the listview to the clipboard ...Show All
Visual Studio Simple request for help regarding Visual Studio 2005 Service Pack 1 Beta
I have one simple question and I cannot begin to figure out where to ask it. 1) With Visual Studio 2005, if I install the Service Pack 1 Beta, will my project and solution files be compatible with a standard installation of Visual Studio 2005 that does not have the service pack installed I ask this because this beta release has no GoLive license, it is not recommend for deployment in production scenarios, and even if you have a support contract in place with Microsoft there is no formal support before the final release of the service pack. I have never seen such a big carrot that has no dietary value. Hopefully someone can guide me to the proper place to post this question. Connect Feedback Newsgroups Forums MSDN (Oops that' ...Show All
Visual Studio Express Editions Command line build using VCBuild
Hi. I have a few questions/comments about command line build with Visual C++ 2005 Express Edition. 1. I have noticed that there is no 'devenv' in the Express edition (I got used to it in the VS .NET 2003 version). The IDE executable is 'vcexpress', but it seems it has no command line build capabilities. I assume command line builds are to be done using 'vcbuild'. Am I right 2. Running 'vcexpress / ' brings me a confused explanation which is a mix up of 'vcexpress' and 'devenv' which does not exist in the Express edition. This is clearly a defected help message. 3. If I want to use 'vcbuild' for building Win32 applications (after installing the Platform SDK), I also have to change the PATH/INCLUDE/LIB directories in the %VS80COMN ...Show All
Visual FoxPro VFP Bug... Or is it a feature?
Hi all; In a grid's AfterRowColChange I have the following: if CertainCondition this.AllowCellSelection = .T else this.AllowCellSelection = .F. endif This is basically to implement a 'when' for the record the user is in. I have noticed that in some cases the AfterRowColChange won't fire. I have used ReadOnly (Instead of AllowCellSelection) and it works fine. Aleniko Well... you may be right, but when I move to a different ROW using the mouse - it fails. when using the keyboard - it works. A note here: It fails only when the records are different and not the same. thank you all ...Show All
Visual Studio Express Editions Crystal Reports in express edition
Is there any way to add the crystal report control that comes with the visual studio 2005 in the vb Express edition I have visual studio 2003 but I migrated my application because of all the good features of the DatagridView, can I make the reports in 2003 and then call them from the express application. Thanks and regards. Alfonso Calderon, Have you tried to call the Crystal Reports created in VS.NET 2003 with compiled successfully as a component I am sure you can by adding reference in your application. You can also recompile your project in VS 2005, it will upgrade automatically by the IDE. If you failed to use the Crystal Reports component, I guess that will be a product issue of the reports. In that case, please post ...Show All
SQL Server Transfer SQL Server Objects Task: Nothing Happens
Hello, I am trying to copy a subset of tables, stored procedures, and views from one database to another database on a named instance of SQL Server 2005. I am attempting to use the Transfer SQL Server Objects task in Integration Services. I am able to create both Source and Destination connections, and specify the objects I want to transfer. When I run the package, the task turns yellow while it's processing, then green when it completes. At this point, no objects have been transferred to my destination database. No tables, no procs, no views, nothing. No error has been generated. No information is written to an SSIS log file, other than the fact that objects are being transferred, and then the package is finished. Does this ha ...Show All
Windows Forms How to create Bitmap of a Web Browser Control?
Hi Guys! Im new to C#. How can I create a Bitmap of the Web Browser Control using the CreateGraphics Method Thanks! Matt 2 more errors Error 1 The best overloaded method match for 'System.Drawing.Graphics.CopyFromScreen(System.Drawing.Point, System.Drawing.Point, System.Drawing.Size)' has some invalid arguments C:\Documents and Settings\HP_Owner\Desktop\WindowsApplication1\WindowsApplication1\Form1.cs 22 13 WindowsApplication1 Error 2 Argument '3': cannot convert from 'System.Drawing.CopyPixelOperation' to 'System.Drawing.Size' C:\Documents and Settings\HP_Owner\Desktop\WindowsApplication1\WindowsApplication1\Form1.cs 22 96 WindowsApplication1 Something is wrong with this line: g.CopyFromScree ...Show All
Visual Studio 2008 (Pre-release) Setting Width and Height of User Control
Hi , How can I set the Height and Width of a User Control so that it increases or decreases depending on the height and width of the parent control. I have created a Custom control with a Canvas and placed this control in a Tab Item. I am unable the set the Width when I resize the Tab Item (this is again in a Grid Splitter). I tried using the ActualWidth Property .. how ever that value seems to be NaN. Thanks for the help. Did you put the TabItem in a TabControl an the Tab Control in turn is contained in a Grid or some other container that sizes its child elements See the following sample, there is no need to set Width and Height of the canvas, it is resized automatically ( I used a blue background to ...Show All
Internet Explorer Development Page cannot be displayed - impossible to resolve
sceaniro - Installed v7 IE but the install stamped out my wireless connections. Then I uninstalled v7. Today: I was able to get my wireless connection restored, but I can't ping to my ip address. and when I use IE I get the page cannot be displayed message. Tonight: I researched very clue in MS website and tried a dozen suggestion and no success. Troubleshooting is leading me to possible winsock error when using the Diagnose Connection tool. Error is 'Error attmpting to validate the Winsock base providers:2 Not all base service provider entreis could be found in the winsock catalog. A reset is needed. What suggestions do you have Desperate. I too installed IE7 and some web pages simpy ...Show All
SQL Server Data access using Ent. Library Jan. 2006 release
Hello ... Using Ent. Library Jan. 2006 release and .Net Framework 2.0, I'm connecting to SQL Server 2000 using Microsoft.Practices.EnterpriseLibrary.Data.Sql. I have a windows service that processes jobs asynchronously and from time to time, I'm getting the following error -- "A connection was successfully established with the server, but then an error occurred during the pre-login handshake. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (TCP Provider error: 0 - An existing connection was forcibly closed by the remote host. " What's surprising is the error message saying SQL Server 2005. Has anyone encountered a ...Show All
Visual Studio Express Editions Populating a Dataset from an SQL Database
I am using VB 2005 Express Edition! Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help. As a reference on how to do this, I used KB Article 301216. I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up with the following code :- Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter ReadString = "SELECT * FROM configuration" adapter.SelectCommand = New SqlCommand(ReadString, connection) Dim DSetCONFIGURATION As New DataSet( "CONFIGURATION&qu ...Show All
SQL Server configure web synchronization pb
hi, First, sorry for my english, I'm french When i try to configure web synchronization, I get the following err " success Hresult 0x8007000"(!!!) for the step : setting the snapshot share permission I really don't understand : my folder have all the rights for the user agent... I don't know what to do. Config . SQL Server SP4,Microsoft SQL Server 2005 Mobile Edition It had worked but I had to reinstall the system and now, it does not work anymore Thans for your help, Eric Are you using the "configure web synchronization wizard" have you follow the instruction in SQL server 2005 mobile edtion Book online, session " How to: Configure Connectivity with the Configure Web Synchronizat ...Show All
Visual Basic animate system tray
I can animate the system tray while my program still do events (for example: while program query database and fill all listboxes, the system tray will have a animated icon) Yes, you can use a timer to control this. You will want to make sure though (possibly through DoEvents() that you long running background work is giving a chance (from time to time) to the timer to do its work and the UI to be drawn. ...Show All
