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

Software Development Network >> The Last Muskateer's Q&A profile

The Last Muskateer

Member List

Baris ERGUN
DennisW511
hazz
elittle27
rebeccat
zenox
gudel
pwhitaker
kts
Selva kumar
R8VI
tvcouch
Etowah_man
toky64
.net sukbir
dbland07666
R2ks
gzcjun
JohnmanCarl
dan.maniac
Only Title

The Last Muskateer's Q&A profile

  • Visual Studio Tools for Office Converting Office documents to PDF using csharp

    hi, Please get me code snippet for converting excel and powerpoint document into pdf using csharp . I have installed VSTO 2005 Second Edition.exe as well as Plugin SaveAsPDFandXPS thanks in advance Please ask this question in the object model group specific for each of the applications. These are the better resources for questions that aren't concerned specifically with the VSTO technology. Note that you should simply ask how it's done, using the object model. The answer will likely be a VBA code-snippet, but that can be "translated" fairly easily to C#. If you have difficult with turning VBA into C#, you can ask for assistance in the office.developer.automation newsgroup. Please see the " Please Read First " mes ...Show All

  • Visual Basic Windows Service - Out of Memory Exception

    I have created a windows service using vb.net which uses a filesystemwatcher to monitoe files in a specifc directory, if images are added to the directory they are resized and saved in a remote directory. The original file is then backed up and deleted from the image directory. The code is as follows Friend Shared Sub ResizeImage(ByVal path As String, ByVal filename As String) Dim asr As AppSettingsReader = New AppSettingsReader Dim sRemoteDirectory As String = CType(asr.GetValue("RemoteDirectory", GetType(String)), String) Dim sBackupDirectory As String = CType(asr.GetValue("BackupDirectory", GetType(String)), String) ' Dim img As Image = ImageFromFile(path) (This was put in as an alternative but p ...Show All

  • SQL Server Excel 2003 PivotTable Field List measures sort order

    We have OLAP database migrated in AS 2005 but still using client Excel 2003 Pivot table reports. Finally all dimensions looks good. As we expect in Excel 2003 field list - measure groups and calculated members are coming in one flat list but "there is no sort order". I looked in to properties of cube (in my case virtual cube with 5 linked cubes/object) and dimensions didn't find any thing. I know we can arrange order with in one cube by using "move up/move down" option but that doesn't help when there are more then one cubes and calculated members in virtual cube. I need to some how sort in virtual cube or while reading virtual cube from excel. ( sorry! don't know what to call the cube with 5 linked cu ...Show All

  • Windows Networking Development DSCP problem with Windows Vista

    Hello everybody, I have an application that use Traffic Control API to apply a DSCP value on a specified flow. This works fine under Windows XP and should also work fine with Windows Vista. But that is not the case. My application is running with the "Administrator Privilege" as required. Is somebody able to give me information to solve my issue Please let me know. Unfortunately, prior to Vista and Longhorn server, there are no user-mode APIs that enable setting DSCP for IPv6. The main reason for this is because the XP IPv6 stack is completely different than the IPv4 stack, and the QoS platform was written to only support IPv4. The only way you can accomplish this would be to write a kernel ...Show All

  • Visual Studio 2008 (Pre-release) Is there a control like LinkLabel in WPF?

    As we know, Linklabel is a winform control, it is inconvenience to use in WPF. Is there a control like LinkLabel in WPF I have implemented such control. Take a look here . ...Show All

  • Visual C++ casting managed object reference to void*

    I have a managed C++ class, inside one of its methods I need to pass 'this' reference to an unmanaged method as type 'void*'. I used to do this in VS.net 2003 with : GCHandle::op_Explicit(GCHandle::Alloc( this )).ToPointer() and then I could convert it back to an object reference using: MyClass* var = __try_cast <MyClass*>(GCHandle::op_Explicit(IntPtr(context)).Target); // 'context' is the void* variable pointer I cant use this anymore in VS 2005... whats the equivalent syntax now (Im not the strongest C++ programmer, and had just gotten the hang of C++ extensions 1...) Thanks guys - Adam Your question looks similar to one I fielded recently.  Someone needed to pass ...Show All

  • Smart Device Development Installed Programs is deleted after à cold reboot

    Hello I have some problems with the deplyoement of an application on windows CE 5.0 on an Psion 7535. I install the SqlClient and the application and it's ok. The application run correctly. But!!! When i do a cold reboot, or put out the baterie for a long time, the sqlclient dll and the program (the schorcut to) diseaper. So, i test whith an install on the flash disk of the device. Dll an program stait in memory an works good. but after a cold reboot, an error appear again and the program didn't start. Funny, when i go to remove program to look at installed application, the program and dll are present in the list. Is someone know how to install correctly an application and be sure that it's stay in memory even the powe ...Show All

  • Visual FoxPro FontCharSet error in Windows 98

    Hello Can you help me in this With windows 98 I have error 2005 (You have attempted to set a property to an illegal value through the language) in fontcharset when loading form. Form contain objects with different fontcharsets. In other operating systems w2000 or XP I have no problem. Visual FoxPro 9.0. Thank you. >>Form contain objects with different fontcharsets. >> In other operating systems w2000 or XP I have no problem. Sounds like a required font may not be installed on the Win 98 machines - if you are referencing a font that only shipped with Win2K or later this would explain the problem. But without knowing which fonts you are trying to use, or which one is causing the error, ...Show All

  • .NET Development I need to be able to fill a Date Type field with a null value.

    I need to be able to replace a date field with a Null value if the user has entered a date into that field and it really wasn't suppose to have any info in it. Does anyone have a suggestions as to how to do this It is really starting to frustrate me. Thanks in advance for any help. Try this: .Add( New SqlParameter( "@printDate" , SqlDbType.SmallDateTime)).Value = System.DBNull.Value ...Show All

  • Windows Search Technologies WDS 3.0 requires me to use cached mode in outlook 2003?

    Is there anyway around this 2.6 does not require this and it searches all of my main mailbox email just fine. I can enable the option but im scared that it will somehow slow down outlook or cause problems when I use outlook from home on the web interface. I saw an older thread that said there was a way to disable this in the registry but I do not have the registry folders listed in that post. Is there a way to disable this or is my only choice to go with cached mode I am using WinXP Pro SP2 with Outlook 2003 and MS Exchange Server. Just for reference, email search worked fine on my main mailbox using 2.6. Thanks! so, i found the answer from microsoft i have recived. WDS 3.0 can index uncached excha ...Show All

  • Software Development for Windows Vista pass paramters to InvokeWorkflow Activity

    I am invoking a workflow from within a workflow. How can i pass in parameters Angel, I would like to extend your example in 2 ways: a) Can I add your InvokeWorkflowActivity sample code to a CodeActivity Execute method ...i.e. is there a way to not only programmatically create and configure the InvokeWorkflowActivty but to also directly execute it from, say, a CodeActivity   If so, now b) If the workflow I'm invoking is a StateMachineWorkflow, can I use the ParameterBindings to override the InitialStateName for the new instance of the state machine workflow Thanks, Michael. ...Show All

  • Visual Studio 2008 (Pre-release) Can't assign MenuItem's icon property using setter. Get Error!

    Can someone tell me why this doesn't work <MenuItem.ItemContainerStyle> <Style TargetType="{x:Type MenuItem}"> <Setter Property="Header" Value="{Binding XPath=@Title }" /> <Setter Property="Icon"> <Setter.Value> <Image Source="{Binding XPath=@IconSrc}"/ > </Setter.Value> </Setter> </Style> </MenuItem.ItemContainerStyle> I get the following error... {System.Windows.Markup.XamlParseException: Cannot add content of type 'System.Windows.Controls.Image' to an object of type 'System.Object'. Error at object 'System.Windows.Controls.Image' in markup file 'M ...Show All

  • SQL Server How to apply SQL Server 2005 Express SP1 to the version of SQL Server 2005 Express which installs with Visual Studio 2005?

    When I installed VS 2005, it installed the default version of SQL Server 2005 Express that ships with Visual Studio 2005 installer media. How can apply SQL Server 2005 Express SP1 to update this existing instance Currently, if I run this query: SELECT @@version I get the following: Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Express Edition on Windows NT 5.1 (Build 2600: Service Pack 2) After applying SP1, I should get 9.00.2047.00. Should I just go to this link and download & install the SQL Server 2005 Express Edition SP1: http://msdn.microsoft.com/vstudio/express/sql/download/ Thank you, Bashman ...Show All

  • Visual Studio Express Editions Is Visual Basic 2005 Express Edition included on an MSDN CD/DVD

    Hi Does anyone know where to find the "Visual Basic 2005 Express Edition" in the MSDN DVD's. I would rather use that then wait hours to download it. Thanks I am hoping you can tell me the DVD number I am wanting to get the express edition specifically for the extra resources it supplies (as i am migrating from VB6).. Thanks. I'm pretty sure that you won't have to stoop down to the Express edition with a MSDN subscription. It's download only, pick the right DVD to install the retail version... ...Show All

  • SQL Server Oracle odbc driver on windows 2003 64 bit, SQL Server 2005

    God morning! I 've just installed SQL Server 2005 on Windows 2003 Server 64 bit. One of my databases need to connect to seveal Oracle databases. - I tried installing 64 bit Orcale 9 on this server. Got a strange message that the application (Oracle 64 bit) could not be installed on a 32 bit server! Strange! - I installed Oracle 9 32 bit on the server, but I could not find ODBC driver in the Data sources! Neither the oledb under providers in MSS Manager Studio! - Same result efter several desintall and installation. A college copied the .dll files och run a script to register the dll files. We could then se the Oracle driver in the Database sources, but we could not create any connection. - We have even tried an 10G version of Oracle with t ...Show All

©2008 Software Development Network