-bc-'s Q&A profile
SQL Server Transfer Access database into SQL Server 2005 Express
Hi, A question regarding SQL Server 2005 Express edition. Is it possible to export Access databases into SQL databases without using programming (e.g. using SQL and programming languages) I understand you can do this with DTS, but the Express edition seems not have DTS. Many thanks Yuelin Hello i found a way of getting around of it: using the Upsize Wizard from Access. I have successfully "upsized my Access databases onto SQL 2005 express. good luck Yuelin ...Show All
Windows Forms Change control cursor to cursor from .cur in designer
By the wayu I though i'd just ask... how do you use the mouse pointers you create with vs2005. when you select the cursor property of the form it only comes up with the ones already avaliable The designer doesn't support non-standard cursors. You can use code to change the cursor to a explict file or load it from resources. ...Show All
Visual Studio Express Editions Registration Not Recognized
Hi, folks. I have been using Visual C++ 2005 Express Edition for just over a month now and am happy with it, overall. (I work on a Windows 2000 computer, usually logged in as a general user.) However, a couple days ago I tried to start it up, but a message box appeared, stating that the 30 day trial period had elapsed, and I should register it if I wanted to continue using it. However, I HAD registered it right after I installed it. Just to make sure, I logged out as a General User, logged in as the Administrator, and tried to register the product. I was told the product was already registered. I then logged back in as a General ...Show All
Visual Basic How does VisualBasic.CompilerServices.NewLateBinding work?
Hi, I'm currently developing a scripting language that provides full access to the .NET Framework. You can do things like that: var text = "I am some text" echo(text.ToString) var c; foreach c(text.ToCharArray){ echo(c:System.Int32) } I want my language to "act like" .NET and since VB.NET with Option Strict Off provides the same functionality I thought I could use it. Unfortunately Microsoft.VisualBasic.CompilerServices is more or less undocumented and somehow excluded from IntelliSense... But by looking into MSIL code I managed to call the Microsoft.VisualBasic.CompilerServices.NewLateBinding.Get/Set/Call et ...Show All
Visual Basic VB.net program crashed under Windows Server 2003
Hi guys, I'm new to VB. I developed an application with VB.net 2003 under Windows XP, which runs ok under windows XP. But it crashed when I tried to run it under Windows Servers 2003, the error message says: "Class not registered". Could anyone give me some ideas about the possible cause of this error Thanks in advance! "Class not registered". Windflower, what this message almost always points to is an environmental problem. It means the registry doesn't know about a control or dll which generally means it hasn't been installed, which returns us to an environmental problesm. ...Show All
Visual Studio Express Editions How do I build a dll from command line using C# express ?
I have C# express installed and would like to build a dll with following command : csc /target:library /out:bank.dll a.cs The windows Command Prompt responds with " 'csc' is not recognized ..." I know in VS 2003 I can use the .NET Command Prompt. How do I do this for C# express so that my above dll build command will be recognized thanks. The C# command-line compiler is located in the .NET Framework directory. This folder is typically located here: %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727 For example: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ...Show All
Visual C# Daemonizing a console app
Is there a way to run a console program and have it pushed into a background process VC# Express doesn't allow services to be created, so I'm trying to figure out another way to accomplish this. Any ideas or way to put a console app in the background Thanks! the same problem for me, i need to keep running an application in background and make a tray icon animated when some events occur on the "deamon"... ...Show All
Visual Studio Express Editions Registered 5 Times Visual Web Developer Express but no Product Key
Hi Folks, I downloaded Visual Web Developer and have been trying it out, it's great so far. I also downloaded VB Express afterwards . I registered VB and got a Product ID which I copied and pasted like the instructions said. I never got a Product ID for VWD Express. I registerd immediately after installing. I either overlooked the Product ID copy and paste when I first registered or it wasn't available. I have since done the Help > Register Product about 5 times. I get an email but haven't been led to the page with the Product ID. What do I have to do to get the Product ID for Visual Web Developer Express Many thanks for yo ...Show All
Visual Studio Express Editions I had to fix the CollectMaskedTextBoxes subroutine...
I written some code (with some help..alright, alot of help) to store the values to a .txt file(s) so that when I re-open the form, the values will return (Hopfully to where they came from), but unfortunately they don't. What happens is, they start back filling from the bottom of the form (Highest "MaskedTextBox" number to the lowest) P.S. I'm already using this solution for "TextBoxes" Using FileOpen(1, "FSO.txt" , OpenMode.Input) and it works fine (Confused) I'm saving the values for "TextBoxes" to one file( FSO.txt) and the values for the "MaskedTextBoxes" to another file( FSO2.txt ...Show All
.NET Development Exception Handling DO NOT WORK!! Help Please!@!
Hi. I want that you think with me... When i put a try-catch exception handler block in an application what i expect from it i expect that it will handle the error and begin the normal flow of the application. Now, you aswer me, why it doesn’t work in this scenary : I have one Form1 (Project > Add New > Form, nothing different), and another Form2 and one Form3. i’m proud of my creativity for names. Form1 : private void Form1_Load( object sender, EventArgs e ) { try { new Form2().Show(); } catch (Exception ex) { MessageBox.Show("Error calling form 2" + ex.Message ...Show All
Windows Forms Windows Service Question
Hi I have built a window service program that needs to read the current user logged on. And one of the problem with this is that in each computer in my office there may be more than 1 users foreach computer. So here are my questions: 1. How can I get the currently logged on user using .net 2. If say the first user logged on for e.g. A, then log off, after that B log on, how can my Window service detect that or in other words I want to know if there is any way in my Window Service program to detect if any user log on OR log off and then do something with it. Is there any event gets thrown when a user log on OR log off. Please direct ...Show All
SQL Server using TransactionOption in April CTP
Hello. I am using April CTP. In the main package, i am setting the TransactionOption to Required whereas in the child packages to Supported. But i'm getting the following error: The DTS Runtime has failed to start the distributed transaction due to error 0x8004D01C "A connection with the transaction manager was lost.". The DTC transaction failed to start. This could occur because the MSDTC Service is not running. However the MSDTC service is running. What could be the cause Thanks Christina Hi Christina, I'm getting the same error. I know it happended to you a year ago, but do you st ...Show All
Visual Studio Team System Problem to connect to AD while doing automated tests
Hello All, I have a very strange behavior while running the tests on my development machines and on the production server. I have posted this thread in the CLR part but you may already have encountered this problem while doing tests. Thanks to have a look ! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=391203&SiteID=1 Jarod A new element : so I have created a brand new virtual machine with "Team Suite Trial" --> all my tests are ok Then I have create breand new virtual machine with "Team Edition" --> all my tests are ok Then I have upgrade my VM from "Team Suite" ...Show All
Visual Studio Team System Installation error - Error 28927. TFServerStatusValidator: Invalid Arguements (sic)
Trying to install the services tier of Team Foundation Beta 3 Refresh in a dual server environment but keep getting the above error which results in a failed installation and the message:- Error occured during setup The following failed to install: Microsft Visual Studio 2005 Team Foundation Server (services) - ENU Any help/suggestions appreciated. I'm afraid I don't have that anymore. but I will try the RC in the near future. I read it has loads of improvements in SETUP, so I'll be eager to check it out... ...Show All
.NET Development Object disposal while thread is aborting
Hi All, Kindly let me know about object disposal in multithreaded program. I am particularly interested in knowing object disposal whenever thread is aborted. Any help (Explination, Articles and others) is very much appreciated. With Regards, kalai Do a Google search for: chris brumme reliability. Search in msdn for "Reliability Best Practices". Of course the most important issue is architectural. Do you really have to Abort threads This is a dangerous practice. .NET 2.0 makes code more reliable (critical finalizer, SafeHandle, constrained regions; http://msdn.microsoft.com/msdnmag/issues/05/10 ...Show All
