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

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

TJC2

Member List

Ecrofirt
Tryston02
re infecta
SalmonCreekGames
Yuemingzhang
Dave987654321
Markus Feirer
Symbolicly
Becky N
zzpinkie
BBBXXX
MiXen
David Mc Dermid
Zhou Yong
Dylan Smith
vtortola
ghw123
Dottj
daica_ok
JoeSmith
Only Title

TJC2's Q&A profile

  • Visual Basic Bringing file into Stream

    I'm trying to bring a file I open from my hard drive and bring it into a Stream. I'm doing it this way because I want to simulate a test. I'm using VB.NET in Visual Studio 2003. This is a Windows application. When I get past the line "Count = pdfStream.Read(Buffer, 0, Buffer.Length)", "Count" is equal to zero, which it should be 8193. I think I am not getting the file to be recognized by the MemoryStream or perhaps the Buffer, but I can't see where to hook it together. Can you see where I'm missing it Thank you! ofdChoosePDF.ShowDialog() 'Choose the file from an OpenFileDialog box. Dim thePdfFileAndDirectory As String = ofdChoosePDF.FileName 'Get filename. Dim pdfStream As MemoryStream pdfStream = New Mem ...Show All

  • SQL Server Problem with reportfooter and header

    Dear sir, i am developing reports in sql server businessintelligence development studio...i deployed the reports in reportserver and i was able to see it..but my requirement is all my reports should have the same header and footer as of all other pages must uses custom footers and headers....hw to use thatcustom footer and header in my reports Regards, Pradeep Hi, do you want to create custom report headers or use the same for all reports This is not quite clear. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual FoxPro Fixed Format File

    Does any one know how to output a Fixed Format File Currently i'm outputing a file as comma delimitated, and it needs to be changed to a fixed format file Just to add on to what Dennis said - I think you're talking about fixed width, right It's called "standard data format"  copy to "FileName.txt" sdf ...Show All

  • SQL Server Top 10 Results

    I have the following table in a report: <Grouping Name="Top10IndustriesGroup"> <GroupExpressions> <GroupExpression>=Fields!SicDescription.Value</GroupExpression> </GroupExpressions> </Grouping> <Sorting> <SortBy> <SortExpression>=SUM(Fields!AccountMV.Value)</SortExpression> <Direction>Descending</Direction> </SortBy> </Sorting> </TableGroup> the table consists of the following colums, and I want to only show the top 10 results based on the SUM(Fields!AccountMV.SUM(Fields!AccountMV.Value) =(Fields!SicDescription.Value) | =COUNT(Fields!SicDescription.Value) | ...Show All

  • Silverlight (formerly WPF/E) Support for Streaming Servers ?

    I am currently trying to find out if support for any streaming architecture has been implemented in the FEB2007 release; ideally the Windows Media Server WMS architecture. I would like to be able to access streaming content under any of streaming protocols ideally rtsp:// or mms://. Our architecture is setup on WMS and I am typically working with 45-90 minute recordings. Due to the limited support for WMP on Mac OS X as well as compatibility issues with the latest Intel based macs, I am very eager to be able to replace the embeded WMP with a WPF/E based player, however I need the ability to seek to random points in a file. Also in looking at the docs, WPF/E is said to support WM9, I was wondering if it will be suporting all WM9 codecs ( ...Show All

  • Visual Studio 2008 (Pre-release) ListBox ItemTemplate Wrapping and others

    Hi all, I have the following troubles with my first xaml application and I would welcome any advices on them.... I have a xml with items like: <items> <SectionID>29</SectionID> <Title>Mezinarodni grant AVMEDIA-SMARTBOARD</Title> <Preamble> very long line of text next line of text </Preamble> <Time>2005-01-16 16:23:52</Time> </items> and I'm populating the ListBox using: <ListBox Name="ObjectList" ItemsSource="{Binding Source={StaticResource xmlItems}, XPath=/VeskoleOffline/items}"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel> <TextBlock> <TextBlock Text="{Binding XPath=Title}" FontWeight="Bold"& ...Show All

  • SQL Server Bulk Insert -- Access denied issues

    Problem: Insert a network file in the DB using BULK Insert Works for a local sqlcmd connection. Does not work for a remote sqlcmd connection. SQL Server is running on Machine 'WalRepTest'. User account for SQL Server Service: 'Domain\vivek_uppal'. This has admin privilieges on SQL Server machine and the machine hosting the file. I have 2 scenarios. Scenario 1 behaves as expected, Scenario 2 causes error. Scenario 1. Connect using sqlcmd from local machine Machine:                      WalRepTest Windows user:              Domain\vivek_uppal Sql login using the cmd ...Show All

  • Visual Studio 2008 (Pre-release) Getting errors when creating xaml control

    I am trying to create a SecureStringTextBox object in 3.0 using xaml. I created a control that looks like this: xaml code <TextBox x:Class="PP.Controls.SecureStringTextBox" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "> </TextBox> code behind namespace PP.Controls { public partial class SecureStringTextBox : System.Windows.Controls.TextBox { public SecureStringTextBox() { InitializeComponent(); } } } The above code compiles just fine. Now I create my test app which looks like this: <Window x:Class="TestControl.Window1" xmlns:g="clr-namespace:PP.Controls;assembly=PP.Controls" xmlns=" http:/ ...Show All

  • Visual Studio VSS2005 crashes several times a day

    Hi, Visual Sourcesafe 2005 is crashing repeatedly for me at these places: Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000122ba. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x000111de. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x0003426d. Faulting application ssexp.exe, version 8.0.50727.42, faulting module ntdll.dll, version 5.1.2600.2180, fault address 0x00043345. All of these seem to happen if I scroll/click the mouse immediately after performing DIFFs. I think all of the crashes are caused by the same bug so I'm ho ...Show All

  • Software Development for Windows Vista subclass handle external event activity

    Hi, I know this has been discussed before, but i can't find a way to override HandleExternalEventActivity. I'm trying to handle events only when a special condition is met (by giving a parameter to my event args). What is the best solution to acheive this So far i've tried to do as in the ExternalDataEventService, but i'm lost with the queue processing. Is there any sample available Thanks for your help. Hadrien HI. you can create SequenceActivity like below                   WhileActivity                       ...Show All

  • Visual Studio 2008 (Pre-release) Whats the best way to determine whether or not an Entity already exists in the DB

    I'm asking with regards to using Linq to Entities. Lets assume that before I persist an Entity, I want to make sure that it doesn't already exist. I notice there's a GetObjectByKey method, but it throws an exception if the key is not found. Also, I can't do something like... var e = (from c in model.MyEntities where c.Name = "Senkwe" select c); if(e.Count() > 0) //Can't do this because Count() is not yet implemented e.ToSequence().First() // Will throw an exception for an empty sequence (and First() is not even implemented actually) Any workarounds I'm missing Thanks. Senkwe Senkwe, Sorry about that. Misinterpreted your question. This code ...Show All

  • Visual C# How to check assignment of Event Handler

    Hi All, I have following line in my C# code : bkmkRow . Selected += new WordTools . SelectionEventHandler ( this . STTable_Row_BookmarkSelected); where bkmkRow is the Bookmark object of Word class (in VSTO). Now before assignment of "SelectionEventHandler" to "Selected" event, how can I check that any event handler has been assigned or not Any help Thanks in advance....... Joey, You might well be right. But either way I come at this problem, I don't think there is a clean solution. It is kind of an interesting problem though, if you think you have a solution that would be cool. My main goal here, however, was just to try to close out a thread that looked ...Show All

  • Windows Forms unable to import merge module 'vc_user_crt71_rtl_x86_---'

    Hi. This is for VisualStudio 2003. I have a deployment project that used to build fine. Very recently I started seeing the following error messages when building the msi file: unable to import merge module 'vc_user_crt71_rtl_x86_---' unable to import merge module 'vc_user_mfc71_rtl_x86_---' As a sanity check I tried building the last shipped version of this code and got the same error. Now, I *KNOW* this built properly when we shipped it, so I'm guessing this might be a system or setup issue on this particular PC. I did some searching on the web - I have confirmed that these files do exist in my C:\Program Files\Common Files\Merge Modules directory. I tried deleting and redetecting the dependencies for this deployment p ...Show All

  • Visual Studio Team System How to View line numbers in SQL Editor

    Hi, In errors and warnings lists there is a line number given where the error or warning occured. When I click on the error or warning it takes me to the correct sql script but I cannot find anyway to jump to the line number or at least turn on line number in the editor. Is this possible to view line number in sql editor if so how Thanks Don Yes, go to: SQL 2000 projects: Tools | Options | Text Editor | T-SQL80 | Display Line numbers SQL 2005 projects: Tools | Options | Text Editor | T-SQL90 | Display Line numbers Or if you want to change it for all languages Tools | Options | Text Editor | All Languages | Display Line numbers -GertD ...Show All

  • .NET Development Asynchronous Vs Threading

    Hi, I want to know what are the differences between Asynchronous invocation and threading.Does Asynchronous invocation creates a new thread Thanks, Suresh Hi, There are many differences, actually delegate async invoke (use a thread from the pool (async invocations may use threads or fibers) to execute (like queuing a task on the Threadpool object), so they can not be compared, one uses the other one. Threads are independent execution flow with its own stack. Imagine them as they are a different program running "at the same time" as your main program. When you want a specific task to be exceuted but as soon as you call it you want your program to continue the asynchronic invocation is d ...Show All

©2008 Software Development Network