BradIsley's Q&A profile
Visual C# Accessing .AVI As Embedded Resource
I've got a project in VS2003 where I've added a number of images and a video clip as an embedded resource on 'Build Action'. I can access the images easy enough by using the following code: System.Drawing.Bitmap bitmap = new System.Drawing.Bitmap(GetType(), "sampleImage.jpg"); this .pictureBox1.Image = bitmap; The problem is accessing the embedded .AVI; both the ActiveX Windows Media Player and the DirectX AudioVideoPlayback r ...Show All
SQL Server XML Config files
I am new to SSIS. I created a XML configuration file for my package. I found lots of data on how to do this but I can't find anything on how to get the values back out. I am trying to get them out in a Script file. Any help and maybe examples would be appreciated. What are you doing with a script file, I don't understand what you mean, or why you need to do something else like this Configuration files are used to set properties within a pac ...Show All
Windows Forms Dataview Count changing on a sort?!
Anyone experienced this I have a dataview with a count of 3. and sorted by a certain column colA. after i run this command: dv.sort="" my dv.count is now 2. Any idea what is happening There are no events on the sort of the view of th ...Show All
Visual Basic VB 2005 Express beta: Replace loop not working
I have a text file with parameters like @@TextBox1@@, @@TextBox2@@, etc. I am trying to replace those parameters with the values of TextBox1, TextBox2, etc. It works fine if I explicitly state the parameter to be replaced as in: Dim fileReader As String fileReader = My.Computer.FileSystem.ReadAllText("D:\My Documents\Visual Studio 2005\textfile.txt") &nbs ...Show All
.NET Development .NET Remoting, IIS 6, and Error 405? Help!
I'm trying to get .net remoting set up in my application with server activated objects. Here's my server web.config: < xml version ="1.0" encoding ="utf-8" > < configuration > < system.runtime.remoting > < application > < service > < ...Show All
SQL Server Page count incorrect
I have a report designed to print in landscape mode. It uses a list control to print multiple records per page. When I preview the report in the browser, it list eight records per page and shows the report to be 350+ pages in length. However, when I print the report, I get over 550 pages with five records on each page. I have all the margins set to 0in. Could that cause this sort of behavior With preview, do you ...Show All
Windows Live Developer Forums Alternate Sources (specifically spelling)
I notce that the wsdl now defines a number of sources but they don't seem to return any results. Any clue as to when the spelling source may be available Also out of curiosity, what is the WordBreaker source Thanks! mp Dumb me, I was passing too much into the query node which was causing it to return 0 results. Spelling is in fact working. ...Show All
.NET Development FUSLOGVW.exe - doesn't work when used with COM?
I've been debugging an issue where my application has thrown an exception with HRESULT 0x80131040 when doing ::CoCreateInstance on a clsid associated with a C# component designed to be used from within a COM Framework. Searching found the following: http://blogs.msdn.com/suzcook/archive/2003/05/29/57120.aspx http://www.dnjonline.com/article.aspx ID=jul02_tech (needs registration) So, to debug my problem, I inserted the registry keys in HKEY_ ...Show All
Software Development for Windows Vista Will there be a new GetOpenFileName API that wraps/calls IFileDialog?
Similar to the way PrintDlg calls PrintDlgEx behind the scenes in 2000/XP when you don't have a hookproc, is there going to be something similar where you call legacy APIs such as GetOpenFileName and somehow it encapsulates or calls down to IFileDialog (IFileOpenDialog) From what I saw in the PDC video here: http://microsoft.sitestream.com/PDC05/DAT/DAT307.htm#nopreload=1&autostart=1 there is a ton of COM client code that need ...Show All
.NET Development How to delete a line from a text file using C#
Hello all I am developing a little app where I need to monitor a file that is update by several machines. I need to gather each line wrote by each machine so I need access to a specific line number and take that line, store it into a DB table and delete that line. I really don't know how to delete the line without parse the information into a string variable and rewrite the file. This can lake the app because the file can contain up to 1000K lin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. EDITING TOOL FOR COMPILED SOURCE
Hello Everyone: I'm just new in game development . I'm just wondering, is there a tool that I can download (free or buy it) to unpack a compiled source (e.g. .dll) and just add and delete codes inside the dll I tried Hex workshob and flexeditor but it won't let me do it. You know, instead of getting the source, modifying it and re-compile again, and all that , I thought it would be much easier to have this type of tool to save me time ...Show All
Visual Studio 2008 (Pre-release) How to show/hide column in GridView
Hi everybody, Please help me show/hide column in GridView of Avalon. Datagridview of window form 2.0 has visible property in order to show/hide columns. Every body solved my issue, please let me knows. Thanks. Steven Hi Michael I set width property = 0.However, I still resize this column when I move mouse on header column. Do you have another solution Thanks Steven ...Show All
Visual Studio Express Editions Click Event Procedures
This is what I have so far for this progam. The application calculates a members monthly dues. I need to code each checkbox's click event procedure so that it adds the charge or subtracts the charge from the total when the check box is selected/deselected. Please help!! Private golf As Integer Private racquetball As Integer Private tennis As Integer Private Sub uiGolfCheckBox_Click( ByVal sender As ...Show All
Windows Forms Icon of shortcut is disappear?
Hi, I have created setup with installing application shortcut in start/programs. After installing application I have the Icon in start/programs. When I send this shortcut to desktop the Icon on the desktop are disappear. How can I solve it Thank's Alexei Hi, This is link for my application installed by setup created in VS2003. In shortcut the Change Icon button is disabled. Thank's Alexei ...Show All
Smart Device Development How to handle different screen size and resolution
hi, I am developing a simple application where i dynamically create controls like labels. The problem is it looks different in different types of mobile devices (smartphones & PPC) with different resolutions and screen sizes.. in smartphone it might look ok but in PPC with different resolution the lables are overlapped. how should i implement my application so that the gui in general looks ok. Unfortunately, you need to design th ...Show All
