Evenstar's Q&A profile
SQL Server @variable in SELECT ... WHERE ... IN clause
Is there a way to create a query that can be like: DECLARE @group_id_list varchar(100) SET @group_id_list='100,101,150' SELECT * FROM abc WHERE abc_id IN (@group_id_list) I get the error "Syntax error converting the varchar value '100,101,150' to a column of data type int. Do I need to resort to a dynamic SQL statement Not if you don't want to. In many cases I prefer to use a udf that I've c ...Show All
Smart Device Development what the error message means?
hi guys! i have encounter with this problem and had no idea what is all about .. i already put different file name..yet the same error message come out.. this error message goes" File already exists. try using different database name" Do i need to do some configuration on this If it's coming from this line: engine.CreateDatabase() you already have a data base. If you'd like a brand new data base, delete the ...Show All
.NET Development What Happened to the 'Running Documents' window in VS2005?
In Visual Studio 2003, when debugging a web application I had access to the 'Running Documents' window that listed all of the pages and client scripts files currently loaded in the attached browser process. This was very handy for setting client-side breakpoints in script, as well as confirming various details in the html source. In VStudio 2005, I cannot find any reference to the Running Documents window. Where did it go It used to be under ...Show All
.NET Development First asp.net webform
Greetings. I am learning asp.net with vb to manage my husband's online medical study. I need to get info. from forms into a simple online database in Access. Yes, this is utterly primitive, but I really do need some assistance. My server supports asp.net 1 and ado.net. The first thing I need to do is convert my html forms (which were pre-migration running perl .cgi scripts) to asp.net. I have done that only in the cosmetic sense (no code ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Unresponsive Visual Studio during build
I have a nice, dual-core build machine with RAID-1 Raptor 150 disks and 2 GB of RAM -- typically, I can keep working while building in the background on this machine. However, when using XNA to build the MC2 sample, the Visual Studio window was mostly unresponsive duing the 7 minutes and 14 seconds it took to build. Most of that was because it spent 532 seconds in the CreateTGL stage, during which clicking anywhere in the Visual Studio window di ...Show All
.NET Development How to use data available on Internet or some site in our application..
Hiii, I want to list the prices of some products available on the internet everytime i open a web page in my application.. ex: I want to list all the printers available and their prices from internet in a datagrid on my page. Is it possible if so how.... Sachin, it is possible to extract prices of the products you are interested in from internet. You will have to write the control logic that will visit various different wepa ...Show All
Visual Studio Express Editions How do I Drag-and-Drop file on my Form ?
Hello, My question about how do I make my project to be able to drag-and-drop file on it, like drop textfile on my form or textbox then open it we have example like MSword,notepad,wordpad,etc.. I think the idea is in a tool or code will get the file path in a variable then I can do what I want with it. Thanks. First, set the forms AllowDrop property to true. Then, add handlers for the DragEnter and DragDrop events. Then impleme ...Show All
Visual Studio Express Editions Compile fails on network drive
I installed VCX (VC++ Express) on my local drive, but my project files are on a network drive mounted as S: I created a simple HelloWorld Win32 Console App and the compile fails due to: 1>cl : Command line error D8022 : cannot open 's:\project\TestExpress\TestExpress\Debug\RSP0000024283524.rsp' However, it works fine on a local drive. I read about this problem with other products but I can no longer find the reference. A ...Show All
.NET Development .Net 1.0 & .Net 2.0
Hi, I don’t know if this is a silly question but the problem that I have is that, I have a large application written in .net 1.0 which integrates with many third party applications. One third party application was originally written in 1.0 and has now been upgraded to .net 2.0. I need to get my application working with this third party application without having to recompile my application in 2.0. Are there any workarounds o ...Show All
Visual Studio Express Editions Debugging settings not found in tools-->options
I am trying to configure the Just-In-Time Compilation I didnot find the debugging settings in tools--options in vb2005 express edition These more advanced settings are not available to you in VB Express. There are a lot of the more advanced features of VB that are available in the pay versions of the product but not in the Free Express Version. ...Show All
.NET Development webclient and cache .NET 1.1
I use WebClient.DownloadFile to update a executable file on the client. My IIS provider uses a cache policy which keeps giving me back the old version of the exe, even hours after I uploaded a new version of the file. I tried to prevent downloading the cached files with this code: WebClient w = new WebClient(); w.Headers.Add("Cache-Control", "no-cache"); w.Headers.Add("Cache-Control", "no-store& ...Show All
.NET Development Textbox to ?nt Array
I am newbie about c#, I hope u can understand me... I need to know how can I got the textbox strings to nt array, and how can I compare it another array by one by... Thank u for help.. Bye! Hi, this is just a quick example, assuming that you have your numbers separated by a space: String text = textBox1.Text; // Check if the textbox has any text if (text.Length < 1) return; // split the text with a space char ' ' String[ ...Show All
Visual Studio No Debug or Release drop down
Greetings I know this has been posted a few times on the forum, but none of the solutions seem to work for me. I have just installed VS2005 TS Beta2 and from the brief play I have had with it, I think it looks great. The problem I have is that the solutions configurations drop down that is supposed to appear on the standard toolbar is not there. I have reset the toolbar, ticked the show advanced build configurations under the options, however it ...Show All
.NET Development Web Service display
Hi All: Does .NET Framework 2.0 change the display mode for Web Services In Visual Studio 2005 Beta 2, I try to take a web reference of ReportService2005.asmx (typed as http://localhost/ReportServer/ReportService2005.asmx ), I got an compilation error said: CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference ) But if I add " wsdl" (typed as http://localhost/ReportServer/Report ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2d in directx
i need to make a 2d waypoint editor, and now that directdraw is not part of managed directx and gdi+ is so slow... how do i draw things like lines and circles The ZMan wrote: Circles - draw lots of short lines along the path sin(angle), cos(angle) where angle loops from 0 to 360 degrees. The number of steps gives you how smooth it will be. I would personally recommend this method - there are a ...Show All
