curt1's Q&A profile
Visual Studio Express Editions Trouble with ending out an application
This application is a guessing game where the user has ten tries to guess a random number. After each guess the user is promted to guess higher or lower. When the user guesses the right answer a "Congratulations" message box appears. The problem is when the user guesses correctly, the program should display the Congratulations message box and then end, however the loop keeps going. How can I make it stop The code follows: Private Sub TryButton_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles TryButton.Click Dim number As Integer Dim num As Integer Dim randomGenerator As ...Show All
Visual Studio Express Editions how to remove visual basic for application from references
when i click F1 on the code , its calling both vb help and my CHM(compiled html file) which is included in Bin. actually i want only my documentation , its happening only in my VBA module. can anybody have solution to overcome this. thanks & regards, tam how to remove VBA help from references which is under tools. when i included my library, its calling VBA and my library. but i want only library to display ...Show All
Visual Studio Express Editions accessing clipboard through the console
I would like to access data which, most likely resides on the users clipboard. After a bit of websearching, I have learnt that the clipboard class is available in the System.Windows.Forms namespace. I am currently writing a console application, and cannot seem to access that namespace. How can I access the clipbard then Thank you. You just need to add a reference to the System.Windows.Forms.dll, which is not added by default in Console applications, which typically don't use the functionality from this DLL. You can add this reference by clicking on the node for your project in the Solution Explorer a ...Show All
SQL Server Cannot connect to "Reporting Services" using Microsoft Sql Server Management Studio.
Hi, I installed latest SQL Server 2005 180 days trial version on my windows XP SP2 machine with the named instance "RS2005POC". I opened sql server management studio and selected Server Type = Reporting Services Server Name = localhost\RS2005POC Authentication = Windows Authentication. Connection failed with the following error message. Any help on this is much appreciated. Also I tried with "cjecw-h1708\RS2005POC" where cjecw-h1708(instead of localhost) is my machine name. Other links to Reporting Services are fine. I am able to work with Report Builder, Report Manager etc. Complete error info: Client found response content ...Show All
Windows Forms Help with picture box and file locking
I have the following code to download an image from the internet and put it into picture box Dim client As New WebClient() Try client.DownloadFile(img1, "C:\tmp1.jpg") Catch ex As Exception MessageBox.Show(ex.ToString) End Try pbxImage.Image = Image.FromFile("C:\tmp1.jpg") When it runs it always throws an error An exception occurred during a webclient request, system.io.ioexception, the process cannot  ...Show All
SQL Server Transfer SQL Server Objects Errors
Hi. I'm totally new to SSIS (SP1), and I'm having a raft of troubles transferring DB's using the 'Transfer SQL Server Objects Task', which seems to be the closest replacement for the old DTS Transfer Objects tool. I'm trying to transfer a DB from an SQL Server 2000, where I only have SQL Server authentication (it's a shared hosting environment) to my local SQL Server 2005 server, where I'm logged in using Windows Authentication (although I have the same issues if I use SQL Authentication locally). Here's the list of errors I'm getting. If I don't select 'copy all tables', I receive a "table does not exist at source" error. If I d ...Show All
Visual Studio Team System successful report?
hi there! is it possible to save a report if no errors were found or if it is empty so the programmer releases if he was successfull with his coding greets andy Andy, Use the /forceoutput switch with FxCopCmd: FxCopCmd /project:MyProject.fxcop /out:out.xml /forceoutput Regards David ...Show All
Visual Studio Express Editions NotifyIcon
Is there any way to start my vb.net2005 application to start without any forms at all ie, I want to hide my start up form much like when setting the form visibility = false but with the icon in the tray. Thanx in advance to reply me on tomsmaily@gmail.com There is a sample on the msdn web site . ...Show All
Visual FoxPro File acces
Situation: A program written in FoxPro tries to find a file on a remote computer. It does find it. Then a new file as added to that folder on the server. The client is trying to find the new file, but an error "File access is denied" is generated. The same file is being read from the server without problem. Any ideas "Does't find it". In your original message error was "Access is denied". I'm confused. Newly created tables are exclusively used by the creator until closed. Might that be your problem ie: Session A (or user A): create table xx (f1 i) && assume this is created on \\computerX\FolderY Ses ...Show All
Visual Studio Express Editions odd textbox behaviour - bug?
I have a controls on a form bound to a binding source. The first control (textbox) is my auto-number field and is read only. I also have a function that clears all the controls (textboxes, combo's, and date pickers) on the form when a user deletes a record or clicks the "add new" button. After this occurs, the focus is put (not by me) on the auto-number field textbox. From that point on I am not able to get out of the textbox unless I stop the debugger and restart the program. Its like it is stuck in the textbox. I have tried taking the tabstop away and as long as I don't click in the textbox I am ok. ...Show All
Visual Studio Deploying Crystal Reports Web Application
Is there a document which explains the correct way of deploying web applications with crystal reports using Visual Studio 2005. My app runs OK on the development machine, however when I deploy it it errors as follows Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. Source Error: Line 18: <add assembly="System.Design, Version=2 ...Show All
Visual Studio Pulling Release via Labels through Remote Access
We have worked through all the common issues to get the remote access functioning for VS2005. Currently my developers pull their release down through VSS2005 via a label. Now that we have remote access available can they pull a project via a label name through VS2005 remote access We have successfully checked out and in individual solutions, but do not see the labels. I assume when we did this we were just getting the tip. This method is not acceptable for our offsite development (the tip is not always what we need). EW: No, that is definitely not the case. SourceOffsite has Get By Label functional ...Show All
SQL Server Using user variables in derived column transformation
My derived column transformation with a user variable expression displays the user variable's default and not its assignned value. Background: I built a script component that seems to effectively assign a new value to a user variable. I use local variables within the component, make the assignment in the PostExecute subroutine, and check by writing the user variable to a messagebox there. In the derived column transformation I create a new column and insert the user variable in its expression field, add a data viewer, and send it to a data destination. The data viewer shows the user variable default and not the assignned value. I re ...Show All
Windows Forms How to "Select All" then "Copy" from another programs page?
Hello. I have a program running on my PC. The program retrieves data from a server every 30 seconds or so. I can right-click on the programs data page and copy the text content to the clipboard. Now I'm writing a windows forms program that would read this text data and do some processing on it. I just need to know, after knowing where the oth ...Show All
Windows Forms Customizing TableLayoutPanelDesigner
Hello, I'm developing a custom control that is to be used in a custom forms designer that I created. The control should have exactly two cells behaving like cells in a TableLayoutPanel, so I thought I'd build my control as an extension to TableLayoutPanel. Now I need to customize its designer, since I do not need all the design-time options that TableLayoutPanelDesigner offers. Problem is: TableLayoutPanelDesigner is an internal class, and can therefore not be inherited! Now I was wondering what my options are... I was thinking about developing a custom designer from scratch (extending from ParentControlDesigner). How to achieve ...Show All
