dgolds's Q&A profile
Visual Studio Team System Cannot databind a csv file
I am trying to databind a csv file to a webtest. I am entering the connection properties as "Microsfot Jet 4.0 OLE DB Provider" and advanced extended properties as "Text" and entering the path of the folder in which the .csv file is located. I am not including the name of the .csv file in the path. No tables show up after the data binding is done, a blank "Choose tables from datasource" box appears. This happens no matter how many times i try. The same functionality works on a different system. Any ideas are appreciated....Thanks! I tried doing that option too, creating a new folder with just the .csv file in it, tried at different places, like on a share and also on the lo ...Show All
Visual C# App.config in a C# Class Library
App.config in a C# Class Library I have a class library that has the following App.config file in it. ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Problem is, that when I attempt to get the eventLogName key value my class object like this: ------------------------------------------------------------------------------- ConfigurationSettings.AppSettings["eventLogName"].ToString() ------------------------------------------------------------------------------- It doesn't see the appSettings as having any keys at all. I see the connectionStrings key, just not the appSettings key weird.... ...Show All
Commerce Server Commerce Server 2007 Shipping Options
Hello, I am trying to figure out how to get shipping rates including the price and MaxLimit (the data from ShippingRates table). I can get the shipping method data by using the ShippingMethodHelper.GetShippingMethod() method, but I can not figure out to get the child data from ShippingRates table. Please help. Thank you, Dmitry Hi Dmitry, You cannot get the ShippingRates from the runtime side - this information is pulled from the DB when the pipelines are run. Instead you can use the Management APIs to get this info for e.g. the ShippingMethods property for all the active ShippingMethods in the system: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sdkmref/html/P_Microsoft_CommerceServer_Orders_ ...Show All
Smart Device Development Highlighting a ListView Item
Hi all, I am using a ListView Control and am adding Items to the ListView when a user clicks on a button. But, what i want is for the new ListView item to be Selected (or more like Highlighted) once it is added to the ListView. I can't seem to find a property on the ListView Control to select ListView Item. Is what I want to do possible Thanks Tryst ...Show All
Visual Basic how can write a ping program without itself
who knows how to write a ping program which can ping multi-hosts,the program may get roundtrip times.thank you! Check out the following for Ping How to determine if remote computer is available http://msdn2.microsoft.com/en-us/library/s9xkzk4s(VS.80).aspx My.Computer.Network.Ping Method http://msdn2.microsoft.com/en-us/library/he5sca5t.aspx System.Network.NetworkInformation.Ping Method (This even includes a sample albiet very simple C#) http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx These have examples which will probably help you. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help What do I need to download so I can connect to my 360 for XNA?
What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect If you are using a wireless adapter to connect either your Xbox 360 or your PC, I suggest trying a wired ethernet connection instead. Please read this thread for more details ( click ). Gunston eventually got something to work for him, but never got it going over wireless. Coincidentally, someone on my team ran into similar trouble today with a network adapter that seemed to be malfunctioning (wired connection). It could locate the Xbox 360 and receive UDP responses, but could not establish a TCP connection. After switching to another adapter (he had three on that machine), it worked fine. Al ...Show All
.NET Development BC2017: could not find library
Asp.net 2 sqlserver 2005 MS Visual studio 2005 I keep getting the following message when trying to browse to the website I am building. Ayone have any ideas as to how to resolve this BC2017: could not find library 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\6acb8b87\f5bfb61a\App_Web_a8shcvd0.dll' I checked the path and on my machine and there is no root directory it goes this far only C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ and the file 'App_Web_a8shcvd0.dll' does not exist anywhere in the Microsoft.net directory. Deleting contents of asp.net temp directory and rebooting dev server give short term fix, but when ever I adjust the ...Show All
Visual Basic Conversion from .Net 2003 to .Net 2005 using VB.Net
We've just received .Net 2005 upgrade and are in the process of converting two projects. Both Projects have User Controls and we are having some issues with them. 1st, one of the user controls has 2 classes in it and the conversion moved the declarations from the class into another file, but not the code. Is there a way to convert a user control that has two classes without it doing this 2nd, We are getting errors on all the user control names. This error comes up: "Type uc_mc_btn_footer is not defined." Can anyone please tell me why we are getting this error when it seems all the user controls (except the one with 2 classes) seemed to convert correctly - adn how to fix it 3rd, where did the bin directory get moved to ...Show All
Visual Studio Team System DataDude Worning
Hi all, i get the following warning whene i use the built in Stored Procedure [sp_executesql]. here is my code: Set @parameters = N '@TO nvarchar(64) OUTPUT, @TId uniqueidentifier' Set @Select = N 'Select @TO = Username From ' + quotename (@tableName)+ ' where Id = @TId' EXEC [dbo].sp_executesql @Select, @parameters,@TId = @targetId,@TO = @TargetOwner OUTPUT TSD3012: The following dependencies are missing from your database project: [dbo].[sp_executesql].[@TId], [dbo].[sp_executesql].[@TO]. Your database application might fail at runtime when [dbo].[MyProcedureName] is executed. anybody help please Sorry that we did not follow-up sooner. The problem is that sp_executesql does not define named ...Show All
Visual Studio Express Editions Double or Single - What's the difference?
Hi, I've just been reading the VB Express tutorial about using a Double to display a number with a decimal (eg 42.5). But lower down the page, it uses "single" to display a decimal number. What's the difference Regards, Steve Double Holds signed IEEE 64-bit (8-byte) double-precision floating-point numbers ranging in value from -1.79769313486231570E+308 through -4.94065645841246544E-324 for negative values and from 4.94065645841246544E-324 through 1.79769313486231570E+308 for positive values. Double-precision numbers store an approximation of a real number. Single Holds signed IEEE 32-bit (4-byte) single-precision floating-point numbers ranging in value from -3.4028235E+38 through -1.401298E-45 for negative va ...Show All
Visual Studio User Feedback: things to improve with the help system
How can I configure the help system to always choose C#/VB as the only language in the language filter Also, I think that your help system sometimes lacks examples. When that comes up, I often write it in the little feedback box. But is it useful, or is there a better place to do it What are the odds some action will actually be taken on that Thanks for the comprehensive help system. Hi April, Without starting a new thread, may I make a request please Would it be possible in the next version of Visual Studio (Orcas) to include a link in the Help menu to the Visual Studio Combined Help Collection Manager page From time to time, posters keep asking where to find this important tool. Kind regards, Frank ...Show All
Software Development for Windows Vista custom sql persistence
What I'm basically doing is deriving from the SqlWorkflowPersistenceService: public class SqlWorkflowStepPersistenceService : SqlWorkflowPersistenceService { protected override System.Workflow.ComponentModel.Activity LoadWorkflowInstanceState(Guid id) { Guid StepID; byte[] State; if (RetreiveNextStepData(id, out StepID, out State)) return WorkflowPersistenceService.RestoreFromDefaultSerializedForm(State, null); ...Show All
Windows Forms How to determine if Visual Styles are enabled?
I hope someone can help me figure this out - There are some controls whose behavior changes significantly depending on whether or not XP Visual Styles are enabled, for example the progress bar. One other very important aspect of .NET controls that changes when Visual Styles are enabled is double buffering behavior. The DoubleBuffer flag for controls does not work when Visual Styles are disabled. I have a custom double buffering scheme I would like to use when this is the case, but I can't for the life of me figure out whether or not Visual Styles are enabled. When I write out the value of Application.VisualStyleState, it is always ClientAndNonClientAreasEnabled - even when I change my desktop theme to Windows Class, or comment out the Appl ...Show All
Visual Studio Express Editions Register offline
I am downloading the express edition at my work, and i want to install it at home where i have no internet connection so is there a way to register it without an internet connection maybe by phone number or by mail With the express editions if you download the CD Image and cut your own disk, you do not have to register the product. It will display the Registration Nag screen but after the first few times it will stop. Have a look at Item 7 on the Registration FAQ. http://msdn.microsoft.com/vstudio/express/register/faq/ ...Show All
Windows Forms Help me with Listbox
Hi guys, care to help. I am using C#. I have a table with 3 columns: ID, Name, Gender I have a Listbox in my C# form. How do i bind this 3 columns to the listbox that means when a user drop down the listbox, he will be able to see the ID, Name, Gender in each row. do i have to use codings or just configure the properties windows thanks pls help me, urgent to bind items to a listbox: this.theListBox.DataSource = theDataSet.Tables[0].DefaultView; this.theListBox.DataMember = "YourFieldName"; now, when the user has selected an item, be sure to implement the selectedIndexChanged event on the listbox (double click the control on the form design or look a ...Show All
