Paashi's Q&A profile
Windows Forms Default value in a Custom Dialog
I have a custom dialog with one text box. When the install runs, I want the text box to be pre-populated with the full path to the user's My Documents folder ("C:\Documents and Settings\[user]\My Documents") Is there any way to do this That was it, thx! In my infinite wisdom, I was using "[UserDir]". "[PersonalFolder]" works as I want it to. ...Show All
Visual C# Video and still image capturing with USB cams
Hello, how can I capture video and still images from a USB cam in C# All what I found is DirectShow, but here is only unmanaged C++ and no still image support. Any help BerW Hi take a look at windows image acquisition http://msdn2.microsoft.com/en-us/library/ms630368.aspx there was also a coding for fun example a while back: http://msdn.microsoft.com/coding4fun/hardware/article.aspx articleid=912546&title=Look+at+me!+Windows+Image+Acquisition Hope this helps you out, please close the thread if it does ...Show All
Gadgets Gadget post info to new web form
I've created a gadget which is a simple HTML form with 2 text boxes and a button. When you click the button it should open a new IE window and send the information to the target URL as a post. The problem is when installed as a sidebar, although the IE window is opening with the correct page, the information in the 2 textboxes does not seem to be transferred. I have tested the simple HTML form by opening it in IE and all functionlity works fine, but not when I install it as a sidebar. Is there something obvious that I am missing Any help would be appreciated. Thank you Hello Chris, Have you been able to solve this issue I'm wondering on the same problem - basically identical problem. The ...Show All
Visual Studio Team System Collation conflicts in CTP6
I am am taking a SQL 2000 DB as the source for my SQL 2005 project with a SQL 2005 Developer Edition 9.0 for a target database. After the schema is imported to project I am getting a collation conflict, I then try to change the collation in project settings to the collation that is mis matching. This gets rid of the error so I am able to deploy but then after the deploy and a compare back to the database the schema was pulled from the collations are different. These errors were not occuring when I was using CTP5, but I was using SQL 2000 for CTP5. Are there settings I have to change or select, it seems it wants to change my collation when going from SQL 2000 to a 2005 project. I get an error with one of my ...Show All
Architecture Design Consideration for active/active clustering
Hi, I need help on the design consideration to develop a VB application to work in a Cluster (active/active). The application would consist of an NT service that will spawn activeX exe components based on a configuration. Thank you, regards, S. Balakrishnan One main thing that you need to remember regarding Microsoft's clustering technology is that it based on a "shared nothing" concept the meaning is that in an active/active configuration you'd need to partition the work between the two active servers and have each server act as a backup for the other one. Regarding other design consideration. you should probably provide some more details e.g. what are the fail-over ti ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GSE RTM on Vista RTM (unsupported)
i know it's not supported ... but has anybody got it to work bought the club account on the 360 and downloaded the app on the 360. installed Express on Vista with no problems and registered. tried an update, but didn't see any service packs. then i installed GSE, which complained about the VS projects, but it still seemed to install. fired up Express and the XBox 360 Starter kit project was there and built fine. went to tools options, and setup the connection to the 360. then i set the 360 to listening mode. but when i try to deploy, it just comes back and says make sure the the 360 is listening. also, turned off the vista firewall but got the same results. any ideas Thanks, casey Dave, ...Show All
Visual Studio Express Editions count of files in a directory
OK - I have the path of a directory save to a string variable. I want to go to the directory and count the number of files located in that directory. I do not know how to get started. Please help. thank you Give me some idea of your level with C#. These are very basic questions. If this is not course work for a class you are taking, you need to get some kind of training. At the very least, get one of the beginning books that is available and read the beginning chapters and work their exercises. To answer your direct question, each array has a Length property that tells you how many elements it has. So returnFiles.Length is the count. ...Show All
SQL Server CTE with multiple update statements?
HI Gurus I have written one CTE (common table expression) and trying to use same CTE with three seperate UPDATE statements which gives me error saying "Invalid Object name" (it works fine when I try to use with 1 update statement (any one from three update statements) A CTE can be used multiple times in a single statement but not in multiple statements. You would need a table variable or temporary table if you will have multiple references. More CTE documentation in BOL here: http://msdn2.microsoft.com/en-us/library/ms175972.aspx ...Show All
SQL Server Remember password doesn't work
When SSMS starts, the Connect to Server dialog appears with the last server I connected to, but the password is often cleared, even if the Remember Password checkbox is checked. Is there a registry setting or some other setting I can change so that I don't have to keep entering my password to connect to a server I'm always connecting to the same server, so it seems strange that the password isn't saved. I have just tried this on my installed machine and it works as expected, i.e. the password is remembered. Can you log this issue through connect.microsoft.com site and provide more details about your machine configuration, version of software installed, etc. It will be als ohelpful to know if this is ...Show All
Visual Studio 2008 (Pre-release) Application scoped variables in WCF, how do I get to them?
If I set a variable in global.asax and store it in Application scope, how can I reference that variable in a WCF service If I cannot do that, is there another way to accomplish the same result I'm hoping to store an instance of WorkflowRuntime in an application scoped variable and retrieve it in various services in WCF. Hi I am Madhu from TCS. I am working on WCF concept that how to get the application Scoped variables in WCF. In My Project, We are following SOA Architechture, UI ---WorkFlow(RulesEngine)-BusinessLayer(DataBase) If we use normal webservices in Workflow it takes Global.asax and varibles that declared can be accessed in the Service class, but when i used to implement in WCF(proj as a classlibrary) it is n ...Show All
SQL Server SSIS Shared Configuration files -SP2 Problem
Hello, I have several packages that share one configuration file located at a network location. Up until i installed sp2 everything worked fine, but now the packages "loose" the path to the configurationfile. It is replaced by some c:\program\sqlserver\package.... path where no config file is located. I can run packages if i specify the config file explicetly, but I really don't wanna do that, since it will not work in the context i'm working. I am using the wizard to install my packages. Anyone with similar problems Any help appriciated. Note: This is not the issue that sp1 solved (for me at least). =) ...Show All
Windows Forms StyleGuidelines/Best Practices for WinForms
Hi- I am fairly new to the Windows Application Development (as I always worked on the Web Applications) and are there any style guidelines available, best practices specific for Windows Application Development I will be using VS.NET 2005 for this applicaiton. Please advise. Thank you. Prabhu From your words, you're a good developer, you're always trying to comply to the rules, aware of the standards. But I doubt that there are white books there stating the industry standards for building windows applications. Maybe the books e.g. Writing Secure Code, something like that may help. ...Show All
Windows Forms Form size changes in design mode
Everytime i open a form from the designer .. it changes it's size ... it's growing ... Everytime! if i open it a lot of time consecutively ... it will grow bigger and bigger ... It might be your nick causing that. Seriously, does this happen on any form in any new project or just on the one project you're designing... ...Show All
.NET Development Webclient gets stuck in download
Im sorry if that hes ben asked befor but i did a seach and found nothing .. wen i use WebClient to download files it makes the app like stop respond to buttons and others while it downloads.. is there a way to make it work normaly while it downloads files . Sorry, I should have sent you straight here . ...Show All
Visual Basic Problems with the TableAdapter
Hi, I am obviously missing something, but am trying to user the TableAdapter.Insert function. It appears to work fine while you are still in the application, records are added, and are visable via other queries and datasets etc, so they are getting put somewhere, but not in the underlying Access (.MDB) database. I have tried various code snippets to add the records, including the following: Me.Data_quotes_linesTableAdapter.Insert(tbx_quid.text, cbx_partcode.selectedvalue) and Dim newQuoteRow as data_quotes_lines.data_quote_linesRow newQuoteRow = Me.Data_quote_lines.data_quotes_lines.Newdata_quotes_linesRow() newQuoteRow.Quote_UID = tbx_quid.Text newQuoteRow.PartCode = cbx_partcode.selectedValue Me.Data_quote_line ...Show All
