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

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

dave45

Member List

Maxim Michtchenko
hazz
Suman#SS
blabus
Peter Peng
Ian Sugar
JimDuncan
barkingdog
szucconi
ravefred
leahcimp
vistadb
Orange_Oli
Werner Clausen
Helen999888
CSharpNewbie22
crazyabtdotnet
JRLiem
XNA Rockstar
ejb111us
Only Title

dave45's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How do I make a certain ModelMesh invisible at runtime?

    Is there a way that I can change the visibility of a particular modelmesh or modelmeshpart at runtime My art assets have collision walls in them added by the artist. I can remove them during the build processors, but I'd like to leave them in so I could optionally draw them for debugging. Is there any way that I can do this Yes; you can loop over all the pieces of the model, and draw then individually, instead of drawing the entire model with a single call to Draw(). You will have to bind the appropriate effects to do this, though, but that's pretty simple. You can even take it one step further, and draw only specific subsets of each each mesh. How you figure out what pieces to draw, and what pieces not to, is up to you, but it s ...Show All

  • Visual C# WebBrowser Control and JScript Error

    I have a webbrowser control (webBrowser1) and am trying to load a page that has javascript errors on it. Example: http://www.giraph.com Even if I have webBrowser1.ScriptErrorsSuppressed = true; The JIT Debugger will still pop up and try to help me. Is there a way I can just ignore the error on the page and move on I have no control over the site that I am navigating to. Example: webBrowser1.ScriptErrorsSuppressed = true; webBrowser1.Navigate("http://www.giraph.com"); Note: Please don't tell me how to disable the JIT debugger on only my computer.  This application will be distibuted and I would like it to not open on any computer. Thank you, I clicked restore default settings in the options and ...Show All

  • SQL Server SQL 2005 Error: The "variant" data type is not supported

    Hello, I have to use a script which examines whether an SQL Server 2005 database is correct and can be used to transfer data to. Under "Validating Database Collation..." I get the following error message: com.microsoft.sqlserver.jdbc.SQLServerException: The "variant" data type is not supported. I used Latin1_General_CI_AI and switched to SQL_Latin1_General_CP1_CS_AS (because this is what I have to use, according to the documentation), but in both cases the script produces the same error. It does not seem to be a big problem, as the script apparently does not fail because of this error, but I would like to improve the situation. Also, my knowledge of databases is limited and therefore I do not understand what the varia ...Show All

  • Community Chat Is the new java goin to nail down .net ???

    hello guys , One of my frnds told me that the new java is goin to nail down .net.Is this true Regards jr Web Developer www.iitjobs.com nobugz wrote: Java has always had a sizable lead over .NET. I doubt the new version is going to change that unless they really messed it up... not according to Anders Hejlsberg ... http://www.regdeveloper.co.uk/2006/11/14/c-sharp_hejlsberg/ "If I look at where the innovation is occurring, I would venture to say that we're being a bit more innovative these days than is the case in the Java world," he said. "Java has generics, but they chose to do it in a different way where it's really just compile time sugar that goes away, ...Show All

  • Windows Forms How to find version of file programatically in .Net 2005?

    Hi, I wanted to know how I can find the version of a file programatically using C# .Net2005. I am using FileInfo[ ] info = Directory.GetFiles() to get all the files in the directory.But I am not able to get the version attribute of the file. Any help is highly appreciated Regards, ~nhd No, you don't need unsafe code in extracting version information of executable files. There is a class called FileVersionInfo in System.Diagnostics namespace, and it's accessible to your program. Here's an example: FileVersionInfo notepadInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\notepad.exe"); From the call above, the notepadInfo object will be filled with version inf ...Show All

  • Internet Explorer Development Access is denied when accessing the document property of the frame object

    It works fine on IE6, but throws the exception "Access is denied" on IE7: document.frames["someFrame"].document... Somebody knows why Hi, No, I did not find any solution. Actually I did not spent much time on this problem. But I am still interesting in it ...Show All

  • Windows Forms How to change the selected value

    I need to change the selectedvalue, of the comboBox by passing in the new value in a fucntion but i keep getting object ref not set to instance of an object.....If I change the selected value in the combobox will it change the Display member based on what selected value i pass it...check out my code and see if you can tell me where i am going wrong... public static void DisplayStopDetails( int StopID, string TypeOfStop) { Tracking.UI.MainWindows.StopOrderLegDetailsForm frmStopDetails = new StopOrderLegDetailsForm(); frmStopDetails._StopDetail.StopID = StopID; frmStopDetails.cboStartingPoint.SelectedValue = frmStopDetails._StopDetail.StopID; //frmStopDetails._StopDetail.StopID = ( int )frmStopDetails.cboStarti ...Show All

  • Visual Studio 2008 (Pre-release) Reliable messaging, Cannot create a sequence

    Hey, I'm creating a custom transport, and am currently trying to get RM to work. For some reason the server denies the client to start a reliable session, and I was hoping someone in here would know why This is what the RM part of my binding looks like: < reliableSession maxRetryCount = " 8 " ordered = " true " /> And the SOAP message sent is: {<s:Envelope xmlns:s=" http://www.w3.org/2003/05/soap-envelope " xmlns:a=" http://www.w3.org/2005/08/addressing ">   <s:Header>     <a:Action s:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence</a:Action>     <a:MessageID>urn:uuid:858ee524-81e8-46d6-9c63-93d87ff8c909</a:Mes ...Show All

  • Visual C++ Going From C# to C++

    As title says. I have been writing with C# for about a year at school, and now I have to teach myself the syntax for C++ for some other classes. I know it shouldn't be too hard, but is there any websites out there that could possibly help Thanks. This link may help you http://www.cplusplus.com/doc/tutorial/ If you are eager to know more about C++/CLI http://msdn2.microsoft.com/en-us/visualc/aa336412.aspx There are alot of articles in codeproject and codeguru to help you. You can read the books C++ books by Bjarne Stroustrup Read the link to get the The Most Important C++ Non-Book Publications... Ever ...Show All

  • SQL Server dinamica dimension in accumulated periods

    Good Afternoon I need collaborate in like handling the following subject to me: I have a dimension Product that crosses the Dimension Market. According to the time the product, the product is considered present or new. Example: 01/01/2005 product is new /01/02/2005 product is new 01/01/2006 product is new /01/02/2006 product is new 01/03/2006 product is Present and seguira present as of that date. As of month three of the year 2006 that product always will be of the present market. Until aca I do not have problems. The problem arises when I observe the product and its sales in a period of accumulated time. The system returns of that accumulated period whatever to me were the sales like new and whatever like p ...Show All

  • .NET Development Rubel

    Hi All, I need your help regarding sending Email through Microsoft Exchange Server. Is there any code snippet or any .dll which will give me the brief idea As per my info Exchange server act as wrapper and invokes SMTP internally to send the mail. Outlook is client and been connected to exchange server. I don't want to install outlook on my machine and want to directly connect to exchange server which is located at company network. How Should I connect to Exchange Server I have done googling lot but most of comments have use SMTP Server. I am able to send mail using SMTp Server, I have installed a third party SMTP server(ANSMTP) and used for sending mails. I also tried sending mails through Outlook using C# , it's done ...Show All

  • Windows Forms Using visual inheritance with the UserControl

    Hi there: I have a UserControl where I defined som controls (groupbox and buttons) and I'd like to inherit from this to create other user controls (generic functionality, etc.). I am using C#. I exported my UserControl as a template and now I have it as part of the "Add new item" wizard. However, none of the controls are visible in the designer. Moreover, if I try to assign properties to these controls in my InitializeComponent method (I know, shouldn't do that, I just wanted to try to see if it works) I get an error in the designer saying the control is not defined. Is this even posisble, or should I go try some other approach Thank you, Thanks for the input, it works like that now (sort of). What I have ...Show All

  • Visual Studio 2008 (Pre-release) Problem in Listview

    use a ListView with GridView. I use CellTemplate in GridViewColumn for databinding. In my CellTemplate, I define two buttons. I want to select the corresponding ListViewItem when I click the button; How can I get ListViewItem ro GridViewColumn from the button’s Click_Event handler this should help http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=336688&SiteID=1 ...Show All

  • Audio and Video Development Problems with XBOX 360 HD DVD Player

    I continue to run into issues with the xbox 360 hd dvd player every time I insert an hd concert dvd. I do not have any issues with the hd movies but have had issues with every concert inserted. Does anyone know of a solution The concerts are most likely "Standard Content" discs, which are basically the same as DVDs but with High definition video. (Contrast with "Advanced Content" discs like the Universal and Warner Bros. titles which have much more advanced menu systems than standard DVD). There are reports of compatibility issues with some Standard Content titles on the Xbox, and we are working on identifying and addressing them. Sorry for the inconvenience. ...Show All

  • Visual C++ msvcr80.dll Problem

    Hi there, can someone possibly tell me why Noton WinDoctor is telling me that 10 executables in the .NET Framework 2.0 cannot access the necessary dll file msvcr80.dll I see that the dll exists in the WinSxS directory and I'm running XP pro. I didn't have this problem until I downloaded the 2.0 framework at windows update. Any advice appreciated. Thanks. Naolin hello delta579! You are a genius!I have been trying for months to locate the solution to this problem.well weeks.Anyways the techs at verizon and msn were absolutely no help. finally an answer to a question!Thanks.it is nice to run windoctor and only get 1 error for a change that related to hpqgreg32.dll. my  c:program files \hp\digital imag ...Show All

©2008 Software Development Network