paulballard's Q&A profile
.NET Development .EndsWith Overwriting a Variable(Code sample, and better explanation inside)
Hi guys and gals, loving C# and .NET at the moment, I hope I've asked this question in the right place. Now I've run up to this weird problem that I can't get my head around at the moment, I "think" I'm doing this right, but the value of cellValue gets overridden, ONLY I have added something that uses .EndWith(currently .vtf) So for example I add. File.rawr File.rawr Etc, but as soon as I add. file.vtf It think's the rest of the files are file.vtf, well anyway heres the code. private void btnContentToAdd_Click( object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog (); ofd ...Show All
SQL Server Advanced Series Express vs Express
Can someone tell me the difference between Express and Advanced Series Express --- are there different limitations Why would I use one over the other -- thanks! Check out the comparison at http://msdn.microsoft.com/vstudio/express/sql/compare/default.aspx . Regards, Mike Wachal SQL Express team ---- Please mark your thread as Answered when you get your solution. ...Show All
Visual C++ Accessing a XML Web Service from VC++.Net
Hello, i hope it is simple! Currently i try to learn VC++.Net. I'm coming from CBuilder 6. I was successful in installing Visual Studio .Net 2.0 an the creation of my first Web Service. My goal is to access a XML web service from a windows forms application. Therfore i wrote a funcion "MyMethod" that respondes with an XML document. The problem is now to create a request in an Windows Forms Application, send it to the service an receive the results. What do i have to do. Can you give me some hints or a sample May i use some Components What are the right keys to search the MDSN Hi, There are several ways to create web ser ...Show All
.NET Development SocketException in unknown module
There is no difference if I put Exception instead of SocketException... ...Show All
Visual Studio Team System MSF 4.0 Executive Whitepapers
Do we have any whatepapers that discuss the Team System benefits at an executive level I have an executive that would like to see a whitepaper on the enefits of the MSF 4.0 Process. They want to see how the work streams work so that they can understand the full project lifecycle. All of this information is in the HTML MSF Agile process, do we have the same inforamtion in a whitepaper format We do have such white papers under development, but they are not quite ready for publication. Keep an eye on this site: http://lab.msdn.microsoft.com/teamsystem/msf . That's where you'll find them listed when they are published. ...Show All
Visual C# Diffrence between Socket and a port
Hi It seams that i still have some issues in network programing.. I dont really get it what si the diffrence between a Socket and a port Q: 1. can you clarify the difference between a port and a socket A: A socket is an operating system abstraction similar to a file descriptor; it is part of the Application Program Interface (API). A program creates a socket, specifies that it will be used with TCP/IP, and then fills in details such as whether the socket will be used by a client or a server. A port is a transport-layer abstraction that is part of the TCP/IP suite. Each port is a 16-bit integer; the space of ports for TCP and UDP ...Show All
Visual Studio Team System Project Portal Process guidance back button loop-de-loop
Using VSTF Beta 3. Created team project with agile template. Right click on team project and click project portal. Click Process guidance link on left. Try to click back button to go back to project portal but it stays on the process guidance screen. (browser history has 2 entries) Thanks Brian! This is fixed in the RTM version but comes from having both the integrated and divorced versions of the process guidance. The correct target for the project portal button is ../.. in the integrated version and # (because there is no project portal) in the separated version. You can get to the project portal from the team explorer by opening the ...Show All
Visual C# scrollable datagrid
Is it possible doing a vertical scrollable datagrid How I won't page!!! Thx When you put more rows in a DataGrid that is gets outside of his visable bounds a scrollbar is automaticly shown. Edit I noticed that you last questions on the forum are webforms related, so when you want a scrollbar in a asp:DataGrid then just put the asp:DataGrid in a <div> or in a panel or something. Don't forget to set scroll = true. ...Show All
Windows Forms Where is the RadioCheck property for menu items?
I am creating a form with a menu item. I want to display a radio button on it. However, I cannot find the RadioCheck property in the Properties pane, in order to set it to 'true.' Here is the snippet of this method: private void oToolStripMenuItem_Click( object sender, EventArgs e) { //Checks the menu item oToolStripMenuItem.Checked = true ; // Unchecks the menu item oToolStripMenuItem.Checked = false ; } RadioCheck is a property of MenuItem (pre-2.0 menus) not of ToolStripMenuItem . ToolStripMenuItem doesn't expose the ability to use radio buttons anymore. Wheth ...Show All
Smart Device Development Deploy Application.CAB file and Compact Framework 2.0
Hi Everybody, This is Chandra from New Zealand. I am currently developing .NET CF 2.0 application on visual studio 2005 for windows mobile 5.0 platform. I want to distribute my application along with .NET compact Framework 2.0 to the customer in Canada. I created .CAB file for my application.But the problem is how can I include .NET compact framework 2.0 as well so that when the user runs my application.CAB file it also installs .NET compact Framework 2.0 along with the application. I will be sending only my application.CAB file to my customer in canada and he will be installing the .CAB file on his device. I want to dep ...Show All
.NET Development By ClickOnce Clients always get the old version
hello i have published an windform with clickonce(Vs2005,IIS5.1 ,OS is XP) but when i published a new Version at server Clients can not get this new Version's winform ex. Server has two version 1.0.0.0 and 1.0.0.1 client always get 1.0.0.0 why Regards Richard ...Show All
SQL Server A lock could not be acquired after 16 attempts and timed out
Hi! I'm trying to handle errors in SSIS package. I created Scrip task where I do following: ----------- If CInt (Dts.Variables( "BADROWSFILE" ).Value) <> 0 Then Dts.Variables( "ERROR_MSG" ).Value = "Errors in input file. Error count: " + CStr (Dts.Variables( "BADROWSFILE" ).Value) + ". See log table and file for more info." Dts.TaskResult = Dts.Results.Failure Else Dts.TaskResult = Dts.Results.Success End If --------- Then in package level OnError I added Execute SQL Script task where I pass ERROR_MSG as Input Parameter. The flow gets to the SQl task and this is what ...Show All
Visual Studio Express Editions How do I host my VWD website? Do I have to use Micorsoft's server software like SQL Server 2005?
How do I host my VWD website Do I have to use Micorsoft's server software like SQL Server 2005 Are there any other options available to me Michael SQL Server 2005 is a database. It cannot host a web site. IIS is Microsofts web server software, and it comes with Windows XP Pro. For any other web server to work, it would need to be able to be configured to run aspx pages through the .NET runtime for compilation via the ISAPI filter that does this for IIS. If you have XP Pro, I think you need to put the CD back in and manually install IIS, it's not an option in the initial install. And you need to install t ...Show All
Windows Forms Transparent form in .NET
Hi I am working on creating a windows toolbar and I want to use this really cool transparent effect. The toolbar contains a list of buttons (links) to different web pages. I want all the buttons to be transparent. I know I can set the opacity on the form to do this, but I would like to be able to use this on the individual controls. To create the effect that when you hover one of the buttons it becomes solid and the rest stays semi-transparent. A solution could be to let the toolbar be created of several form (one for each button) Is there an easyer way of solving this problem Brian Hi, Brian. it would be easy im ...Show All
Windows Forms Master-Details using Listboxes
Hi, I am using Windows Forms, not Web Forms. My desire is to set up a Master-Details interface using 3 Listboxes. I have three Listboxes (not DataList and not DataGrid): 1) Listbox_A 2) Listbox_B 3) Listbox_C Listbox_A is the master of Listbox_B Listbox_B is the master of Listbox_C One DataSet contains three DataTables: 1) DataTable_A 2) DataTable_B 3) DataTable_C ListBox_A is bound to DataTable_A Lis ...Show All
