jwaddell's Q&A profile
Visual Studio 2008 (Pre-release) runtime-defined queries
hi , i am working on aproject that requires me to create runtime defined queries can some body help me how to if u can provide me with an example that would be great. thanks prashanth ...Show All
Windows Forms How can I make a default value for my DataGridViewCombobox
Hi guys, Greetings! I setup a datagridviewcombobox programmatically, my problem is how to set a default value for my combo box, how will I do this Thanks, You need to set the index ComboBox1.selectedIndex = -1 means nothing is selected. 0 means the first item in the collection is selected. When I'm adding items to the collection, I do something like this; for ( int i = 0; i < DataSet1.Tables[ "TableName" ].Rows.Count; i++) { ComboBox1.Items.Add(DataSet1.Tables[ "TableName" ]. Rows[ i ][0].ToString().Trim()); if (DataSet1.Tables[ "TableName" ].Rows[ i ][0].ToString().Trim() == DefaultValue) { ComboBox1.S ...Show All
Visual C++ devenv compile unit
Is there any reason why devenv could not accept a single compilation unit compile command (I would like to use a third part tool to issue not only a build command, but also individual file compilation.) Is there any way to compile a single file on the command line using the rules within the SLN So what I have done is to go into project properties and cut and paste the compile command line string into my tool. It just seems like it would have been an equally easy thing for devenv to provide along with the build command. Thank you, Reid ...Show All
.NET Development satellite assemblies
Hi, Is there any application block which is used to build multi lingual application If not can any one give me sample program to create and use satellite asseblies used to support multiple languages. Thanks Deepa Hi, There is currently no application block that does localization. Here is a good example on creating satellite assemblies: http://www.codeguru.com/csharp/.net/net_general/tipstricks/article.php/c11367/ Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Windows Search Technologies I Have a problem with uninstalling Windows Desktop Search
I like the search software that came with Windows XP Pro and am not happy with Windows Desktop Search. When I tried to unistall it using the "Add/Remoive Programs" from the Control Panel, but I was told that I could not uninstall because there was a new version install and I had to uninstall that first. What can I do Hi Johnny, When you go to Add/Remove programs, there is a check box at the top of the screen to show updates. Click on that and uninstall any WDS updates before trying to uninstall WDS. If you get a message that uninstalling the update may impact other programs, ignore it as WDS doesn't touch those other programs. hth, JR ...Show All
Windows Forms Listview doubleclick event not firing
In VB 2005, the listview control is not firing the double click event when the listview is empty. Is there anyway to fix this or am I doing something wrong Nothing special Sub LVDouble click(blah blah) handles listview1.doubleclick msgbox "Got Doubleclicked" end sub It doesn't fire if the list view has no items ...Show All
Visual Basic VB 2005 is a really buggy piece... Is it?
If the development environment crashes and behaves oddly all the time how am I supposed to produce code efficiently These are the problems: 1) The build crashes with tens or hundreds (max 255) of non-existent errors which disappear when I restart VS 2005 and reload my project. This happens every 2 to3 builds so restarting VS 10 to 15 times per an hour isn't very funny. 2) Sometimes the compiled code ignores the instructions given in my code. For example, I'm currently writing a multi-threaded solution which uses eventlogging, so I'm using SyncLock. Every other build, when attaching the debugger to see why on Earth the code that worked fine 2 minutes ago crashes now, the compiled code ignores the SyncLock completely and lets 2 thread ...Show All
.NET Development need books and url's for C# network programming
Can anyone provide a book recomendation (thats updated for .Net 2.0) that covers network programming with C#. Any url's would be great too. thanks in advance Sybex C# Network Programming is a great book for understanding C# Network Programming. The version i have is for .Net 1.X but 90 % of things are similar except there are few classes added in the newer version and I also hope that Sybex would have released the new version of the great book for .Net 2.0. Second book is from Microsoft I dont remember the name coz I did not read it well but that book is also good. You can try Amazon search to find book with string like C# Network Programming. .Net Network Programming etc. I hope you'll find something well. See these: ...Show All
Visual Studio Team System 411 Length Required
Hey Everyone, I am a complete newbie to VSTS and have been playing with the webtest functionality to simulate a user going through a purchase on our system. I recorded the web test using the web recorder fine and then had to modify the coded version but get: HTTP/1.1 411 Length Required error when posting back my last page. Any ideas Here is my code for the specific request, can I specify the length somewhere in code Much appreciated, D. request9.ThinkTime = 2; request9.Method = "POST" ; request9.Headers.Add( new WebTestRequestHeader ( "Content-Length" , "3495" )); FormPostHttpBody request9Body = new FormPostHttpBody (); string [] rav = this .Context[ "$HIDDE ...Show All
.NET Development Switching from access to sql server express in vb2005
Right now im using an access database wich i connect to with oledb in VB2005. Now if in my whole program i want to change the database to sql server, is enough to just use sql instead og oledb (for example sqlcommand instead of oledbcommand, and slqconnetion instead of oledbconnection) Or is there something else you need to be carefull with To my understand, the sql language is almost the same so that shouldnt be a problem.. Hi, Some of the concepts of access and sql server do not have a one to one mapping. If you don't have migrated the database schema already to access to can use the upscaling wizard in the tool menu of Access or the newer Sql Server Migration Assistant for Access: http://www.m ...Show All
Connected Services Framework Difference between OH-SBE in 2.5 Vs 3.0?
Urgently need this information how different is OH-SBE between CSF version 2.5 Vs 3.0. What all we should take care if we work with 2.5 as compared to 3.0. Some of the main difference are the following: 1) OH-SBE in CSF 3.0 is built on WSE 3.0 (CSF 2.5 uses WSE 2.0). 2) OH-SBE 3.0 also enables you to have configurable order messages (you are not limited to any specific order schema). 3) Other new features include: OH-SBE 3.0 implements its own MOM pack, performance counters, and leverages Enterprise Library. For more information on CSF 3.0 OH-SBE please go to MSDN at http://msdn2.microsoft.com/en-us/library/aa439669.aspx . Thanks, Raymond ...Show All
Windows Forms windows cpu upgrade
I am thinking about upgrading my cpu,I am running a amd sempron 2800 now can I upgrade windows xp pro. to a amd 64 bit cpu with no problems with this software I am running (windows xp pro. with service pack 2 and the lasted up dates thanks, kevin u ...Show All
Architecture O/R Mapping
O/R mapping is quite interesting. I would like to post this question for discussion. I have the following classes: Employee, FullTimeStaff, PartTimeStaff, etc. FullTimeStaff and PartTimeStaff have many attributes and behaviors in common and also many other unique attributes and behaviors. So, FullTimeStaff inherits from Employee and PartTimeStaff also inherits from Employee. Do you think it is good to map both FullTimeStaff and PartTimeStaff to a single table called Employee (the table contains an extra field to identity whether he is full time or part time) in the database I like that you are "object" thinking, instead of "database" thinking. My comment above dealt with how your StaffFa ...Show All
Visual Studio VSS LAN Service Issue
When opening a project from VSS, i'm getting this little message: Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal. VSS is hosted on Server 2003, I am getting nothing in the event logs on the server or the client. We have several workstations accessing VSS, mine is the only one getting that message. I have ran Alin's SSServiceTest tool, and these are the errors: Ping function failed with error 000006d9. SSServiceTest: Accessing file $/File.txt in \\server\ssdb database ... GetFileStatus function failed with error 000006d9 . I would ignore it, but VSS operations seem to take forever. Anyone help with suggestions No, client machines don't need any ...Show All
SQL Server SSIS interview questions.
Could some of the expert(s) list interview questions that might come up when applying for ETL/SSIS developer I or II positions. Thanks Thank you all for your input. So to prepare for etl dev I or II position, here is what I plan to do. Go through the 2 ssis books on the market (wrox and kirk's book) Do as many hands on practice problems as possible. Understand as many topics as much possible from the ssis books. I was hoping for some sample questions that you guys would ask the candidate. Thanks again.. ...Show All
