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

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

jvasher

Member List

the-rpd
lucerias
Bigmo
dto
Ramachandran Kartha.V
cythe
billb59
Richard Berg MSFT
Ljhopkins
petr00
mstcrow5429
Ghanshyam Singh
C.A.R.
SonAsylum
SuperJeffe
Jo101
baswegan
micah1990
Larry Smith
Michal1979
Only Title

jvasher's Q&A profile

  • Visual Studio Express Editions Going to give winsock2 a go. Thanks

    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 Studio Team System source control

    does visual studio team system for database professionals incude source control if yes, is the source control at the database level meaning if someone goes into Management Studio will they "see" that a stored procedure is currently checked-out and then they cannot modify that sp.   bfarr23 wrote: there needs to be something to prevent a dev or dba from going to SSMS. Until then there exists a hole in the source control process in VSTS for database code.      Is this not an issue about proper procedures being put in place to ensure this doesn't happen Tools are all well and good but they have to be used properly. That would be the ...Show All

  • .NET Development Why doesn't System.Array have an indexer?

    I'm probably missing something here, because my all of my searches came up with nothing. It seems only natural for Array to have an indexer. But instead, we have to use Get/Set Value(). Why is that thrace wrote: Allow me to nag some more: why doesn't Array have an indexer that gets and sets an Object How many index parameters would it take, considering that it has to support everything from one dimensional to N-dimensional arrays ...Show All

  • Visual C++ Calling native dll functions from managed C++

    I wish to call this function "DoSecurityBox" in "FilePermsBox.dll" (unmanaged) from managed C++. I am having a hard time doing so as I have no idea where to start. I need to pass these variables to the API however they are not exactly of the same type. parent window: System::Windows::Forms^ filename: System::String^ How should I approach this For more information the article can be found here: http://www.codeproject.com/win32/accessctrl4.asp /** Displays the ACL editor for the filenames specified, so * the user can edit their security descriptor. * * All parameters are in parameters * * HWND TheirhWnd - The parent window * SE_OBJECT_TYPE seObjType - The type of object specified. * Curre ...Show All

  • Microsoft ISV Community Center Forums Code Snippet Manager for VBA

    I am, for the moment, still writing my VBA code in Excel (and possibly soon word). I find that I use some code repeatedly. Is there any free code snippet manager for the VBA IDE I'd like to recommend mz-tools for vba editor. It support a lot of features including user's code template. plz refer to http://www.mztools.com/index.htm best regards, sjoo ...Show All

  • .NET Development Retrieving Keys and Relationships using a schema file.

    I'm having the hardest time retrieving keys and relationships in my schema file. Is there a way to do this with XPath or SOM If you do know could you provided some code or an sample article or blog that I can use as reference because all the code samples that I use don't work. Please help. Thank you. If you want to use SOM, please tell us whether you use .NET 1.1 or .NET 2.0. Generally xs:key/keyref are constraints so for instance an XmlSchemaElement has a property named Constraints which is an XmlSchemaObject collection and contains the constraints associated with the element. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA / Space Wars

    Help. I was actually able to compile and run spacewars on my 2nd pc: my #1 pc is running X64, and it dosnt like anything to do with directx working pc: p4 2.4, cheep abit motherboard, 1 gb ram, xp pro, 600gb storage.. combo drive, dvd dl burner, ati x850pro, dlink wireless usb nic, midi 4x4 usb controller, and some other junk that probably dosnt matter. The Game Loads! on the splash screen, it shows the hraphic in a nice HD style window, and asks for the inputs B, A, X for its three options. it looks like its set up for an xbox 360 controller. I plugged in my microsoft sidewinder joystick (7 or 8 buttons) and none of them would trigger the game. thre is an xml file for input settings, but i am a huge NewB , and can barely compile and run ...Show All

  • Visual Studio Team System Now that we've made a total mess of things... How to put it back again

    It all started when we added three new assemblies and files to the solution. Not noticing the "Add Solution to Source Control" in the massive solution explorer context menu, we added the assemblies manually using Source Control Explorer Add Files / Add Folder. To our surprise it was as if these files were not in source control at all! You could edit them all day without checking them out. You had to check them out using source control explorer or nothing, and they did not show locked in solution explorer. They do show up in the check in window. So we tried to create an entirely new project by adding the existing solution to source control. This was an even worse idea. What we got was the new assemblies at one level in th ...Show All

  • SQL Server Getting aggregate returns with single parameter(matrix)

    I want do a comparison with 2 years worth of data: IE: I have a column that is either calendar year, quarter or month. Only one parameter must be passed for this but the preceding year must also be called. Like when Qauter1 2004 is selected it must return: Q1 2003 Q1 2004 Field!Value Field!Value I can only get it to show all the years or one. Any help much appreciated. You could do this several ways. A couple that spring to mind are: Use the Filter tab in the Table/Matrix properties window and use an expression thats based on the parameter value. In the expression you can say something like =(Fields!period_column.Value = Parameters!period_parameter.Value) Or ...Show All

  • .NET Development unable to load dll using PInvoke

    Hi, I am having a problem trying to load a dll. I have an external peice of hardware called the MTC Express. It comes with a API in dll format. Im using PInvoke to try to call function in the dll from my c# application. My code looks like this. [ DllImport ( "C:\\ttxmtc.dll" , EntryPoint = "MTC_GetAPIVersion" )] public static extern bool MTC_GetAPIVersion( char [] buf); public static void Main() { char [] buffer = new char [128]; bool b = MTC_GetAPIVersion(buffer); } When I call GetAPIVersion, I get the error Unable to load DLL 'C:\ttxmtc.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A) I've r ...Show All

  • SQL Server "Intellisense"......

    According to the link: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx under Programmability Features, Transact-SQL IntelliSense is supported for Sql 2005 Workgroup edition on up. I have never seen Intellisense in the Query Editor. Can anyone comment on what the URl is referring to TIA, Barkingdog ...Show All

  • Windows Forms C# syntex for adding IE menu bar and address bar into system. windows. forms webBrowswer

    Well, the topic pretty much said it. How do I let the system.windowns.forms webBrowser class to show the IE menu bar and address bar. Is it doable I would really appreciate if somebody could give me the C# syntex for that or give me a hint of where I can find it. Thx! You can use a ComboBox for Address bar and a MenuStrip for Menu and add the relative functionality to both Controls... See this sample for more Help: This is in VB but can be converted to C# with some effort or using some conversion tool http://msdn2.microsoft.com/en-us/library/3tst62z1(VS.80).aspx Best Regards, Rizwan ...Show All

  • SQL Server Save only the date in a datetime field

    Hello. A question please. Can I save only the date in a datetime field I don't want the hours. Not really. Using any of the intrinsic date datatypes, you will always have the time portion being stored. But, the default time is midnight, so it is common practice to just store date information by making sure to only pass in the date portion, and you can basically ignore the time. If you don't trust users and the other programmers to get it right (and who does :) then you could put an instead of trigger on tables with dates to make sure (which I would actually do, if you have an automated way to build code, like data modeling tools, or simply using system metadata) ...Show All

  • Smart Device Development Irregular Sized Forms?

    How do i create a form in WM5-NetCF2 that only takes up the bottom half of the screen.. e.g. is like more like a dialogue box that hovers over the undeling form without taking up the full screen.. I tried changing the form size "this.Size = new Size(100, 100);" but that has no effect and seems to be ignored.. Thanks On WM forms are supposed to be full screen and NETCF enforces that. You might be able to do something like this though. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. developed 3dmax integrated with direct x

    please something can explain me how i can developed 3dmax integrated with direct x 3d max alreay uses DirectX to display its objects, you have the choice of OpenGL or DirectX at setup. If this is not what you ment, please post some more details on what you are trying to do. ...Show All

©2008 Software Development Network