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

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

xxd

Member List

first_
Delphieur
Howard B
Minherz
Summoner
Johan Nordberg
PPR
Rajwebdev
fabianus
CharlieRussell
2ndrnd02
MigiTheGuru
Warren13
sunny123
pasha2k
Lalicia Bickerton
omtslug
RichMasterSoft
ramesh_n3
project2n5e0o1
Only Title

xxd's Q&A profile

  • Visual Studio 2008 (Pre-release) SQL LIKE in DLINQ ('%xxxx%xxxxx%' for example)

    in SQL : select * from Table where Street like '%STREET%SOUTH%' this return : 'A STREET IN SOUTH LONDON' 'STREET IN SOUTH' 'STREET OF THE SOUTH OF LONDON' How can I do that in DLinq (In the forum i hav found search like '%STREET%' wich can be do with Contains but no search like '%xxxxxx%xxxxxxx%xxxxxx%' !) I don't recall if it exists in the May CTP, but we have a class 'SqlMethods' that give you access to some SQL only functions. So you'll be able to do this: var query = from a in db.Addresses where SqlMethods.Like(a.Street, "%STREET%SOUTH%") select a; ...Show All

  • Visual Basic How to diplay HTML data from DB in grid view asp.net 200 ?

    I have saved data in sql server 2000 table with HTML. Like this:   <a href=’abc.apx’>ANY TEXT</a><br/>   But when I bind dataset to Grid View server control, text appears same as it is in DB. What is the solution   i choose an otner way.Using html table,run at server . like this DataSet ds = GETDATA(); HtmlTableCell hCell = null ; HtmlTableRow hRow = null ; // this loop is for first row. i.e Header foreach ( DataColumn dCol in ds.Tables[ 0 ].Columns) { hCell = new HtmlTableCell (); if (ds.Tables[ 0 ].Columns.IndexOf(dCol) == 0 ) { this .tblReport.Rows[ 0 ].Cells[ 0 ].InnerHtml = dCol.ColumnName; } else ...Show All

  • .NET Development Custom collection as a datasource

    Hi, I have a custom collection which derives from ICollection. I also have another collection which derives from IDictionary I need to know whether any of these collection can be added as a daatsource for a datagrid(as they don't implement IbindList,ITypedList). Regards ...Show All

  • .NET Development LocalIntranet permissions on whole network

    Good afternoon, My company has been developing this application that uses .NET Framework 1.1, and we are attempting to set up the users with the ability to execute it. Instead of distributing the executables to each desktop locally, we have put them on the network and supplied links to the software. However, going down this route requires permissions for LocalIntranet to be set to Full Trust (quick way) or adding each DLL and EXE to the known files in the .NET Framework Configuration manager. Once these settings are put in place, the software is able to run. My question is, is there a way to automate this to avoid going through all the user machines and setting this option by hand We are going to be pushing out the netfx.msi though the net ...Show All

  • .NET Development When does NetworkStream.Read return zero?

    Hello! MSDN says: 1. "If no data is available for reading, the Read method returns 0." and: 2. "If the remote host shuts down the connection, and all available data has been received, the Read method completes immediately and return zero bytes." This is a bit confusing, since when "no data is available for reading", the Read method seems to block and wait for data. I get 0 from Read only in situation #2. So is #1 simply not true Thanks, ukasz ukasz Sromek wrote: Hello! MSDN says: 1. "If no data is available for reading, the Read method returns 0." and: 2. "If the remote host shuts down the connection, and all available data has been received, the Read ...Show All

  • Internet Explorer Development Unable to hide Scrollbars in IE7

    It seems to happen at random.  If I load a page that contains a object that is set to fill the browser window and have turned off scrollbars it occassionally decides to leave a space for them anyway.  I can follow the same link and sometimes it works correctly, and other times it does not. Here's an example - this should fill the page - and on every other version of IE it does. http://home.comcast.net/~adamrleggett/aldoapplet2.htm Same thing happens if I try and do it using CSS. Here's someone elses website discussing the problem. http://www.howtoadvice.com/RemoveScrollbars Hi Kun Cong, Are you saying it works for you - did you try the applet link I provided I'm running ...Show All

  • .NET Development How to FtpWebResponse / FtpWebRequest Catch Events ???

    Hi, Is there any way to trace the FtpWebResponse / FtpWebRequest events when using , any sample available Thanks in advance. You can get the text trace through a config file. See http://blogs.msdn.com/dgorti if you wan programmatic information of the events [individual events] we don;t support that now. You can do some stuff like choosing the local end point etc. ...Show All

  • .NET Development filter question

    Hello I've a access database on a site and I like to use a filter on that. But this filter must have 6 values. I try this in web developer express but then it doesn't show any output. Even I change the select statement from and to or. Is there an other solution for this, maybe with self written select statement Well I've make a site with an access database. On this database we have to put a filter. I select everything so my select query start: select * from natuurpunt where ... Now the where selection is the problem. The only thing that works is where soort like %+ +% but I need more parameter to check. I have try to ad a or and then again a parameter but then it doesn't show any result on my gri ...Show All

  • SQL Server Check if a windows/nt user account exists

    I have some script which creates/grant priveleges to windows/nt users to DB but i frequently get the message below: Windows NT user or group '<user or group>' not found. Check the name again. I understand that this is because the said user/group is indeed not present in the environment I'm running the script (ie. testing and production environment). But is it possible to have some sort of checking whether the user/group exists in the environment so that I could determine whether or not to call some lines of code Not sure if this is possible so i had to ask. c",) SELECT * FROM sysusers will show the users from the current database. There are columns like isntname ...Show All

  • Visual Basic SqlDateTime overflow.

    I am inserting the date/time in mm-dd-yyyy format. I am selecting the date from calendar control I have made in ASP.Net, it displays the date in mm-dd-yyyy format. Please help me out on this ...Show All

  • Visual C++ How to measure memory consumption?

      Hi, I have a very complex C++ object (with many class members and some of them are shared between different objects). What is the best way to measure how much memory this object takes   I tried the following: before and after creating this object I call GetProcessMemoryInfo(hProcess, &pmc, sizeof(pmc)) and then use difference in pmc.WorkingSetSize between two calls.   However it doesn't work well since WorkingSetSize increased in balks. So sometimes I get a big memory increase and other times it is zero.   Is there any system function that allow to measure exactly how much memory was allocated between two calls   Thanks in advance for help!   PS. I develo ...Show All

  • Smart Device Development How can I port Driver and OAL code ( for EBOOT )from Windows CE 5.0 to Windows CE 4.2 ?

    How can I port Driver and OAL code( for EBOOT ) from Windows CE 5.0 to Windows CE 4.2 If any body have idea, kindly inform me. Hi - please don't post your questions multiple times hoping you'll get an answer. Please go through the MSDN articles in the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=541161&SiteID=1 and post more specific question. Closing this thread. Manav ...Show All

  • Software Development for Windows Vista Vista 'Sleep' Issue

    Hi All, I am facing a issue with 'Sleep' mechanism in Vista. I am doing certain asynchronous I/O operation on my device when I receive 'PBT_APMRESUMESUSPEND' through 'WM_POWERBROADCAST' message. 'PBT_APMRESUMESUSPEND' is the message we get from Window's when it comes out of sleep mode. But while doing so I receive 'ERROR_IO_PENDING' error. Are anyone facing similar problems I did not face any such issues on Windows XP and 2000. I have read that in Vista 'Sleep' is replaced with 'Hybrid Sleep'. Does that make any difference Regards, Anmol You might want to see if the following hotfix relates to your problem: http://support.microsoft.com/kb/929734 ...Show All

  • Visual Studio Team System code is being ignored by the Code Analyser.

    It believe some of my code is being ignored by the Code Analyser.   I am using the Code Analyzer that comes with Microsoft Visual Studio 2005 Team Edition for Software Developers.   I configured the code analysis for the project as follows:   Right click on the project in the solution explorer and click properties. Click on the code analysis tab Disable all rules but Naming Rules Enable Code Analysis (defines CODE_ANALYSIS constant) close the properties window Right click on the project in the solution explorer and click run code analysis.   The result is that it finds only one violation in a designer.cs file but no violations in my written code, (and I know there exists naming v ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Shader states, etc? (HLSL effects not working right)

    I'd like to call upon all the shader gurus here for some help :) I've been experimenting with writing some of my own effects, meaning I'm a HLSL newbie, and have been using NVIDIA's FX Composer to do my work. After producing a cool (albeit simple) effect, I decided to try using it in my little model viewer. The problem is that the way it shows up through XNA is different than the way it shows up in FX Composer, and I can't figure out why. You can find the code to my effect here: http://www.hiranipra.com/data/help_attach/gb1_shader.txt - it's just fairly simple environment mapping-ish stuff. A screenshot of what it looks like in FX Composer: http://www.hiranipra.com/data/help_attach/FxComposer1.jpg - it's hard to tell, but the ...Show All

©2008 Software Development Network