vaidya's Q&A profile
Visual C# Howto create a thumbnail from a wmv file ?
I would like to create a thumbnail (any image format) from a Window Media Video file (wmv). Explorer does it when miniatures view is used so maybe there's a API that does this Thanks. Use the AxMediaPlayer to open the wmv file and navigate to position 0, here is a little example. You can find a releted newsgroup post here . ...Show All
.NET Development read multiple image from dataabse
have two table: data and image talbe. Data table Transactionid documenttype frontimage offset frontimage size 1934318415 CHECK 1 11264 1934318415 COUP 18433 27648 1934318415 COUP 57345 39936 The front/rear offset tell you where the image data in image table begins and the front/rear length tell you how many bytes from the offset to extract to get the image out of the . Image table.. Image table Transaction ID, Image 1934318415 Below i ...Show All
SQL Server Event notification and Service Broker
Hello, I read in one thread that Event notification can use Service Broker for delivery. How Service broker can be used in Event Notification for delivery of notifications any further links or related article Thanks in advance dipz Hi - The two technologies share some of the same terminology, and from a very high level they share a bit of the same functionality, but they are designed to solve diff ...Show All
SQL Server SQL Management Studio Macros
Is there any way to use Macros in SQL Management Studio like we can in Visual Studio and other MS apps This would be especially useful. If we can't currently can this feature be added. VBA Macros are pretty standard in all Microsoft apps. Thanks, Shane C Fischer Hi Shane, This is not possible, but a great idea. I'll submit it for consideration for the next release of SQL Server. Cheers, Dan ...Show All
Visual Basic Menu Item Checked Property Application Setting
I'm trying to bind the Checked property of a menu item to an application setting. But it just doesn't work. The item always has the checked state that I give it at design time. This works OK when I try it for a checkbox but not for a menu item. Here's the autogenerated code I have: Me .mnuasd.Checked = Global .WindowsApplication1.My.MySettings.Default.MenuChecked Me .mnuasd.CheckOnClick = True Me .mnuasd.Name = "mnuasd&qu ...Show All
Visual C++ Linking assembly with CLR static library in VS2005
In order to reuse functions which take both a CLR type and a native C++ type, which has no equivalent in the CLR type system, in its signature, I was told I must put my functions in a static library and compile with /clr. This I did and the static library was duly created. To use this static library in an assembly I #include the header file to the functions I want to reuse. To have the linker pick up the static library, I made the static library ...Show All
Visual C# API reference problem
I have an API is implemented as a 32-bit driver (WRG3API.DLL) for Windows 98, 2000 and XP. I want 2 use use it in my c# program. Would it b a best idea to use pInvoke to reference its functions. I tried to add the dll to my project 'refernces' in c#. through add reference option: but it gave me an error: Can any1 suggest what would b the problem. Is it got to do somthing with admin rights o O o(`'·.,(`'·., ☆,.·''),.·'')o O ...Show All
Windows Forms How to update Listbox items
Hi, Here's what I'm trying to do: I have a simple form that performs some file scanning tasks. I want a listbox on the form that will constantly show status updates i.e. "Starting to scan xyz", "Finished scanning xyz" etc. However, what&nb ...Show All
Windows Forms How to host your Windows Form Control created in vb.net or c# in an internet explorer.
hi all! I have received a lot of emails reagarding how to debug and to solve the problems that the users are facing when they are trying to host their Windows Forms Users Control(s) in an Intenet Explorer. So, we Start from here ------------------------------------------------------------------------------- First of all keep this thing in mind if your webform i.e .aspx pages are in test virtual directory then your windowsUserControl.dll file mus ...Show All
Visual Basic NullReference exeption dealing with array of listbox
I have an array of listbox, and everytime I try to copy items to one of the listboxs I get a nullreference exception error..the array is part of an record so I did a redim on it to no avail. Structure team_info dim logs() as listbox end struct For Each i As Object In ListBox1.Items logs(home.opps_played).Items.Add(i) this is where I get the error on the logs array :( I don't see ...Show All
SQL Server Convert Access CROSSTAB query to SQL Table or View
I have a Crosstab query that I need to convert to SQL to complete upsize of a large DB. I have a table (here referred to as Data) with the fields: Resource, Date and Count. I need to transform it to a table (or view) with a fields called Date, and one field for each Resource that exists in the Data table. The Data table looks like this: RES DATE COUNT res1 Jan06 5 res2 Jan06 4 res3 Jan 06 2 res1 Feb06 9 res2 Feb06 5 res3 Feb06 7 ...Show All
Visual Studio Team System Lack of Features in VSTS DBP
I think if Microsft like to do a good Database Professional Product is totaly necessary a diagraming tool, if Microsoft decide to incorporate this functionality to team system need to incorporate this, if not, the product is incomplete. Any type of intellisence will be appreciate, but it's more complex task because SQL languaje syntax, but diagraming tool is essential. Mario Software Engineering Mario, Do you mean a data modelling tool ...Show All
Visual FoxPro New to VFP please recomend any good books
Hi I have been tasked to update our current DOS based clipper 5.3 database system to VFP 9.0. We have already determined that all our data directly imports to VFP and we have started converting the screens from the DOS based clipper app to VFP. I have a VB programming background and some access programming experiance. I will have a VFP programmer available for about 20 hrs to train me. I would like to get any recomended books ...Show All
Game Technologies: DirectX, XNA, XACT, etc. dxguid.lib corrupt?
Hi. I'm trying to use DirectInput8 from the October SDK edition with Visual c++ 6.0 and when I try and link dxguid.lib (in order to get IID_IDirectInput8) I get the error: dxguid.lib(dxguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module Anyone else get this Or am I in a unique situation Thanks in advance. Try recompiling using a newer C++ compiler. This is the free Expres ...Show All
Visual Basic Hex function and Byte type declaration problem
I have a program that is supposed to format data into 4 hex bytes and sent thru the serial port. The declaration section contains the following: Dim Addr, MsData, LsData, CkSum as Byte Dim Cmd1, Cmd2, Cmd3, Cmd4 as Byte Data is input to the Addr, MsData and LsData bytes and ChkSum is computed as (MsData and LSData are parsed from a single text box input (0 to 4095 range): MsData = Int(InputData / 64) LsData = InputData Mod ...Show All
