kenny08's Q&A profile
.NET Development Sending MS Word document without using outlook.
Hi, We are looking for a way to send styled word document without using outlook. When u create a new mail in outlook word is used. In our project we have some standard word documents that can be used as mail. Only we don't want to use the outlook accounts / program of users but the System.Net.Mail mail system of .NET 2.0 Thanks, but we don't want to send the document as attachment. Like i said, when u type a mail in outlook, word is used as mail editor, so word converts the document into a html mail and sents it to the client using outlook account. We would like to do the same but without using outlook at all, so when we have a word document, the content of the document should be se ...Show All
Smart Device Development DesignerSerializationVisibilityAttribute - Workaround
Hello, i have got a public property which should not be set in the ...Designer.cs. Is there any workaround available to prevent the property from Designer serialization thanks It hide the Property from Designer ,,,meanse in VS you will not see the value but from code you can see it ...so I dont think there is a VS for ComPact .NET FW. So you can still use it ...Show All
Smart Device Development Problems with emulator & SQL Mobile 2005Hi -
Hi - I am having problems using the Windows Mobile 5.0 Pocket PC Emulator connecting in code to a SQL Server 2005 Mobile database file. I created the Database just fine and created some tables without problem from within VS 2005. Following is a code snipet of my connection attempt: (real password not shown) Dim myCnn As New SqlCeConnection( "Data Source=C:\Mobile\Test.sdf;Password=secretPassword;" ) Dim strGuid As String = Guid.NewGuid.ToString Dim strSQL As String = "INSERT INTO TestSig(ID,Signature) Values( , )" Dim cmd As New SqlCeCommand(strSQL, myCnn) Try Dim encryptData As Byte () = Crypto.Encrypt( _ [Global].Settings.GetString(SettingKeys.CryptPassphrase), ...Show All
Visual Studio Express Editions Fill an array from a text file.
Sir/Madam, I need to fill an array from a text file. My text file looks like this for different people. First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone First Name|Last Name|Address|Phone Do you know of any way to put these into an array from a text file where the "|" symbol seperates the columns Any help would be greatly appreciated! Hmya, I kinda figured that was coming. You are going to have to solve your problem the way the teacher wants you to solve it. For you to learn how to program. Asking for a solution here doesn't teach you anything. I'm rather glad that I didn't hand ...Show All
SQL Server USING BI Studio how to create Dynamic Connection String in SSIS Package
Hi I need help for Connection string: Requirement: When we create SSIS Pacakge using Businessinteligence studio.Each Source and Destination or whatever we using the Control required DB Connection. we connect theDB server and Database Table through manaully .Instead of Manual i need dynamic Global varible for Connection String .How to achieve this connection string. because suppose we create SSIS Package in Developement Server Latter We change the Server from Developement to Another Testing Server . at that time we dont requierd for changing manulay.any one pls reply me. Same as in Dotnet we give configiration XML file .we gave the Connection strng. how to in SSIS we do Thanks & Regards M.Jeyakumar ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will XNA Game Studio Express support multiplayer? (on the 360)
Please, please tell me that XNA Game Studio Express will support multiplayer... Singleplayer games are fun, but multiplayer games are 10x as fun. Jim Perry wrote: Even if it is early-mid 2008 how many people are going to have a game ready for multiplayer by that time Very few I'd imagine. Well, no one will, of course. You can't get a game ready for multiplayer if the devkit to create it doesn't exist yet can you ... and that's exactly my point. Seems it will be ages before we can even start to creating the things we want to. DT. Edit: After reading further I see these statements from MS representatives; 1. XNA GS Express will never support ne ...Show All
Visual Basic Vvarious user controls need to reference Module1.vb
Module1.vb needs to be available to various user controls which utilize methods in this file. Where do I put this file and then how do I reference it from within the user control projects Can I wrap these interop Functions into a class and instantiate it I can create a class library within a solution but not a 'module library' Thank you for allowing stupid questions. -Greg Module1.vb Imports System.Runtime.InteropServices Module Module1 Public Declare Function SetSelectedAxis Lib "foo.dll" ( ByVal Index As Long ) As Long Close! But you cannot declare an object as object.function. So, try changing your code to: Dim obj As New Common Jam ...Show All
Visual Studio Express Editions how can i change the groupbox boder and textcolor
hi how can i change a groupbox border color and the text displayed on the border. i don't want for it to change the text inside the actual groupbox. Thanks ramjamman (funny name) is correct in regards to changing the text font color. In regards for the border color of the groupbox, you need to implement/override the Paint event and code it there to change the border color or maybe make your own control for this. Not sure how to do this but thought I would give you a nudge in the right direction ...Show All
Microsoft ISV Community Center Forums Office 2003 and 2007 Primary Interop Assemblies (PIAs)
Microsoft has an MSI for installing the Office 2003 PIA and a different MSI for installing the Office 2007 MSI. The web site says that the 2007 MSI is for Office 2007. Will it support 2003 VSTO routines Will it install with Office 2003 Will it provid a return code if it doesn't install Will VSTO routines written for Office 2003 work with Office 2007 with the 2003 Interop installed Will the 2003 Interop even install in an Office 2007 machine. Yes, we can set up virtual machines and spend hours figuring it out, but shouldn't Microsoft have thought of thi an published it in MSDN or, butter yet, put it on the site that has the MSI's Why not do it right and release an MSI that installs the right PIA regardless of which version of O ...Show All
Audio and Video Development Run Media Foundation Application On Windows XP
Hello, is there any way to run media foundation sample or application without installing vista on local or virtual pc I can compile the samples by CMD shell which has been provided with microsoft windows SDK. Please help. Thanks Becky for your reply. If I use directshow and C#.net to develop a audio- video player then will it support in vista. Actually i want to make a player for vista. ...Show All
Visual C# [C#]How can I download a ".gif " file to my computer?
I have the address of the "gif" file, like http://XXX/a.gif , now I want to save it to my harddisk with the new name "bb.gif", how can I do that Thanks! Mohammad Al Husseiny wrote: you can write some thing like (add error checking etc) of course add System.Net; string fileURL = @"http://yourfileaddress" ; string fileSave = @"c:\test.gif" ; WebClient client = new WebClient (); client.DownloadFile(fileURL, fileSave); Thank you! :-) ...Show All
Visual Studio 2008 (Pre-release) can be done real time simulation with WPF?
i ll control mechanic robot arm.and i ll control it by visual c#.like this: visual c#---microcontroller------motordrivers---and i ll feedback from motor axesses than i ll send them to visual c# again. second part of my projects is that i ll do real time simulation.i must model robot arm and it ll get my angle variables from outside and it ll be rotate according to my variables.how can i do like this simulation what kind of way can be easy for me please anyone help me. WPF should be a good platform for this - depending on the quantity/rate of change of the data. I'm guessing you will want a data feed that is processed...you will likely have a set of data objects that you keep up to date based on t ...Show All
Visual C# how to convert pdf file to doc/txt file
i want to convert a pdf file to text file and then updates that file..after updating i want to convert that file again in pdf format. create an intermediate bitmap file. this helps you to do the transfer both ways. as im not an expert at coding level. but hope following will give a trigger. private Bitmap StringToBitMap(string paMessageCrop) { XmlTextReader readerText = new XmlTextReader(new StringReader(paMessageCrop)); MemoryStream memStream = new MemoryStream(); XmlSerializer serializerXML = new XmlSerializer(memStream.GetBuffer().GetType()); ...Show All
Visual Studio Team System FxCop and private methods
Hi All, When I run FxCop , it seems to only give me warning for my public methods and ignores my private methods. For example if I create the following methods public void wrong_case() { Console.WriteLine("Hello World"); wrong_case2(); } private void wrong_case2() { Console.WriteLine("Hello World"); }. I get the following warning . Warning 5 CA1709 : Microsoft.Naming : Correct the casing of member name 'wrong_case'. Warning 6CA1707 : Microsoft.Naming : Remove all underscores from member 'wrong_case'. As you can see , only warning for the public method are created. Any ideas Thanks Jimmy Jimmy, Yes you are right, unfortunately we haven't e ...Show All
Game Technologies: DirectX, XNA, XACT, etc. dual screen mouse
Something I cannot test currently: Is it possible to have a full screen DirectX/Direct3D application running on one screen of a dual screen monitor setup, a Windows application (or multiple) at the other screen and switch fluently with the mouse in and out of the 3D application to the windows applications and back Or does that work flawlessly only if the DirectX application is windowed The last time I had a setup like this was several years ago and I remember that when I started a fullscreen 3D application on one screen and resolution and so on was changed it totally messed up the visible desktop on the other screen, too. You should be able to do it by using a window resized to fill the entire scree ...Show All
