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

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

Shadowsfury

Member List

Colin Reid
EmOneGarand
Nicolas Navet
mark.b
GeorgesZ
JIM.H.
s26f84
sql dev
ljCharlie
Michael Tsai
chingling
David J. Roh
Markus Kropik
Malazar
Janicita
MukilanP
ST_SHIR
Bhanu Prakash Nunna - MSFT
Kris Nye
David d48701
Only Title

Shadowsfury's Q&A profile

  • Windows Forms Closing forms in Control validation events...

    I am developing an application with custom security mechanism. Whenever a TextBox on one of my application's form loses focus, I need to validate it. Depending on its contents, I sometimes have to close the form. The validation occurs in the security mechanism implemented, which closes the form using the My.Application.OpenForms collection, if need be. It took me a complete day to figure out that a form cannot be closed if one of its controls Validating or Validated events are being processed (the Form.Close() instruction simply doesn't do anything as if it were not there). Can someone tell me why it is so, & how can I overcome it The amount of code in the framework dedicated to making Validating wo ...Show All

  • SQL Server Where to use SQLCLR ? Data access is not recommended?

    Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why Can't those things be done in app layer itself Scenarios recommended for SQL CLR: - External data access like filesystem, registry etc - Complex calculation - Recursion without data access (this can be implemented with CTE for data access) If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts Hello Sequel2k5, I suppose set-based TSQL would be faster than iterating over a result set, but again, I could just issue a set ...Show All

  • SQL Server Data script task - how to generate multiple rows from one row ? (string splitter)

    Hi in input we have a set of rows, each one with a column containing a string (eg: "AAOOOOAAAOOA"). We'd like to split this string (using a vb.net data script task) into tokens (eg: "AA", then "OOOO","AAA","OO","A"), and to output one line per token. How can we achieve that with a vb.net data script task (Or anything else ) best regards Thibaut DarrenSQLIS wrote: Phil, I agree in principal, the native stock components should be faster as a rule, but have you got any references Yep, no problem... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=857796&SiteID=1 ...Show All

  • Smart Device Development embedded sound card

    Since restoring my computer, using all my original CD's and also installing SP2, I cannot hear any sounds. I have tried everything to solve this problem in the self help to no avail. If someone has any solutions or ideas for me I would gladly love to hear them. Thank You, sleepysandi42 This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

  • Visual Studio Express Editions Loop Error

    Displaying the data using GridView, i wanted to let the user check the checkboxes for the selected row data to be deleted from the Event Table, but it cant work.... the following is the code. Ps, the Status label show the selected row EventName, that had been deleted(Cant Work too) Protected Sub DeleteBtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles DeleteBtn.Click Dim sb As New System.Text.StringBuilder() For Each row As GridViewRow In GridView.Rows Dim cb As CheckBox = DirectCast(row.FindControl("DeleteChk"), CheckBox) 'We are interested in if CheckBox is checked If cb.Checked Then Dim EventName As String = row.Cells(6).Text sb.Append(EventName) sb.Append(& ...Show All

  • .NET Development WebClient.DownloadFile - random 500 byte download problem - pls help

    I have been suffering from a random problem that I cannot pin down.  Quite simply I am trying to download a file using a very simple application.  The problem is that sometimes the full file is downloaded and other times only the first 500bytes.  This occurs with different files of different types. I have used an HTTP sniffer program and the full file is included in the http response! The file is using a "web folders" uri and therefore uses FileWebRequest/Response and not HttpWebRequest/Response. The original code is: webClient.DownloadFile(filePath, "C:\somefile.doc") This was revised to the following so I could get a byte count: Dim request As FileWebRequest = FileWebRequest.CreateDefault(New Uri(filePath)) ...Show All

  • SQL Server incorrect syntax near '\'

    hi! i'm using a linked server and currently executing this query: "insert into tbl_local ( fieldname )" + "select * from openquery( server\instance_remote , 'select fieldname from db_remote .dbo. tbl_remote' )" ; when i run this on a C# program it gives me the error of 'incorrect syntax near '\''. What should i do with this please help!! If double quotes was the answer in SQL, couldn't you use: "select * from openquery(\"SQL\\mysample\", 'select remote_fullname from remote_db.dbo.remote_table)" Just a thought ...Show All

  • Visual Studio Tools for Office imageMso - possible values?

    Hi, what are the possible strings in imageMso attribute Is there any list available I have the Excel demo from Jensen's log but this is only for Excel and customUI.xsd does not contain applicable values. Thanks I want to get "imageMso"s of Function Key Display from F1 to F12 of Word 2003 in Office 2007. Sorry not detailed. Please help me. ...Show All

  • .NET Development How to validate data enterd in the windows form against schema, then save the data as xml file and to the database

    Hi I am trying to do the following Create windows forms with few tabs -->Validate the input data against given schema (If the entered data is wrong then the user must directed to the relevant field )---> Then the validated data must save as xml file AND to the DATABASE (access). Can any one please let me know how I can do this or SAMPLE codes will be greatfull. Many thanks in advance. To read file you can use XmlReader. You can create ti with XmlReader.Create() and in XmlReaderSettings request validation. Validation callback would be called for each validation error. You can serialize the XML back to file (DB) with XmlWriter. ...Show All

  • SQL Server Adding a 2nd subscrber makes my Merge replication blow up.

    I have two machines running SQL Express that I am attempting to use as proxies for a client application as the security admin has deemed that outside clients can not connect directly to the main DB servers. When I have one of the SQL Express boxes subscribed to my SQL 2005 standard server, everything is happy, but when I attempt to add the second SQL Express box as a subscriber, everything seems to blow up. OK, I'm setup as a merge with updates and no filter since I want all of the servers to get all of the data. I'm also on a non-standard port but have my aliases setup, and I don't have any connection issues. When I run the subscription wizard from the management studio, it comes back with "Success", but about 2 seconds la ...Show All

  • Visual Studio Express Editions no symbols are loaded for any call stack

    I get a no symbols are loaded for any call stack error when trying to debug my program, is there a way to make it create the .pdb Debug: 'Client.exe': Loaded 'C:\Projects\soc\soc\debug\Client.exe', Binary was not built with debug information. 'Client.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'Client.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'Client.exe': Loaded 'C:\Projects\soc\soc\debug\RakNetDebug.dll', No symbols loaded. 'Client.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded. 'Client.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'Client.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded. 'Client.exe': Loaded 'C:\WINDOWS\system32\advapi ...Show All

  • Windows Forms is it normal that linkLabel control reacts extremely slowly

    I tried the LinkLabel solution and it is so slow. I followed the msdn example for LinkLabel here: http://msdn2.microsoft.com/en-us/library/system.windows.forms.linklabel.aspx i get the target page 30 seconds after I click on msn link in that example. Is that normal To let you know my Internet connection is really fast. Thanks if any advices. when i chnaged to a windows form project, it worked perfectly, but the problem I need the form in a dll project. why does it take so long when i m runing a dll project instead of win form. how do i abvoid the delay and still use link label in dll project. thanks ...Show All

  • Audio and Video Development full file encyption

    What's the design consideration of Media Foundation in the case of full file encyption, where the media source cannot get stream description or split stream without the decryptor (to decrypt at least part of a file) The assumption in Media Foundation is that the Media Source should be able to describe the presentation, and this description should be accessible even to non-protection-savvy code. (Note that as a corollary, Media Sources that have muxed streams are expected to demux them, and in particular that might mean doing a little demuxing even before Start() if doing so is going to be necessary to describe the streams -- i.e. mediatypes, etc) Tell me a little more about what you're doing... format, protection system, e ...Show All

  • .NET Development Failed to install Visual Studio 2005 Extensions for Windows Workflow Foundation (EN).exe (3.00.4203.2)

    Hi, I'm trying to upgrade my install to .NET 3.0 from the .NET 3.0 RC1 and during the install of the workflow extension I receive an unhandle exception from Visual Studio 2005 Team edition. After that my VS 2005 does not start any more. To make it work back I have to rollback to the RC1 that everything works fine. This is my upgrade procedure: 1- uninstall Visual Studio 2005 Extensions for Windows Workflow Foundation RC5(EN).exe 2- uninstall WindowsSDK Vista RC1 (6.0.5536.0.2) 3- uninstall .NET 3.0 RC1 (3.0.4324.17) then 1- install .NET 3.0 RC1 (3.0.4506.30) 2- install WindowsSDK (6.0.6000.16384) 3- install Visual Studio 2005 Extensions for Windows Workflow Foundation (EN).exe (3.00.4203.2) I took my downloads ...Show All

  • Visual Studio Can I make two DSL models interact ?

      1. I want to create Relational model  DSL and Object model DSL, and I want that Relational model produced code dependent from object model. Can I do it if possible - Please point to some related sources. ___________________ 2. I want to create visual relationshop between two models, can I do it To place DSL' on two Winforms panels and draw connecting graphics around them   Or can I add visual artifacts to generated DSL deisgner this way as for team designers: picture: http://msdn.microsoft.com/library/en-us/dnbda/html/softwarefactwo_fig4thumb.gif from: http://msdn.microsoft.com/vstudio/teamsystem/workshop/sf/default.aspx pull=/library/en-us/dnbda/html/softwarefactwo.asp#softwarefactwo_topic6 _____ ...Show All

©2008 Software Development Network