Software Development Network Logo
  • Smart Devicet
  • SharePoint Products
  • Audio and Video
  • IE Development
  • Visual Basic
  • Windows Forms
  • Visual Studio
  • Visual C#
  • SQL Server
  • Windows Vista
  • Microsoft ISV
  • .NET Development
  • Visual C++
  • Game Technologies
  • VS Team System

Software Development Network >> b0bd0gz's Q&A profile

b0bd0gz

Member List

Marcel Vroone
Green Lantern713
Cem Usta
robinjam
samantha chandrasekar
Ken_Bussell
glooey
truepantera
NastyMatt
Skwerl
Nitin Khurana
Jonathan Wong
Habibsql
New2Net2
Sujithf
GunaChinna
Scott McKeown
adorer
m.raj
Alatar
Only Title

b0bd0gz's Q&A profile

  • Visual Studio How can i delete everything from a destination directory?

    Hi folks, i've got a pretty simple MSBuild proj file working. It was a Web Deployment project which i've tweaked slightly to zip up the web site code and then copy the web site code to our development web server. all works fine. What i'm trying to figure out is how can i delete EVERYTHING from the development web site folder before i do a copy over eg. \\DevWebSiteComputer\WebSiteShare That share folder has some files in it and some folders with files in it (eg. \images, \bin, etc). How can all that be deleted, please Hmm - that sorta sucks a bit - having to tell the build to ignore the warnings/errors. It sounds a bit hacky :( I can get all the files in the root directory fine, and therefore delete them. I ju ...Show All

  • Visual Studio Team System mapping and opening from source control without Solution

    How can you get a project out of source control to edit if it does not contain a solution file We have many projects in TFS and they do not contain a solution file. There seem to be no way to get these projects back out of source control under the checkin/out policies. I do have some with solutions that I also can not seem to do anything with after the initial check in. Other can not open them either. They get a solution file but nothing else. We have tried 'get latest version' and put them on our local machines (which is where we want to do the edits) but they files are never locked for check in/out (ie no lock pic by the files) How does this work We are attempting to implement TFS but there seem to be a lack of good, material ...Show All

  • SQL Server Efficient sorting by an XML node value over multiple table rows

    Hi colleagues. I would like to use the newest XML feature for localization problem. So: I have  Country table with Name column of XML data type. This column contains a country's names in amount of languages, in a format like: "<ru> </ru><en>Russia</en><fr>Russie</fr>...". I liked that approach much until I faced a problem - How to select all the countries ordered by French name So I created primary and secondary (PROPERTY) XML indexes in order to increase efficiency of the following query: select top 100 * from Country order by Name.value('(/fr/text())[1]', 'nvarchar(max)') However, when I tested that query over 150 000 rows it turned out to be 60(!) times slower than to quer ...Show All

  • Visual Studio Team System TSD4001 Error - Why?

    On occassion, not always, when I open my project, I will receive six TSD4001 Errors ('Database msdb cannot be opened due to inaccessible files or insufficient memory or disk space...'). Each of the six errors are from stored procs in our project that reference the msdb table. I do have insufficiennt memory on my laptop (2G) and have roughly 20G free on my hard disk. Also, I can open Management Studio against my local SQL Server instance just fine. I can even query against the msdb database in M.S. without problems. Can anyone tell me why this occurs Thanks - Amos. Gert, No this doesn't occur right after a restart. In fact I just tested this by loading the project in question after my laptop ha ...Show All

  • Internet Explorer Development Mixed Content in IE 7

    I have a secure web page (https) that contains insecure items (image files from the client hard drive). So there is a mixture of secure and insecure items on this web page, which in unavoidable. The problem is that IE 7 is displaying the "mixed content" security warning message every time the web page loads or is refreshed. I want to inhibit this message on the browser. Previous versions of IE would respect a "Display Mixed Content" option in the Miscellaneous section of the IE options. For example, I could add the web site to "trusted sites", set "Display Mixed Content" option to Enabled, and users would not see this message. IE 7 is not respecting this setting. It shows the security warning message ...Show All

  • Smart Device Development Icon problem

    Hi all, I have been on this problem for ages! Im trying to create an icon yet am getting some errors. I think shows that the problem lies because I use the Compact Framework. I have read that the Compact Framework only supports the Icon constructors that accept Stream objects. Therefore, I need to create a Stream object with the file name that I wish to open and pass this to the Icon constructor instead. Can anyone guide me on how to code this As I am new to System.IO.File & FileStream classes as well as the Icon class. The code I have is shown below.. Thanks! K9. //Code Begin VectorStyle Style = new VectorStyle ( new IVertexStyle [] { new IconVertexStyle ( new Icon (SAMPLE_DATA_DIR + "..\\ ...Show All

  • Visual Studio 2008 (Pre-release) Hosting at remote machine

    Hi, I'm using WCF June CTP. I successfully hosted WCF service (basicHttpBinding) in my local machine. Then i tried to host it in different machine, just changed my hosting url from http://localhost:7000/SimpleService to http://machine2:7010/SimpleService .Now i'm able to host the service.(means service is running without any error). But when i try to create proxy by using svcutil.exe, it says could not able to find the service. could anybody tell me, how to check it whether the service is successfully hosted at machine2 If so why svcutil.exe could not able to identify is there any other way to create proxy (without svcutil.exe) Rgs Vasu thank u Christian. both machines are pingable. and i co ...Show All

  • SQL Server To Pivot or not to Pivot?

    Greetings SSIS friends, Consider the following example : I have the following data : betting_opportunity----------result_number----------result_id 559632-----------------------4----------------------2763415 559632-----------------------0----------------------2763416 456617-----------------------1----------------------2763423 456617-----------------------3----------------------2763424 what I want to do is display the data like this : betting_opportunity----------final_result 559632-----------------------(4-0) 456617-----------------------(1-3) I have done the SQL code for this no problem but I want to do this using SSIS components but I am totally stuck! Any advice would be appreciated! Hi Phil, I suppose I cou ...Show All

  • Internet Explorer Development Drag from desktop to IE, what's in the javascript dataTransfer object?

    Hello all, I've noticed that you can drag files from your desktop into IE and it will open the file. I'm developing a web application in asp.net and using JavaScript for the client scripting. My goal is to allow the user to drag a file from their desktop (or windows explorer) into my web page and initiate some sort of asp.net file upload based on the file that they drag. When I drag the file from my desktop into IE, all drag/drop enabled web elements recognize that a drag is happening and they also fire the drop event. When I do an alert(); on the dataTransfer event argument, it says "object" in the dialog which leads me to believe that the object is created. What I can't figure out is how to find out what is inside of the ...Show All

  • Software Development for Windows Vista Rule reference Activity properties in XOML only workflows

    My condition expression is: ((ExpenseActivities.ExpenseSumitted)this.GetActivityByName("expenseSubmitted1")).Report.Total > 1 You can't directly use "this.expenseSubmitted1.Report.Total". why not ps:"Report" is  the property of the activity "ExpenseSumitted" that used in the workflow .It's custom class. Thanks. Check to make sure that you are searching for the correct activity name. When you are working with a code workflow when you add an activity a variable is created allowing you to program against the variable directly. This does have some issues if you are dealing with any activity that uses a spawned context to run its children, e.g. While, CAG or StateMachineWorkflow. ...Show All

  • Visual Basic ByRef error though parameter is passed by ByVal

    I'm getting an error while trying to fill a grid (third party). The code is as follows: Public Sub FillTheGrid(ByRef one As String, ByRef two As String, ByRef three As String) Dim s As String Dim e As Short = 0 s = (one & Chr(9) & two & Chr(9) & three).ToString e = grdUAH.AddItem(s, 0) <--- Error for this grdUAH.Row = 0 grdUAH.Col = 1 grdUAH.CtlRefresh() End Sub Though there is no value passed a ByRef, I get the error as: Byref value type parameter cannot be null. If I comment out the line e = grdUAH.AddItem(s, 0), there is no error! The stack is as below: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ****** ...Show All

  • SQL Server VB6 ADO Connection to SQL Server 2K5 Fails

    I have a legacy visual basic application that connects to a newly installed SQL Server 2005. On occasion (about once or twice a day) I will receive several errors in a row about not being able to open a connection to the database. Since I am catching any errors generated I post the number and description of the Err object to the screen in a message box for notice to the user. The error is 0 and the description is blank. There are no corresponding events in Window Event Log or in the SQL Server Logs other than standard informational messages about the regular operation of the server. I am connecting to a SQL Server 2k5 Workgroup Edition, with ODBC, using named pipes. The connection works at all other times, so I know I am set up corre ...Show All

  • Visual Studio 2008 (Pre-release) wsHttpBinding IIS Integrated Windows Authentication set up not working

    My WCF sercive is hosted on a Windows 2003 Server through IIS. I hvae installed a certificate on the server. The directory security for my virtual directory requires SSL (128 bit encryption not required), ignores certificates and uses 'Integrated Windows Authentication' Here is my web.config < xml version="1.0" ><configuration xmlns=" http://schemas.microsoft.com/.NetConfiguration/v2.0 "> <system.serviceModel> <services> <service behaviorConfiguration="credentialConfig" name="WCF.Server.FileTransfer.Services.FileTransfer" > <endpoint address="" binding="wsHttpBinding" bindingConfiguration="wsHttpBindingForFileTransfer" con ...Show All

  • Visual Studio Unhandled Exception while Display ReportViewer

    I had a big problem. We have win forms app, wich load some assemblies with report viewer control. On development machine all is OK, by on some client machines app crush without any error message. If we recompile assemblies with reportviewer control from dll class to win form application and start it - al work correctly. We reinstall .NET 2.0 and MS ReportViewer Control Redistributable several times - all is useless. I think this is unhandled exception - record with error ID = 5000 appear in windows application events journal. Also we debug disassembling code and fount, what program crush on LocalReport.getDataSetNames or LocalRepor.getParameters. This proc's use LocalReport.CompileReport() method. Also, if we make breakpo ...Show All

  • .NET Development Getting processes by window caption

    I just want to know how to find instances of programs with a certain window caption, something similar to the system.diagnostics.process.getprocessesbyname command except to find processes by their window caption instead of process name. How would this be done Cheers will give that a go in the Morning.. I think it's the API call, mine is long yours is return, is this some kind of .NET mod coz the GetProcessThreadID has long and intPtr options. Will look in to global hooks as this was my original plan but found you couldn;t do it easily unless in C and it's kinda frowned upon and only mouse and keyboard events are supported... I like to follow the KISS model which should be taught.. Keep It Simple Stupid... ...Show All

©2008 Software Development Network