Shengl's Q&A profile
Smart Device Development COM issues
Hi. I am not exactly using C++ but using native/PInvoke calls from C#. I believe this would be more appropriate forum in asking this question. I have an MDA Vario with WM5. I am having trouble with trying to send data/set comm state to COM4. PLEASE help. I can get a VALID handle using CreateFile, no sharing, write only Firstly, I need to GetCommState so I can set the baud rate etc... I create a DCB and then: ...Show All
Visual Studio Team System Problem with Sharepoint
hi... i have a strange problem. im installing a Single Server for TSF. My steps: 1. Uninstall WSS 2 with SP2 (because accidentally i installed it in Typical Installation ) 2. i have tried to install de WSS 2 with SP2 but now in the wizard, there is no Type of Installation page , i mean, after the End-User License Agreement page, the Type of Installation page doesn't appear and the Summary page shows....i need to install WSS ...Show All
SQL Server Analyzing MDX query evaluation
Are there any tools or tricks for looking at how an MDX query is evaluated in SSAS 2005 Something that indicates how aggregations are being used, for example - sort of like a SHOWPLAN for MDX. Hi Kevin, If you're a PASS member, then the presentation slides should be downloadable, or you can order the physical media with MP3 sound. Now maybe Dave and Len are making their presentation (or equivalent info) av ...Show All
SQL Server How to iterate over a recordset?
Hi All, Many moons ago I wrote a blog entry ( http://blogs.conchango.com/jamiethomson/archive/2005/02/08/960.aspx ) about how to, in a script task, iterate over a recordset that is populated into a variable using the Recordset destination. My method there was to use ADODB.DLL but that's a bit "old school". Is there anything in System.Data to which I can cast the Object variable that will allow me to navigate the recordset stored withi ...Show All
Windows Forms scroll and focus bug
I realized that I did not post a complete question so I am doing the same post again with more information: have created a MDI parent form which has a UserControl inside. I create two instances of the form with the UserControl as mdi&nbs ...Show All
Visual Studio Visual Studio 2005 Install Error - DepCheck indicates Microsoft Visual Studio 2005 Professional Edition - ENU is not installed
Hi! I'm trying to install the VS 2005 Standard edition RTM, just fresh off msdn. I used the cleanup tull to cleanse my machine of the Beta2, and I wanted to install the new VS. *however* the install fails. The framework installs and is working correctly, just on installing VS I get an error "DepCheck indicates Microsoft Visual Studio 2005 Professional Edition - ENU is not installed" and the party is over. I have included the copy of my install ...Show All
Smart Device Development ProvideProperty / IExtenderProvider in xmta / genasm
With VS 1.0 it was possible to define the IExtenderProvider interface in my own assembly and define a Control in the designtime assembly which had a "ProvideProperty" Attribute. The VS designer generated code for the extended values. genasm doesn't allow that now. Is there any way to reuse the old SmartDevice Controls that implemented IExtenderProvider There has been a change in the wa ...Show All
Audio and Video Development Streaming AVI from memory to WMP
Hi, I am trying play an avi from a memory stream to WMP. I am able to play from disk but I NEED to stream it from memory for security. Can any one say how this can be done, maybe also how to using the Istream (which I dont know anything about , just researching). My platform is VB, .net framework 1.1, any ver of WMP :) Thanks MP Hi Michael, Media Foundation is the new multimedia platform t ...Show All
Visual Basic Problems with converting VB6 to VBNet handling of Fortran strings
I am having trouble with strings returned from a fortran DLL to a Visual Basic program. It works in VB6, but I can not seem to get it to work in VB.NET In VB6 I get the full character string, in VB.Net I get only the first character. The simplified VB6 code was as follows Declare Sub ABUT_DLL Lib "ABUT.DLL" ( ByVal vbMsgbox As Long) Sub vbMsgbox1(s1 As String) debug.print (s1) end sub Call ABUT_DLL( Add ...Show All
Visual Studio Express Editions Reading a files properties.
How do you read the properties of files on your computer. For example, an mp3's title, genre, or a video's compression or dimensions. Thanks. For basic file properties, like creation date, file size etc. you can use information from : System.IO to get some info. (remember to include Imports System.IO at the top of your class) Add a OpenFileDialog and a button to your form and put this in the Click_Event: Private Sub ...Show All
Visual Studio Express Editions Problem porting a Visual C++ 6 application to Visual C++ 2005
I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility Hi! You need to provide more information about your problem. Which library you use - MFC, ATL, WTL, STL... or clean Win32 API What function not working ...Show All
Visual C# Custom control draws incorrectly when moving another window over it.
This issue has seriously frustrated me. I am overridding OnPaintBackground to draw a gradient background in my custom control. It resizes great - very smooth, no flicker. When I try to move another window across it, it will repaint itself repeatedly... but it will repaint the area that was hidden by the window as if it was the entire control. So if I am starting the gradient from blue to green...When I move a window over half of the control, an ...Show All
SQL Server Selecting ProfileName to use by the SQLMERGXLib.SQLMerge
Hi I am trying to set the profile name for the merge agent to use during replication. currently I am setting .ProfileName = "High Volume Server-to-Server Profile" But it still defualts to the defualt profile during merge. Has anyone had any luck in setting the profile I know I can do it opn the server but we are imaging the computers on the lan first and then rolling them out to the client sites. Some will be only using dial up to merge c ...Show All
SQL Server Passing a report parameter to Reporting Services from VB
I have a Report that I want to access that has a parameter input for the date, Production_Date. I want to allow the user to use the DateTimePicker to select the date to use for Production_Date. I can't seem to find the correct way to format what I'm tring to do. My production date field is in a format without punctuation so that it becomes: Dim ProductionDate = ((DateTimePicker1.Value.Month * 1000000) + (DateTimePicker1.Value.Day * 10000) + ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Starter Help
Hi, I have been in development since last one year. now I want to make a 3D game with my skills in Vb.Net only. Can any one suggest the correct roadmap for me to become a Game programmer / 3D game programmer. Where can I find good tutorials on it. Thanks, HI, Well In India Such books are available but They are hard to find soon after it release. But I will surly get that book. Thanks Mr. David for such as good book..:) ...Show All
