egen-Vipul's Q&A profile
Visual Studio 2008 (Pre-release) Adding a Home to Navication?
I have a simple browser like application, the user is navigating to different Pages. What I want to have is a Home button in the same row as the Back Forward buttons, which will return the user to the main screen. Additionally, I would like to place further controls there if it is possible, easy. How can this be done ...Show All
Visual Basic accessing dataset fields
Hi, I can not get this for the life of me. I want to get a list (array) of all the values in a certain column in a dataset, how can I go about doing this Also, what is the format for getting the value in a certain field from a dataset Like "Row x, Column y" where x and y are specified by a unique row value and unique column name. If you know of a good tutorial for Visual Basic & using SQL (Binding sources, datasets, etc), please let me know as I think I'm having a more difficult time grasping it than other aspects. Thanks! You can also try the following to loop trough a table and retrieve the values. For Each RW As DataRow In ds.Tables( "foo" ).Rows ...Show All
Visual Basic database report
hello, i'm using ADODB on my vb8-access. before on vb6 i use data report designer to prepare a print, but here on vb8, how can i do that, without using crystal reports i would like to design my report just like report designer, is it possible or are there any turn around for this thanks hello, i follow your suggestion about creating new connection, when i select Microsoft Access Database File, i got this error Format of the initialization string does not conform to specification starting at index 0. i cant go through from here, i cannot go to selection of Access File. any reason for this ...Show All
Software Development for Windows Vista State Machine Workflow Fault & Cancel Handling issues
Dear all, I have written a state machine workflow, hosted by an asp.net 2.0 web site using WinWF Beta 2.2. Having got this up and running successfully, I have been working on fault handlers for it and seem to be having trouble with them: 1) It is a major irritation that I cannot apparently define a fault handler for the whole state machine workflow (which can be done in a sequential workflow). Is there any way to provide such a global fault handler, which can then be overridden by local ones inside the states 2) My workflow has ended up with two types of state, which can be thought of as "doing" states, implemented with a state initialization activity which simply carries out activities then sets the next state, and & ...Show All
Visual Studio 2008 (Pre-release) Is it possible to get the uncoerced value of a coerced dependency property
Hello, I would like to know whether it is possible to find out what the underlying uncoerced value is for a coerced value. Is the possible at all, even for the DependencyObject which owns the coerced DependencyProperty, or is the only solution to maintain a separate internal variable set whenever the CoerceValue callback is called Thanks, Alex In at least one circumstance there is. If you call .GetLocalValue(yourDPIDField) on the relevant instance, that method will return the local value as set before coercion. The rub with that is that GetLocalValue does what it says: it returns a value only if the value was specifically set through .SetValue by some means. That could include XAML attribute, in co ...Show All
Audio and Video Development fill attribute not working
HiI there Consider this code sample <timing clock="page"> <par begin="0s" end="20s"> < cue select="id('BTN01')" begin="//button[@id='BTN01'][@state:focused='true']" end="//button[@id='BTN01'][@state:focused='false']" fill="hold"> <set style:border="8px solid fuchsia"/> </cue> < cue select="id('BTN02')" begin=0s" end="//button[@id='BTN02'][@state:focused='false']" fill="hold"> ...Show All
Visual Studio Express Editions School Project Idea
Hi all. I'm required to pass a proposal in school for a distributed computing project. I just want to solicit your ideas. Thanks! -Ver Hi, Basically, I'd like to do an implementation for something like SETI@Home. I'm not sure if .Net Remoting can do this. Thanks. -Ver ...Show All
Visual Basic printing Chart control
I have a form with a Chart control ( AxMSChart20Lib.AxMSChart ) on it. I wish to click on a button on the form and print out the chart control picture (the graph shown in the chart control). I have looked everywhere for an answer and have come up with nothing can anyone help I am using VB.NET 2005 The old chart control doesn't support printing nor tricks like Control.DrawToBitmap(). You could capture the image off the screen but it is error prone and is going to look awful on paper. You'll need to move to a commercial product, the Dundas chart control supports printing and looks pretty and capable. ...Show All
SQL Server SubQuery gives Incorrect syntax near ')'.
Dim sql As String = "SELECT InvID, SomeData, (SELECT SUM(AmtPaid) AS Expr1 FROM (Test2) WHERE (Test1.InvID = InvID)) AS Expr1 FROM Test1" Using myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings( "ASPNETDBConnectionString" ).ConnectionString) Dim myCommand As New SqlCommand(sql, myConnection) myConnection.Open() Dim reader As SqlDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection) When executed the above throws the error below. The strange thing is this query was built and works in the Visual Studio query builder but when I copy the sql to the page to use it, it fails. I have other query/subqueries that work fine, I cannot seem to find why ...Show All
Visual C# Managed Code Vs Unmanaged Code?
I have read a lot on managed code and unmanaged code,now what I could understand is that any code that targets the .net framework is Managed code (right ),which inturn means its under the control of the CLR @ runtime. Assuming the above as true, I suppose unmanaged code does not target the framework or it does not come under the control of CLR @ runtime Can somebody explain this if possible with code example so that I can undersand the difference...thx. Can you give a small example on how this is implemented And is it possible to find out if the code your currently executing is running as managed or un-managed (Some method in System.Reflection perhaps ) thanks, ...Show All
Smart Device Development The difference of WinCE 5.0 and its core version
Hi, What is the difference of WinCE5.0 and its Core version or Professional version Jeanet I saw the information from microsoft http://72.14.203.104/search q=cache:zFZzeGy4kOAJ:www.microsoft.com/downloads/details.aspx%3FFamilyId%3D13E7FBDA-9C51-4512-95E6-12CD351847B2%26displaylang%3Den+wince+5.0+core&hl=en&gl=ca&ct=clnk&cd=3 There are three run-time license options for Windows CE 5.0 : Core Professional Professional Plus ...Show All
.NET Development Visual Studio does not recognize .Net 3.0 or WPF
I have Visual Studio 2005, and have downloaded and installed the .Net 3.0 framework and the WPF extensions for Visual Studio. However, VS is still running 2.0, and not recognizing that the framework is upgraded. I see no changes in my control or project options indicating that WPF is installed, though control panel says both are present. This happens at work (VS Pro) and at home (VS Standard) under XP SP2. Any suggestions Lisa Morgan I have already downloaded and installed both the .Net 3.0 framework and the extensions for Visual Studio. But VS still tells me (in help, about) that I am running on 2.0, and I see nothing in the IDE to indicate additional functionality of WPF or WCF. I DO see new WW ...Show All
Visual Studio svn checkout through MSBuild
Hello friends , Anybody knows how to write task or anything which do svn checkout through MSBuild. i installed Subversion 1.3. its run fine on visual studio command prompt but when i run it through MSBuild by exec command , it gives error as "svn" invalid token. Hi Jay, Thanks . I got the solution. Its only the problem of quatos. Did you edited your code because priviously it was like <Exec command="svn checkout %22svn://server/production/Development/Version 5.522% %22c:\Documents and Settings\User\Desktop\test122%" Anyway, thanks again. ...Show All
Software Development for Windows Vista Microsoft.DirectX.AudioVideoPlayback.Audio - File LOCK
This is interesting and I really need some help please. While using this namespace to play an mp3 file, one might call this method. audioPlayer = Microsoft.DirectX.AudioVideoPlayback. Audio .FromFile(fileToPlay); You would then just call audioPlayer.Play(); Here's the problem: This object does not support playing a file from a memoryStream, but a physical file. So if your media is in a database for example, you must write the file to the hard drive and then play it. So far so good. However, once that file has played through this object and you direct it to play the "next sound", you CANNOT delete the first one! DirectX seems to keep a handle on the file you created. Thus, in a multi-sound application the temporary files ...Show All
Game Technologies: DirectX, XNA, XACT, etc. CDXUTDialogResourceManager cannot be deleted and recreated.
This bug took three days to track down. It's nasty! The sympthom was that every time I moved the D3D window from my primary monitor to my secondary monitor or vice-versa, D3DXCreateFont() would have a protection fault. Eliminating all of the fonts in my code reveals that other D3D functions were also throwing protection faults. It turns out that the fault has nothing to do with D3D, but is instead in ~CDXUTDialogResourceManager() of all places! What happens is that the destructor calls two obscene little functions: CUniBuffer::Unitialize() and CDXUTIMEEditBox::Unitialize() which unloads some .dlls !!! These uninitializers are not mirrors of functions that were in the constructor. The dlls were loaded by the CUniBuffer constructor and ...Show All
