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

Software Development Network >> Robert Wakeland's Q&A profile

Robert Wakeland

Member List

Dark Pontiac
manukahn
Jacco Mintjes
Peter Nimmo
Mikael Olesen
Marcus Rodrigues
Nisa
HonDOn7
Chips_in
une
salafa
tdcntt
slyi
Ron L
Tian
FM_AX
Mike!
Davids Learning
fatquack
Marlun
Only Title

Robert Wakeland's Q&A profile

  • Visual C# equivalent of Server.HtmlDecode

    Hi, Is there an equivalent of Server.HtmlDecode from a normal c# class. On webforms I can use that method to my heart's content but in my solution I have a class that performs various manipulations and I really need a way of decoding some html text. thanks in advance rich Nice one! Not quite the answer but it certainly led me in the right direction. I've included the code I ended up with if anyone else needs it. HttpServerUtility has no constructors and is a sealed class. So I had to return the current Server from HttpContext. In theory if your application is running it will never be null. private static HttpServerUtility Utility { get { if ( HttpContext .Current != null ) return HttpConte ...Show All

  • .NET Development Find XML element by LIKE pattern in attribute

    How can I select XML elements by attribute value in C# which satisfies following like pattern "*.text" For example, if I have XML file like this: <root> <data name="Data1.Text"> <value> Value1</value> </data> <data name="Data2.Text"> <value>Value2</value> </data> <data name="Data2.Size"> <value>Value2</value> </data> </root> In preceeding example i would like to find first two elements, cuz these do contain .text extension. Any ideas Note that your pattern says *.text but your XML attribute values have upper case ".Text" with an uppercase &q ...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 I've got exactly the same issue after purchasing XNA tonight. Media Connection to the PC is fine, and I've tried a bunch of generated keys. I can't figure this out. ...Show All

  • Visual C++ fwrite in binary mode

    I have a binary file that i am reading in an array and then after doing some processing i want to write it into a new binary file. The reading and the processing is working fine but writing back is not working. FILE *fptr; FILE *fptr2; unsigned short *ds; unsigned short *ds2; fptr = fopen( "C:\\abc.dat" , "rb" ); fptr2 = fopen( "C:\\abs2.dat" , "wb" ); fread(( void *)ds, totalSize, sizeof ( unsigned short ), fptr);             // total size is the size of the data and is correct processds(ds, ds2);        // ds is processed and copied into ds2 and works fine fwrite(ds2, sizeof ( unsigned shor ...Show All

  • Software Development for Windows Vista Winhelp on Windows Vista

    Hi, Does anyone know if the user downloadable winhelp engine be available for the Vista Launch date See http://support.microsoft.com/kb/917607 -- this says there will be a download, which: 1) will be available in time for the consumer release of Vista (today ) 2) will not be redistributable Someone at MS told me to watch that URL, which will be updated, they said, to point to the download or include info about it. So far, no joy. ...Show All

  • Audio and Video Development DXVA convertion

    Hi, I have a mpeg2 video stream (m2v file extension) and I want to convert it into DXVA standard format in order to feed the IDCT and MCP block. I am totally new to DXVA. - Where can I get access to DXVA by just download DirectX SDK edition - Moreover, I wonder how to do the conversion from a bit stream to DXVA standard format, can anyone help me Thanks, Brian Here is what one of our DXVA experts had to say about this: The best way to start writing a DXVA2 decoder is to study the DXVA1 decoder documentation first. The data written to the DXVA compressed buffers is identical between DXVA1 and DXVA2. The DXVA1 documentation can be found here http://msdn.microsoft.com/library/default.asp url=/l ...Show All

  • .NET Development Client/server socket application problem - files sent are incomplete

    Hello all I am having problems with a Client / Server application I am writing. I want to send a file from a client app to a server app, and I have created code to do so. I am using VB.NET 2003 and testing on WinXP SP2 for both machines (firewalls disabled). However I have run up against an apparently insurmountable problem (for me). When I test by running both apps on the same computer I have no problems, receiving the test file properly but when I run the client from another PC on my LAN the file only comes through partially (truncated). I have also noted that if I step through the receiving code of the server manually, it works properly even across the LAN, so I can't see where the problem is happening. At present I have disabled t ...Show All

  • SQL Server How to compare table from SQLSERVER 2005 with oracle

    Hi, i am trying to compare the table which is existing in SQL server2005 with the same in oracle 10g. is there any short cut procedure for it.. Sreenivas Jen, Could u mail me the script for SQL server comparison..i dont have any script for oracle ... I am trying to reach you at your mail id. but surprisely it bounce back to me.. ...Show All

  • SQL Server insert null

    Hi, I have an insert query that has a select query to select the records to be inserted (See below). How do you make sure a null is entered into the field of a nullable field if there is no data to select for that field insert into table1 Name, Lastname) select name, lastname from externalTable Please note that if lastname in externalTable is empty, then I would like Lastname in Table1 to be inserted as null. Currently Table1.Lastname just inserts an empty value and NOT a null. Hope you know what I mean. Thanks Try this declare @testtab table ( firstName varchar ( 10 ), lastname varchar ( 10 )) insert into @testtab select '' , 'xx' insert into @testtab select ' ' , ...Show All

  • SQL Server SQL Server 7 seems to hibernate

    I am running SQL Server v8.00.194 on Windows Server 2003, Standard Ed. v5.2.3790 on a 3 GHz P4(Hyper-Threaded) with 1GB of RAM. I have a table with 325,000 rows with 60 columns averaging length=50. When I stop running queries for more than 15 minutes the server seems to hang or hibernate. Any ASP pages accessing the table will timeout, even with a timeout setting of 20 minutes. When I run a query directly from Query Analyzer on the server it takes about 3-5 minute and then the results are returned. Then I am able to run Query Analyzer or ASP pages and results are returned in a few seconds. After 15-20 minutes it has the same issue and stops returning until Query Analyzer is run on that table. Thank you for any assistance, Stev ...Show All

  • .NET Development Forms authentication and ADAM

    I am developing an ASP.Net website, and I am planning to authenticate ADAM users against an ADAM server, using forms authentication for doing so. I am using the following web.config file: <configuration> <appSettings/> <connectionStrings> <add name="ADAMStore" connectionString=" LDAP://localhost/OU=MyOrganizationalUnit,C=UY,0=MYOrganization"/ > </connectionStrings> <system.web> <authentication mode="Forms"> <forms loginUrl="Default.aspx" protection="All" timeout="30" name="AppNameCookie" path="/FormsAuth" requireSSL="false" slidingExpiration=" ...Show All

  • Software Development for Windows Vista Where is the definitive post-beta ASP.NET Workflow Sample or Walk-through?

    Hi All, Since the release of .NET 3.0 I have not been able to find an ASP.NET Workflow sample that was not actually written for one of the betas.  Many of the examples out there that come up in the search engines have implementations that seem inconsistent with the final release of WF. The SDK does not include anything close to a complete ASP.NET workflow sample. The free Microsoft Learning module did not cover it anywhere near complete. So, what I am looking for is a clean, complete, post-beta example of how to use workflow in an ASP.NET application, not a web service, just a plain old ASP.NET workflow example.  Any links to a good post-beta sample or walk-through Th ...Show All

  • Visual Studio Team System Users / Logins (CTP7)

    I'm experiencing some issues regarding users and logins in the CTP7 version. The story: At first, there's no database or login available in the SQL2005 instance When I create a user named testuser in the Schema View , it is nicely added to the users folder as testuser.user.sql . Since it is created without login , I change the piece of the script to for login [testuser] In the Pre-Deployment folder I change the Logins.sql script to create a login if it does not already exist. Why is the testuser sometimes included correctly sometimes included with without login (although the script says for login [testuser] ) sometimes excluded when building the database project Also, I'm not able to just create a login with password=N'wachtwoord' ...Show All

  • SQL Server Need help to write MDX for a scenario

    Hello All, In my model, I have dimensions for Instrument, Customer ,Product and Time. I have two Fact tables, FactInstallBase (it is a monthly snapshot of instruments installed and active at various customer sites) and FactProductSales (sale of products to run on the instruments). There is no direct relationship between the instruments and products except at the product line level. I have a business requirement to calculate the total monthly product sales to customers that own instrument(s) (that belong to a certain product line). For this I would have to find out all the customers that own instruments belonging to a certain product line and then find out the reagent sales to these customers for a given month. I am new to MDX and wou ...Show All

  • Commerce Server Transaction DTS task execution failed

    Hi, I'm having a problem when importing data from Commerce Server tables to the data warehouse. The Configuration synchronization task and the Web server log import task seem to work just fine but the Transaction data import task fails and I have the following error: Transaction DTS task : No new data has been imported for the site <my site name> The whole package is interrupted at this step. Does anyone know what could be wrong I have used CSDWDbgSrv to debug the process but haven't found any significant message. Thanks! The message could be shown if you're running an incremental import and there is no new data. Has this package been in production for a while, or is this the first tim ...Show All

©2008 Software Development Network