ArKhas's Q&A profile
Visual C++ Weird compiler error...
Actually, I tried to enter a bug report, but it wouldn't let me select the product as Visual C++ .Net 2003. I am trying to port from 6.0 to 2003...and keep coming across an internal compiler error (c1001 , compiler file 'msc1.cpp', line 2701). I have boiled down the code to a snippet that won't compile. The code itself looks fine to me and it will compile fine with VC++ 6.0 and g++. The snippet: // -- begin snippet #include < ...Show All
Windows Forms How to clear current DataGridView
Hi, I have bound DataGridView and would like to clear it after press a button. How do I do that i tried setting the DataSource to null but it's not clearing it.. here is my code: private void getScheduleList() { if (cboDoctor.Text == "ALL STAFF" ) { all_staff = "Y" ; btnAppointment.Visible = false ; c1Schedule.Visible = false ; } else { ...Show All
Windows Forms Bindingsource AddingNew causes "Cannot add external objects to this list"
Hello! I want some columns to be prefilled before added so I handled the AddingNew event of my bindingsource: Dim _view As System.Data.DataView = New System.Data.DataView(OrderTable ) Dim _row As System.Data.DataRowView = _view.AddNew _row.Item("PositionsNr") = 4 _row.Item("PositionsSubNr") = 1 e.NewObject = _row While executing it raises the error "Cannot add external objects to this list". I think it's some kind of mis ...Show All
Visual Basic COM visible DLLs: are they only legends?
Can anybody provide a direct, straightforward method of creating a DLL with properties and methods exposed to other programs I followed the instructions that I found on the MSDN websites as well as suggestions from forum participants. The DLL should be available both for COM and .NET programs. So far, nothing has worked. There are numerous variations listed on the MSDN site. No doubt there are reasons for the differing instructions. However, I h ...Show All
Visual Studio Installing VS2005 Deletes SourceSafe in VS2003
Hello. I have installed VS2005 Pro alongside VS2003 Enterprise. Prior to the install, an application written in VS2003 was connected to SourceSafe and the IDE show SourceSafe in the file menu. Now that I have installed VS2005, VS2003 no longer recognizes that SourceSafe exists. How do I get this functionality back into VS2003. The project I am working has to stay in VS2003 for the time being. New projects will be developed in VS2005. Any and all ...Show All
Visual Basic today -2 month & last of that month
I am a VB.net rookie how to write 1. today -2 month 2. last of that month thanks a lot alex 1. Dim Date1 As DateTime = DateAdd(DateInterval.Month, -2, Now) 2. Do your own homework ...Show All
Smart Device Development Smartphone not showing window
Hello, I am attempting my first VB.NET SmartPhone 2003 app and am running into a bit of a snag. I have a Sub Main that my app runs from. I am attempting to display a form using the Form.Show(). It doesn't give an error but the form does not display. Form.ShowDialog appears to work fine. I don't want it to be a ShowDialog because that suspends the processing in the Main - which I need to continue so I can pop-up, close windows, and ...Show All
Visual Basic Appending lines to a text file
Hi I got a program wich stores some values and every time it saves it ads another line in a txt file but I want that when there are 3 lines in it. so how do I make that the next time you save it saves on the next line and when there are 3 lines it exports al the lines to a new file, but when i exports again it adds them to the previous 3 If you are writing the method My.Computer.FileSystem.W ...Show All
Visual Studio Team System Migration
Hey all I am wondering if there will be a migration path between the Beta 2 of Team Foundation and the RTM Mostly what I am after is if I start a Team Project will I have a way of upgrading the TF Server when the full version comes out Thanks Kenzie The following chat sessions have the same question answered. http://msdn.microsoft.com/chats/transcripts/vstudio/05_0512_dn_vstf2.aspx http://msdn.microsoft.com/chats/transcripts/vstud ...Show All
Smart Device Development How to use external file to save password ?
How to use external file to save password that can connect to the sql mobile database, instead of which place password in the code in my C# applictaion in .netCF Can you recommend a helpful article for me Thank you,Thank you! Why do you need a password in the first place It can't be for security purposes or you wouldn't be considering keeping it in a file. ...Show All
SQL Server failure in starting the process for the user instance
High everybody, I have a set of winforms (.NET 2.0 assemblies) ( 6 total ) that each tries to open a connection to the same Database file using the same connection string. In the connection string, UserInstance is set to true. If each winform is started manually after opening the session on the computer, the connection to the database performs well for every winform. If the same winforms are automatically started at the opening of the u ...Show All
Visual Studio Team System Team Foundation Server for Developers Question On TFS Workgroup Version
We have about 15 developers and have purchased Team Suite for Developers. We plan on installing full Team Foundation Server once it releases but I plan on installing the Workgroup version on a server next week. Everything I read says there is no difference in the two versions other than the 5 user cal. Will I have to uninstall and reinstall this version when we receive it or is it just an upgrade. Thanks Ricky ...Show All
Visual Studio Team System Moving Team Foundation Server
Our organization is in the process of redesigning the server/network architecture, but since it is a very large organization the process moves extremely slow. My development team would like to go ahead and deploy Team Foundation Server within the current server architecture, but my question is how easy would it be to move to completely new servers when the time comes We would like to begin using the source control and process guidan ...Show All
Windows Forms PrintPreview problem
Hi everybody, When i try to print some file with a Print Dialog, i don't have any problem, and my control is printed exactly as i want. But, when i use a PrintPreview Dialog, the pages seem to be good on the print preview, but when i try to print with the given control of PrintPreviewDlg, i only get a white page getting out my print... Does anyone have a solution Thanks to everyone : ) ok here ...Show All
Software Development for Windows Vista Using root activity parameters
I've created a workflow from using a root activity class that derives from SequentialWorkflowActivity and adds some additional properties. These appear fine in the designer properties grid but I'm unable to find them in the browser when I want to associate them to properties against other Activities. I'm using Beta 2.2 version. Any help would be appreciated. Tim, Can you post the code snippet of your p ...Show All
