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

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

PedroCGD

Member List

kimhoskin
OClaudiu
WV John
Ashish.Net
laserbeam
GrandpaB
Docpro777
Malleswar
Jarron
hellomahesh
Saibal Goswami
phpcs
Sianspheric
KavyaKonda
Cuckoo
thisishaydes
Florent SANTIN
Kharkov Alexander
sachin303
Joseph Geretz
Only Title

PedroCGD's Q&A profile

  • Visual Studio 2008 (Pre-release) My solution for Or

    Hello, Inspired by some posts on this forum I'm trying to create a set of metods for building query with mulitple alternative conditions. This is what I achieved so far. Helper class used for passing the base expression and sequence between conditions public class OrCondition<T> { private Expression expression; public Expression Expression { get { return expression; } } private IQueryable<T> sequence; public IQueryable<T> Sequence { get { return sequence; } } public OrCondition(Expression expression, IQueryable<T> sequence) { this.expression = expression; this.sequence = sequence; } } Extention methods 1. Starts the set of conditions: adds a condition ...Show All

  • Windows Search Technologies Add / Remove documents in Lucene dotnet search engine

    Hi All, I'm working on Lucene desktop search. I'm using C#.NET. I want to update lucene's index and for that, am using "IndexModifier". I'm able to update my index but it'll not reflect the changes made in index. And at the same time index is being corrupted. Can anyone tell me, how to update index Its urgent Regards, Vikas Kumar   Vikas, Are you trying to use Lucene in conjunction with Windows Desktop Search cheers, Ed ...Show All

  • Visual C++ can I add a component that I have created to the toolbox?

    Hi, I'm learning VC++2005, I wanted to create a component that I can drag and drop from the toolbox, when I use a windows form application. As I can drag and drop a button, I wanted to drag and drop an opengl window on the form. It is possible where can I find article about it I have serched a lot on google but didn't lucky... thanks / * This Code Creates Our OpenGL Window. Parameters Are: * * title - Title To Appear At The Top Of The Window * * width - Width Of The GL Window Or Fullscreen Mode * * height - Height Of The GL Window Or Fullscreen Mode * * bits - Number Of Bits To Use For Color (8/16/24/32) * * fullscreenflag - Use Fullscreen Mode (TRUE) Or Windowed Mode (FALSE) */ BOOL CreateG ...Show All

  • Smart Device Development Unable to play WMV on WMP10 on PocketPC

    I'm not sure if this is right place to ask this question, apologies if I'm out of line. I'm trying to play a video file (encoded as Windows Media Player 9 Screen) on a Pocket PC running Windows Media Player 10 Mobile on Windows Mobile 2003 SE (it's a Dell Axim X50v). I get the sound but no picture, so I'm guessing I'm missing the WMP9 Screen codec. Does anyone know how I can fix this Thanks in advance. that definitely would be caused by a situation in which you do not have the proper codec available. Question though: (1) are you certain what codec the video was encoded with, and (2) are you certain of the version of WMP on your device WMP10 does play media encoded with WMP9. Also: can you play the file o ...Show All

  • Windows Networking Development Windows Core Networking Online Chat today at 11AM PST

    This is a reminder that the Winsock and WSK teams, along with the rest of Windows Core Networking, will be on hand this morning in an online chat to answer your questions about Core Networking Technologies in Windows. Other product team members from areas such as IPv6, Peer-to-Peer, System.Net, WinINet/WinHttp, Windows Filtering Platform (WFP), Http.sys, new QoS platform, will also be on hand. The chat starts at 11am PST today. Click here to enter the chat: http://msdn.microsoft.com/chats/chatroom.aspx Billy Anders http://blogs.msdn.com/wndp/ ...Show All

  • Visual C# compile in 1.1 framework

    I'm currently using VC# 2005 Express Edition. Is there a way to change the compile framework to 1.1 or is there a way to make 2.0 work when only 1.1 is installed There was a way to change the framework in the previous VC#, but it's not there in the new verions. Thanks in advance. That seems like it was a really dumb idea on Microsoft's part. People using Windows XP doen't always have .NET 2.0 installed, so without installing 2.0 for them how do you get a 2.0 program to run in 1.1 ...Show All

  • SQL Server Subreport prints on new page.

    Anyone figure out a workaround for this issue in RS 2000 I'm getting half blank pages on a report because the subreport is starting on a new page. ...Show All

  • Internet Explorer Development IE7's Shrink-to-fit is one size fits all?

    Printing in a web app isn't easy. I have an application that loads a page into an Iframe, and a button outside of the iframe that does the iframe.focus();iframe.print() ; thing to print out the contents of the iframe. Whats inside of the iframe is meant to be print out on legal sized paper (8.5"x14"), which isn't the same as normal letter paper (8.5"x11"). In previous IE versions this worked like a charm. IE7, however, decides that legel size is not appropriate and applies the shrink-to-fit to shrink my beautiful legal sized document into a letter sized box. When printing, the printer expects a legal sized document since that's whats defined in the printer settings, but only prints a letter-sized box of content si ...Show All

  • Visual Studio Express Editions Calling Win32 API from Assembly Code

    Hi How do I call a Win32 API from assembly code Basically I have to call kernel32.dll function from my assembly code. If you try to call GetLocaleInfo from C with these parameters you will get the same error. I tried changing the first parameter from 100h to 7fh (LOCALE_INVARIANT) and the assembly code works. You can also simplify the assembly code like this: _asm { push 100 /// 4 Parameter push [strPtr] /// 3 Parameter push 6 /// 2 parameter push 7fh /// 1 Parameter call dword ptr [FunPtr] /// Function Call mov usRtn, ax } May I ask why you need to get through all this trouble to call GetLocaleInfo or this is just an example ...Show All

  • Visual C# Delete a directory and all its contents

    Hello. I would like to delete a directory and all its contents. The problem with Directory.Delete is that the folder is not empty and the deletion cannot be completed. Any idea or suggestion Directory.Delete(@"C:\bleah", true); System.IO.Directory.Delete has a 2nd overload that acepts a 2nd parameter that specifies whether to recursively delete the contents. The documentation for this can be seen here. ...Show All

  • Visual C# MDI child child interaction

    hi all i was playing around making a small image viewer app type thing (first foray into windows apps) and have run into a problem geting the child forms (or any off them for that matter) to communicate in a way I want, I'm not sure if its even possible, it should be as it seems to me to be a relatively fundamental use of them. basically I was trying to get the mouse coordinates to update another child form that iwas going to use as a control, so ...the parent form opens the two child forms, one contains a picture anmd the other is just for info (the coords), I can pass the info over if I do a MessageBox.Show("e.X.ToString()); however when I try to update, say a label it doesnt do anything. I imagine I'm doing something i ...Show All

  • Windows Live Developer Forums Ero

    i am just forced to change the appearance of my pushpin-hover info window, OMG, why is it so lousy designed, ive just read John's (Soulsolutions) article on it, first, why is it called 'ero', second, why is it such a pile of bad html instead just a simple div Hope, microsoft will change it in a future release of the api... this one: http://www.soulsolutions.com.au/Articles/VirtualEarthPopupStyles/tabid/79/Default.aspx ...Show All

  • Software Development for Windows Vista Howto dynamicly load a workflow from another lib

    Hi, I'm trying to load another seq. wf into a seq. wf by having the calling wf requesting a manager object to return a wf that is defined in another wf lib. Is it possible Seems like everything is designtime with regards to the out-of-tha-box invokewf activity Do I need to build a custom activity> any examples Thx alot, this wf shizzle roxx I have a sample custom activity that invokes a workflow that is not known until runtime, it can be found here . ...Show All

  • Visual Studio Team System TFS wont get latest from the web project

    when I try to get latest version from the web project I get this message: Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Unspecified Error File: vsee\lib\cvapipath.cpp Line number: 2459 any idea how i can fix this error Don’t know if this will help the dev team or not, but the bug seems to happen more when trying to get latest from the Solution Explorer. I haven’t seen the issue if I do the get latest directly from the Source Control Explorer. ...Show All

  • Visual Studio Language service problem..:/

    Hi, I've created a language service.., and on my computer everything seems to work jus fine (syntax coloring, statement completion...). Now I want it to work on differen computer.., so I copy xquery.dll (landuage service), to another computer, and register it just like that: "regsvr32 xquery.dll), but language service it's now working..., why what else should I do Regards, Pawe You would need to use the regpkg to register your package on this new machine. This tool can also be used to generate the registration that would go into your setup application. If you want to install your package on a machine without the SDK installed, you will have to apply for a Package Load Key (PLK) ...Show All

©2008 Software Development Network