Wil Herren's Q&A profile
.NET Development DVD Burning component
I'm currently using an obscure ActiveX control (DVDWriterPro2) for DVD burning in my app. I have been having stability issues with this control and would prefer something that doesn't have to run on a visible form and is a pure .NET component. I know Nero has some sort of SDK available and Roxio licenses their Authorscript burning technology (probably at a premium), does anyone have experience in this area Thanks, Luke Unfortunately this only supports CD's. I hear Windows Vista will have native DVD burning but as far as I can tell thats still about a year off. ...Show All
Visual Basic How do I serially send characters that have an ASCII value over 127?
I have been working with the new "SerialPort" tool provided with .NET Framework 2005 through VB. As an example, I am trying to send the following string, Chr(2) & Chr(152) & Chr(0) & Chr(3). However it keeps replacing Chr(152) with a Chr(63) (3F-a questionmark). I have tried changing the encoding to Unicode or UTF8 but that adds other characters that I don't want. The example provided is just a sample of what I may have to send. Some strings are 70 characters or more in length and could be virtually any combination of characters. How do I send the exact string I have constructed. I have done many applications using the ...Show All
Visual Studio Team System Max 260 characters in path + projectfolder-hierarchi + programname?
I have just had a strange error saying that there is a limit to the total length of the source control path + project internal path + program name that may not exceed 260 characters. That is obvously too little if you want a minimum of structure in both your team foundation server structure and your projects and you want to stict to describing names for your files. How to I change this setting regards Jens Chr Hello guys, I also experienced the same problem and tried chdir() but also it didn't work ...Show All
Windows Forms using binding context
Consider two tables as follows. parenttable---------------table name code description 1111 “Redr” 1112 “Blue” 1113 “Green” 1114 “Purple” 1115 “Yellow” childtable code customer qty address 1111 Kmart 3 sfdsf 1112 Myer 4 dfdsf 1111 Myer 5 gsdgsg 1111 BigW 2 gsggf 1112 Kmart 12 gfgfg 1113 Coles 432 gfgsd 1113 Myer 2 fgfgfg 1115 Safeway 4 sgsggs create these two tables in a xml file and read it to a dataset. &nbs ...Show All
Visual Studio set CustomBeforeMicrosoftCommonTargets=$(MyEnvVar)morepath/my.targets
set CustomBeforeMicrosoftCommonTargets=$(MyEnvVar)my.targets Why does the above not work with CustomBeforeMicrosoftCommonTargets and MyEnvVar both defined in the environment I would think that msbuild would expand the above value of CustomBeforeMicrosoftCommonTargets just fine before using it, but it doesn't seem to work. You should change your environment variable to: set CustomBeforeMicrosoftCommonTargets=%MyEnvVar%my.targets That way the shell will expand out the environment variable first, then MSBuild will get the expanded version of it. Neil ...Show All
.NET Development Get UserName and Last Name From Active Directory
Hi, I want to write a function that i give here a username, and my function returns me the user first name, and last name... How can i do that in C# 1.1 I don't know the details but you can look at the namespace System.DirectoryServices, there's a class named DirectoryEntry. Then check it's entry.Children, which has a e.Name. ...Show All
Visual Studio 2008 (Pre-release) PeerChannel throttling controls?
How does one properly throttle a PeerNet network when messages are pouring in faster than the receiving nodes can process them I'm trying to prove whether or not PeerChannel would make a good foundation for publish-subscribe style messaging that is reliable and robust enough for an enterprise. My initial testing has been very positive. PeerChannel is looking to be super-reliable so far. Sending 10,000 messages in a 5-node configuration: 0 message loss, 2,500 msgs/min to 4,000 msgs/min per receiving node Sending 100,000 messages in a 5-node configuration: 0 message loss, 2,500 msgs/min to 4,000 msgs/min per receiving node Send ...Show All
Windows Forms Printing 'page n of n' using System.Drawing.Printing
Using the System.Drawing.Printing namespace requires that the function used to print a page will know where it is in the document, and if there is more information to print then it sets a flag HasMorePages = true - then the function is called again for the next page. This is fine if you know exactly what youre printing - but if it comes from& ...Show All
SQL Server Why you don't call COM objects fro Script Component task?
hi, I was just trying to add COM reference but I don't see how. Let me know any info about this. TIA You need to use Interop I'm not an expert on this tho so don't take my word for it. This guy though DOES seem to be an expert, so take his word for it instead: http://www.codeproject.com/dotnet/cominterop.asp :) -Jamie ...Show All
SQL Server Execution of Package failed
I am trying to design package which would copy all tables and stored procedures from one server to another. It used to be simple task in SQL 2000, there was wizard. However the new wizard does not work... I wrote SSIS package, but when I execute I get the following error: "Can not apply value null to property Login..." Any idea It seems to me that this new SQl2005 is not that simple to use like 2000. 2000 was a great product. I am considering to rollback to 2000. Very frustrated with the new one... There should be more to the error message than that. Please can you copy the ...Show All
Visual C# How to resize an image programmatically?
How can I programmatically enlarge an image with the original image placed at the left bottom corner, and the enlarged area filled with specific color Thank a lot. You can use the Bitmap.SetPixel method but this is a slow method, you can also unsafe process an image wish is much faster! Take a look at this article at MSDN. ...Show All
Windows Forms Need help.
I've got the VS C++ 2005 Beta and downloaded the think thats already ticked and the MSDN libary, when I look in Start > All Programs all i can find for it is a command prompt, not what's meant to be there like on the MS website, please can someone help. Yea thats strange, go to your hard drive and then program files. ...Show All
Visual Basic VB 2005??? PT 2
Public Function Plus( ByVal ad As Integer ) Dim id As Integer Dim cm As Integer End Function I want to pass this fuction a varible that when i call it in the code i can enter any number and add it to another number any help with that, i know it sounds rather simple but i am not sure if i should pass two varibles or one i am thinking i should pass two and declare a local var and i dont know thats where i draw the blank....any help would be great You can do it something like Public Function Plus (Byval A as integer, B as integer) as integer Return A + B End Function Then just ...Show All
Windows Live Developer Forums msgrp2p.xml does not work for me?...
Please help with the simplest thing: I copied the SDK's msgrp2p.xml file into the msn messenger directory, closed and re-launched messenger (7.0) - and: no new entry was visible in Activities/Games. Thanks! OK! thanks. But then I ask - not possible to display it under the button as well Thanks, Maroy ...Show All
Visual Studio Express Editions Part 2: The Open Box
For some reason the opacity is not applying. It will ajust from 50 to 100 but not from 100 to 50. I have a checkbox in place to do this. Here is my code: Private Sub CheckBox2_CheckedChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox2.CheckedChanged If CheckBox2.Checked = True Then Me .Opacity = 50 Exit Sub End If If CheckBox2.Checked = False Then Me .Opacity = 100 Exit Sub End If End Sub End Class Thanks! It worked great. It would be nice if this was made more clearer in the help files. ...Show All
