hary's Q&A profile
.NET Development problem in using DropDownList Control
Hi All, I am developing a small web application in 1.1 framework. I am using a DropDownList control. I have coded a selected index changed event for that, and set the autopostback property to true. When i select any value from dropdown, it triggers this event alright, but again displays the 0th value from drop down. What could be wrong. Code Snippet: private void DropDownList1_SelectedIndexChanged( object sender, System.EventArgs e) { DataView dv; Students st = new Students(); dv = st.DataLoad(); dv.RowFilter = "Student = '" + DropDownList1.SelectedItem.Value + "'"; // always returns 0th r ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Directx SDK January 2006?
hello everyone, can anyone tell me if there is any possibility of a January version of the SDK 2006 planned to be released Thank You You can expect DirectX SDK updates in a 2 month cycle. Since the last one was in December 2005, you can expect one in February 2006. I hope this helps. Take care. ...Show All
Visual FoxPro Pageframe
Dear Sir, How to make a pageframe moveable On form, I want to move pageframe with mouse on some different location. Please help Thanks in advance Tariq, You can do something like this. However keep in mind due to performance it's common to save page contents as class and instantiate that class when needed - if that's the case for you, either class should have the same code of pgfMover class or inherit from that class. Also note that pgfMover class doesn't make any checks if it has parent.parent and simply assumes used only with pageFrames : Public oForm oForm = Createobject('myForm') oForm.Show Define Class myForm As Form & ...Show All
Windows Forms Another DataGridView Bug in VS.NET 2005
Hello there, I think I've run into another bug within the DataGridView control. I've got some kind of bigger project here where I use DataGridView in several forms. But everywhere I use it, I can't get access to its properties. They simply aren't displayed. The property explorer remains empty when I select one of those DataGridViews. It seems to be a bug 'cos VS.NET crashes when I select the DataGridView via the DropDown list right above the property explorer. I can't continue my work if I won't be able to access the properties of my DataGridViews... so please, if there is anybody who can help... any kind of help would be greatly appreciate ...Show All
SQL Server Timeout expires when deploying assemblies in SQL Server 2005 June CTP
I am encountering a timeout expired error when deploying a .NET assembly in SQL Server 2005 using Visual Studio.NET. I already enabled SQL Server for CLR. Whenever I run the CREATE ASSEMBLY command in SQL Management Studio, my query just ends up executing without stopping. Can anybody help Milind Lele - MSFT wrote: Can you please change the time out value from Tools->Options->Database Tools->Query and View Designers I am using RTM versions (or in reality, SP1) and this is the part that was hindering our remote SQL Server from completing the deployment. Thanks for the tip, was looking all around the databas ...Show All
Visual Basic Help - Data Source Configuration Wizard OLEDB CSV
Hi All, I am running Visual Studio 2005 Beta 2, I was trying to create a dataset where the datasource is a CSV File. When I run Data Source Configuration Wizard Using OLEDB and ODBC , the dataset is blank. "Error Text: An error occurred while retrieving the information from the database. Operation is not supported for this type of object." Does any one know whether this is a bug or incomplete function or not supported In Server Explorer, I can see the CSV file and column in the file. ------------------------------ Data Source ACCESS.C:\\Sample Table ...Show All
SQL Server Moving from one computer to another
I am developing an SSIS package in a local computer. I have connection managers defined that link to a SQL Server database. I connect to the database using SQL Server Authentication, a username and a password. When I copy the package files and try to execute them in another computer, the password is lost and I have to edit the package and rewrite the password. How can I move a package between computers and not lose the password Regards, Pedro Martins Passwords will not be stored in a package except in an encrypted format. You can affect this using the Protectionlevel property of the paclage. I reco ...Show All
Software Development for Windows Vista Problem creating a parallel version of the ForEach example activity
I am trying to create a custom activity that is similar to the ForEach example posted in the custom activity gallery: http://www.windowsworkflow.net/ControlGallery/ControlDetail.aspx Control=2222&tabindex=2 The code below is basically modifications to that sample (i.e. the activity inherits from CompositeActivity, etc.) The difference is that I want the set of activities executed to be done in parallel rather than serially. I’ve been trying to figure out how to accomplish it but have been running into some (perhaps naive) problems. The code looks like the following: private void ExecuteChild( ActivityEx ...Show All
Visual Studio Express Editions Newbe question, save as...
Hello, How do I save a project as I have a project and would like to make changes to it. Then save it under a different project name and leave the original project intact. Thank you in advance. Ken Save the original project. Copy the top level project directory with windows Explorer Paste it at a desired location on your disk. Open the pasted .sln file Make changes as desired ...Show All
Windows Forms Phone Dialer Code Example
I have to create a module that will allow a user to query our database and then push a button and have the local pc dial the phone number via the modem. I have never written a program that has to interact with hardware so I am looking for some direction. If anyone knows a good website or can post somthing to just get me ...Show All
Windows Forms Simple databinding question.
In winform app, I binded a listbox to a dataset by setting mylistbox.datasource= myDataset.Tables[0] and mylistbox.member="myField" I try to get the selected item by mylistbox.selecteditem.tostring() and it turn out to be a string "System.Data.DataView" no matter what is selected. Same result is obtained using other listbox's properties. I finally decided to obtain the ...Show All
.NET Development Explain .ConnectionString Mechanism
I am interested to know how the ConnectionString line of code works. It appears to search machine.config, app.config and web.config. Anybody have any background on how this process works Does it really search all three files and in what order Protected Function DB( ByVal DatabaseName As String ) As String Return ConfigurationManager.ConnectionStrings _ (DatabaseName).ConnectionString End Function Are there any genuises at MS that have any background information on this I would love to see a KB article on this subject. Somebody should con ...Show All
Software Development for Windows Vista What to download to get WWF running?
Hi!. I'm very sorry about this silly question, but i need help. I Need to install WWF with the WWF Designer for VS.NET 2005 and i'm having problems about what files to download. We have this files in MSDN: MicrosoftR Visual StudioR 2005 Extensions for Windows Workflow Foundation and WinFX CTP. Not compatible with Office "12" (Beta1) MicrosoftR Visual StudioR 2005 Extensions for Windows Workflow Foundation and WinFX Windows Workflow Foundation Beta 1.2 -- compatible with Office "12" (Beta 1) If i need to install WWF Beta2, is the first one the right choice Since i don’t have Office, it is not necesa ...Show All
.NET Development Truncated error in SQL server command
Hi, I've been having a little trouble with SQL Server 2005 when writing my information into each record. I am using VS2005 Pro (C#) and SQL Server 2005 Express Edition. I have a database which has a large number of columns (I've managed to squeeze it down to 248 columns). The first 8 columns are fixed fields (all 248 are varchar including the Primary Key - all nullable with the exception of the primary key). Once these have been created, I ALTER the table in a code loop which adds 240 more columns as follows: My program proceeds to add 60 columns called First01-First60, then it adds 60 more columns Second01-Second60, then another 60 ...Show All
Windows Forms How to change control 's property at run time
Hi, everybody I want to change control 's appearance property at run time. I put some combobox on the form to change a label control 's appearance. For example, if I click a comboxbox , a openfiledialog will appear, after I selecting the image file, this image will appear on the label control. Just like the property window at the design time. Net ...Show All
