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

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

pdavis68

Member List

Romantic_touch
Alaa M
J. Hammer
Winson
Christie Myburgh
Leung
Sam_res03
eldiener
roni102
WL_07
kypdash01
Luis Simões
Lawrence Wee
Tomys
shauntu
adi151478
Tanya 2006
rako77
Jordan111
Vinchenzo12
Only Title

pdavis68's Q&A profile

  • .NET Development timer vs thread performance

    which implementation is better in terms of performance/efficiency/etc. [code] System.Threading.Timer t = new System.Threading.Timer( delegate { DoSomething(); }, someState, 0, 50 ); [/code] or [code] System.Threading.Thread t = new System.Threading.Thread( delegate() { while (_running) { DoSomething(); Thread.Sleep(50); } } ); t.Start(); [/code] _running is some private bool variable that would be set to false when Stop() is called or something similar. whereas, the Timer implementation would need a call to Change, respectively. thanks in advance. you are correct. calling Read does block the thread. anywho, i ended up implementing it anyways, and of the 3 ways to read from the serial po ...Show All

  • SQL Server Date Filtering vs Row placement misbehaviour

    I am using the classic Add Business Intelligence date dimension hierachy and getting correct results when I had my calendar hierachy on the rows expanded to the day level and my dimension calculations on the columns. The results were wrong when I moved the calendar hierachy to the filter area and selected one date. In particular, the [Date].[Date Calculations].[Current Member Name] = [Date].[Reporting Calendar].CurrentMember.Name shows that when you filter the Hierachy down to the day, the Current Member is always incorrectly showing the week (in every cell). It is correct when filtered to all other higher levels than date (week, month...). I have tested this on multiple date dimensions for some days now and it is very consistent. Al ...Show All

  • Visual Studio Express Editions Running Programs in Vista

    Im about to install Windows Vista on my PC . I want to know if my code will still work, especially code that gets information from the registry and the system. Wish me luck... Sorry . One cool thing I forgot to mention is that VB Express has Vista Forms when run in Vista. thats so cool when you look at VB6 and windows XP ...Show All

  • Visual Studio Team System Unit testing: Trouble with code coverage for dll in GAC - Work around

    Hi, I have a Solution with 2 projects: project A: class library project B: test project with unit tests for the code in project A. The testrun is configured for code overage for project A. Because the output-dll of project A is used in various solutions, the dll is registered in the GAC. Running the unit tests and debugging the code in project A works fine (despite the fact that the dll in the GAC is used), but when I look at the Code Coverage results I get the following error: "Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems." The error is caused by the fact that in the test run the dll in the GAC is used, instead of the dll in t ...Show All

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Sandcastle (not sandbox) will not process non-standard tags. However user can post process these tags or extent the transforms (XS ...Show All

  • Software Development for Windows Vista Disable File&Registry Virtualization - for my application

    Hello, I want to know if there is a way to disable the File&Registry Virtualization for my application. I want to get ACCESS DENIED error instead of success but written in some where else in the hard disk. Is there a way (API or something) to do that Thanks. Yes there is. You need to create an application manifest and specify a "requestedExecutionLevel" of "asInvoker", this doesn't change the run level, but it does let the OS know that your application knows about Vista and virtualization. Actually specifying any execution level with disable virtualization. ...Show All

  • SQL Server Format DateTime attribute in AS 2005

    Hi, I have an attribute a Time dimension which is of the datetime datatype. In the browser and in other tools, the displayed members are formatted like this: dd-mm-yyyy hh:mm:ss I want to change this format. How is this done The format property of the attribute in the dimension editor seems to have no effect... I tried "mm/dd/yyyy" and without quotes. Thnx... Jeroen. Thank you. If you say that is the only solution, i will do so. But it will be very hard for me to add a named calculation to all date field in my data source view. I have about 50 date field and i was just wondering why it is not possible to set date format in the "format proterty field". The solution Mentionne ...Show All

  • SQL Server @Microsoft: E-Learning Course database mirroring

    Hi MS-Guys, the following E-Learning course has some errors which have to be investigated otherwise the course will be very disappointing for the participants: Kurs 2938: Datenverfugbarkeitsfeatures in MicrosoftR SQL Server 2005 (this is only the german subject for the course, the link should apply in english versions as well, as the course is actually in english) While starting the VLab to setup mirroring, the sqlinstance2 and sqlinstance3 is not started (this sure can be done very easily), another point is that you installed RTM version where database mirroring is disabled by default (sure this can be done by swithcing the trace flag, but the course is not about doing administrative tasks, right :-) ) HTH, Jens Suessmeyer. --- h ...Show All

  • Visual C++ backgroundWorker1->Dispose() ?????

    hi guys, I am using VC++ in VS2005. after I finished with a thread created by backgroundWorker1, i would like to call backgroundWorker1->Dispose() in the end of the Do-Wrok-Complete event handler. But I get this Error: error C2039: 'Dispose' : is not a member of 'System::ComponentModel::BackgroundWorker' 1> c:\windows\microsoft.net\framework\v2.0.50727\system.dll : see declaration of 'System::ComponentModel::BackgroundWorker' 1> You should invoke the destructor, '~BackgroundWorker' instead So I tried to use the "~" destructor, but still it is giving out errors. Can anyone plz quickly how I can fix this and free all the resources that was used by my time-consuming thread thank ...Show All

  • SQL Server Hanging Indent

    This one is probably very simple, but I'm not sure. I am using SSRS 2005, and I already have a custom assembly being used in the report, but I'm hoping I won't have to use it for this. In a table, a list of company names is being returned in a single column. Some of them are pretty long, so they wrap to the next line. If this happens I would to indent the next line. So, it should look like the following: Company Name Company A Company B with a really long name Company C Anybody know an easy way to do this The only I can think of to meet this requirement is handling this programmatically, e.g. by checking the field value length and breaking the text if exceeds the required width with vbCrLf concatenated with some padding and the r ...Show All

  • Visual Studio 2008 (Pre-release) A question regarding trace viewer

    Hello, I have a question. When I enable a logging on, and open the message log file, there seems to be two messages for each action and I don't know why. Why is there two messages or activities all the time for one soap message Here's an example <E2ETraceEvent xmlns=" http://schemas.microsoft.com/2004/06/E2ETraceEvent "> <System xmlns=" http://schemas.microsoft.com/2004/06/windows/eventlog/system "> <EventID>0</EventID> <Type>3</Type> <SubType Name="Information">0</SubType> <Level>8</Level> <TimeCreated SystemTime="2006-10-18T02:58:03.8287806Z" /> <Source Name="System.ServiceModel.MessageLogging" /> <Corr ...Show All

  • Visual Studio Express Editions Making a kind of word

    Hello, I am makeing a kind of word but i don't know how i do this: add rulers possition of the text (left,right,centre) add symbols decrease, increase bold,italic,underline findform textcollor plz can somebody help me Font Formatting, Textcolor etc. sizing etc. You can use the RichTextbox control. This allows you to adjust the formatting of the text - whereas the standard textbox control is much more limited. You can do a simple web search on VB.NET + Richtextbox + Formatting http://www.google.com/search hl=en&q=vb.net+%2B+richtextbox+control+%2B+formatting and this will reveal numerous URL's with information on ...Show All

  • SQL Server Datasource = SQL 2000 sp2 (Cross-Database-Ownership Chaining?)

    We have a report in RS 2005, data source uses Windows Integrated Security, Initial Catalog is the database where the stored procedure is. The stored procedure selects data from a different database on the server. This server is running SQL Server 200 sp2 (so pre-Cross-Database-Ownership Chaining option). The users can execute the stored procedure fine so it does not seem to be a permissions issue to the data. The Report runs fine FROM the Report Server. But, if I try to run the report from a different machine, I get: An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'DataSourceNameIsHere'. (rsErrorOpeningConnection) For more information about this error navigate to ...Show All

  • Microsoft ISV Community Center Forums New CRM 3.0 Blog - http://4mscrm.g-s.co.il

    New CRM 3.0 Blog - http://4mscrm.g-s.co.il This site managed by Guardian Information Systems - one of Leading CRM & SharePoint service providers in Israel. Read more (hebrew) @ http://www.g-s.co.il ...Show All

  • .NET Development FtpWebRequest GetResponse throw The server committed a protocol violation :(

    Hello. I have some trouble with FtpWebRequest class. I use it for connection to two ftp servers The first server is working perfectly, but when i use the same programm to connect to another one the "The underlying connection was closed: The server committed a protocol violation." exception is thrown when I call GetResponse method. I found only one difference between servers. The first server returns: 220 Hello k-net ftp server The second FTP return the same banner but ON RUSSIAN Lang!!! 220 ! ! Is any UseUnsafeHeaderParsing property exists for FTPWebRequest, like for HTTP P.S> I'am not using SSL! The sources is here: ///... FtpWebRequest listRequest = ( FtpWebRequest ) We ...Show All

©2008 Software Development Network