Birol's Q&A profile
Visual Basic Bypass OK button
How do I code in to auto enter an "OK" button so the user does not have to click on it I think the both of you have covered the possibilities. I'm still confused as to why someone wants to do this Make a msgbox appear, to only close it right away... Why not just skip the msgbox, and move directly to the next section I think the question is... Do you really need a user input, when all you're doing is skipping it Granted, i don't know your setup, but only in extreme cases, when using 3rd party controls, would you need to do this. ...Show All
.NET Development Don't copy that floppy
hi i created a vb.net Pr . now i go to bin directory to run .exe it is correct but when i copy only exe into a floppy !! my Pr was changed before,two weeks ago, i change myconfiguration of Pr into Release then it was correct but know i have this problem again(release does not response) Hi, Do you mean, "Is there any way " on copying your exe into a diskette and redistribute it Yes, as I said you can copy your exe into a diskette but the computer that will execute your exe must have a .net framework installed... cheers, Paul June A. Domag ...Show All
Visual Basic Questions?
HELLO! I AM NITESH MENON AND I HAVE SOME QUESTIONS. I HAVE BEEN USING VB FOR 3 DAYS AND NEED HELP. QUESTION 1- When using a web browser is there a way to go back to the previous page in VB (like back in internet explorer) QUESTION 2- When using a web browser is there a way to go back to the next page in VB (like forward in internet explorer) QUESTION 3- How can I display another form other than the main one. QUESTION 4- How do I save a configuration so when a user uses the program again he has the same settings. QUESTION 5- How do I make a web browser the default one QUESTION 6- How do I make an option menu. QUESTION 7- How ...Show All
SQL Server HOW TO DEPLOY A PROJECT TO REMOTE SERVER
hi ,i want to deploy an project(BI) which is been deployed successful on my computer to remote server,the server name is boco-ace.i do not kown how to do could you give me an solution if you give an example,i cannot bear to appreciate. Several ways: First. Right click on your project name in the BI Dev Studio select "Properties". Click on "Deployment" node on the left and you will see the name of the server you deploying to. By default it is "localhost" , change it to boco-ace Second. Open SQL Management Studio. Right Click on your database name->Script database to->Create ... Send resulting scr ...Show All
SQL Server Connecting SQL2000 problem
Hi All, I have a sqlserver 2000 & 2005 both installed on same server with the instance name as servername\sql2000 and servername\sql2005. When i try to connect the sql2000 database from dotnet2002 or 2003, It comes up with an error as sql server doesnot exist or access denied but when i tried with dotnet2005, i am able to connect it. I guess it has to do with an dotnet framework 1.0 & 1.1 but i am not sure where to look for it. Can someone please point me to right direction Thanks Shaik Nagul on the client, check that the TCP protocols are enabled using the Client Network Utility (cliconf ...Show All
SQL Server SSIS datatypes issue.
Dear all, I’ve made a SSIS package which take a sql statement and carry on to the .xls file but when I launch that package appears these errors: Error at Data Flow Task [Excel Destination [31]]: Column "descripcion" cannot convert between unicode and non-unicode string data types. (Microsoft.DataTransformationServices.VsIntegration) Source table have the following structure: CREATE TABLE [dbo].[SIN_Siniestro] ( [Siniestro] [numeric](9, 0) NOT NULL , [Descripcion] [varchar] (1000) NULL , [FAlta] [datetime] NOT NULL , [Estado] [tinyint] NOT NULL , [FModif] [datetime] NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIM ...Show All
Visual Studio 2008 (Pre-release) Explicit vs. Implicit Behaviour
Prefacing some words about the focus of this post: I am looking at the features described below having only the maintainability of the resulting code in mind. The assumed situation is having an enterprise project with > 20 developers, internal and external, who built the application, and a completely different team of developers maintaining the system later on. Also, the assumption is that none of the developers who originally created the system will be available for questions by the maintaining staff. The members of the developing and maintaining team will be average developers, maybe 'just' programmers, who are not familiar with (and ma ...Show All
.NET Development Using a single connection object
Hi, Let me explain Say, we have an application which accesses data a lot from the database and for every DB call a connection object is being created and then destroyed after the work done or We have an application which has a data access layer which helps in talking to the database and rreturning the result. How can we make sure that only one connection object is there at any time That's relatively cheap (creating the object). Opening the connection is not. Hence the pooling. The code pattern will be more maintainable and flexible if you use the common model of: * creating a connection * opening it * ...Show All
Microsoft ISV Community Center Forums Programatically Add Pages to MultiPage Control
Can someone please provide assistance in adding pages to a MultiPage control programatically. I wish to add pages based on a user's input. Thanks for any assistance. Hi, this will do it... use the MutiPage control's Pages collection to Add a new page, the first parameter is the name of the new page, the second parameter is the caption. This returns a Page object of the Page you added. You can use to modify any properties of the new Page. Private Sub cmdAddNew_Click() Dim pagNew As Page Set pagNew = Me.mutiPageControl.Pages.Add("pagNewPage", "NewPag ...Show All
Visual Basic Datasets in MDI Application
Hi All: I have a local database (SQL server 2005) in a MDI application (VB2005). In the parent form, I have a dataset and some controls binding to one table of the database. In child forms, I also have some controls binding to related tables in other datasets. In the parent form, user can add or delete a record. In child forms, user can also add or delete records in related tables. Can SQL server save changes from two or more datasets Does anyone know Thanks. You should be able to update from as many datasets as you want as long as you have a data adapter for the datasets. ...Show All
Visual Studio Team System Overriding the GetChangeSetsAndUpdateWorkItems target
Hi, Is there any easy way to override this target We'd want to get a subset of the changesets and update the accompanying workitems, based on the Area field. For instance, for an Area A, we'd like to get the changesets that only contain workitems that are on that area. So all we want to do is to apply a filter on the changesets. However, if we override the target, we would have to write code for everything else, like updating the workitems with the "Fixed In" field etc. Regards, Thomas L Doesn't anyone have an answer for this One of the major things about Team Foundation is that it's supposed to be ...Show All
Windows Forms Editable Panel within UserControl
I have a usercontrol that I drop a panel and a label onto. I dock the label to the top and the panel dock to fill. When I drop my custom usercontrol onto my form, I can't add controls onto my panel. I want the ability to add controls onto my panel inside of my usercontrol. I have read some threads about using EnableDesignMode but it  ...Show All
Visual J# Warning - don't use ReSharper
Hi; If you have done much development in C# you probably have ReSharper and it is a tremendous help. But when it get's in J# it slows the system down a LOT and it gets all confused with intellisense. I ended up removing it. Hi David, By any chance have you reported this issue to ReSharper guys Did they suggested you to uninstall it I am just curious to know if the root cause is J# or ReSharper Thanks. ...Show All
Windows Forms BackgroundWorker RunCompleted Not Thread Safe?
I created a StatusStrip using VS.NET 2005 Beta 2. A thread is started to grab data from a database. The StatusStripLabel is updated when a data row is changed/added. I put the codes that changes the StatusStripLabel inside a BackgroundWorker's RunCompleted event. Here's a sample of my codes: [ ... snip ...] private string _StatusMessage = ""; private void StatusChange ( string message ) { lock (_StatusMessage) { _StatusMessage = message; } backgroundWorker1.RunWorkerAsync (); } private void backgroundWorker1_RunWorkerC ...Show All
Visual Studio Team System Can't back up WSS content database since migration to RTM
When I try to backup my TFS databases, I'm getting an error: System.Data.SqlClient.SqlError: The backup of the file of filegroup "sysft_ix_STS_server_#_####" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only online data. Apparently the full-text indexes on the WSS content database have been lost/deleted/corrupted/ by something that happened during the migration to RTM. Any ideas what I might be able to do to re-create the full-text indexes for the WSS content database That is odd - the upgrade should not have delet ...Show All
