Click here to Skip to main content
Page 1 of 7
Page Size: 10 · 25 · 50


Tag filtered by:  convert [x]
Answer 9 May 2013   license: CPOL
Or, you could just do the entire thing in Word. What you're describing is called "Mail Merge" and you can print the entire document to a PDF "printer" without a single line of code.
Question 9 May 2013   license: CPOL
Hi, I have a database(SQL Server) with thousands data items(each item is a trainee with all his informations), and a predefined word document as template, the requirement is - for each trainee- (Who's loggedon), fill corresponding data(trainee informations) into template fields, and generate...
Answer 2 May 2013   license: CPOL
Please, avoid the questions on the translation from VB.NET to C# or back, because this all can be done automatically.You can use Reflector or its open-source replacement ILSpy or one of similar tools:http://en.wikipedia.org/wiki/.NET_Reflector[^],http://ilspy.net/[^].Additionally,...
Answer 2 May 2013   license: CPOL
Remove these two lines: Debug.Fail("ERROR : We should never get to AddToCart.aspx without a ProductId."); throw new Exception("ERROR : It is illegal to load AddToCart.aspx ...
Question 2 May 2013   license: CPOL
Please i was following along the Tailspinspywork tutorial on asp.net found on this url http://www.asp.net/web-forms/tutorials/tailspin-spyworks/tailspin-spyworks-part-5[^]. The tutorial is a C# tutorial and i was following along in visual basic cause but i am still a noob at visual basic.net. I...
Answer 12 Apr 2013   license: CPOL
No.Each string has to be converted to an int individually - if your list box contains the values 1, 2, and 3, then your strings will be "1", "2" and "3", which are no integers. They are the string representation of integers instead.To convert them, you need to convert each element to an...
Answer 12 Apr 2013   license: CPOL
Array.ConvertAll(strArr ,p=>Convert.ToInt32(p));Hope this will Work
Answer 12 Apr 2013   license: CPOL
You cannot automatically convert an int to a string; the two are totally different types[^]. And, by extension, you cannot automatically convert an array of ints to an array of strings.
Question 12 Apr 2013   license: CPOL
Hi,I created a form in which, I have three listBoxes and one button. I put the integer value in listBox1 and ListBox2 dynamically(from user through textBoxes).I want, when i click on button1 first Concatenate the two listBox items in one string array and then it sort that values, and added...
Answer 10 Apr 2013   license: CPOL
Please see more thoroughly: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646293%28v=vs.85%29.aspx[^].This API works with virtual keys, same as, for example, .NET System.Windows.Forms.KeyCode. Those key codes are not scan codes, and not character codes as ASCII or Unicode...
Question 10 Apr 2013   license: CPOL
Hi people im trying to create an UI Application on which is shown what the User actually types and which will be shown on the Window of the Application, to say like a Bar on the top of the Desktop, on which the typed Keystrokes are presented and which will continuosly move from right to the left...
Answer 2 Apr 2013   license: CPOL
If you are looking for command line converter for code integration, use SlideGo.com SDK. It also supports full Powerpoint features (animation, media, interaction...).
Answer 18 Mar 2013   license: CPOL
See Marshalling C++ array in struct to C# struct[^]Cheers, Edo
Question 18 Mar 2013   license: CPOL
Hello guys, I need to use a C++ Dll at C#, so I figure that I need to re-write some structs and enums. I have this code at my header file in C++.#pragma mark STRUCTURES typedef void* QCam_Handle; typedef struct _TAG_CAM_SETTINGS_ID_GUID_STRUCT_ { uint32_t...
Answer 10 Mar 2013   license: CPOL
By keeping the same project, you can change the output type:1. Go to the properties of your project (right click on the project in VS).2. In the context menu, choose properties.3. In the window that appears, Select the Application tab (Should be the first one by default).4. Change the...
Answer 10 Mar 2013   license: CPOL
In your Program.cs You Must Run the GUI on another Thread :Just add For Exemple:Console.Write("Running the GUI...\nPress Enter To Abort"); new System.Threading.Thread(()=>{System.Windows.Forms.Application.Run(new ...
Answer 10 Mar 2013   license: CPOL
find main method wich is first method to start debug !write this line : System.Windows.Forms.Application.Run(new Form1()); // i consider Form1 is your windows form classthis line will make your windows form and will show it !do not forget to add System.Windows.Forms to your project...
Question 10 Mar 2013   license: CPOL
Hello :)For testing purposes I created a C# ConsoleLine application. Now I want to do a GUI and so I choose Project --> Add component and added a "Windows Forms" element. But although there is no Console.WriteLine or something left he always opens the Console and he does not show my Windows...
Answer 25 Feb 2013   license: CPOL
Hello Guilherme,There is no out of the box solution, as it is not clear what xml schema you need.However, that is fairly simple, since you can easily implement:1. reading the excel with C#2. create your xml file with C#Hers's an example for reading an excel:var fileName =...
Question 25 Feb 2013   license: CPOL
I need to convert some tables (XLSX) to XML using C# and Visual Studio 2010.And also I need to check if the column name are right, but my main problem is the conversion, I've found some solutions, but none worked.
Answer 24 Jan 2013   license: CPOL
iSpring's PowerPoint to HTML5 converter[^]. Works great, keeps all animations + easy to use (just click on button within PowerPoint)
Answer 22 Jan 2013   license: CPOL
I did as above but the following error messageStarting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead.in position Application.Run(new Form1());
Answer 22 Jan 2013   license: CPOL
Hi,Have a look here:http://gregs-blog.com/2008/02/08/how-to-convert-a-console-app-into-a-windows-app-in-c/[^]http://gregs-blog.com/2008/02/09/how-to-convert-a-console-app-into-a-windows-app-in-c-part-two/[^]
Question 22 Jan 2013   license: CPOL
using System;using System.Collections.Generic;using System.Text;using System.Net;namespace SpeedTest{ class Program { static void Main(string[] args) { Console.Title = "A simple speedtest app"; // the URL to...
Answer 22 Jan 2013   license: CPOL
Hi,Have a look at this articles about how to create a Windows Service:Creating a Basic Windows Service in...
Question 22 Jan 2013   license: CPOL
using System;using System.Collections.Generic;using System.Text;using System.Net;namespace SpeedTest{ class Program { static void Main(string[] args) { Console.Title = "A simple speedtest app"; // the URL to...
Answer 15 Jan 2013   license: CPOL
plz suggest thnxi am using itextsharp for converting my asp page to pdf...............i am facing css issue as my page is in div structure..............also getting error also but getting error:Protected Sub btnExport_Click(sender As Object, e As EventArgs)Response.ContentType =...
Answer 23 Dec 2012   license: CPOL
How to Search words or contents from the entire website pages or documents uploaded on website and display the results as link in a search result page using ASP.NET Mvc3?
Answer 22 Dec 2012   license: CPOL
I found IE API: SHDocVw.InternetExplorer IE = new SHDocVw.InternetExplorer();SHDocVw.dll in system32 folder. or In MS VS Add reference... -> COM tab -> Microsoft Internet Controls.
Answer 21 Dec 2012   license: CPOL
Thanks for the answer.1) Yes, i talk about browser about pages, like this: http://s020.radikal.ru/i716/1212/fc/723071822ab1.jpg(It doesn't matter what browser). And how browser create them? Based on template in dll-resources?2) Yes, true. But how i can say to browser: "Open this...
Answer 19 Dec 2012   license: CPOL
You mean 'about internet explorer' ? It's just generated by code in the exe. If you mean an about page that a site has, it's HTML on the site.You can keep data in memory without writing it to the file system, but you don't want to do that for too long. If the data is being moved in real...
Question 19 Dec 2012   license: CPOL
Hello! I create on C# library, which implement integration 2 Apps - KOMPAS 3D and Internet Explorer (Project's data, for example pics, displays in browser). The problem in transporting data (image of detail) without saving in such places as buffer, file on the disk, etc. 1) How can i...
Answer 12 Dec 2012   license: CPOL
Hi .I am using the third party component ABCPDF and it is license one.I am getting an error "Retrieving DOM failed due to access denied "
Answer 12 Dec 2012   license: CPOL
What does 'does not work' mean ? It looks like you're using a third party component ( as you would need to ). Is it installed/licensed on the server ? If it is, then there's nothing else we could possibly guess without seeing the error message, to help you.
Question 12 Dec 2012   license: CPOL
Hi .,I am using this code for converting word document to pdf. this code works in local system but it is not working in server windows server 2008 .Can anyone help on this ?Dim abcDoc As WebSupergoo.ABCpdf7.Doc = Nothing Try abcDoc = New WebSupergoo.ABCpdf7.Doc() ...
Answer 12 Dec 2012   license: CPOL
http://www.cambiaresearch.com/articles/25/convert-hex-string-to-dotnet-color[^]Enjoy
Question 12 Dec 2012   license: CPOL
Actually i using color extender tool to generate the colors....while i'm picking the colors, this tools return only hexadecimal values ...but i need to generate color name too...How to generate color name from this hex or RGB values????
Answer 12 Dec 2012   license: CPOL
You will have to cross reference the RGB values in a lookup table which contains the RECOGNISED colors
Question 7 Dec 2012   license: CPOL
Hello,I need code for how to convert rich textbox/free text box content(which contains text as well as images) to image file and save it in my local system using asp.net. Please help me to convet this.thanks in advance...sample code:protected void Button1_Click(object sender,...
Answer 7 Dec 2012   license: CPOL
Solution:Write this coding in button or whatever... System.Drawing.Color MyColor = System.Drawing.Color.FromArgb(val);
Answer 7 Dec 2012   license: CPOL
Follow this link you get an idea. Convert Text to Image[^]http://codesimplified.com/2011/12/13/convert-text-in-to-image-using-c/[^]http://www.fordevs.com/2009/02/convert-text-to-image-using-c.html[^]
Answer 7 Dec 2012   license: CPOL
Why have you posted this question when you have already been given the answer in the C# forum? Please post in one place only, and do not spam the forums.
Answer 6 Dec 2012   license: CPOL
string hex = "0x333366";int r = Convert.ToInt32(hex.Substring(2,2),16);int g = Convert.ToInt32(hex.Substring(4,2),16);int p = Convert.ToInt32(hex.Substring(6,2),16);--SJ
Answer 6 Dec 2012   license: CPOL
Try this I hope It will help youHow to convert Hexadecimal Color to RGB color (24 Bit)[^].keep smiling :):):) haapy coding:)
Question 6 Dec 2012   license: CPOL
Actually i'm using color extender to pick the color in asp.net...but while i'm picking the color it generate the hex decimal values....but i need only rgb values...Pls any one guide me....
Answer 22 Nov 2012   license: CPOL
http://csharpdotnetfreak.blogspot.com/2012/06/create-export-detailsview-to-pdf-aspnet.html[^]
Question 22 Nov 2012   license: CPOL
this is my codeResponse.ContentType = "application/pdf"; Response.AddHeader("content-disposition", "attachment;filename=UserDetails.pdf"); Response.Cache.SetCacheability(HttpCacheability.NoCache); StringWriter sw = new StringWriter(); HtmlTextWriter hw = new...

Page 1 of 7
1 2 3 4 5 6 7


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid