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

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

fmatias

Member List

blitz_beck
Kurt Biesemans
pjc955
LiamD
toniSQL
jcedwards
Doug DeBug
JavaBoy
Wouterd
Ondis
nzeemin
Asif Hameed
Michael Thorn
droujav
Mix from Latvia
Daffodils
Mike36
deathruddles
tattoo
.NETPhreak
Only Title

fmatias's Q&A profile

  • Visual C# code snippets

    From what I've read, C#'s static modifier should work just like Java. So, I created a utilities class which has a public static method to do some things. The utilities class is declared within the same namespace as my form class (just in a separate file), but if I attempt to access the method in the utilities class from the form class, the compiler complains that the name of the utility method or the class (if I attempt to use the FQN of the method) does not exist in the current context. If I attempt to add a "using MyNamespace.Utilities" statement at the top (which I fully expect to be redundant) the compiler also complains that the "Utilities" type or name does not exist in "MyNamespace". Any suggestions are most welcome! According to wr ...Show All

  • Software Development for Windows Vista Capture alpha bitmap for a window / GetWindowRgn under Vista

    GetWindowRgn returns ERROR for a window rendered under Aero Glass, while it returns a region that outlines the rounded window corners with Aero Glass turned off. Perhaps this is to be expected, since it similarly returns ERROR for per-pixel WS_EX_LAYERED windows in XP. But is there any way to obtain a 32-bit bitmap with alpha values for a specific HWND Or if not that, a way to obtain the non-transparent region of a window I basically want to capture the image (following the rounded corners in the titlebar) of a window without the windows that show up behind it. Tim Bump. I'm also curious how to capture a window while preserving transparencies. Namely, if we have an HWND, can we just get its HDC ...Show All

  • Visual C# Vista and C# question.

    Will Windows Vista need the .Net SDK to run C# applications Windows Vista ships with .NET Framework 3.0 by default. You will be fine to run your .NET Based application pretty much "straight out of the box". you dont need to install the .NET Framework. However if you are wanting to develop .NET apps then yes you need to install the SDK/compilers etc... is this what you are wondering ...Show All

  • SQL Server Running XMLA from a transact SQL script

    Can someone tellme if I can run an XMLA statement from a transact SQL function like OPENQUERY For example: OPENQUERY(SSAS_LINKED SERVER , '<Backup> <Object> <DatabaseID>SSAS_DATABASE</DatabaseID> </Object> <File>C:\SSAS_BACKUP_FILE.abf</File> </Backup>' ) I want to use a method like this to backup SSAS databases with a dynamically generated filename that contains the date of the backup. I would prefer not to use ASCMD as it is a bit harder to track the success of the backup, and opens up some security issues as you need to use command shell calls. Thanks, Stuart I have not checked (my laptop is currently loading SP2) but I would be almost posi ...Show All

  • SharePoint Products and Technologies Get content type of a file

    I have a few document libraries that have word documents in them, I have to find out the content types of those documents so that I can server them to a web browser that requests them. How do I do this from the SPListItem that I have in memory I really need to solve this issue quickly, any help is greatly appreciated! Also, one more thing, I did loop through all the properties of a document in the Library, and I outputted all of the keys and values, here is what I got (the words key: and value: are what I put in for formatting) key: _Comments value: key: Keywords value: key: Subject value: key: _Author value: Mark Macumber key: ContentTypeId value: 0x0101009798DADD327F5C45AD5B47B267973C76 key: vti ...Show All

  • Visual Studio Express Editions Visual C++ and socket gives me lots of problems

    This is my code: #include <afxsock.h> int main(){} And this is the error messages I get, cannot find " afxsock.h" Then linked up the directory where I found it (C:\Program Files\Microsoft Platform SDK\Include\mfc) then it complained again and needed windows.h I linked it up again and tried to compile, however now it needs something called uafxcwd.lib which lies in (C:\Program Files\Microsoft Platform SDK\Lib\AMD64\atlmfc) and (C:\Program Files\Microsoft Platform SDK\Lib\IA64\mfc) - What do I have to do to finally get this compiled Will it go on forever asking me for libraries can I add a master include library that will eliminate all my problems forever Cheers Idar ...Show All

  • Visual C++ Using XMLFormatter to deposit MSMQ Body into unmanaged C++ class/struct?

    I have a C# client sending a XML (loosely coupled data structure) formatted message to a server which then de-serializes it into a C++ managed class with an identical data structure. I need that same data in a C++ unmanaged class/struct and I am currently having to copy it member by member from the managed class to the unmanaged class. Anyone know if I can de-serialize it directly into my unmanaged class I am sorry if I don't know what I am talking about but I think I have done something similar and relevant. I might not understand what you mean by serializing in this context and I am not familiar with managed code. Also I might not understand your question. Having said all those disclaimers, it might ...Show All

  • Visual Studio 2008 (Pre-release) Debug a WCF service?

    If I have a IIS hosted WCF service how and what do I attach to in order to debug the service In general is there a way to tell the name of the WCF service that is running so that it can be attached to and debugged. Thank you. Looks like you are using the development web server that comes with visula studio and not hosted this is IIS unless your IIS is running on 4674. You will have to attach the debugger to the webdev process if you want to step through. Regarding configuring https on cassini i havent done this before and not sure its possible as the development server is only for testing asp.net and not sure if it has support for SSL. ...Show All

  • Visual Studio 2008 (Pre-release) ETA on WPF/E beta?

    Hi, I’m just wondering if anyone can give som indication of when a beta version of wpf/e will be available Just watched the video with Mike Harsh and my webcodingfingers started to itch :) Thanks /Simon Me too. But my guess is we wont hear anything until it's out. Although with WPF to RTM in days , it cant be all that far away. - Doug ...Show All

  • .NET Development Using Differ style on Pens

    HOw do you set the Pen to draw differ patterns of lines Ex. I want to be able to either draw a solid line or dash depending on input. I wont to draw path od a baseball hit, if its a flyball, then draw dash, if its a grounder then draw solid. I am using the drawline command but it will only take pen abbjects, not 2D styles... Dim flyball as pen e.drawline(flyball.drawstyle.dash, x1,y1,x2,y2) I've moved this to the .NET Base Class Library forum... Dim myPen As Pen = New Pen(Color.ForestGreen, 4.0F) myPen.DashStyle = Drawing2D.DashStyle.DashDotDot '... buttonGraphics.DrawRectangle(myPen, theRectangle) ...Show All

  • Visual Studio Team System get list of files changed after a specific label

    How can you get a list of all the files under a team project that have changed since a particular label was cut on that team project I would appreciate your team considering this enhancement. I might be in the minority, but it would be nice to have a straightforward mechanism to find files that have been modified after the label was cut. Thanks again! ...Show All

  • Windows Live Developer Forums Are MSN Groups changing to Live?

    Is it true that MSN Groups are changing to Live Groups I just read there shutting msn chat & groups down on october 18th it's the end of the world it looks like here's a message posted on both sites IMPORTANT NOTICE: MSN Chat will no longer be offered on or after October 18th. To communicate directly with your contacts, please download Windows Live Messenger. IMPORTANT NOTICE: MSN Groups will no longer be offered on or after October 18th. To communicate directly with your contacts, please download Windows Live Messenger. you can see these notices for yourself http://chat.msn.com/ http://groups.msn.com/ ...Show All

  • SQL Server Can I Use Non-empty Behavior for These Calculated Members?

    I still find myself extremely confused about using the non-empty behavior for calculated members. We have a series of calculated members that we refer to as "Velocity", such as "Velocity Sales". The basic definition for these velocity measures is to get the total from the previous 63 business days and then annualize that total (i.e. multiply by 4), with the 63rd business day belonging to the previous month. For example, Velocity Sales for any day in September 2006 would be totaling the sales $ for the business days in the range of 06/05/2006 through 08/31/2006, and then multiplying it by 4. Perhaps not surprisingly, these measures result in extremely poor performance. Since I'm confused on the non-empty behavior, this p ...Show All

  • Visual Studio Data shows in dataset but not in report

    Hi, I have a report that does not show the data of a column named "Amount" on the report. However, the data shows complete in the stored procedure and in the dataset created for the report. I am using the expression builder, yet with no success. I added to the stored procedure isnull(xx, 0) and I do get all zeros in the report, but again, in the dataset all the data is there. Thanks, Dario Try selecting the Amount TextBox report item and change the numeric format. Aslo make sure your typed dataset amount column should not be "String"! to be same change the datatype inside the dataset to decimal or double. Hope this helps, Asif ...Show All

  • SQL Server RecordSet into a DataFlow Task

    In the control flow I have an "Execute SQL Task" that executes a stored procedure. The stored procedure returns a result set of about 2000 rows of data into a package variable that has been typed as Object to contain the data. What I have not been able to figure out is how to access the rows of data (in the package variable) from within a data flow task. There does not seem to be a data flow source task to perform that operation. What am I missing that would make this easy ...cordell... In the data flow task...I need to parse through the data to generate 3 unique result sets of data. One of the result sets will go to a text file, the 2nd result set go back into a staging table, and the ...Show All

©2008 Software Development Network