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

Software Development Network >> Behrooz PB's Q&A profile

Behrooz PB

Member List

TRTwiggy
Lorry Craig
Codeme
Jagdish Kumar
Corby111
ClubbieTim
AJCruz
Krasshirsch
LastBoyScout
alejandrohidalgo
Blast
mt2
elixic
Sarah Cartwright
cosmicstudio
dsMqplp
curious_guy
Matty4242
Dan Mikkelsen
Asher Aslan
Only Title

Behrooz PB's Q&A profile

  • SQL Server Refreshing metadata of transformations in the data flow

    Hello, I created a slowly changing dimension object and used an OLE DB Source object with a SQL Command to feed it. After all the SCD objects are created, I get a warning about a truncation which might happen. I adjust the source query with the right converts, so the query uses data types and lengths which match the target table. I update the OLE DB Source with the new query. Column names are unchanged. Now how do I get this data flow to reflect the new column lengths Do I have to throw away all objects and recreate the SCD The refresh button in the SCD object doesn't do it. This is also a problem when adding columns to your dimension table. Because I modify the stuff that the SCD generates, it's VERY teadious to always have to th ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Beta 2 sneak peak

    The XNA guys did a demo of the beta 2 bits at Code Camp Seattle today. See my notes here http://www.thezbuffer.com/articles/424.aspx Please honour my request not to ask follow up questions here until the beta releases - I wrote everything that was public so its unlikely that anyone will be able to answer any of your questions until then. See also pictures of the demo code: http://www.thezbuffer.com/articles/426.aspx http://www.thezbuffer.com/articles/427.aspx Please honour my request not to ask follow up questions here until the beta releases - I wrote everything that was public so its unlikely that anyone will be able to answer any of your questions until then. Rather than a question...how about "clarificati ...Show All

  • Visual C# How to assign a shortcut key to a Macro?

    for example I generated a Macro and I want that it will be played by pressing Alt+U, how can I do that thanks, Uri ...Show All

  • .NET Development WSE 3.0 get UsernameToken

    How do i get my UsernameToken in a web Service [ WebMethod ] public string HelloWorld() { UsernameToken token = // how String username = token.Username; return username ; } Thanks. Paul. try this and let me know Put this code in the Aunthentication method of the customusernametokenmanager before you return password. strRole = new string [] { "" }; objIdentity = new GenericIdentity (token.Username); objPrincipal = new GenericPrincipal (objIdentity, strRole); token.Principal = objPrincipal; ...Show All

  • Visual Studio Express Editions visual basic 2005 command prompt help..

    O.k i have been looking around and still have not been able to find the answer. what i am looking for is the code that will send a command to dos prompt or cmd and execute it. You know like ipconfig iprelease / renew or netstat -a this way you dont have to go and type all this long stuff out everytime you need to release your ip or your trying to configure a network. I saw your post tall dude, i am not looking to open a program.. ok what i am trying to set up is a vb program that at the click of a button it will run ipconfig, ipconfig/releasor renew, that will also have a box that will allow me to tyep c:\test.bat or c:\windows\test.bat and run my bat file. as i am just learning to program i a ...Show All

  • Windows Forms using applicationsettings/propertybinding to save form size etc.

    I want to be able to save the following: The last position and size of the form when not maximized and the last windowstate. ie if the user closed the app maximized, next time I want it to open maximized, but if the user sets it back to a normal window, I want it to display using the save size and location (as Microsoft Word does). I have created three user settings with the appropriate type. If I bind these to the form properties, it seems to really screw up (it works ok until I add the windowstate, but I need this setting. Otherwise, if I maximize the form and then close and reload the app, the windowstate is set to normal, but the size is set to the whole screen). I have also tried setting these properties in the constructor and ch ...Show All

  • Visual Studio Express Editions how to Creating a user control

    i want to create my textbox that accept only numeric data as a user control. how can i add textbox events,methods properties in my user control All of these events have protected members whose name starts with "On". You can override them to handle the event before the base control gets it. Or you can just handle the event like you always did before. This example demonstrates both techniques: Imports System.Windows.Forms Public Class NumericTextBox Inherits TextBox Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs) '--- Select the text so that typing replaces it Me.SelectionStart = 0 Me.SelectionLength = Me.Text.Length MyBase.OnGotFocus(e) End Sub Private Sub NumericTe ...Show All

  • SQL Server How to match a Count Measure in Process Partition component in SSIS?

    I have a facttable, and it point to a Partition. In Process Partition component in SSIS, it ask to match the columns of the facttable to the Partition's Measures. I try and found all the Measures need to be point, or it will cause a mistake. But the quesiton is , I have a Measure which counts the num of rows. What column of the facttable I need to point to it Thanks. Just to clarify terminology - I think what you're referring to as "Process Partition component" is technically the "Partition Processing Destination" in SSIS. Because a measure with "Count" aggregation uses a "Row Binding", rather than a "Column Binding", you should only need to specify the fact table, a ...Show All

  • Visual C# Top Rated: September, 2006

    C# Top Rated Contributors for September, 2006 Here are the top rated contributors for the September, 2006 timeframe. Microsoft employees are not counted in this summary. It is important to remember that all the contributors to this forum who answer questions are valued and appreciated. Some who answer a smaller volume of messages may still make a big difference by answering difficult questions, or by being particularly thoughtful and helpful. All C# Forums Most Helpful · ahmedilyas: 55 · RizwanSharp: 34 · nbugz: 23 Most Answers · ahmedilyas: 109 · nobugz: 42 · boban.s: 24 Visual C# General Most Helpful · ahmedilyas: 32 · Rizwan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. blit from src surface to dst surface but these are created with different ddraw devices

    hi, i want to blit a surface to a primary surface but the src surface is created on a different directdraw device than the dst surface (primary surface for 2nd monitor...) and the BltFast returns " DDERR_DEVICEDOESNTOWNSURFACE" and the comment in the ddraw.h says: /* * Surfaces created by one direct draw device cannot be used directly by * another direct draw device. */ so does this mean that there is a indirect way for blitting surfaces belonging to different ddraw device best regards There's no way you can reuse a resource created by one DDraw device with another DDraw device... The best thing you can do is lock both surfaces, and memcpy() the contents between th ...Show All

  • Visual Basic Debugger problem "The breakpoint will not currently be hit. No symbols have been loaded for this document

    There was a similar question posed on the C++ forum back in February to which I responded yesterday, but unfortunately, did not get a response. I am therefore putting this question in the VB forum. I have a VB 2005 project which is actually an add-in to Outlook 2003, which was I was able to debug fine until earlier this week. Now I cannot debug it at all - the message in the subject is displayed when I hover the mouse over the breakpoint which shows a yellow icon in place. Can anyone here tell me what I should do to correct this I have checked as you suggested, but all items are as they should be and I still see the same error. This worked in March, but stopped suddenly just before I raised the origi ...Show All

  • Visual C++ LINK : fatal error LNK1000: Internal error during LIB::Search

    Hi, I've tried to build my C++ solution but got fatal linker error. The error message looks like: LINK : fatal error LNK1000: Internal error during LIB::Search Version 8.00.50727.42 ExceptionCode = C0000006 ExceptionFlags = 00000000 ExceptionAddress = 78144E9A (78130000) "C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\MSVCR80.dll" NumberParameters = 00000003 ExceptionInformation[ 0] = 00000000 ExceptionInformation[ 1] = 72B1D000 ExceptionInformation[ 2] = C000009C CONTEXT: Eax = 72B1EE0A Esp = 0012E458 Ebx = 00006408 Ebp = 0012E460 Ecx = 00000782 Esi = 72B1D000 Edx = 00000002 Edi = 00D9E194 Eip = 78144E9A EFlags = 00010212 SegCs = 0000 ...Show All

  • Windows Forms Smoother Refresh

    Is there a way to force a refresh without making a control's background turn white Info: What you'll find is that the .net Winforms engine sends WM_ERASEBACKGND messages like crazy. Setting the control styles works, but you need to set those in any components that will receive messages. Another approach is to over ride WndProc to ignore these messages: protected override void WndProc( ref Message m) { if (m.Msg == WM_ERASEBKGND) { m.Result = new IntPtr (0); return ; } base .WndProc( ref m); } Where WM_ERASEBKGND = 0x0014. I'd love to know WHY it does this, one woud think that ONE paint message would be enough. ...Show All

  • Visual Basic how to convert date in dd/mm/yy format in vb.net

    Hi buddies, how to convert date in dd/mm/yy format in vb.net. I am using dateadd function to change my months to one month back. dateadd("m","-1",datetime.today). It gives me date as 10 13 2006. I want it in 13/10/2006 format Thanks in advance ...Show All

  • .NET Development Controlling a pc with a standard remote control

    Greetings - I want to use a standard universal remote control to send commands (create events) on a PC and respond to those events using vb.net. Any suggestions for the most direct route to doing so Specifically, I have a program that I want to have respond to the user pressing "play" or "pause", etc on a remote. Thanks for any suggestions/pointers! im actually in the middle of doing this myself, but controlling from a Windows Mobile device! I've also created a WMP Remote control app for the mobile device, allows you to control WMP from the power of the device, so you can play/pause etc... and connect via bluetooth/wireless/gprs/usb cable.   I guess in your ca ...Show All

©2008 Software Development Network