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

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

GoodMorningSky

Member List

CHEN YU-TIEN
TA123
B. Ritter
jomunoz
Alex-MyRpg
den2005
elixic
whatupboo
TiberiusOne
Sangweb
Olyx
RayCan
Genghis86
Vudathu
JesseJ
ringerxyz
v0max
nick5454
Yaakov Ellis
PrashantAtlanta
Only Title

GoodMorningSky's Q&A profile

  • Windows Forms app.application Publish file

    Hi, I know this has already been posted, but I need to get it clear in a simple way. The 'app'.application file is created when you publish an application to a web/ftp server, along with other files. The publish.htm page shows a button linking to the 'app'.application file and I can correctly install it, but a friend of mine (and maybe many more people too) get the 'app'.application file contents displayed in his browser. He has the .NET Framework 2.0 installed (installed automatically with VB 2005 Express), and I would like a simple solution to resolve this issue, without reinstalling .NET 2.0 (unless you are sure it resolves it). I also heard that it has to do with MIME types , but I'm not too familiar with this term to unders ...Show All

  • Visual C++ Converting HEX to String ?

    Hi,   I have an hexadecimal value stored as an unsigned long (C++ .NET),   I use the value to extract data from an XML file therefore the file contains hexadecimal values also. I use SelectNodes to extract the necessary information and therefore I need to change the Hex value to a string.   However, as I convert it to a String the value changes, and as the XML file contains hexadecimal it can’t find the hex value in the XML file.   My question is therefore can I convert a Hex value in .NET to a string without changing its value otherwise I can’t extract the necessary information from the file.   Thanks in advance for your help! I have an he ...Show All

  • Visual Studio 2008 (Pre-release) Setting Window.Icon Property in Codebehind

    this.Icon = new BitmapImage(new Uri(@"pack://application:,,/Resources/OptionsDialog.ico")); The code above throws the following expection: System.InvalidOperationException: ImageSource for Icon property must be an icon file. If I set this property in the XAML it works fine. How do I set it in codebehind Regards, Eran Kampf http://www.ekampf.com/blog/ When I try use the following code to set Icon property in code, I got  an astonishing exception: BitmapImage image = new BitmapImage ( new Uri ( "pack://application:,,/Resources/XamlPad.ico" , UriKind .RelativeOrAbsolute)); this .Icon = BitmapFrame .Create(image); And this exception is: FatalExecutionEngineError was detected Message: The runtime has encountered a fatal ...Show All

  • Visual Studio 2008 (Pre-release) WCF Security in Hardware

    Are there currently any hardware appliances out there that can process WCF security so that my WCF software is not bothered if hardware security check fails Are there any such products that are in beta stage for use with WCF Can MS provide some information on this Lets say I am using PKI certificates for consumers as well as services for authentication. I know most of this certificate security is handled by WCF most of the time. But I wonder if we can push this security check from WCF layer to hardware layer. I know IBM bought DataPower last year for SOA appliances. Is there something similar for use with WCF Thanks. I forwarded this question to one of our security PM,I am forwarding their response : One way to ans ...Show All

  • Visual Basic WebBrowser control

      This isn't a question. It's a commentary on the Webbrowser control. You'll find that I don't complain and that I really like VS2005 overall. Lately I've been working on not a non-noobie version of a browser application and I find that this control just cannot match the function of the IE Engine. It does not have enough events and it has known bugs. Why on earth have a control as sophisticated as the WebBrowser control and not have a Mouse Up/Down Event (Yes - I'm aware MSHTML has those events.) At times the code needs to know if there is a mousedown event to descriminate between an unwanted popup and an actuall mouseclick. Because of the window STYLE flags, this can't even be caught in a wndproc. There is mouse down in ...Show All

  • Visual Studio Team System Shared Workspace error message

    Hello! I have a development team, which for various reasons created their workspaces to map to the same network drive location. Example: user1 has workspace for $/TP1/folder1 mapped to I:\folder1 where I:\ is the network location accessible to all his team members. He usually works on items in folder1 and doesn't touch other folders in the Team Project. user2 also has his workspace mapped to I:\folder2. He works with items in folder2 only. Now, user1 is OOO and user2 is trying to modify folder1 contents. User1 doesn't have anything checked out from TFS. User2 maps his folder1 workspace to I:\folder1 as well. He checks out a file, makes modifications and checkes it back in. The out put window shows that Changeset <#> is ...Show All

  • Windows Forms datagrid selecting rows

    hi i 've a datagridview. when i run it all the records frm sql table will get displayed. when i select each row i want to display each cell value to text boxes on the same form what event for the ggridview i 've to use for this don't you have to pass "ad" to that function Private Sub LoadCurrentItem(ByVal ad as integer) and then call it with LoadCurrentItem(ad) ...Show All

  • Visual Studio Team System CA2000: Problems..?

    I have been experimenting with the code analysis tool with VSTS Developer for work have run into a couple issues with regards to the rule about disposing objects that have the IDispose interface. (CA2000). I am wondering if I am missing something, or if they are in fact failings of the engine or rule as it is 'out of the box'... 1) If the object is instanced within a try..catch block, and then the catch just does something and then the method carries on, (rather than rethrowing the exception) the analysis tool does not trigger the CA2000 rule. But the exact same code in a try..catch block where the catch rethrows the exception it is triggered. 2) I build a base class that implements the IDispose interface, and then build a second cla ...Show All

  • Visual Basic null TextBoxes in Database Entry Form

    Hello, 1. The Form has TextBoxes c1,c2,c3 receiving currency and c4 which shows the totals: c4=c1+c2+c3 As it is now, an "Add New" Button_Click event initialize all the TextBoxes to "0.0". While this works, it places a burden on the user when entering data (he has to erase the "0.0" or might make a mistake say typing "1" without erasing "0.0" turning it into "10.0"). 2. How could the c4 always show some result, starting from the initial 0.0 to c4=c1 then c4=c2 c4=c3 or c4=c1+c2 or c4=c1+c3 or c4=c1+c2+c3 Thanks, Here's an example - basically, the getfocus and lostfocus events are used to wipe out the textbox, and restore the 0.0 in case nothing is entered. A t ...Show All

  • Visual C# Socket

    Hi, I need a sample code for socket programming. A sample code for sender and another for receiver : UDP, Port 5004. please in receiver code, use of thread. It's a big help to me. Check this. http://www.developerfusion.co.uk/show/3918/ ...Show All

  • SQL Server set alias in defined member

    As far as I know, a set alias can be used safely inside the same member to avoid calculating a set expression more than once, such as MEMBER [Measures].[CountDifference] AS MAX( FILTER( [DATE].[FISCAL QUARTER CODE].CurrentMember * [CUSTOMER].[CUSTOMER].[CUSTOMER], [Measures].[SALE AMOUNT] > 500 ) AS [__alias1], [Measures].[TRANSACTION Count] ) - MIN( [__alias1], [Measures].[TRANSACTION Count] ) I want to do the same and use the alias in other defined members, since a .CurrentMember expression does not work the same way in named sets. However I found a Note in "MDX Solutions" by Spofford, et. al. that indicates that AS 2005 will allow this "but may not return correct results." (p. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. before this gets deleted ...

    Can anyone clue me into where I can look up the proper forum to ask a simple Direct X question Quite simply, I want to know what version I am running. Not a developer, just an end user trying to get a camera working for video chat. Searched the forums, searched the Win XP help files ... nothing even close to answering this amazingly simple question. (Perhaps it's too simple to merit posting an answer Regardless ... I'd like to know how to do it.) Windows help even refers to a "DirectX Diagnostic Tool" that as far as I can tell ... doesn't exist on my system. Win XP has Direct X installed already as far as I know. How does one: 1) check the version 2) upgrade if needed Again, if this is not the proper ...Show All

  • Visual C# ORA-12154: TNS:could not resolve service name

    I am trying to connect oracle 9i through c# and I am getting the following error. Please see the code below. I have created a dsn name using Microsoft ODBC for oracle. I am using .net 1.1. My oracle has installed in d:\ my .net is installed in c:\ can anybody help me what is the problem for the error. try { //string myString= "Data Source=test_data;Integrated Security=yes"; OracleConnection connectionObj= new OracleConnection(); connectionObj.ConnectionString = "Data Source=ArunTest;User Id=scott;Password=tiger;"; connectionObj.Open(); connectionObj.Close(); } catch (Exception ex) { Console.WriteLine(ex.Message); } Thanks a lot for the reply. But now I am facing a new probl ...Show All

  • Visual FoxPro Configuration requirements to allow VFP7 to be called from ASP.NET on IIS6

    Hello, I am in a similar situation to 'cpf' who posted "VFP7 COM+ error while calling from ASP.Net 2.0 on IIS6" earlier today. Since I don't know if my problem or manner of usage is DCOM or COM+, I wanted to start a new thread, outline what I have tested, and see if anyone has any pointers on how I may reconfigure my server to allow VFP7 to be started by an ASP.NET web page. I started in VB Express 2005, created a new project as a class library, added a reference to Microsoft Visual FoxPro 7.0 Type Library under the COM tab, renamed the automatically created class1.vb file to VFPInterop.vb, and typed in the following code: Public Class VFPInterop Public Shared Function CreateVFPInstance() As Boolean Dim vfpAPP As Visua ...Show All

  • Visual Studio Express Editions open new form

    i need the open new form code. it looks something like this: "Dim clone new form1" I'm now working on a notepad... and i need to have the save as dialog. the TextBox1.ShowSaveAsDialog() didn't work i get the error: Error 1 'ShowSaveAsDialog' is not a member of 'System.Windows.Forms.TextBox'. ...Show All

©2008 Software Development Network