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

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

cosimog

Member List

Angel Kafazov
PanzerDivisionMarkus
noNchaoTic
Bruce Bukovics
choupette
The_Postman
Bill Calkins
foobarX
suamikim
Jitusj
kastanienreis
Jeff Lynch - MVP
ron nash
JonathanAramburo
Dvlnblk
matthew lyden
Kimo9909
scott gallimore
PublicError
Bryan Kelly
Only Title

cosimog's Q&A profile

  • Visual C# Generic Multi-Dimensional Arrays Comparison

          Hi,     I need to compare multi-dimensional arrays in a function which takes 2 multi-dim arrays which can be any type(int, double, bool...etc). Comparison is done by Object.Equals() of each value in each index of the arrays. As a result, Generic and  Multi-Dimensional is what I need to combine. Any idea I compare 1 Dimensional-arrays with the below code of mine: public static bool AreArraysEqualByVal<T>( IList <T> src, IList <T> dest) { if (src == null || dest == null ) throw new ArgumentNullException ( "source or destination array is null." ); if (src.Count != dest.Count) { Debug .WriteLine( "Array lengths were not equal." ...Show All

  • Visual Studio Web Site Projects hosted on Sharepoint 2007

    I'm not sure if this is the correct forum, but I am trying to host web site development projects (which require 'Frontpage Server Extensions') in a Sharepoint 2007 environment. Is this possible If so, does it require a special add-in to Visual Studio (Currently, when I try to connect to a site hosted within a Sharepoint 2007 'web application' I get the error "The version of Windows SharePoint Services running on the server is more recent than the version of Sharepoint Designer you are using".) Any ideas what I'm doing wrong 100 views and not a single response Are there that many of you that want an answer to this, or did this issue go away with the SharePoint RTM ...Show All

  • Windows Forms DataGrid AllowPaging.......

    I am using .Net Framework 1.1 and I have a DataGrid Control.And AllowPaging property =true; But DataGrid not Paging. Thanks For Help ...Show All

  • Microsoft ISV Community Center Forums Merry Christmas and Happy New Year

    This is the forum I've maybe spend the most time in, although not so much recently but that can't be helped. To everyone who posts here often enough to know my name, and to anyone else to happens to read this... have a great Christmas and New Year... and even if you don't celebrate them I hope you enjoy the holidays. A late merry christmas back to you Derek, and to all the other experts in this forum such as ADG, duckthing etc who have exponentially increased my knowledge off VBA in Access and have helped me with my new system. Thanks v much and a happy new year to all! Rhys. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XML usage on 360

    Okay, so a simple query. How to I use an XML file when when developing for the 360. I can do it fine in windows, but as of yet I am completly lost on how to load the file when on the 360. I am currently using XML in my project and for me it works fine on the 360 and PC, although I use a different approach than Jim. I do it like this: XmlDocument doc = new XmlDocument(); doc.Load("somedocument.xml"); // now simply access the whole tree using childnodes, attributes, value etc... foreach (XmlNode node in doc.ChildNodes) if (node.Name == "test") { // do something fancy... } This seems to work okay on 360 and PC. ...Show All

  • Visual J# JDK1.4 to J#

    What are the compatiblity issues that one face while recompiling the java code base (written using JDK1.4) in J#. Can somebody point to the classes that are not supported in J# and supported in JDK1.4. Thanks in Advance. Please see if this can solve any of your problems: http://www.dotnetit.org/index.html ...Show All

  • Visual Basic Color System Bug?

    The default backcolor for buttons is 'Control or is it The actual color appears white, but if you set button to 'white', it appears brighter. Atlas, to try and trick the system, I set the color of button1 (changed to another color) to button2 (default color) but button1 gets darker - button2 however, retains it default. The [key] idea was to get button1 back to the actual default color. The best I could get was WhiteSmoke. It almost like the default... just a bit brighter. Check the setting of the "UseVisualStyleBackColor", default = True. And FlatStyle, default = Standard. ...Show All

  • Visual FoxPro Sending Email through Visual Foxpro

    Dear Sir, I want to send email through visual foxpro. please write me code to help me. Thanks & regards, - Ravi Awasthi You have many options.  Look at http://fox.wikis.com/wc.dll Wiki~AutomatedEmail http://fox.wikis.com/wc.dll Wiki~CdoEmail http://fox.wikis.com/wc.dll Wiki~SendMapiEmail for choices and sample code. Samples courtesy of Craig S. Boyd [MVP]: MAPI MS Outlook CDOSYS CDO NTS Windows Shell WinExec W3JMAIL BLAT ESSMTP   ...Show All

  • Software Development for Windows Vista Requesting Admin Rights without COM

    I have been trying to read over many of the articles concerning elevated priviledges in an application, but am a bit lost.  http://msdn.microsoft.com/library/default.asp url=/library/en-us/ietechcol/dnwebgen/protectedmode.asp http://windowssdk.msdn.microsoft.com/en-us/library/ms679687.aspx Those two of the main articles I have been trying to understand.  I know I can create a COM class that is defined in the registry and set it's elevation values there, then create it through CreateInstance.  The first article I am almost completely lost on (maybe it doesn't have anything to do with what I want ). Here's my situtation, I have a program that wants to write to registry, save files, etc, but can't do it without ad ...Show All

  • Visual Studio Tools for Office Drag and Drop objects other than string on Word Document

    I have a CustomPane with a treeView. I am trying to implement a DragDrop feature where user can drag a node from the treeview, drop it on the word document and this would create a ContentControl at the drop location. I tried DragDrop of a string by using a TextBox as follows and it works just fine: txtBxDummy.DoDragDrop(textToPass, DragDropEffects.Copy); Now I want to Drag and Drop a ContentControl. Since Word Document does not expose any DragDrop events I cannot implement this feature like a common DragDrop functionality is implemented. One thing I observed is that we can drag and drop a ContentControl from one Word document to another Word document. Since this works, I believe it might be possible to programatically drag n dr ...Show All

  • .NET Development Check if remote computer is listening on a port

    I'm new to using sockets in .net and was writing a basic instant messaging app. I was wondering if there is a way to check if an ip is listening on a specific port. Basically I wanted to use this to see if a "buddy" is online. Does anyone know if there is a way to do this or if I'm going about this the wrong way Thanks. Moving this to the .Net networking forum The simplest approach would be to try a socket connection to the remote IP/port, if it succeeds then they are listening. Note, there is a suite of APIs we are working on to enable peer to peer programming that will make this much easier. For a teaser you can see what is in native code in this regard today, but going to www.microsoft ...Show All

  • .NET Development the age old problem of "the root element is missing"

    I've done a lot of searching for how to fix this error, and I can't find what's different between everything else and my code. Basically what I'm doing is connecting to a bizTalk .asp service, and its being sent fine, and is recieved fine. It uses streams to get back and forth, and if I were to write it out to a string, it works fine. If I pass the same stream into the constructor of another class that parses the stream to xml, it gives the error. Heres the code: Encoding encoding = new UTF8Encoding (); byte [] data = encoding.GetBytes(request); // Prepare web request... HttpWebRequest myRequest = ( HttpWebRequest ) WebRequest .Create( this .path); // connect to mustang WebResponse response; // POSTed response myRequest.Me ...Show All

  • Visual Studio 2008 (Pre-release) Drag and drop ListViewItems to another UIElement(Canvas).

    Does anyone have a good example on how to accomplish this I have a tried an fews things with no success and haven't been able to find any good examples. Duh, I think I just realized the difference I am binding to an XMLDataProvider for my list items instead of your example were you specify the listviewitems. Can you try this <ListView local:DragDropManager.DragSourceAdvisor="{StaticResource sourceAdvisor1}" ItemsSource="{Binding Source={StaticResource DataRows}, XPath=row}"> IE... Set up an XMLDataProvider with something like... < XmlDataProvider x:Key = " DataRows " XPath = " / " > < x:Data > < root > < row > t ...Show All

  • Visual C# how do I code if radiobutton2 is checked then answer=9;

    Hello I cant seem to find the right language construct. I am trying to code. if radiobutton2 is checked then answer=9 else answer=0 I know this should be an easy answer. Thanks in advance. int answer; if (radiobutton2.Checked) answer = 9; else answer = 0; I suggest that you work through some tutorials to gain a better understanding of c#. Feel free to ask for help when you don't understand something though, of course. ...Show All

  • Software Development for Windows Vista Dec VISTA - No LDDM Driver for ATI Mobility Radeon 7500

    From http://samgentile.com/blog/archive/2005/12/24/32188.aspx Given Ian's success on a ThinkPad T43p with an ATIX600, I just installed Vista 5270 on a ThinkPad T42 which has an ATI Mobility Radeon 7500 instead. All the drivers installed except that one but I was able to install it using the Device Manager and Windows Update. The ATI Mobility Radeon Driver is totally supported in Vista. The only bummer is that there is no LDDM driver for it even in the CATALYST Drivers on the ATI Vista site so I can't get Glass. Otherwise, on this machine, Vista is performing perfectly. The new glowing ORB instead of the Start Menu is totally cool as is Windows Media Player 11. The comments on the UAP still apply though. There is no LDDM Driver fo ...Show All

©2008 Software Development Network