Software Development Network Logo
  • SQL Server
  • Visual C++
  • VS Express Editions
  • Visual J#
  • VS Team System
  • .NET Development
  • Smart Device
  • Windows Forms
  • Architecture
  • Visual Basic
  • Visual Studio
  • Game Technologies
  • Microsoft ISV
  • Windows Vista
  • Visual C#

Software Development Network >> Michael Dyrnaes's Q&A profile

Michael Dyrnaes

Member List

Stoober
ChrisMo
Wilco B.
Sunondo Ghosh
iouri
Andrew Whitechapel
Xpyder
Sridevi113347
manishvasani
flipdoubt
RebEl
Joe Morel - MSFT
CISCBrain
tsukelly
Pat.
JoeBuddha
Awaneesh
Smallmaj
Pawan Kumar Falor
ISIMike
Only Title

Michael Dyrnaes's Q&A profile

  • Windows Forms Generating code via codedom and assigning version to assembly

    I have an application which programatically builds and compiles DLLs using Codedom. I am building the source code using a stringbuilder and then using the CompileAssemblyFromSource option to compile the DLL. I would like to be able to set the AssemblyVersion attribute for my generated DLL so that I can right-click on the DLL and see the version number prope ...Show All

  • .NET Development Problems with WebClient.UploadFileAsync

    Hi, Consider the following code: //-------------------------------------------------------------------------- public Form1 {    WebClient client = new WebClient();    client.UploadProgressChanged += new UploadProgressChangedEventHandler (client_UploadProgressChanged);    client.UploadFileCompleted += new UploadFileCompletedEventHandler (client_UploadFileCompleted);    Uri uri = new Uri ( http://example.com/upload.aspx );    client.UploadFileAsync(uri, @"c:\somefile.bin"); } void client_UploadProgressChanged( object sender, UploadProgressChangedE ...Show All

  • Visual Studio 2008 (Pre-release) netMsmqBinding problem with messages larger than 65075 bytes

    Hi, I'm having a strange problem with msmq when stored messages are larger than 65075 bytes. The service starts consuming 50% of the cpu and can't receive the message, raising no exception. I'm using Windows XP + Feb CTP Here's a code sample: using System; using System.Configuration; using System.Messaging; using System.ServiceModel; using System.Text; // Define a service contract. [ServiceContract()] public interface IContract { [OperationContract(IsOneWay = true)] void Operation(string message); } public class Service : IContract { public void Operation(string message) { Console.WriteLine(message.Length); ...Show All

  • Visual Basic How to Use MailMessage to Send MHTML?

    I'm attempting to send an MHMTL document out as an email and am having issues getting it to do so. What I've done is created a windows service to poll reporting services for a "Web Archive" report (read in as a string or byte array via System.Net.WebClient) that I then want to send out to a set of people via System.Net.Mail.MailMessage. I'm aware that reporting services has subscriptions built in, but the situation is a little more complex than that and requires a seperate program to poll the report. What I'm looking for is some sort of code sample or something that demonstrates sending MHTML as part of the body of an email us ...Show All

  • Visual Basic Image2PDF? How

    Hi all, I want to convert images to PDF (in ordered lists), anyone can help me I looked over the net but can not find the sample code. Pls help. thanks all Well you need some PDF software for a start, something like PDF Maker or Adobe Acrobat... Then you need to reference this in your references section of your project. as this exposes whats under the hood. Try: http://www.colorpilot.com/pdfsample_vbnet.html for starters... Have fun! ...Show All

  • Visual C++ R6034 - attempt to load C runtime library without using manifest.

    I've got a 32bit C++/MFC application that gets the R6034 error on startup.  Seems odd as the application does have a manifest.  And another application that I build the same way starts fine. If I compile the applicaton 64bit, it fails with "Unable to start program..." Are there any ways to debug manifest/dependency problems Hi, any one have solution to the above mentioned problem ...Show All

  • Visual C++ modify 802.1x setting programatically for wired LAN

    Hi, I am new to microsoft forum. I think this is not the right place to put new thread for asking networking issue. So any body can tell me where should I start new thread for asking the networking issues   Well I m developing a DLL in VC++ which provides functionality to communicate with wireless devices(adapters). I m able to set the wireless user profile programatically but I don't know how to modify the profile on (wired)LAN specially 802.1x setting. I can modify all other settings like ip address,dhcp etc....etc....but unable to set 802.1x setting. It's very urgent...... Thanks in advance!!! Try it ...Show All

  • .NET Development What's the difference for VS1.1 and VS2.0 while consuming the same SOAP ENDPOINT registered in SQL 2005?

    I created and regitsered an SOAP End Point in SQL 2005, which takes a integer parameter and return a dataset. I built an app in VS2003 to consume this service, it failed with error like Type 'http://schemas.microsoft.com/sqlserver/2004/sqltypes:int' is not declared. An error occurred at , (1, 1945). However, it really worked in an app built in VS2005. .Net Frameworks 2.0 (Visual Studio 2005) DataSet object improved their support for more complex XSD schema structures such as the ones returned by a SQL 2005 SOAP endpoint webmethod. In certain scenarios, .Net Frameworks 1.1 (Visual Studio 2003) DataSet object will support a Da ...Show All

  • Visual Basic C# Conversion - AddressOf Delegate

    I am looking for help converting the following block of C# code to VB.Net: public static void CloseSplash() { frmSplash formSplash = SplashInstance(); if (formSplash.InvokeRequired) formSplash.Invoke(new CloseDelegate(CloseSplash), null); else formSplash.Close(); } I have used various C# to VB Converters... They return the following: Public Shared Sub CloseSplash() Dim FormSplash As frmSplash = SplashInstance If FormSplash.InvokeRequired Then FormSplash.Invoke(AddressOf CloseSplash, Nothing) Else FormSplash.Close() End If End Sub However this code generates ...Show All

  • SQL Server How do I check whether the Sql Server is installed or not in the particular machine in a network?

    How do I check whether the Sql Server is installed in the particular machine in a network within the same domain Suppose If i got a machine name as c-4200 in a network I need to display the all the database instances it has How do i do that Hi, there is an easySMo way: ServerConnection srvConnection = new ServerConnection ( "MyServer" , "myUser" , "mypassword" ); Server srv = new Server (srvConnection); foreach ( Database db in srv.Databases) { Console .WriteLine(db.Name); } HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • .NET Development send mail through c#.net

    hi i want to send mail through my c#.net application. i wrote following code but it is giving erro. so plz help me and tell me if another way to send mail. thanks and regards kavita MailMessage msg = new MailMessage();                 msg.From = "ksbhalodia@gmail.com";                 msg.To = "kavita.bhalodia@bizos.net";                 msg.Subject = "hi";                 msg.Body = "hi hello";  & ...Show All

  • Windows Forms How do I skip a column using tab key in a datagridview

    I have a entry system. If a user enter a itemcode in column1, then the description for that item is displayed in column2. So my next entry is in column3, but I have to press tab twice to get to column3, from column1. How can I move directly to column3 using the tab key Hi, Desperate, You can set the column for “read only” to keep people from typing into it (do this from the “columns” property on the datagridview), but AFAIK there’s no intrinsic way to skip over a column when tabbing. To do this programmatically, you’d really need to do something like track the KeyDown event on the datagrid view, see if th ...Show All

  • Visual Studio Team System Sharepoint Integration

    My company currently already has servers setup for Sharepoint already and want to try to use those for Team System. Does anyone know if its possible to point the Sharepoint integration to another server Or, does anyone know if its possible to move over data from an existing Sharepoint site to the one created by Team System Hi, It is possible use a remote WSS server though it isn't a supported configuration. A whitepaper is being written to describe the steps that need to be taken for this to function properly with TFS. I can probably post some preliminary instructions on how to do this if necessary, but they will be pretty rough. O ...Show All

  • Visual Studio Team System finding an exception

    hi, Can anyone tell me what are the different ways of finding out an exception hi, ihave another problem now. On finding the exception, i've to check for the presence of destructor in the target sample. How do i implement a rule which will check for destructors ...Show All

  • Visual Studio PInvokeStackImbalance was detected

    I am trying to create a smartdocument using Office 2003 professional edition and implementing the same on VS.NET 2005 edition. As soon as I load the winword.exe(as startup from VS.NET 2005) and attach the manifest in debug mode the following error is displayed. Can someone shed some light on how to overcome, any Microsoft VSTO or VS.NET Debugger team members, pls help ASAP. NOTE THAT IM NOT USING VS TOOLS FOR OFFICE 2003 ERROR: PInvokeStackImbalance was detected Message: A call to PInvoke function 'WRDomainSetup!WRDomainSetup.EverettPolicy::GetRequestedRuntimeInfo' has unbalanced the stack. This is likely because the managed ...Show All

©2008 Software Development Network