Seema's Q&A profile
Software Development for Windows Vista VC 8 MSMs not working on Vista 5308
I have an installer that installs the VC8 MSMs correctly on WinXP, 2000, 2k3, but not on Vista 5308. I've asked the MS Installer team if this is a known issue with Vista 5308, but they said it is not. Looks like the SxsInstallCA is running, but the files are definitely not showing up under the %windir%\winsxs directory. Anyone else seen something like this ...Show All
Visual C# Why can't I save my Visual C# .exe project to another directory
When I select the project and try to perform a "save as", it won't let me specify another directory. You mean to tell me we are forced to save all our executable projects in C:\Documents and Settings\UserName\MyDocuments\Visual Studio 2005\... This just can't be! VS only allows you to select a folder the first time you save a project ... I have moved my project several times by hand, and edited the content of the relevant project files with notepad. That works, but it's easy to make a mistake. ...Show All
Windows Forms Default Value for the Datagridview ComboBox Column
Hi All, I m stuck with a problem that I have an ComboBox Column in datagridview the problem is I want that a value should be by default selected for that particular combo box Column . If User Wants to chnage he can chage . By defaukt one of the value should be selected in each new row added in the datagridview. How can achieve this Plz Help me Thanks for this help in advance You have asked the same question here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=296498&SiteID=1 Did you set the ValueMember property of your combobox If yes then most likely it returns an integer. Just set it as the default value for y ...Show All
Visual Studio 2008 (Pre-release) [BUG] GridSpliter does not respecting MinWidth / MinHeight
I have a window with a grid, 3 panels, and 2 grid spliters. The right/bottom panels have MinWidth/MinHeight set to prevent the spliter from making them hidden, but it is not respecting those values and will make the panels smaller than their respective Min settings. The issue you are seeing is not with Grid not respecting your minimum width setting. The issue is with the GridSplitter control. In order to get the behavior you are asking for with a GridSplitter you would need to derive a custom control from GridSplitter that would listen to the available size and stop layout on reaching the specified Min-width. Wh ...Show All
Architecture Why architecture with OO methods?
OO methods provide a set of techniques for analyzing, decomposing, and modularizing software system architectures. In general, OO methods are characterized by structuring the system architecture on the basis of its objects (and classes of objects) rather than the actions it performs Main purpose of these design concepts is to manage software system complexity by improving software quality factors. This provides the following benefits Helps to focus on large-scale system design Separation of design concerns Can identify good domain-specific architectures Design abstraction Have a common language Managerial basi ...Show All
Visual Studio Task dll is locked after build
I get the "CS0016: Could not write to output file" when building my solution the second time. I'm running VS 2005 Release version. The error occours in a project where I build and call a Task prior to building the actual project. The dll containing the Task seems to be locked by VS from the build before. The error can be avoided by reopening VS. Also tried to follow the solution suggested by http://support.microsoft.com/default.aspx scid=kb;en-us;313512 , but this didn't help. I too have run into this problem. When attempting to use a task in a solution which itself includes the pro ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the total size of msi file If so, how can I build the setup project I appreciate your help. I'm getting this error now on simple projects (basic Windows app w/ 1 form). ...Show All
Windows Forms SolutionInfo
I have a multi-project solution, and I want to have a single AssemblyInfo file for the solution. i.e. a SolutionInfo file. Is this possible Has anyone seen any Microsoft documentation along these lines regards You can share a file among multiple projects if you go to the Add Existing Item dialog, click the drop-down arrow on the Open button&n ...Show All
Visual C# How to change the color of a substring?
for example: string newStr = "The color is red"; label1.Text = newStr; output: The color is red Hi icemart525 you want this to work in Web Application or Desktop Application Rags ...Show All
Windows Forms Timer running in Taskbar project
I would like to create a little timer that sits in my taskbar and ticks away. I have an interface set up and working the way I want it to. The only thing left is to get the output to display in the taskbar, rather than on my form. Could anyone give me a shove in the direction that I need, please Any tips are appreciated. Oh, ok, I see. I have used a mod called "True Launch Bar" in the past and it would set things like CPU/Memory monitors, volume controls, etc in the quick launch bar. This made me think that it would be a simple matter to do something similar, but with a clock. Armed ...Show All
SQL Server how is data streamed in sql server 2005
I want to know how is data stream transfered when i transfer data from one server to other server using client machine (client tools). When i execute DTS package, is data streamed through client machine to destination as in SQL 2000. I know in SQL 2000 to run DTS package on server side without streaming from client machine was to run DTS package as sql agent job on server. Please confirm if this has changed in SQL 2005. All other tools like AbInitio ETL tool executes on server side. We were evaluation SQL 2005 for our future projects. Please confirm. ...Show All
Visual Basic running apps (shell command)
hi, just wondering what i have done wrong in visual basic 2005 (.net). i used to be able to (vb6) go shell("appnamehere.exe") and it would run if i had the app in the same dir. now i cant seem to work out where i should put the exe when you run the setup of the project i published its like it installs itself and runs in temp or sumthin how do i make it so it just runs from its folder and can run the apps via the shell command i have been told that i cannot use a normal windows application for what i want to do because it always will run from a temp directory on the computer you install/run it on. Apparently i have to use a ...Show All
.NET Development Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There's any special consideration on doing this Any help will be appreciated. Thanks. ubercoder ubercoder wrote: I'm thinking to use .NET remoting but I ...Show All
Architecture the best orm for .net?
I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this particular implementation is the sproc support. All come up within the first 5 pages on a google search, let me know if you have trouble finding any of them. Cheers, Greg ...Show All
.NET Development Randomly GNE "General Network Error" after upgrade MSDE 2000 to Sql2005 Express
I wish nice day, we have many, many bugs ( arround 10 errors messages from every user per week --- today 300 users using our application and up to end of May, 2006 we reinstal Sql 2000 MSDE -> 2005 Express next 750 users) from our application ( .NET 1.1, localDB on Sql2005 Express ) with exception bellow: ----------------------------------------------- General network error. Check your network documentation. -> ExecuteReader [.Net SqlClient Data Provider] | Call Stack | at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.Exe ...Show All
