Software Development Network Logo
  • Windows Forms
  • Smart Device
  • Architecture
  • SQL Server
  • Visual Studio
  • Visual FoxPro
  • Visual J#
  • Visual C++
  • Windows Live
  • Microsoft ISV
  • VS Team System
  • .NET Development
  • Visual C#
  • Windows Vista
  • Visual Basic

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

Virlene

Member List

hamou140
njm137
Tom Regan
IS dude
MikeTheMechanic
Jim Bender
DanielXIX
Arne2503
Gilberto_al
_MB
Michael Adamson
Whitey
Abhiram Khune
Okan Tekeli
Datawizard
haiaw
Coda12
Orgbrat
yangjie
wwillie2
Only Title

Virlene's Q&A profile

  • Visual Studio Team System Unit Testing Forms - Accessing Controls

    I'm unit testing an extremely simple VB form with a button and a text field. My test method looks like this: <TestMethod()> Public Sub btnHelloWorld_ClickTest() Dim target As Form1 = New Form1 Dim expected, actual As String target.Show() target.Activate() Dim accessor As HelloWorldApplication_Form1Accessor = New HelloWorldApplication_Form1Accessor(target) accessor.txtWorldID.Text = "1" expected = "HelloWorld1" Dim sender As Object = Nothing Dim e As EventArgs = Nothing accessor.btnHelloWorld_Click(sender, e) actual = accessor.lblWorldText.Text Assert.AreEqual(expected, actual, "The value returned is not correct.") End ...Show All

  • Software Development for Windows Vista DVD Subtitles

    Hi, Does anyone know how to configure the MPEG-2 demux to enable subtitles to be displayed from a ripped VOB file (we have a legitimate reason for this). I have spent a long time on this and it's driving me nuts! The graph is pushed from a network receiver filter which configures the Demux in CompleteConnect(). I am using pMPEG2StreamIdMap->MapStreamId(0xBD,MPEG2_PROGRAM_ELEMENTARY_STREAM , 0x20, 0x04); And tried various combinations of media types e.g mt.majortype = MEDIATYPE_Video mt.subtype = MEDIASUBTYPE_DVD_SUBPICTURE; mt.formattype = FORMAT_MPEG2Video; ... For some media types the MPEG-2 Video d ...Show All

  • Windows Forms Walkthrough: Using a Custom Action to Create a Database at Installation

    I am studying the Walkthrough about Using a Custom Action to Create a Database at Installation in ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/2527c071-bf97-4f66-8e64-10e9b67a0569.htm There are codes: Private Sub ExecuteSql(ByVal DatabaseName As String, ByVal Sql As String) Dim Command As New SqlClient.SqlCommand(Sql, sqlConnection1) ..... End Sub I can't figure out how the variable sqlConnection1 come from. Could someone help me Check your VB application, if you have added sqlconnection in Designer mode. Visualstudio by default creates controls ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where to go?

    Hello everyone, This is my first post. A week a go I didn’t know C# existed and only had heard the term “Direct X”, but never knew anything about it. 5-6 days a go I accidentally stumbled upon the 8 part C# RSS reader video tutorial (Done by learnvisualstudio.net, but hosted at Microsoft). I watched most of that and became quite interested in trying C#, so I downloaded C# express edition. Later I read a bit about DirectX, which made me really, really, really want to make a game. Since then I have been devoting about 4-6 hours a day to learn C# and DirectX.   I have learnt a lot, but I am definitely extremely new. ...Show All

  • Windows Forms Can I control Year selection from Datetime Picker

    From the datetimepicker control I am able to select the date but not the time Can I select the time also from Datetime picker control Thanks Thanks My problem got solved. I had set the mindate and maxdate ...Show All

  • Visual Studio Team System Disposable fields should be disposed: depth of call-graph traversal

    Hi,    I am doing some research on FxCOP for a unversity project (funded for Microsoft Phoenix Research) and I had a question about the heuristics used in your call-graph traversal, for example, in the rule "Disposable fields should be disposed". As described in the text, "This rule checks to see whether a disposable type T declares a field F that is an instance of a disposable type FT . For each field F , the rule attempts to locate a call to FT.Dispose . The rule searches the methods called by T.Dispose , and one level lower (the methods called by the methods called by FT.Dispose ).". Why did you choose to lim ...Show All

  • SQL Server deploy to another server

    I do not have access to VS, but I hear it can do this... how can I do it without VS I am using CREATE ASSEMBLY to load dll form my server to SQLServer on my server (Same machine). How can I load the dll to another server Do I have to write it on a directory on that server first I tried to run the command from my pc connected to the other server, and I get a "cannot find file" error. The FROM clause in CREATE ASSEMBLY can either take a path to the dll (which is what you are doing), but it can also instead of the path take the binary representation of the dll. So in your case, you can ei ...Show All

  • Software Development for Windows Vista How do you make IMemberCreationService available?

    I started a new C# console application, added the System.Workflow references and a Sequential Workflow (code) item. When I tried to open the workflow to add activities and I got this error message "The service 'System.Workflow.ComponentModel.Design.IMemberCreationService' must be installed for this operation to succeed. Ensure that this service is available." Confused, I added a WorkflowConsoleApplication project in the same solution and I could see the workflow diagram and add activities. So I checked that I have all the references tha tthe WorkflowConsoleApplication has and I'm added the System.Design, Transaction and Web namespac ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Floating Point arithmetic difference between VB and C#

    I am in a bit of state at the moment, I am really surprised at what I have found, please see the two code samples below. The first is Visual Basic and yields a result of: 100040624.0 the second C# and yields a result of: 100040629.0, which is correct. This error is causing my Line Circle intersection function to fail!! Oh my God have just spent the last two years writing my app in VB and now have to convert to C#. Dim a, b, c As Double a = 10002 b = 25 c = a * a + b * b result: 100040624.0 double a,b,c; a = 10002; b = 25; c = a * a + b * b; ...Show All

  • .NET Development Serialization of Tree-Like object

    Hi, I need to generate the xml below using serialization: <folder name="a"> <folder name="b"> <folder name="c"> <node name="d"/> </folder> </folder> </folder> The level of hierarchy isn't fixed ... How can I write this kind of object that will be able to be serialized to a similar xml Thanks in advance ... [XmlRoot("folder")] public class Folder { string name; Folder next; public Folder() {} public Folder(string name) { this.Name = name; } [XmlAttribute("name")] public s ...Show All

  • Visual Studio Express Editions Connection Test

    Hi, im very new to Visual Basic 2005 Express Edition. I have had a bit of past PHP codeing but not alot. I was wondering what i code i could insert into my applictation so that if it does not connect to a webpage, any webpage that it will display a message... "Internet Conection Unavaiable"  Then close the program     Any help would be great thanks........ Hi, Use the My.Computer.Netowrk.Ping Method. Example is at: http://msdn2.microsoft.com/en-us/library/he5sca5t.aspx   Hope this helps. Matt ...Show All

  • Visual C++ New to C++

    Is this software diffcult to learn This is my first adventure into these higher level lang. well, i have some understanding of many theory in computer science at the science level,but i cannot code.    the problem is that i find that they are similar in the intrinsic and different in appearance in the exterior,just like programming, we have the object oriented programming as a class,the c++ is an instance or if operating system is a class, then windows is an instance.      what truly made me feel formidabble is i all the time have a doubt:      if the instances are changing fast and man ...Show All

  • SQL Server Business Intelligence Projects - Visual Studio Net 2003

    Hi, i must create a new report for Reporting Services. In Visual Studio Net 2003 (new project) i don't find the folder "business intelligence projects".   Can you help me thanks ...Show All

  • Visual C++ "Waiting for an internal operation... please contact Microsoft"

    I am using Visual Studio 2005, C++. When I'm debugging, very often VS hangs and sometimes it pops up with the balloon text saying that it is "waiting for an internal operation to finish". If it occours regularily, I should contact Microsoft. Who should I contact And with what informations I can't say what is causing the delay. I am very tired of waiting for VS to finish its internal operations. Kind regards, Chau Perhaps these articles give some explanation: http://msdn2.microsoft.com/en-us/library/fdxt2hcd.aspx http://msdn2.microsoft.com/en-us/library/8037k9sb(VS.80).aspx ...Show All

  • Windows Forms To hide the close box in the form(but not max and min)

    In my application i need to hide the close box of the window. but i need to display the max and minimeze box. if anybody know help me. thx thanks for ur reply. actually i am working with C# i use the file exit event to exit the application. i use application.exit() in the dispose() function. bcos my real need is to exit the whole appln&nbs ...Show All

©2008 Software Development Network