markgrif's Q&A profile
Internet Explorer Development Headers not always printing Outlook 2003 after update to IE7
Today is February 23, 2007. My staff needs to print e-mails with headers as documentation with regards to contracts and deliverables. This documentation is critical. After distributing/installing IE7, not all e-mails printed completely; headers did not print. Is Microsoft working on this Have they come up with a solution We need to have this solved for legal purposes! Please follow the link below for help with this problem. http://support.microsoft.com/default.aspx scid=kb;en-us;931657 ...Show All
.NET Development How to generate ADODB.dll from cdosys.dll
I need to make MHTML from HTML. I searched google and found following link http://wiki.ittoolbox.com/index.php/HOWTO:Create_HTML_Multipart/Related_Email_in_.Net_Framework_1.0_or_.Net_Framework_1.1 sp=CM#Introduction which converts HTML to MHTML. It uses following code to generate ADODB.dll and CDO.dll C:\{path to project}\lib>tlbimp %systemroot%\system32\cdosys.dll /namespace:CDO But,When I am run the above command, I get only CDO.dll and no ADODB.dll is generated in the lib folder. I am using VS2003 and Windows 2000 . rticle clearly mentions to use ADODB.dll generated from above command. When I am using ADODB.dll shipped with .net framework, I get exception when html to be converted to MHTML gets big.Please provide some h ...Show All
.NET Development Embedding .dll file in Internet Explorer
Hi, I am experimenting with windows form. I tried to embed dll file in Internet Explorer and I run into Security Permission issue. The dll can't run. So I do some research and finally find a way to do it. Assign strong name to the .dll file. Then put the .snk strong name key file and .dll file together in a directory, use the .NET security configuration tool and increase the assembly trust to full trust. Then I am manage to run the .dll without any permission issues. But what I am not too sure is, since I wish to distribute this .dll file from internet through internet explorer, I believe not every user on the client side would have actually configure my .dll to have full trust on their machine. And if it is the case they would ...Show All
Smart Device Development versionning
Hi, is there any CVS for Visual studio 2005 I am keeping versions by copying the project to different folders and restoring the last working version, I think Visual sourcesafe does that but it is a little bit complicated i guess. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as of ...Show All
Visual Studio 2008 (Pre-release) Vista Beta 2 IIS7 setup
I've just upgraded to the new Vista Beta 2 build 5384 and am unable to get any of the WCF samples provided with the SDK to run. I'm pretty sure it's just an IIS7 setup issue. From reading around i've seen a few sites recommending that i add a MIME type mapping for the .svc file... but i cant' work out how to do that. This ( http://www.iis.net/default.aspx tabid=2&subtabid=25&i=1032) suggests that there should be a MIME Types item in the list of things i can configure for the default web site in inetmgr ... but it's not there Here's what i have done so far. Installed... 1. Vista 2. IIS - added the windows feature 3. Windows SDK 4. WCF (en_windows_communication_foundation_beta2_x86) 5. Visual Studio 2005 6. vse ...Show All
Windows Forms Textbox Jam
The textbox is bound to a binding source the data is verified on the keyup event; Private Sub tb54_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles tb54.KeyUp Dim tb As TextBox = sender Dim tp As Integer = tb.SelectionStart - 1 Dim i As Integer = tb.Text.Length For k As Integer = 0 To i - 1 If Not Char .IsDigit(tb.Text.Chars(k)) AndAlso Not tb.Text.Chars(k) = "." Then tb.Text = tb.Text.Remove(k, 1) tb.SelectionStart = tp Exit For End If Next End Sub if the text box is empty & a character is put in that's not a dot or digit it's removed & the app jams , the curso ...Show All
Visual Studio 2008 (Pre-release) Set the SignedInfo id attribute
Hello, I am building a Client-side web service that must output the following SOAP Header. <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"> <wsse:BinarySecurityToken valueType="wsse:X509v3" encodingType="wsse:Base64Binary" id="X509Token"> MIIEZzCcA9cgwaABQfd86afd2g... </wsse:BinarySecurityToken> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod> Algorithm="http://www.w3.org/2001/10 ...Show All
SQL Server Creating a DECLARE variable with SMO
How can I create this stored proc with the SMO StoredProcedure class It doesn't want to work and I think it has something to do with the DECLARE statement. Anyone know how I can get this to work Cheers Jon storedProc.TextBody = "DECLARE @GroupID int" + "SELECT @GroupID = GroupID FROM Groups WHERE (GroupName = \"Administrator\")" + "INSERT INTO gworkshop.Users" + "(GroupID, Username, Password, Active, Deleted)" + "VALUES (@GroupID,@Username,@Password,@Active,@Deleted)" ; I'm not in work right now so can't paste the code but basically its creating a server then the database name then in the storedprocedure I add parameters ...Show All
Windows Forms Drag and Drop problem(I have the code thoe)
Hey, For the image drag and drop stuff I ahve a little problem...I want it to drag and drop but I dont want it to totaly take the image out...So what I am trying to do is instead of making it so that when you drag and drop an image it goes that but the picturebox that you draged the image from will still have it's image in there...Here is the code: private void pictureBox2_DragDrop( object sender, DragEventArgs e) { // Display the image in the selected PictureBox control. PictureBox pic = (( PictureBox )(sender)); pic.Image = (( Bitmap )(e.Data.GetData( DataFormats .Bitmap))); if ((e.KeyState & CtrlMask) != CtrlMask) { if (sender == pictureBox1) { pictureBox2.Image = null ; } else ...Show All
Visual C# count number of files in c#
hi all i am trying to find a way to count the number of files in a particular folder. i have done the same very easily in visual basic 6 but as i am creating a similar application in c# i am stuck up with this.. can anyone please help me with a code snippet or provide me some kind of assistance.. thank you. it would be really greatful if someone helps me ...Show All
Visual Basic Eliminate redundant elements in a string array
I have a one dimensional string array with several hundred elements. Many of the elements have the same string and I would like to eliminate all the redundant string elements and wind up with a smaller array with only the unique string elements. Does anyone know of an easy way to do that with VB.NET 2003 Thanks, Lee You could create a hashtable with key type = string, value type = object and add each string to it and then copy the Keys collection to a new string array... Best regards, Johan Stenberg ...Show All
Silverlight (formerly WPF/E) What's The best way to communicate "bugs"
I've got an access violation showing up in IE when I shut my WPF/E based 'app' down. I fired up WinDbg, to capture the stack frames, etc, but without symbols, there's not much more I can do. The AV is in agCtrl.dll. I doubt this is the forum for this kind of reporting. MSFT, please let me know how I can help or what to do. Kevgor Hi Kevgor, I'm not sure if there is a real feedback form available, but you can post your bugs here. For your information: there are about 700 bugfixes and new features done from Dec to Feb CTP, so Microsoft is listen to this and other forums, blogs and sometimes chats. As WPF/E is in a very early state sometimes help here in the forum can help. ;) Michael ...Show All
.NET Development Serialization design problem relating to custom objects
Hi, I am developing a modeling application where custom objects would be created by certain external assemblies. These assemblies would be picked up on the fly by using reflection. In my application, I have defined an abstract class ObjectBase, which implements ISerializable. The custom objects would derive from this class. Lets say that a model is created, and a custom object from an external assembly is added to the model. Now we save the model. Saving is implemented using binary serialization. Now, I give the saved model file to a friend, who does not have the assembly present on his machine. In such a case, deserializing the model on his machine would fail. To overcome this problem, I have defined a placeholder object, called ...Show All
Software Development for Windows Vista DMO with multiple input , multiple output
I want to create something like multiple input and multiple output I have made changes here class ATL_NO_VTABLE CDelay : public IMediaObjectImpl<MyDMO, 2, 2>, // DMO Template (1 input stream & 1 output stream) public CComObjectRootEx<CComMultiThreadModel>, public CComCoClass<MyDMO, &CLSID_MyDMO>, public IMediaObjectInPlace I have made changes in the buffering model @ at output side (output with 2 stream is working but not the input ) but this isnt working I donno how to place...... Suggestion r welcome regards hameed perhaps things are tricky...I'm workin with codec which needs 2 input and two output....n I'm not using any a filtergraph...so this is appa ...Show All
Visual Studio Team System Feature Requests
There are some features of the existing Database Project type that would be great additions to VS2005 for DB Professionals: 1. Allow .PRC, .VIW, .TAB, .UDF filenames to be imported and provide color-coding. 2. Use the same editor features of the existing Database Project type which includes color-coding for those filenames, "Run Selection" support, as well as intellisense support when using Red-Gate SQL Prompt. 3. Allow specifying a default connection (other than the design-time DB) where the entire project could be built-to or a specific object. Wish List: 1. Add ability to Design table in Design view, versus script view. 2. When saving a script, build only the object that has changed and any dependencies, vers ...Show All
