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

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

BrianYDP

Member List

gbvdh
SPEEDY9123
danni123
anubisascends
MffM
TWild
Jassim Rahma
Yoramkr
PersonalBushido
Rhubarb
Seena K
alan666
CJW99
vanilla_gorilla
Omniscient
London Calling
D--
RCS300
JoeBlow123
Reena33
Only Title

BrianYDP's Q&A profile

  • Audio and Video Development video zoom

    I'm working on a small function that zooms the video (with optional panning) but using the code below doesn't seem to work, any tips addEventListener("controller_key_down",keyPressed,true); function keyPressed(evt) { Player.video.main.changeLayout(0,0,Player.createVideoScale(1,2),0,0,1920,1080,"00:00:00:00"); } The above code should have changed the video on any key press. Peter said " You can only specify 0 duration if the video is paused; otherwise, you need a duration anywhere from 1 frame to 3 seconds" but this is wrong. I think what he meant to say was "if paused you MUST specify a duration of zero. If playing, anything from 0 to 3 seconds is good. ...Show All

  • Visual Basic releasing resources

    having created a user control (which contains a few buttons and text boxes ) and added several of them to a panel...how do i release their resources/memory when i want to clear the screen and start over do i need to create a dipose or finailize method in the user control class do i just need to iterate throught all the controls and call their dipose methods or something else how do i release all the variables associated with the class Thanks, Dan im opening a file and reading a template which im using to populate a form. there are several tabs with quite a few instances(30-50 instances per tab, 8-14 tabs) of a user control (which contains 8 controls) so maybe 2000 controls in all. ...Show All

  • SQL Server AMO - Memory Error !!! PLEASE HELP

    based on the Adventure Works example i decide to create the DSV, when i call the method ' AddTable ' as follows: ------------------- private void AddTable(Microsoft.AnalysisServices.DataSourceView dsv, OleDbConnection connection, String tableName) { OleDbDataAdapter adapter = new OleDbDataAdapter( "SELECT * FROM [dbo].[" + tableName + "] WHERE 1=0", connection); DataTable[] dataTables = adapter.FillSchema(dataSet, SchemaType.Mapped, tableName); DataTable dataTable = dataTables[0]; dataTable.ExtendedProperties.Add("TableType", "Table"); dataTable.ExtendedProperties.Add("DbSchemaName", "dbo"); dataTable.ExtendedProperties.Add("DbTableName&q ...Show All

  • Visual Basic Total VB beginer - WScript not declared?

    Hi guys, total beginer to VB. Only reason really using it is because the one app I'm using only supports VB for scripting and well here I am. I'm trying to link up with the application but I'm having problems early on... I have the following code: [start] Option Explicit On Module Module1 Const wait = 10000 Dim WSH Set WSH = WScript.CreateObject("WScript.Shell") Sub Main() End Sub End Module [end] And I'm already getting the error Wscript not declared --- what do I do Adding a little to show running notepad using shell from a VB command button click. Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim wsh As Object = ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Blitting?

    I've checked through the XNA Documentation, but there doesn't seem to be any way to 'blit'. For those of you unfirmiliar with 'blit': Blit is a way to draw something. For example, say you create a "Texture2D" variable, set the size etc... But the texture is blank. The normal way to create a texture to this is to load up a bitmap image with it through the ContentManager, right But what if you want to use a whole sprite-sheet with many images Back to the blank, say, 65 x 65 bitmap image, you obviusly don't want this 2D image of the player to be a whole 1024x768 sprite-sheet. So this is where I used blitting in other programs, it basically asks for the x, y co-ordinates, and the length of the bitmap and takes a picture from that x,y and 'c ...Show All

  • Visual C++ Compiler Error C3213 in C++/CLI

    Compiler error C3213 says: "A type that will be visible from an assembly must use publicly visible base classes." Can anyone explain to me why this is so If another assembly accesses my publicly visible derived class, why must my entire base class hierarchy be publicly visible in .NET nobugz wrote: You're right. .NET also doesn't allow private derivation. C++ doesn't have anything resembling .NET's ability to control accessibility at the compiled unit level. The closest unmanaged analogy to an assembly and public ref class is a DLL and the __declspec(dllexport) attribute. There is however no facility to prevent a DLL client from executing code in base classes that are not exp ...Show All

  • Visual Studio 2008 (Pre-release) InfoPath & WCFService

    hi i have designed a InfoPath 2007 Form to add client details to my database.. this InfoPath form talks with a WindowsCommunicationFoundationService(WCFService)..and i have written the logic in a button_click event... i am able to run the form..but after entering the details in the form and when the button click takes place its not going into the button click event....instead i am getting an exception message as follows " System.Security.SecurityException That assembly does not allow partially trusted callers. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) a ...Show All

  • SQL Server How to use the Microsoft OLE DB Provider for DB2.

    I follow the steps: 1.In configure OLE DB Connection Manager dialog, I click New. 2.In Connection Manager dialog ,I choose Native OLE DB\Microsoft OLE DB Provider for DB2. 3.In Connection Manager dialog I click the "Data Links" button. Now I am on "Data link property" dialog.  4.On connection tab, I enter fmdb for data source, which is my remote database name. On Network section I choose TCP/IP Connection and set the right IP/Port. Uncheck Single sign-on and enter the user and password. Then comes the Database section. Database name fmdb for Initial catalog,"fmdbrun" for Default Schema,  then what is Package Collection (My db2 database is in a AIX/RS 6000 box). 5.On advanced tab, I choose DB2/6000 fo ...Show All

  • Visual Studio Custom code. How?

    Choose and Switch and Iif get old pretty quickly. I'm trying to add some custom code via the report properties Code tab. I created a function in the code window (no intellisense) and tried to call it from a textbox's Expression by using Code. (read code dot) but the function doesn't show up. I can't find any examples of how to write the function and then use it. Any help greatly appreciated. And, can I use Select Case directly in an expression somehow rather than have to write separate code functions Wow, I'm getting out all the questions today. Deadline must be approaching. Amazing tip Dave. I had not seen this "code" tab. Can we write multiple functions in there Also can i refer to a val ...Show All

  • SQL Server Group By, Max(date) query problem

    Hello all: I have an invoice header and detail tables and a customer table using sqlserver 2005. The Detail invoice table has price and product id. The header has the date and customerID. I need to create a list of the most recent invoice date (and the product price) for each product for each customer. I can't use the group by because when I select both the max(date) and the price (as well as the productID and customerID which all have to be included in the group by) , I get more than one date per product per customer. I can only get the most recent date when I leave out the price and headerdetailID from the field selection. Any help would be appreciated. Here is sample data & results. invoiceHeadertable invheaderID ...Show All

  • Visual Studio 2008 (Pre-release) Joining nullable keys

    When you join nullable and non-nullable keys, you get a compile-time error unless you add an explicit cast. For instance, if Purchase has a nullable CustomerID then a join must be constructed as follows: var query = from c in Data.Customers join p in Data.Purchases on (int ) c.ID equals p.CustomerID ... This seems to work over both LINQ to IEnumerable and LINQ to SQL... is it the correct approach Is the need for a cast likely to go away in later versions Thanks Joe ...Show All

  • Windows Forms ClickOnce Error Message

    Hi, I'm getting the following error message & detailed report: 'Cannot download the application. The application is missing required files. Contact application venfor for assistance.' PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file://(PATH)/SerialSNMPWinApp.application Deployment Provider url : file://(PATH)/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application ERROR SUMMARY Below is a summary of the errors, detai ...Show All

  • Visual Studio Team System Form Fields

    Is it possible to write an onclick event for an <img> tag during web test recording.My requirement is I want to display an request only on the onclick on the img specified in the img tag.Is this popssible please help. I'm not sure I understand the question. Check out this document and see if you still have a question. If so, could you please clarify the question. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/WTAuthDebug.asp Thanks, Rick ...Show All

  • SQL Server CLR procedure implementation

    hi, i have created a class library to validate the pattern of regular expression. now how do i call it in an t-sql program so that the class library will read data from database and return the appropriate value i am trying to integrate the clr procedure.. but somehow i aint confident, about passing the parameters, chaman! Hi, there are several samples out there: http://msdn2.microsoft.com/en-us/library/ms131094.aspx (in this case with an additional output parameter) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Basic Uploading Files

    Hi there, I know how to upload a file to a remote server but it always comes up with a dialog box saying where it going, etc. Is there any code that stops that dialog box appearing. Thanks, AliQ Hi AliQ, Can you give us a little more information on the method/code you are using to upload the file Richard ...Show All

©2008 Software Development Network