Wesman's Q&A profile
Visual C# Difference Between C#.Net and C++.Net
Can someone tell me the primary differences between C#.Net and C++.Net If I learn one, will I necessarily be learning the other Which one would you recommend that I learn first Currently, I know C++ but I program professionally in VB6. I am looking to make the transition into the Visual Studio.Net arena. Hi, I'd recommend you start with C# with a focus on the .NET Framework. Since you have been working on VB6, VB.NET can also be a choice. You can do everything that you can in C# with VB.NET as well since both languages are based on the same Framework. Regards, Vikram ...Show All
Visual Studio Express Editions Hide property disables list boxes
Whenever we set the visible property of a list box to false, we can no longer access the list box. When it is not hidden, we can get whatever information we want out of it. If anyone can help with this problem it would help us out greatly. Thanks, Hoofe Ok, sorry i took so long to get back. We are accessing the list boxes through indexes. example code: For C=1 To Session.Item("AvailTimeArrayLength") AvailTimes.Items.Add("MilTime: " & AvailableTimeArray(C, 0) & " UserTime: " & AvailableTimeArray(C, 1)) Next it works when not hi ...Show All
SQL Server db design question
This problem comes up over and over in my designs. It must be the way I think. Here is an example: Table proposals is the depository of all data. The other table is only to enforce the constraint. An author can make many proposals with the same topic, language and category. When done, she flags just one within this group of rows as FinalizedProposal. I am keeping the data of the ‘drafts’. They are all proposal rows but just one is labeled finalized. For this topic and this language and this category AND THIS AUTHOR there MUST be just one finalized proposal. The drafts are not really historical data because the finalized may be older than ...Show All
SQL Server cannot convert between unicode and non-unicode with SQL Server
I keep getting the error message below when attempting to import a text file (flat file) to an SQL Server Destination using SSIS. This database has recently been migrated from SQL Server 2000 (where I used a DTS Package that worked fine). I plan on doing further manipulation to the file after importing but have so far tried to keep one step at a time. I have tried using a smaller files and different tables but still get a similar response. I believe that the encoding of the text file is ANSI. If it is relevant the database collation is Latin1_General_CI_AS (the same as it was when 2000). Any help anyone can provide will be greatly appreciate ...Show All
Visual C# AccessViolationError, how to fix?
Using C# express beta 2, I'm getting an AccessViolationError on even very simple forms. It was working fine last night, now I can't get any new form to work. IE, I go to New Project, Windows Application. Add a single Label and click debug. It builds with no problem, but when it goes to debug I instantly get the exception. However, if I open a project I created last night, it works perfectly. I have restarted the IDE and restarted Windows, but it did not make any difference. Thanks for any assistance you can provide. If it will help, here is the exception detail (using copy to clipboard option): System.AccessViolationException was u ...Show All
Windows Forms Force a column in Dataset to be null?
I want to force a column in Dataset to be null. Following statement raises an error like "date column cannot be null. use DbNull instead....." dataset1.Tables("table_name").Rows(0).Item("date1") = Nothing I would appreciated to let me know the correct syntax for this. chaborbaf if you haven't resolved this yet, i'll play with it this weekend&n ...Show All
SQL Server "Windows can not open this file: splash.hta" while trying to install SQL Server STD2005 through EN_SQL_2005_STD_X86_DVD.ISO fil
Hi there, In my dev machine (XP) I had VS2003 installed with SQL server 2000 express edition and VSTS beta2. now to install VS2005 RTM and VSTS beta3 , I uninstalled everything first ( .net framework 1.1, 2.0, SQL everything, visual studio etc) and then I was trying to install SQL 2005 standard edition first, but it gives me following message while I'm trying to install "Windows can not open this file: File: splash.hta" To open this file windows needs to know which program created it. Windows can go online to looks it automatically or you can manually select from lists of programs on yo ...Show All
Windows Forms multiple comboboxes selecteditem problem
Hi i have more comboboxes with same datasource ( one instance of arraylist) p.e.: combobox1.datasource = arraylist1; combobox2.datasource = arraylist1; ... comboboxN.datasource = arraylist1; if i change slelecteditem in one of this comboboxes, then in all other comboboxes with the same datasource change their selecteditem also. but i dont want that. what can i do thank you Hi, comboBox2.BindingContext = new BindingContext () will make combobox2 show a other item than combobox1 one does. ...Show All
Visual Studio Help with initial toolwindow placement, sizing, and drawing
Hello, I have a toolwindow in which I am placing a UIHiearchyWindow control. My goal is to have the toolwindow's default position be docked in the same tab group as the Solution Explorer, Class View, etc. In an attempt to accomplish this, I am using the following registration attribute on my managed package: [MSVSIP.ProvideToolWindow(typeof(AltHierarchyWindow), Style = VsDockStyle.Tabbed, Window = "{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}", Orientation = ToolWindowOrientation.Bottom)] What I'm experiencing is the following: 1) Toolwindow does not have its initial placement in the same tab group as Solution Explorer and ClasView ...Show All
Visual Studio Team System Automatic e-mail reports
Is there a way I can setup e-mail reports for everyone in project (team) automatically I know every user has the option to setup their own report subscription using their client , but each day we would like everyone to automatically receive an e-mail report summarizing the bugs assigned to them. Thanks, Anu You will have to write a tool that queries the server every morning by using the Work Item Object Model. Samples on using this object model for Beta 3 will be available as part of the VS SDK mid-October. In the mean time, you can check out "Work Item Tracking Object Model Samples.zip" from th ...Show All
Visual Basic [OTP] Dynamic addressing in VBS
I have a VBS file that scans a PC and dumps the results to a text file in a shared network directory. I would like to copy the VBS to a thumb drive and have the response returned to the thumb drive as well. My problem is, I never know what drive letter the thumb drive will be assigned so I need it to know to put the results where ever the script originated from. What syntax would I use to accomplish this Thank you. You are asking about .vbs which are vb script files. These forums deal with VB.NET. If you are talking scripting and not VB.Net then you are definately in the wrong place. VBScript Often ...Show All
SQL Server Remote SSIS connection problem
we are trying to remotely adminiter SQL 2005 installed on Server B (actual server names are diferent) from SQL Server Manamagement Studio installed on Server A. We can connect to everything else except SSIS. When we try to connect to SSIS, it says: Cannot Connecto to B Additional Information: Failed to retrieve data fro this request. (Microsoft.SqlServer.SmoEnum) Conecct to SSIS Server on machine "B" failed: The RPC server is unavailable . &nb ...Show All
Windows Forms Q on Toolstrip container, making toolstrips stay where you put them!
Hi there I have a toolstrip container on a form, with menus and 3-4 toolstrips (one for file, record operations, and one specific to the form that is open) My problem is that I can arrange them neatly, and on the same line, FFFFRRRR, where "FFFFF" = file toolstip and "RRRR" = Records nav. I run it, and the item is rendered properly. Once I close the solution and re-run it, the Second toolbar flops to the next line and sits out about a 1/2 inch from the left. Is this normal Do I have to provide some means for it to stay where I put it, or programattically force it to stay where it belongs I wonder if there are ...Show All
Visual Studio Team System TFSDeleteProject.exe is friggen useless....
After trying to create a project unsucessfully (see this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=128046&SiteID=1 ), I decided to clean a little house and try again. The utility returns: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies>TFSDele teProject.exe /force /TeamFoundationServer:vsts-host Test001 Warning: Deleting a team project cannot be undone. Are you sure you want to del ete the team project (Y/N) y The item '/Test001' cannot be found. ---> The item '/Test001' cannot be found. But when I go back into VS2005 and make an effort to create another project named Test001 it w ...Show All
Software Development for Windows Vista Problem Using ifElseactivity in an Embedded workflow designer
I'm trying to use a ifElse activity in an embedded workflow designer ( Workflow Designer Control Example downloaded from here: http://www.windowsworkflow.net/Downloads/Examples/Workflow%20Designer%20Control%20-%202005-09-24.exe ) I added a IfElse activity and then select one of the branches. In the property window I select a System.Workflow.Activities.Rules.RuleConditionReference Condition and then when I try to edit the Name property of that condition (pressing the "..." button) I receive this error: Value cannot be null. Parameter name: activity If I do exactly the same in Visual Studio, I get a Select Rule Condition Form I ...Show All
