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

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

fmatias

Member List

software_writer_nyc
kfrost
Sandyee
AdrianWoods
DiamondDavo
Markus Zywitza
Newland Mak
Martin Gentry
j2k
ChrisMoje
John Zolezzi
Alvin Kuiper
magicalclick
rpreston
AlexBB
Chris_Clark
Zadoras
yema2001
fugu996
silentC
Only Title

fmatias's Q&A profile

  • Visual Studio Team System Must projects be added under binding root of solution?

    If you don't you get: " The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root of the other source controlled projects in the solution." Is there a way to allow a project in the solution to be at a higher level parent than the solution itself The short answer is "yes". The message you see is just a warning and can be ignored in most circumstances (i.e. just click Continue). You can also click the "Don't display this dialog again" to keep from being shown this dialog i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Geometry Shaders - Multiple Streams

    Hi, I have two questions regarding geometry shaders: 1) Can a geometry shader write to a Stream Out while passing the data down the pipeline at the same time I've read such indications, but I can't seem to find it documented anywhere. I.e. a dynamic particle system where particles are added to a point stream out AND rendered in one pass. 2) Can a geometry shader have multiple output streams I.e. a dynamic particle system where particles are added to a point stream out, while triangle point sprites are sent to the rasterizer (in one pass, that is). Thanks! 1) Yes, you can stream out and rasterize at the same time. 2) Yes, you can have up to four streams as long as you stream only single element ...Show All

  • Visual Studio Express Editions Runs on XP Pro and MediaCenter, Fails on XP Home

    I have built a scientific program using VC++ express edition. It was originally a Linux program, but I have ported it to Windows to increase our potential user community. I am highly experienced at C++ development for Linux and UNIX, but am rather new to Windows development. The program runs fine on Windows XP Professional and Media Center, but when run on Windows XP Home I get: permission denied I get this if I attempt to run it from a USB thumb drive (FAT), or if I copy it from there to the hard drive (NTFS). In all cases the user is an administrator. It has a .exe.manifest file created by VC++ in the same directory as the .exe file (it won't run anywhere without it). What is going on How can I make this program run on all versions of W ...Show All

  • Visual Basic Grid Control - Date not shown

    I am using the MSGrid control and all data shows up except the dates in the left most column. The dates DO show up if I have loaded the VB compiler onto the machine at anytime in the past. Is there a file that should be updated Driver, DLL, OCX Windows XP Pro is the OS. Any help would be greatly appreciated! Thanks, Elliott Is this a VB6 question If so please refer to http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=551512&SiteID=1 ...Show All

  • Windows Forms Correct way to "Close" a design surface?

    What is the correct way to implement "Close" for a design surface For example, if the surface was created as a child of a panel and you wanted to remove it to add a new one into it, would you just clear the Controls collection of the panel or call the existing surface's Dispose() method I ask because when I have a surface with a modest number of controls in it (15+), Disposing it takes several seconds as I can see each control get removed individually. It's much quicker if I don't call the Dispose (before or after removing it from its parent control), but I'm not sure this is the best thing to do. Yes, clearly, but I don't think that really answers my question. When I explicitly call the De ...Show All

  • Visual Studio 2008 (Pre-release) Problem with template parameter inference

    Hi All, I want to extend all IEnumerable<T> with a method called SomeOp. Usually I would define the extension like this: static class Sequence { public static IEnumerable<T> SomeOp<T>(this IEnumerable<T> sequence, Func<T, bool> func) { return sequence; } } As the operation always returns an object of the input type, I want to be able to write: List<int> integers = new List<int>(); List<int> ints2 = integers.SomeOp(x => true); To do so, I defined the exension method like this: static class Sequence { public static Enum SomeOp<T, Enum>(this Enum sequence, Func<T, bool> func) where Enum : IEnumerable<T> { return sequence; } } Compil ...Show All

  • Windows Forms Passing CustomActionData as arguments to Custom Action MFC Exe

    Hi, I want to achieve silent setup from command line. I have created a MSI installer with MFC custom action exe. Now I want to pass command line arguments to this exe from my MSI installer. I have added two internal Properties from following command. msiexec /i setup.msi /qn /l* out.txt Everyone=2 License="xxxxxxxxxxxxxxxxxxxx" I can use these properties in CustomActionData property of my custom action exe. But how can I use them as arguments In .Net framework, we can use "InstallContext Class". But my exe is MFC based. I am poised whether I need to use C# custom action exe or there is way to pass command line arguments to MFC exe as well. Thanks in advance for your help. ...Show All

  • SQL Server Add a calculated measure to a Measure Group ??

    I have created a calculated measure which is logically very much part of a specific measure group but I can't seem to work out how to add it to the measure group.. it just sits there as part of the general Measures. Can I specifiy in which Measures group it should reside This would also make more sense for managing Perspectives.. Hi, Here is how to relate the calculated memeber and the measure group 1. Open the calculations tab in the BI studio 2. Select the calculation (you want to set) from the left 'script organizer' window 3. Click on the 'Calculation properties' toolbar button (It is on the calculation tab, above the script organizer) or from the top BI studio menu, select Cube>C ...Show All

  • Visual C# Unmanaged C++ dll callback

    Hi, I have a c++ function in a dll BOOL __stdcall PlayM4_SetDecCallBack(     LONG nPort,     void (CALLBACK* DecCBFun)(long nPort,char * pBuf,long nSize,FRAME_INFO * pFrameInfo, long nReserved1,long nReserved2) ); I want to know if the c# wrapper I wrote would work. delegate void DecCBFun(long nPort, ref char pBuf, long nSize, ref FRAME_INFO pFrameInfo, long nReserved1, long nReserved2); [DllImport("playm4.dll",CallingConvention=CallingConvention.StdCall)] public static extern Boolean PlayM4_SetDecCallBack(LONG nPort, DecCBFun dcbf); does this look right Couple of errors. 1) long in C++ on Windows generally compiles down into 4 byte number so you should use Int3 ...Show All

  • Visual C# calling MATLAB functions from C#

    Hi ... Can anyone tell me the way to integrate MATLAB with C# Meaning, how can I call MATLAB functions from C# code Write a step-by-step way as soon as possible. bye. If I'm not mistaken, MatLab exposes a COM interface. You should be able to import that quit easily. I'm sorry, but can't tell you a step-by-step way, since i don't have it installed on my computer (I did in the old college days). ...Show All

  • Visual Basic Login Form VB 2005

    Hi , i can’t make a loging form, checking a database users, i already have the users db, but how can i made th validation, a full step explanation it'll be great, please help me i already read a lot of books about vs2005, but i still with this trouble i'm usin Microsoft SQL server, thanks a lot!!! hmm. not sure I Follow. The code only does it for any username/password you give it but only executes it everytime the user presses the button to see if the details are in the database. if you want to do it for say 4 users then you need to either do it 4 times or create a different query but you would need to then know the usernames/passwords to search with. so where are these 4 users in the database if so then o ...Show All

  • Visual Studio How to install .Net framework source code/pdbs?

    I wish to debug through the system code to find out the exact reason of a first chance exception I am getting. I heard that you can install the .Net framework source code. How do you do that Is it infact available for installation or are there pdb files to debug Thanks Aseem Chiplonkar The .NET Framework source code is not publicly available. The debug symbos for the Framework are available to licensed Microsoft partners. If you believe you are a licensed partner, please contact your Technical Account Manager that's working with your company. ...Show All

  • .NET Development System.Net.Socket disconnect problems

    Hi, I've done some searching but haven't managed to find an answer - hopefully this is the correct place to post. A group of us are writing an internet chat protocol with associated server and client. The server is written in VC++, and goes through a specific chain of events if the OnClose() function of one of the CAsyncSockets is called. For one of the clients in development (realbasic on mac OS X) this works fine - they close the connection at their end, and the server picks it up. However, for the VB.NET version of the client we are having problems. No matter how we disconnect, the server doesn't realise that the client has gone. I can only assume this is a .NET related issue as the other client does work. Has anyone got ...Show All

  • Visual Studio Express Editions Need Help writing a program for cosine

    I am in a computer course where we have to calculate an angle in radians and somehow use a factorial, taylor series. Were supposed to use a while or do while loop. heres what our debug should look like Enter number .23 Enter the number of significant digits 5 The cosine of 0.23 is 0.97367 Thanks for any help, Ben Hi, The series is:>> cos(x)=1 - (x^2) / x! + (x^4)/x! - (x^6)/x! .... Series can be seen on this site.>> http://en.wikipedia.org/wiki/Cosine The power and the factorial keep increasing by 2.  I've used a boolean variable named toggle to toggle between True and False in the loop. This has the effect of flipping between  doing an addition or doing a subtract ...Show All

  • Visual Studio Express Editions no subject

    can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please thanks for the reply carsten.... the second solution sounds the simplest....although I know absolutely nothing about this..... if you can give me some more info and maybe some code I would be really grateful......pretend I am really stupid.... well maybe you dont have to pretend in this instance.......thank you cheyenne ...Show All

©2008 Software Development Network