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

Software Development Network >> Dark Pontiac's Q&A profile

Dark Pontiac

Member List

Behrooz PB
Cla82
Peter Tewkesbury
Jurgen Turkstra
rocky050371
GabiMordov
KevinBurton
Xcel
Joel Triemstra
Pavel Nechai
vijaygill
Dimitri Clement
xlordt
Karen G.
M Kenyon
gooon
Tryin2Bgood
Raj S
Whoisit
Steve Jensen
Only Title

Dark Pontiac's Q&A profile

  • Visual Studio 2008 (Pre-release) Databind Child Object

    Hi, I have an object called Product and that product as a property of type List<Photo>. Photo is an object with an URI and a few more properties. What I want to do is in the DataTemplate access the first Photo of each product. I have something like this for the other properties in the Product Object: <GridView x:Key="gridView" AllowsColumnReorder="True"> <GridViewColumn Header="Tipo de negocio" DisplayMemberBinding="{Binding Path=TypeOfBussiness}"/> <GridViewColumn Header="Tipo de imovel" DisplayMemberBinding="{Binding Path=TypeOfProduct}"/> <GridViewColumn Header="Tipologia" DisplayMemberBinding=& ...Show All

  • Visual Studio Team System Analysis engine exceptions with a class library dll :( ( CA0055 and CA0052 error )

    Hi! I have here a problem with code analising. Some words to me environment: Visual Studio 2005 Team suite with SP1 beta (Version 8.0.50727.363 (SP.050727-3600)) runing on Vista RC 2. The studio is connected to a Team Foundation Server. When I try to build a class library with some code analising test I get this: Xff.System -> C:\Users\Test\Documents\Visual Studio 2005\Projects\Xff-Framework\Xff.System\bin\Debug\XffSystem.dll Running Code Analysis... C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe /o:"bin\Debug\XffSystem.dll.CodeAnalysisLog.xml" /f:"bin\Debug\XffSystem.dll" /d:"C:\Windows\Microsoft.NET\Framework\v2.0.50727" /r: ...Show All

  • Visual C# Time Passed

    Is there any way to determine the amount of time that has passed from one specific point to another I.E. If the user logs in at 16:00 and logs out at 21:00 is there any way to tell that 5hours have passed Cheers Thomas For some reason this strill gives me some strange and large(or rather small) negative number. Any ideas why I've tried using .Duration().Hours, .Duration().TotalHours, .Duration().Minutes, .Duration.().TotalMinutes, .Hours, .TotalHours, .Minutes, .TotalMinutes, .ToString() It alwyas returns strange numbers not just like .25 or 1 Cheers Thomas ...Show All

  • Visual Basic filling a bitvector32 in a loop

    Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Hi Renee (not a guy, I guess, from the double 'e' ), I am unclear how the bitconvertor.ToInt16 is going to help. I was aware of the bitconvertor and I knew a bit abo ...Show All

  • SQL Server Mapping Package Variables to a SQL Query in an OLEDB Source Component

    Learning how to use SSIS... I have a data flow that uses an OLEDB Source Component to read data from a table. The data access mode is SQL Command. The SQL Command is: select lpartid, iCallNum, sql_uid_stamp from call where sql_uid_stamp not in (select sql_uid_stamp from import_callcompare) I wanted to add additional clauses to the where clause. The problem is that I want to add to this SQL Command the ability to have it use a package variable that at the time of the package execution uses the variable value. The package variable is called [User::Date_BeginningYesterday] select lpartid, iCallNum, sql_uid_stamp from call where sql_uid_stamp not in (select sql_uid_stamp from import_callcompare) and record_modified < [User ...Show All

  • Visual Studio Express Editions brace (bracket) matching

    I have both Visual C++ and C# Express Editions installed on my PC. When editing C# programs, brace matching works. i.e. when I highlight a brace in C# it's companion is highlighted. For some reason this does not work in C++ even though I think I have it enabled in the Tools - Options - Text Editor General - Automatic delimiter hightlighting. Am I missing something Thanks!! Could you please log the issue at http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 Thanks in advance for taking the time to log the issue! Thanks, Ayman Shoukry VC++ Team ...Show All

  • Visual FoxPro How to manipulate BROWSE NAME objects?

    I am trying to manipulate a browse object. I'm doing a browse nowait and then I make changes to some properties of the object. But then, I can't set focus to the browse window. The following runs through the code all the way to the 'Done'. How can I activate the browse window Thanks. CREATE CURSOR tmprug (rugno c(6) ) INSERT INTO tmprug VALUES ("000001") INSERT INTO tmprug VALUES ("000001") GO top define wind rugs from 06,0 to 18,90 font "Tahoma",10 grow brow fields item=recno():4:w=.F.,rugno NAME oBname wind rugs nowait oBname.AllowAddNew = .T. oBname.column1.setfocus() ACTIVATE WINDOW tmprug WAIT "Done" wind Obviously my reply was gone nowhere:( I posted one in fact y ...Show All

  • Visual Basic RSS in Visual Basic Express?

    I really need a RSS feed. I just don't know how o connect to one and how my program to rad the XML nodes. I can try to obay some commands like... or some things. But yor help woul be more appreciated than mine (I kinda mean my knowledge). Please help (and dont give me the thng from Coding4Fun) (nothng there ever works) MVP is a MS award to a fixed amount of community members for outstanding contributions for the year past. If you make an impact in your local community and web-based communities like this, we'll see it, and an MVP award may be given. ...Show All

  • Visual C++ Can we please get a New Forum

    I think a lot of people have questions that involve the microsoft visual C++ .net product that you feel is off topic. We are programming in Microsoft C++ and need a central place to get help from others doing the same. C++ seems to be the red headed step child of microsoft... Hardly any documentation on how to do anything in c++ officially exists; where as tons of information exists for your other languages. We need a place we can pick the brains of others that is centrally located (and hopefully getting a bone or two from microsoft staff willing to give an answer). Telling people this is off topic 200 times a day must mean there is a place for that topic missing in your forums. I have looked at the ne ...Show All

  • Visual Studio 2008 (Pre-release) June CTP Exception reading GroupBox Template

    If I do this: StringBuilder sb = new StringBuilder (); using ( TextWriter writer = new StringWriter (sb)) { GroupBox aGroupBox = new GroupBox (); System.Windows.Markup. XamlWriter .Save(aGroupBox.Template, writer); string test = sb.ToString(); } My app bombs a short time later. The Stack shows it crashed at BamlRecordReader.ReadRecord. This also crashes EID June CTP. Any ideas for extracting templates I got that template after adding the control to a grid, however just after I got the template my app bombed. If you use that template you will find that the GroupBox has no border, and the text is blue. Here's the o ...Show All

  • Visual Studio Express Editions Database search

    This has probably been asked and answered before but here goes. I have set up a login for my application and need to serach my database for username/password combination. Neither of which is the primary key. This is the code I have come upi with so far but it doesn't work! I have used username/passwords that are in the database so it should work. Please can anyone help me Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim user As String = Me .UserName.Text Dim password As String = Me .Password.Text If user = "Admin" Then ElseIf password = "pass" Then Dim myAdminMainForm As New MainForm ...Show All

  • Visual Studio MSB3011 AL.exe

    I was not sure where to post this but thought I would try here. What should I do to fix the following build error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1950,9): error MSB3011: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.exe" was not found. Either 1) Install the .NET Framework SDK, which will install AL.exe. Or 2) Pass the correct location of AL.exe into the "ToolPath" parameter of the AL task. I installed .NET 2 and am not sure why this one project is in need of AL.exe - can I remove the dependency from the project Thank you, Brian I am also getting a similar error Error 8 "e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.e ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DrawableGameComponent ContentManager Member ?

    I was happy to see a GraphicsDevice member in the DrawableGameComponent class. This saves me from getting it through the GameServiceManager, but mostly GameComponents which can draw itself should also be able to load it's graphic contents. I think it would be a good Idea to make the game's Contentmanager also a DrawableGameComponent member like the GraphicsDevice. Made already a feature request for that: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=244332&SiteID=226 How do you think abaout that It's handy but there're scenarios where it's not good. GameComponents should be easily reusable and distributable. Often it needs contents of itself. The component user won't want its cont ...Show All

  • Visual Studio Express Editions save bmp to clipboard as png

    I have a form that makes a bmp. I use this Clipboard.SetImage(mBmpDest) to save it to clipboard then paste it to a word etc doc. However am finding bmp file size is to big. Was wondering how to convert it to a png. No examples on forums. I tried using imageformat, convert but no go. any ideas hmm receiving end. is there a way for an image created in vs 2005 / .net and placed on clipboard, to be taken from the clipboard in a way forcing it as a image format hmmm am searching for any clipboard or image references. so far done other then bmp described. ...Show All

  • Visual Studio 2008 (Pre-release) DropDown Menu Buttons

    I've been trying for a while to develop a custom WPF control that acts as a dropdown menu button. I'd like the XAML to look like: <DropDownMenuButton> <MenuItem Header="First Item"/> <MenuItem Header="Second Item"/> </DropDownMenuButton> This should show a clickable region, that when clicked opens up a Popup containing the MenuItems. From then on it should act as a normal menu. My main problem is that for MenuItems to work correctly then they must be inside a Menu element (try putting some nested MenuItems in XamlPad without an enclosing Menu element). Therefore DropDownMenuButton must be derived from Menu, and contain a Popup that appears upon a MouseDown event. Sounds easy Well how do ...Show All

©2008 Software Development Network