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

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

SamuraiJack

Member List

Synced
omerk76
David Maynard
DiasVFX
xxfredxx
ZiggerZ
Tryston02
Susan S
Jarod.Net
sheldono
Jessica Alba
vinuhyd
chakravarthy_b
tokie
Maximilian Haru Raditya
Pramod_SN
Jack Hoxley
Brandon Merillat
Learning VB
FabMark
Only Title

SamuraiJack's Q&A profile

  • Audio and Video Development Mixing rate sink and rateless sink on a tee node

    I modified the WavSinkSample and inserted a tee node so I could also add an Audio Renderer output node. When I do this, the topology starts playing just fine. But it ends as soon as the WavSink finishes writing the wave file. Is this the intended behavior I would have expected the topology to stop when all output nodes are done processing samples. I tried a bunch of workarounds: - Changing the order in which I connect the nodes. - Set MF_TOPONODE_RATELESS to 0 on the WavSink output node. - Set MF_TOPONODE_PRIMARYOUTPUT to 0 (index of the audio renderer) on the tee node. - Set MF_TOPONODE_DISCARDABLE on the tee node for all secondary node. But none of these worked. Is there any ways to accomplish when I want or is this a bug Also, I tri ...Show All

  • Visual Basic Lost focus on Print Dialog Box in VB2005

    I am writing an application with print button to trigger a Print Dialog Box using VB2005 statement : If PrintDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then PrintDocument1.Print() End If Once the dialog box is shown, I need to click the dialog box first to activate before click other settings or OK to print. Have anyone have idea Is VB2005 bug I updated the VS2005 to SP1. Thanks. Hi William, Once you click the button, the PrintDialog will be activated automatically. Can you please a bit clear in your question Regards, Perumal.R ...Show All

  • Visual Studio Localizing Crystal Reports toolbar/export/print dialogs

    Hi, Looking at the feature in XI it is clear that Crystal Reports XI now supports localization of the viewer (toolbar/export popup/print popup) http://support.businessobjects.com/documentation/product_guides/boexi/en/crxi_WhatsNew_en.pdf I am using VS.NET 2005, CR XI, .NET 2.0 I have been unable to get CR to localize the toolbar/export popup/print popup. I have tried explicitely setting the page Culture and UI culture to "fr-CA" in Page_Init. I have also tried setting the thread: System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fr-CA"); System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-CA"); Checking the System ...Show All

  • Visual Studio 2008 (Pre-release) DoubleClick on FrameworkElement

    Hi, all. Is there any way to discover legacy doubleclick event on objects inherited from UIComponent or FrameworkElement, rather then from Control or I have to implement it myself Actually this code only exposes DoubleClick event, but not implements it. If you'll doubleclick this control nothing wil happen. No event will be fired. You should implement it yourself with f.e. protected override void OnMouseLeftButtonDown . One of simpelest ways to do it by adding something like this inside it if ((( TimeSpan )( DateTime .Now - currentTimer)).TotalMilliseconds <= System.Windows.Forms. SystemInformation .DoubleClickTime) { OnPreviewDoubleClick(); OnDoubleClick(); } else { currentTimer = DateT ...Show All

  • SQL Server SQL server 2005 workgroup edition in SBS 2003 R2 Max memory question

    We have only a small busines and haven't got too much experience with servers and now have a proliant server coming in with SBS 2003 R2 Premium with the 4 GB max memory that SBS 2003 can handle according to the specs. We weren't planning on using the SQL 2005 worlgroup edition up till now, but now we might. According to the specs of SQL server 2005 workgroup edition however, it has a max RAM of 3GB! Is this going to be a problem and should we keep using our previous DB, or can we migrate toward SQL server with the 4 GB of RAM ...Show All

  • Visual Studio Express Editions DateTimePicker needs "two goes" ....

    Recipe : 1) Open a new 'Windows Application' 2) Add a DateTimePicker, set the following minimal code: Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load AddHandler DateTimePicker1.DropDown, AddressOf GenericDTPFormatSetter End Sub Private Sub GenericDTPFormatSetter(ByVal sender As System.Object, ByVal e As System.EventArgs) sender.Format = DateTimePickerFormat.Long sender.CustomFormat = "yyyy-MMM-dd" End Sub End Class Set these design time properties of the DTP: .Format = DateTimePickerFormat.Custom .CustomFormat = " " This code allows the DTP to initially display as a blank, without any date showing at all. This is ...Show All

  • Visual Studio 2008 (Pre-release) hidden controls showing sometimes.

    I have a custom button whose template has several canvas on it. One button is shown per item in an observable collection, and it's look is defined based on a property of that object. I am databinding the visible property of each canvas to the CLR property on the databound item and using a converter with a converterproperty to set the canvas.visible to either Visible or Hidden. <ControlTemplate ...> <Canvas x:Name="Canvas1" Visibility={Binding ., Converter{StaticResouce MyConverter}, ConverterParameter=Canvas1}>... </Canvas> <Canvas x:Name="Canvas2" Visibility={Binding ., Converter{StaticResouce MyConverter}, ConverterParameter=Canvas2}>... </Canvas> </ControlTemplate> W ...Show All

  • Windows Forms How Could I Get the coordinates of the upper-Right corner of the control

    hi I Have a Panel That i will create many labels on it in RunTime But My Proplem Is That i couldn't get them in line i mean i want labels to be one by one ( try to make Text marquee ) my idea is to get the coordinates of the upper-Right corner of the Label So i can set the next label location Any One Could Help :) Hi Hope the code sample mentioned below will help you to place control one below the other.Basically getting the controls Top property. Label lblOne = new Label(); Label lblTwo = new Label();    this.Controls.Add(lblOne); this.Controls.Add(lblTwo); lblTwo.Top = lblOne.Top + 100; lblOne.Text = "one"; lblTwo.Text = "two"; Hope this helps. ...Show All

  • Visual Studio Team System What is the recommended action for when a debug Asssert window from the dev code appears?

    While testing today, a debug assert window from the dev code appeared. I clicked ignore for six windows and my test completed. If I had not been present, the test would not have completed. What is the recommended procedure for handling this Usually Debug Asserts guard error/unexpected cases in code help find problems quicker because they point exactly at the place when something goes wrong, not some time later. Hitting an assert usually indicates to a bug. You will see asserts only in debug builds. If you hit an assert, I would recommend to talk to the developer whose code the Assert fires from. You may also need to get symbols (PDBs) and source code, if available, hit Retry in assert window and ...Show All

  • Visual C# getHidGUId API call error

    I try to call the function HidD_GetHidGuid from hid.dll, but it gives me an error, can someone explain y thanks my piece of code is : public partial class Form1 : Form { [ DllImport ( "hid.dll" )] private static extern void HidD_GetHidGuid( Guid GUID); public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { Guid HidGuid = new Guid (); HidD_GetHidGuid(HidGuid); textBox1.Text = HidGuid.ToString(); } } the error (when i click the button) is : Attempted to read or write protected memory. This is often an indication that other memory is corrupt. thank u ...Show All

  • SQL Server Alerts and Jobs for transaction log processing

    Scenario: I have an alert defined which monitors the transaction log. It should start a job which should backup the transaction log once the log is 75 percent full. So far so good. The challenge is to give the database name to the command for backing up (in our case it is a external tool) the appropriate transaction log I know, that you can use tokens (A-DBN) to do this. I know, that there is a bug in this area, so tokens are not set correctly in SP1 Question: Is there any trick/alternative to create a workaround Regards Norbert ...Show All

  • Software Development for Windows Vista Vista Install Problems

    Hi, I installed and used the first 64 bit beta without issue but the other day I got an email to download a second RC1 beta. Again I download the 64 bit version. This time I get an install crash nearing the last reboot and I have to start the install from scratch again. I've re ran the install 2 or 3 times and I keep getting this crash. I have been installing vista on a spare drive so if you want me to post a log/dump file no problem. As it is I have resigned to the fact that I cannot trial RC1. im afraid these are the incorrect forums for your question. These forums are for software development. Therefore, I have to advice you to repost your question to the appropriate communities: www.microsoft.com/communities Thanks ...Show All

  • SQL Server starting SQLServer 2000 "network path was not found

    Hi, I have sqlserver 2000 running on winxp sp2. I recently had the HD changed to a larger drive all programs and files seemed to have transfered over ok. I just installed VStudio 2005 which put a copy of sqlexpress on the machine. Now when I try to start sqlserver2000 with the name of the machine I get: "An error 3 - (The system cannot find the path specified.) Occrued while performing this service operation on the MSSQLServer service." When I try to start it as local I get just "network path was not found" When I look at MSSQLSERVER Properties (Local Computer ) the path to executable is: "C:\PROGRA~1\MICROS~4\MSSQL\binn\sqlservr.exe" When I use windows explorer to look at: "C:\Program Files\Microsof ...Show All

  • SQL Server Logging Data Flow Steps in SSIS Package

    Hello. I am using the "SSIS Log Provider for SQL Server" to log events to a table for "OnError" and "OnPostExecute" events of a package. This works as expected and provides a nice clean output on the execution steps of the package. I am curious as to why I do not see any detail for any/all tasks that fall under the "Data Flow" section of the package though. For instance, on my "Control Flow" tab, I added a "Data Flow" task that simply loads a few tables from a target to destination server. However, there is nothing shown in the logging output. Just that a Data Flow task was initiated. And when I'm configuring this logging under "SSIS-->Logging" in the checkbox a ...Show All

  • Windows Forms Closing original Form

    If I have a startup form that allows the user to open other forms is there a way to close that original form or hide it until the user needs it again Thanks Thomas Changing the Shutdown Mode is what allows you to close the startup form without exiting the Application. To get a reference back to the main form, you can simply use the Forms collection in the My namespace: e.g. My.Forms.Form1.Show ...Show All

©2008 Software Development Network