syl74's Q&A profile
Internet Explorer Development Disable/Hide IE7 Command Bar
hi, I just download and install IE7. Don't like the tab browsing thing and try to revert back to familar IE6 menu bar etc. Manage to get back classic menu on TOP of address bar (which IE7 never provide such option) after some google search. Tries to remove all icons in command bar. But after restart a new IE7, the defaults icons came and is quite annoying. No matter how many times I remove, they will still come back. Discover the command bar cannot "move" to be inline (at least) with address bar even toolsbar is unlocked. Also unable to find any solution to disable or hide it. Any one knows how to disable/hide the Command Bar Thank you. I did do this but still have the Co ...Show All
SQL Server yyyymmdd text data into a datetime field in SQL Server?
Hello, I have an Excel spreadsheet that contains 100,000 + rows of data. Two of the columns in the spreadsheet are date fields that are sent over in the yyyymmdd format (no separators such as "-" or "/"). I tried converting these fields into dates using the Data Conversion task in SSIS. This doesn't work as it appears that SSIS cannot map a string in the format of yyyymmdd to a valid date. In lieu of this, I have added a Script Component to my transformation which can take the string and convert it to a date value using some Substring() calls on the source yyyymmdd string. A few questions for the group ... 1. Is this there a more efficient or "better" way of performing this transformation 2. I can ...Show All
Visual Basic Typed dataset nullvalue
I am using a typed dataset created with the VS 2005 designer with nullvalue set to Nothing. this gives the following designer code for the field memo: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _ Public Property memo() As String Get If Me.IsmemoNull Then Return Nothing Else Return CType(Me(Me.tablePaypalIPN.memoColumn),String) End If End Get Set Me(Me.tablePaypalIPN.memoColumn) = value End Set End Property I want to test for a dbnull and so do this: TestString = IIf(Datarow.IsmemoNull, "", Datarow.memo.TrimEnd) Debugging the last expression, both the Truepart and the Falsepart are evaluated and, in the property, the lines If Me.IsmemoNull Then, Return Nothing, ...Show All
SQL Server How to pass multiple values to a parameter while cascading
Hi, I am using RS2005. i have a requirement in which i need to pass more than 1 value to a parameter. this parameter is used in a dataset for filtering. Eg: if i have a parameter as @years, i want to assign values 2005, 2006 to it and use it in the dataset to filter like select.... where year in (@years). How can i achieve this Thanks Vivek S Hi Uzzi How do you dump the multi-list into a temp table and it will not be better to put them into an array Thanks Pepe ...Show All
Visual Studio 2008 (Pre-release) 'Faulted' problem in first attempt to use WCF, now I get 'The Local Security Authority Cannot Be Contacted'
I have built an application using WCF. When I try to run it I get the following exception message... "The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state." I have no clue what this means or how to go about fixing the problem. Can anyone help with information, such as ... 1. Where do I go looking for meaning of WCF error messages 2. What is the likely cause of the above error message 3. What are the appropriate debugging techniques to use with WCF applications I based by application on the example demonstrated in the Micrtosoft online training for WCF. Unfortunately there is no information about handling error condition ...Show All
.NET Development programatically Accessing the Mail
hi, my task is programatically accessing the mail server whether it is hotmail/gmail/yahoo etc using vs2005 C#.Means fetching the my inbox contents into my machine.Can you please suggest me some good references.Its very urgent and i am new to these technologies.Please give me solutions. Thanking you inadvance A.suneel. you have to look at using TCPClasses to recieve mail and check out the contents and responses from the Server. http://www.csharphelp.com/archives/archive232.html Will move thread to the appropriate forum for the experts to help out more on this ...Show All
Visual Studio Team System Error creating worspace from web application on windows server 2003
Hi I have a web app that displays to the users, a list of files & the user can choose which file they would like to check in. Once the user has selected the files to be checked in, I will launch a separate windows process that will actually get the checkin location of each file, determine if it needs to be checked in & do the same. Since the windows process is launched from the web application, to account for permissions issue I set < identity impersonate = " true " userName = "xxxxxxxxxx" password = " xxxxxxxxx " /> in the web.config where the username is my domain log in accnt.This worked fine on my dev box. But when I dropped it on the windows server box, I get the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th U can't do it....U can't give wrong information, as it's violation of "terms of use": MEMBER ACCOUNT, PASSWORD, AND SECURITY If any of the Services requires you to open an account, you must complete the registration process by providing us with current, complete and accurate information as prompted by the applicable registration form. You also will choose a password and a user name. You are entirely responsible for maintaining the confidentiality of your password and account. Furthermore, you are entirely responsible for any and all activities that occur under your account. You agree to notify Microsoft im ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Possible that Update() is multi-threaded?
I'm getting a REALLY strange exception. It only occurs when I run my game via Ctrl-F5 (rather than F5) and even then I can't always reproduce it. It's in a bit of code that is simply a foreach-loop on a List<> of Particles and calling Update(elapsed) on each of them. The error occurs on the first line of Particle.Update() which is "base.Update(elapsed)" which calls the Sprite class' Update()... which has no indexes in it. At the end of the loop I look for any particles that need to be removed from the list and do so. Based on what little debug information I can get, it looks like it's an internal error in System.Collections.ListDictionaryInternal... Count is zero, which pretty much should never be the case... there's alw ...Show All
SQL Server Stored Proc for creating and inserting into a table
I am having some trouble populating a table with values from other tables: I am creating the stored proc as follows: CREATE PROCEDURE make_temp_stat (@from datetime, @to datetime) AS DROP TABLE tempTable Create tempTable ( NumApplications (int), NumStudents (int), NumTeachers (int) ) //Then I insert the values into the table as follows INSERT INTO tempTable (NumApplications) SELECT Count(*) FROM [dbo].[CASE_APPLICATION] WHERE (OPEN_DT>= @from AND OPEN_DT <= @to) INSERT INTO tempTable (NumStudents) SELECT Count(*) FROM [dbo].[CASE_STUDENTS] WHERE (APP_DT>= @from_dt AND APP_DT<= @to_dt) INSERT INTO tempTable (NumTeachers) SELECT Count(*) FROM [dbo].[CASE_TEACHER] WHERE (JOIN_DT>=@fro ...Show All
Microsoft ISV Community Center Forums dll's in VBA
Currently in my VBA programs, I'm finding myself repeating a lot of code and functionality across different projects, and it would be great from a maintenance point of view if I could create something similar to a .dll, that I could import into a project and use. Furthermore, if circumstances change and I need to change how a sub-routine works in the .dll for example, all projects using it will benefit from the updated code. I know that you can export modules and class modules and then import them into other projects, but this seems a bit limited. First, if i wanted to change how a sub-routine worked in either the saved .bas or .cls files for example, how do I do that Second, how would projects that use either of these two files benefit ...Show All
Visual C# Troubleshoot in installing windows service
Hi, somebody please help me out............ actually i wrote my windows service and there are no build errors. then i opened the command prompt of VS1.1 and tried to install UTIL Asmos_service.exe I got the result as Install has completed .but the service is not found in the computer management window!!!!! What would be the problem If your service application will not install correctly, check to make sure that the ServiceName property for the service class is set to the same value as is shown in the installer for that service. The value must be the same in both instances in order for your service to install correctly. Note: you can also look at the installa ...Show All
Visual C++ Function return values?
I just noticed that the "Autos" window does not show the values returned by functions. These did appear in VS6. Has this capability been lost, or is there some setting that needs to be changed in order to have the return values displayed Hi, the functionality you're talking about is still present the VS 2005 as well as in VS 2003. Check if you are generating the debug information and disable the optimizations in your project properties. ...Show All
Visual Studio 2008 (Pre-release) how to bind enumeration to radiobuttons
I'd like to bind an enumeration to a list of radiobuttons. I remember from somewhere that I should use a ListBox to achieve this, but I can't find no working sample how this would be done. Can anyone point me to a example Thanks, Sam try this < ObjectDataProvider MethodName = " GetValues " ObjectType = " {x:Type sys:Enum} " x:Key = " odp " > < ObjectDataProvider.MethodParameters > < x:Type TypeName = " l:Kontoart " /> </ ObjectDataProvider.MethodParameters > </ ObjectDataProvider > < ListBox ItemsSource = " {Binding Source={StaticResource odp}} " Name = " q1 " > ...Show All
Visual Studio 2008 (Pre-release) Binding to events
I have a Treeview and when the selected item changes I would like to set the source of a ListBox to be the selected item. Is it possible to do this completely in xaml I don't want to write any c# to do it. Thanks I did try that but wasn't 100% sure it was ok syntax. Did some investigation and turned out my data wasn't loading up. Fixed that and it works great now. Thanks very much! ...Show All
