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

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

Larae

Member List

Vince P
qqterry123
Diego Cánepa
etcheverrjc
Th3MachIn3
Trevor E Hilder
janthonyb1
Black_Keyboard
brettman
Alex Yakhnin - MSFT
Witek
RichHamilton
Christie Myburgh
R.Tutus
tonn
spattewar
Benjy
Uğur Gümüşhan
MarcoViY
softwarejaeger
Only Title

Larae's Q&A profile

  • Visual Studio Setting working folder with subfolders

    VSS v. 8. Working folders can sometimes get out of whack, if you change development directories on your machine, make a mistake, or whatever reason. The first time you set a working folder on a folder in VSS, it "takes" for all subfolders as well. However if you set a working folder for a subfolder, there seems to be no way to go back to a root folder and reset the working folder and have it "take" for all subfolders as well. At this point, you have to go into each subfolder to change it, which could be enormously tedious. Any way around this thx I was able to fix the problem by going into the ss.ini file for my user name and deleting all the entries of the form [...] Dir ...Show All

  • Visual Studio code window placement add-in?

    In VC6 this macro worked; sub Application_DocumentOpen(theDocument) [snip] theDocument.ActiveWindow.Height = 1000 theDocument.ActiveWindow.Width = 680 theDocument.ActiveWindow.top = 0 theDocument.ActiveWindow.left = 0 end sub Now I'm trying to do the same thing in VS2005 with an event handler add-in; Public Class EventsClass Public WithEvents DocumentEvents As EnvDTE.DocumentEvents Private Sub DocumentOpened(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentOpened MsgBox("Hello") [snip] Document.ActiveWindow.Top = 0 Document.ActiveWindow.Left = 0 End Sub End Class I get the event registered ok (confirmed with the Hello msg) but the window is placed ...Show All

  • Software Development for Windows Vista Layered Windows mouse event bug

    Hello! My customer reported a bug in my software about Layered Windows in Vista. This string from the Platform SDK is not working when Aero Theme is enabled (red text is not working): Hit testing of a layered window is based on the shape and transparency of the window. This means that the areas of the window that are color-keyed or whose alpha value is zero will let the mouse messages through . So, the fully transparent parts of my window are not transparent for mouse events now! It worked fine in Windows 2000, XP, 2003, XP x64. Now stops working in Vista :-( It also does not update the window content when a layered window is resizing. When the old Win95-style theme is used, the program working fine. How to be ! ...Show All

  • SQL Server Replication Monitor SqlServerCE

    I have developed a smart device application using SqlServerCE that replicates data to the backend server. I need to provide to the user a status of this replication process. I read about the "MergeSubscriberMonitor" in SQL Server but can't find it in SqlServerCe. Is this possible Can someone please point me in the right direction You need to wait for synchronisation to finish and then you can query to MergeReplication object to report on the data transferred. If you were using SQLMobile (the CE version for SQL 2005), there is messaging available that will give you progress updates. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No ID3DX10Line?

    I do not see any documentation for a D3D 10 version of ID3DXLine. Granted the DX9 ID3DXLine interface is a complete joke -- both in performance and quality, at least there is a way to get a few stylized lines in the 3D view. While games don't use stylized wireframe, this is a cornerstone for profession graphics packages (e.g., modelling and drafting). Current hardware supports accurately rendered, deterministic zbuffered, accelerated lines with widths up to 5 pixels wide. Common screen space dash patterns are sufficient for 90% of all display purposes. There are also several hidden line algorithms that only function correctly if the wide lines are rendered with correctly depth buffered Bressenham step patterns. Until Direct3D provides acce ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Create tex2D with msaa and mipmap error reported by runtime

    When I create a tex2D as render target view with SampleDesc.count=4 and MipLevels=4 at the same time, directx reports Directx runtime error"an invalid parameter was passed into the returning function" . What is the problem Thank you. Yes, the documentation is not very clear when it comes to valid combinations of creation parameters for the different resource types. ...Show All

  • .NET Development How do I send mail using C#?

    Does anyone have a code snippet that shows how to send mail from c# Not that everyone cares, just that maybe one or two do. Here's how to post an email to an Exchange Server mailbox over http using WebDAV. public static void SendEmail(string server, string mailbox, string password, string to, string subject, string body, bool secureHttp) {  string httpProtocol = secureHttp "https://" : "http://";  string mailboxUri = httpProtocol + server + "/" + mailbox;  string submissionUri = httpProtocol + server + "/" + mailbox + "/##DavMailSubmissionURI##/";  string draftsUri = "http://" + server + "/" + mailbox + "/drafts/" + subject + ".eml";  string message = "To: " + to + "\n" +  "Subject: " + subject + "\n" ...Show All

  • Visual Studio Team System Team projects placed in folders

    Currently in our development environment using VSS we have the following structure: $\ Databases Documentation Legacy Projects Folder1 Project Project Project Folder2 In this structure the Project best equates to a Team Project. We currently have VSS laid out just as the folder structure on the drive. We’d like to keep this structure going forward with TFS. This provides us a way to organize each of the team projects and the source control. Also it prevents every developer having to create a workspace and set up the root of the folders for every project/folder in the workspace set up. ...Show All

  • Windows Forms Read and write *.csv File

    How can i read *.csv file and import data in database also read data from database and write in *.csv file nobugz wrote: If you're using VB.NET, it has built-in support for parsing .csv files. If not, you can always add a reference to Microsoft.VisualBasic... please finish your sentence... really curious ...Show All

  • Visual Studio Express Editions How to find a row in dataset with more than one column value in keyobj?

    I am not getting any row with this Function getPaternByKeys(ByVal codeValue As String) As String ' actually column can be identified either by number or its name Const MyCodeTblkey As String = "codeTableName = \'DataPatrn \'", myValueColumn As String = "value" Const myCodeName As String = "code = " Dim keyobj() As Object = {MyCodeTblkey, myCodeName & "\'" & codeValue.PadRight(14 - codeValue.Length) & "\'"} Dim dr As DataRow = Nothing Try dr = Me.IeStringTmpDataSet.CodeTable.Rows.Find(keyobj) 'or even you can get array of rows if you want to if its not unique value ' Dim dr() As DataRow = IeStringTmpDataSet.CodeTable.Rows.Find("c ...Show All

  • SQL Server Time Intelligence and Rollups by Unary Operator

    Can somebody tell me if a parent child hierarchy that has a unary operator will be calculated _prior_ to vanilla-style time intelligence It seems that a query that includes both types of calculations (like a YTD period sum) will be run for a length of time that is proportional to the number of periods. (The reason I ask is because I thought I read somewhere that rollups by unary operator always happen _last_ but this doesn't appear true.) In AS2K we used NON-parent-child dimensions that had unary operators in them. Those suckers were blazingly fast because aggregations could be built all the way up the hierarchy. Unfortunately MS killed that feature and now we're stuck with aggregations that are only built at the dimension key. ...Show All

  • Smart Device Development How to get vga device emulation

    none of the shortcuts emulate a hidpi device, i.e. vga. i created my own shortcut using the command line args, set video to 480x640x16 and it gave a vga screen, but it was not 'hidpi', it was the same as running sevga on a true vga device, i.e. not what the user normally sees. anyone got proper emulation of a wm2003se vga device I'm looking for the same thing: Windows Mobile 5.0 VGA images for the standalone emulator (either v1 or v2 CTP) ( without any Visual Studio ). Haven't found it yet, I guess it doesn't exist... By the way, that's a shame that the Localized Windows Mobile 5.0 Pocket PC Emulator Images aren't working with the standalone emulator. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Availability of console SDKs

    Hello, I know that this question might be a bit off-topic in this forum, but I think this is the best place to get the answer. I've always been wondering, why the SDKs for gaming consoles are only available to large companies which are charged large fees for the SDKs. I mean: Shouldn't it be in the interest of the console publisher to make it possible to develop games for it for as many people as possible, considering that every game increases the popularity of the console So, I'd be thankful if someone could explain this situation to me. Regards Opfer Well, I can guarantee you that at least one developer won't be going that route! ...Show All

  • Visual C++ Invoke throws an exception with VC8 ported code...

    Hi, I have upgraded vc5 ATL server DLL to vc8 and vb5 client to vb6. I have a VC8 Atl server dll that I would like to fire an event to then be used by VB6 using the With Events keyword. BUT when DLL raises event, it throws an exception at the following statement.. pDispatch->Invoke(0x1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &disp, NULL,NULL, NULL); It was working fine with my original source code in vc5 and vb5 client. Any ideas Thanks, Mac Hi, Thanks for reply.. I get following exception Unhandled exception at 0x660c9b0e in SampleClient.exe: 0xC0000005: Access violation reading location 0x00000034. Call stack trace is as follows.. msvbvm60.dll!660c9b0e() [Frames below may be ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Product.cab not found?!?

    I tried to install Beta 2 after uninstalling Beta one and I got a lovely message when the installer was trying to copy over new files "Product.cab could not be found"... With the option to Abort, Retry or Ignore... Of course ignore rolled it back... What can be done to fix this I'll try to download the .msi again, but it's going to take me a while... i have same problem with XGSESetup-Beta1.msi , Download Size: 91 MB published on 30th-8-06 but there has been an update at XNA GSE download page and now setup file details are Download Size: 79 MB and published 1st-11-06, right now i am downloading it, hopefully this problem will be resolved. ...Show All

©2008 Software Development Network