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

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

schobmich

Member List

kesim
JuKiM
arkiboys
rmillerii
mark hsu
Docpro777
Dan Mikkelsen
Mark A. Richman
Ashish Chawla
Zeldacat
su45937
trogdor2323
Derek Ekins
Rajesh batchu
iampedro
Md s
Pantokrator
martin_eifert
Ahmadreza
soconne
Only Title

schobmich's Q&A profile

  • Community Chat Firefox 2

    Yay! firefox 2 is being released at 8pm today!! Hooray! just thought i would let you know... Catching up I'm not going to argue with that; in a Microsoft forum arguing on behalf of Firefox isn't going to get me far, this forum is stocked with loyalists. Tar and feather them! ...Show All

  • Internet Explorer Development Getting Mouse Events for BHO

    Hi, I'm making a BHO for IE written as a COM dll in C++. I was wondering if there was a way to trap mouse events like mouseover a link, mouseout of a link etc. The only way I can think of now is to embed a javascript code in the document, but that's pretty messy and I am not totally comfortable with it. Also, is there an interface that would let me embed a page within the current document open in IE Thank you for any help. K You need to hook into HTMLElementEvents2 dispinterface of the link elements. Check out http://msdn.microsoft.com/library/default.asp url=/workshop/browser/mshtml/tutorials/sink.asp As for embedding a page into the existing document, I am not quite sure what you are look ...Show All

  • Visual C# How do I round a decimal to 2 decimal places?

    Hello I have this code: while (rdr.Read()) { gotPrice = (rdr.GetDecimal(0)); } rdr.Close();     ....but I can't work out how to properly round the result to 2 decimal places before assigning the variable gotPrice I get this as example: 54.9700 and I'd like gotPrice = 54.97 Thanks for your time RizwanSharp , I was testing the sample and it seems that String .Format( "{0:F2}" , will round too. not just trim. would you please review, I could be wrong , just trying to make sure I understand this right thank you for your help ...Show All

  • Visual Basic IO.FileStream Issues

    I have done some searching and found a class module to convert rtf to html at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=143137&SiteID=1 and I am implimenting it but I have an issue, i got this code Private Sub Button28_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button28.Click Dim RtfText As String = RichTextBox1.Text Dim objStrbdr As New System.Text.StringBuilder() Dim Rtf2HtmlConvert As String = Me .Rtf2HtmlConvert(RtfText) Dim tmpfile as System.Environment.SpecialFolder = Environment.SpecialFolder.CommonApplicationData + "/App/Temp/File.htm" objStrbdr.Append(Rtf2HtmlConvert) If IO.File.Exists(tmpfile) Then IO.File.D ...Show All

  • Visual Studio Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

    I'm new to this forum. I hope you can help me. I'm using the Enterprise edition of VS 2005. When I debug my project an exception is raised - 'Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack'. I can't find anything about this on-line. I suspect this message is hiding the true exception. Does anyone know what this message means Regards, Andy Ham I have received the "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack" but only when I am trying to perform a redirect from within a try catch block. If I move the redirect outside the block it works fine. I created a bool value th ...Show All

  • SQL Server SQL Server Express security issues

    Hi, I'm quite new to SQL Server Express and am having trouble with security. I have SQL Server Express installed on one of our servers and want to limit access to this instance of SQL Server, and basically grant access to only certain users within our organisation. However it seems that by default everyone can connect to SQL Server. First of all I enabled local and remote connections. I did not grant anyone access permissions under Logins, and then went back to my workstation and tried to connect to the instance of SQL Server using SQL Server Management Studio which I have installed locally. I presumed and hoped that it would come up with a message saying that I don't have access permissions to connect to SQL Server, but instead it let me ...Show All

  • SQL Server Adding Records to SQL DB

    Here's my dilema. I'm using VB.Net 2003 and SQL DB I'm having a problen adding a record to a table in my SQL DB My previous experience has been working with Access databases. When I try to create an SQLDataAdapter using the wizard from the toolbox the wizard will only create the Select statement. it won't create the UPDATE, DELETE or INSERT statements. I'm not sure why, I even tried using the form wizard and it still wouldn't work... My tables all have primary keys defined. So I decided that I would try to create everything programatically. What I need to know is how to create the INSERT statement and which statements to use to add the record to the table. I know that when using the OLEDataAdapter with the Acces DB I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA NES Emulator for 360

    Anyone tried this yet I am gonna give it a try in a few. http://www.xbox360fanboy.com/2007/01/27/built-with-xna-a-nes-emulator-on-your-360/ Everything I've seen indicates the actual experience ain't so great. no sound, reduced performance, must recompile with each ROM, etc... and its just a cut and paste of SharpNES into an XNA project. not exactly innovative. (of course, if I'd thought of it first, it would be genius!!) ...Show All

  • Windows Forms Make an application runs on WindowsForm

    i'll try be more clear as possible and in advance i thank any kind of help. Well, i'm making a simple directX application based on my studies on this book Introduction to 3D Game Programing with DirectX 9.0 , the problem it's how i make the scene created runs inside a windows form to be more clear, i'm trying to render my scene inside a form but don't know how call a specific function to do that. Another thing, the code i'm posting here create by itself a window and i know that to runs on windows form i'll need erase thoses line of code, 'cause that i needed know how do that using a windows form. I'm using native C++ language and the code of the program i trying to run is down below. Thanks for any help. ...Show All

  • Visual Studio Team System Online presence and instant messenger integration with TFS

    Hi, when working on documents that are stored in the WSS I always see the “online presence” sidebar but there’s never anybody displayed as online. Are there any configs or settings I have to use to turn on this feature or is it not supported with TFS The "Troubleshoot Windows SharePoint Services" only says the following under Online presence and instant messenger integration: Online presence information doesn't appear · Does your account have an e-mail address specified The presence information appears only when the email address for a person is specified. A user with a blank e-mail address that has only the DOMAIN and username specified will not appear as online. ...Show All

  • SQL Server script in text in 2005 EM?

    Hi, In 2000 you could script out a file (tables SP's etc.) as text by going under Options -> File Options and choosing the MS-DOS text (OEM) format. I'm wondering where/if this same capability is in 2005. Right now, it looks like the default is binary. Can anybody share some information on this Thanks, Phil That's only how to script an object. My question is how to script an object as text. If you notice when you script an object like the way you are suggesting, it will by a binary file (atleast when I check it into sourcesafe). This was an issue I had before in SQL 2000, but atleast it gave the option to script the file out to MS DOS (text). Does anyone else know what I'm referring to ...Show All

  • SQL Server Management Studio on client

    I have an instance of SQL Server 2005 running on a server. I know that Management Studio is available to me on the server through Programs. What do I need on my client computer used for development to access the instance on the server Is it as simple as a shortcut to the server Management Studio exe Do I access it through Internet Explorer Or what do I have to install on the client to be able to manager the server DB's Apparently this must be very easy because I've looked all over and can't find the answer. Thank you in advance. For the Express edition, you can download it here: http://msdn.microsoft.com/vstudio/express/sql/download/ If you're using the Standard/Enterprise/Developer edition, it s ...Show All

  • Visual Studio Express Editions Type comparison: GetType, TypeOf, Equals.... which one is most efficient?

    Hi folks; suppose I want to figure out what type a certain control is. Then, what is the most efficient way to do it - use If (ctrl.GetType Is GetType(ComboBox) )Then ..... - or If (ctrl.GetType = GetType(ComboBox) )Then ..... - or If (ctrl.GetType.Equals(GetType(ComboBox)) Then ... - or If (TypeOf ctrl Is ComboBox) Then .... The first three can be used w. With ctrl < statements> End With, the last one is easier to read. But apart from that, is there any difference Greetings, Thymen You know what All of these questions really are answerable and there are two tools to do it. Reflector is a program available on the net. that will dissable a program and take ...Show All

  • Visual Studio 2008 (Pre-release) Windows SDK for february CTP

    Hi, does any of you know where I can download the Windows SDK for february CTP It is apparantly no longer available on Microsoft download site. We are using it on a drawnout pilot project and our cooperating partner needs to be albe to download it. Thanks in advance. // Michael i spoke to SDK team about this,Their response is The CTPs are not maintained once they’re made obsolete. The current releases are Beta 2, June CTP and July CTP. My blog entry explains why we have three concurrently supported releases – all of which will be replaced with the RC1. http://blogs.msdn.com/tomarcher/archive/2006/07/17/668572.aspx ...Show All

  • Software Development for Windows Vista SampleGrabber fail after unlocking from lock screen in XP

    Hey guys, I'm having a problem whit my direct x graph; I'm performing acquisition with a SampleGrabber (and also using a callback to retreive my samples). If I go to "lock screen" (windows lock computer) during the acquisition and I come back to my application (unlock), the callback function is stop being called (no sample anymore), so my acquisition fails ... any idea what may be my problem(s) Here my graph : CaptureFilter (from camera) -> SampleGrabber -> VideoRenderer CLSID_VideoInputDeviceCategory->CLSID_SampleGrabber->CLSID_VideoRenderer (CLSID_VideoInputDeviceCategory, the first video capture device install (and the only one)) I'm seeting up a callback (class derived from ISampleGrabberCB) and im ...Show All

©2008 Software Development Network