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

Software Development Network >> Todd Biggs - Windows Live's Q&A profile

Todd Biggs - Windows Live

Member List

biffpixel
Cable
Cool Screen Name
R.Nargang
donkaiser
Sooraj Kesav
ssmorgan
MikhailGol
Zach7
niallhannon
Quentin Mayberry
l33t
Geokri
Andreia
Ron L
GaryR
Venu Konda
Cammarata
dacky
hrubesh
Only Title

Todd Biggs - Windows Live's Q&A profile

  • SQL Server Leaf level calculations

    Need to calculate datediff([base measure date], [user selected Time dimension level's end date]) for each leaf-level member. e.g. datediff([base measure], [selected Year's end date]) Year End Date is an attribute of the Time dimension Cannot have this multiplication in the dsv named query since user's selection is not known then. Member expressions can only have the form measure1*measure2 or measure1/measure2 In the calculations script scope(base measure) scope(leaves()) scope(base measure) this = datediff("d", base measure, CurrentTimeMember.Properties("end date")) end scope..... does not work since CurrentTimeMember in this context becomes Date, whereas selected Year is required and its end date for t ...Show All

  • Visual Studio Express Editions Using Visual Basic to perform web tasks

    I'm trying to write a program in Visual Basic that will let me display websites using the System.Net.WebRequest. I don't want to use WebBrowser. I need help on using this to send web requests and retrieving the web page. Also, how can I authenticate via a website using visual basic So you want to read a page using the WebRequest class   So you need to: 1) create a request for loading/access that site (url) 2) get the response for that request 3) get the response stream and read it.   an example: http://msdn2.microsoft.com/en-us/library/system.net.webrequest.aspx   hope it helps! ...Show All

  • Visual Basic releasing resources

    having created a user control (which contains a few buttons and text boxes ) and added several of them to a panel...how do i release their resources/memory when i want to clear the screen and start over do i need to create a dipose or finailize method in the user control class do i just need to iterate throught all the controls and call their dipose methods or something else how do i release all the variables associated with the class Thanks, Dan I suspect something else is going on - for one thing, you mention opening files. Yes, a lot of controls will use a lot of memory, but is unlikely to cause an out of memory exception (the garbage collector is quite smart). Try populating w ...Show All

  • Windows Search Technologies Protocol Handler startup problems

    Hello, I am developing a WDS PH (for 2.6.5) according http://addins.msn.com/devguide.aspx . Basically store crawling and indexing works but I am still facing one serious problem: Store crawling does never start automatically . I have to click "Index Now". I posted in this matter some time ago and I was told to check the registration, but I cannot find any problem. The protocol gets registered in DllRegisterServer of my PH COM object in this way: STDAPI DllRegisterServer(void) { HRESULT hr; // Create WDS SearchManager Object CComPtr<IUnknown> pUnkn; hr=pUnkn.CoCreateInstance(__uuidof(SearchManager),NULL,CLSCTX_INPROC_SERVER); if SUCCEEDED(hr) { ISearchManager *spSearchManager; // Query for ISearchManager interf ...Show All

  • Windows Forms C++ Drag and Drop

    I know there have been lots of questions asked about this, but I can't see any that answer my particular one. I have pictureboxes that I want to be able to move round a panel freely - they contain bmps. I have implemented the dragdrop events of the panel like so: private: System::Void pnlDragDrop_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { PictureBox^ picPole = safe_cast <PictureBox^> (sender); picPole->SetBounds(posx, posy, picPole->Width, picPole->Height); } private: System::Void pnlDragDrop_DragEnter(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) { e->Effect = DragDropEffects::Move; } private: System::Void pnlDragDrop_DragOver(System::Object^ sender, System: ...Show All

  • Visual Studio Tools for Office Word Template Deployment Issue - saved document can not find customization assembly

    I am running VSTO 2005 SE + Office 2003. I am having a specific problem with a MS Word Template project which includes Actions Pane. The project is successfully deployed on a network share (G:\Templates). Users can open a template from within Word, run Action Pane at Startup and when they are finished they save document to an regular Word document like Document1.doc, usually to folder My Documents. Now when the users try to open the Document1.doc on a local folder they get an error: The customization assembly could not be found or could not be loaded. You can stil edit and save the document. Contact your administrator or the author of this document for further assistance. The customization does not have the required permissions ...Show All

  • .NET Development SetIlFunctionBody. How to free memory of old body

    Hi, Do I have to free the memory, where the method body have been located after SetIlFunctionBody I have the Profiler that rewrites the body of some methods. Earlier I've freed the old method bodies' memory using code: Hi, Sergey! You do not need to (and should not attempt to) free the memory you get back from a call to GetIlFunctionBody. This memory can be mapped directly to the module containing the function and is therefore unfreeable. The general rule of thumb regarding freeing memory is this. If you allocated the memory, you can free it (unless the API docs say not to, such as with IMethodMalloc::Alloc). If the CLR allocates memory and hands it back to you, don't free it (unless the Profiling API docs say you should). I ...Show All

  • Visual C# Move objects between System.Collections.List

    Hi! I have two Lists (System.Collections) and I want to move (or copy) objects from the first to the second one. This is my code for(int x = 0;x < list1.Count;x++) { list2.Add(list1[x]) } But every time C# gives this error: Object reference not set to an instance of an object. How can this problem be resolved Thank you! In the documention for System.Collection.List I noticed this little gem: http://msdn2.microsoft.com/en-gb/library/fkbw11z0.aspx So basically if you do this list2 = new List(list1); List two will have a copy of the first list. You should start reading the documentation for any objects you use in the .Net framework, it's generally a lot faster then asking questions. (N.B. I'm ...Show All

  • Smart Device Development Target Menu, Connectivity Options Menu doesn't respond to selection

    I'm trying to build a CE image using the following environment: Vista RC2, Visual Studio 2005, Platform Builder CE 6.0. When I select the Target menu, Connectivity Options... choice, I get a brief change in the cursor, but no dialog box opens up, so I am unable to go any further. Has anybody any encountered this before Thanks in advance, Andrew Hi i also can not open the Connectivity Options window! Last week it works perfect, and now I can’t change my Connectivity options. How can i solve that problem The solution from Mohit Gogia is not working for me. Thanks Thomas ...Show All

  • Visual C++ New template compilation errors in 8.0

    Hi All, This template code compiled fine in the previous version of Visual Studio, but when I tried to port this code to Visual Studio 2005 I get compilation errors.  Can someone help Class declaration in header file: // Linked list entry class template<class T> class CProListEntry {     public:         // Construction/destruction         CProListEntry();         CProListEntry( const T& data );         CProListEntry( const CProListEntry<T>& entry );         ~CProListEntry();       &nb ...Show All

  • Windows Live Developer Forums Voice clips messages

    Hi How can I catch voice clips messages using the Messenger Add-in API Is there a way to perform the same thing using the Activitiy API Thanks Tal ...Show All

  • Visual Basic figuring out chars in a string (parsing)

    This should be a simple question to answer to the right person. I have been trying to figure out a way to do the foolowing but can't seem to come up with it. I have a string that will change (directory path). I want to know if the folder (at the end of the string is 'Desktop' even if it is 'Desktop\' How can I do this if I have the file path I figure i need something to get the variables on the right of the string somehow. Any help would be appreciated. Thanks! Well the pathoffolder isnt an object, it is a string. For example dim pathoffolder = "C:\Documents and Settings\user\my documents" Dim newstring As String = pathoffolder.Substring(pathoffolder.Length - 7) 'newstring w ...Show All

  • SQL Server Totals and Calculated members bug in SSAS 2005 (CTP3, SP2)

    I have created two calculated members in the Adventure Works cube: ---------------------------------------------- CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesAggregate] AS Aggregate ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ; CREATE MEMBER CURRENTCUBE .[MEASURES].[ParallelPeriodSalesSum] AS SUM ( ParallelPeriod ([Date].[Calendar].[Calendar Year],1,[Date].[Calendar]), [Measures].[Internet Sales Amount]), FORMAT_STRING = "### ### ### ###" , NON_EMPTY_BEHAVIOR = { [Internet Sales Amount] }, VISIBLE = 1 ...Show All

  • Visual Studio 2008 (Pre-release) Two Jan 2007 Orcas Editions ?

    Hi Can anyone tell me the difference between Microsoft Pre-release Software Visual Studio Code Name "Orcas" - January Community Technology Preview (CTP) (Installable Bits) and Microsoft Pre-release Software Visual Studio Code Name "Orcas" - January 2007 Community Technology Preview (CTP) Both have different links yet similar files - the latter has one 700MB extra. Thanks AlexCr wrote: MS is going to be paying for a lot of bits to get downloaded that just get thrown in the bit-bucket, once people find out this isn't really going to help them with WPF / WCF development. Which is what I dont understand. You can start working on the .NET 3 fx but with writing XAML directly with no support for design - I u ...Show All

  • SQL Server Help backing up and restoring database

    Hi, I have been using the backup feature of SQL Express for some time and I thought it would be good to test a restore in case the worst happend. I moved my bak files to a usb memory stick and copied them to a machine and installed SQL Express so its empty no database's etc. So I right click the databae folder and choose restore from device and point to the db's but I get errors restoring them. What am I doing wrong Is their any guides that give steps to backup and restore database's Any help would be great - I can of course provide more information need be. Thanks, Adam. hi Adam, 2326ac wrote: Hi, I have been using the backup feature of SQL Express for some time and I thoug ...Show All

©2008 Software Development Network