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


Author filtered by: stevenandler [x]
Answer 13 May 2013   license: CPOL
Thank you this works perfectly!
C#
Answer 13 May 2013   license: CPOL
I tried using the path HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Adobe\Acrobat Readeran exception is thrown "Object reference not set to amn instance of an object. "
C#
Question 13 May 2013   license: CPOL
There are a number of posts already on Code Project but I just can't get this program to read the path from the Registry where Adobe Acrobat is installed.Here's the code: private void Form1_Load(object sender, EventArgs e) { RegistryKey adobe =...
C#
Answer 3 May 2013   license: CPOL
Thank you for your help. It took me a little while to fugure this out and I did need to provide some padding in order for the grid headers not to be chopped off.
Question 25 Apr 2013   license: CPOL
I have a C# Windows Forms Application designed with MS Visual Studio 2010 Ultimate. Everything works fine except I am unable to get the DataGridView which makes up most of the space on the form to Maximize when the user chooses to maximize the form to fill up the whole screen.I there a...
Question 13 Mar 2013   license: CPOL
I have written stored procedure for MSSQL and I call it from a C# program. it works fine.I have created the same code for Oracle and it throws the exception ORA-01036: illegal variable name/number,Here is my C# code if (DataBase == "MSSQL") // this gets executed if using MSSQL ...
Question 21 Feb 2013   license: CPOL
I am currently using a DLL library called dsofile.dll to programatically set extended file properties for Office documents. I am doing this in C#.Can someone tell me if there is any programming solution to set extended properites of a PDF file?
C#
Answer 19 Feb 2013   license: CPOL
string test=listBox1.SelectedItem.ToString().Split(' ')[0];Works Great!Thank you very much!
C#
Question 19 Feb 2013   license: CPOL
Am am trying to display the user selected item in a messagebox.The following command works find.MessageBox.Show(listBox1.SelectedItem.ToString()); I would like to suppress part of the Selected Item after a blank space by using the Split Command like this: string...
C#
Question 14 Feb 2013   license: CPOL
Here is a snippet of code which I found on another Code Project post.using System;using System.Collections.Generic;using System.Text;using iTextSharp.text; using iTextSharp.text.pdf; namespace pdf{ class Program { static void Main(string[] args) ...
C#
Answer 12 Feb 2013   license: CPOL
I actually started to look t this last week but couldn't get any support ( which I can understand since it's free). I am looking to create a laboratory report. In one of their examples they build a bridge.using BitMiracle.LibTiff.Classic;namespace WriteTiff{ class Program {...
C#
Question 12 Feb 2013   license: CPOL
I am looking for some tools that will allow me to create a TIFF document and then save it to a folder. If there isn't any built in tools, please recommend an add-on package.Thank you
C#
Question 12 Feb 2013   license: CPOL
My code writes out a string of data to a file.If the same file name is to be written out, I would like the file to be deleted or overwritten. What is is happening is the file is being appended.Please look at the snippet of code below.if (!Directory.Exists(@"C:\LABREPORTS\" +...
C#
DBExpress sample code by stevenandler
Question 21 Dec 2012   license: CPOL
I have been given the task of learning the DBExpress Components which are used to create SQL Database applications in Delphi. I am looking for sample console application code (not VCL visual samples which are very easy to find) for the seven DBExpress components.Any Websites, tutorial or...
Question 26 Nov 2012   license: CPOL
I am trying to help someone with a non-profit organization. They have developed a web application using a development tool called Wild Apricot. They need to add a page which will allow the user to search tapes by titles or subjects. I was actuallty able to do this by creating an ASP.NET webform....
Question 21 Nov 2012   license: CPOL
I have an ASP.NET App where I am creating a Gridview based on the user's search criteria. The file is a text tab delimited file. I am able to create the Grid but I am not able to select a row. Here is my code and ASPX page.using System;using System.Collections.Generic;using...
Question 6 Nov 2012   license: CPOL
The following is a very basic email program program I wrote using Delph 7.The program bombs out when executing SMTP.Send(Email); The message is Exception EldProtocolReplyError in Module SendEmail.exe at 00025AB4.5.7.0 Must issue a STARTTLS command first. co1sm11098818vdc.10program...
Question 5 Nov 2012   license: CPOL
I just created my first DLL using C# in MS Visual Studio 2010. My executible was also created in C# and everything works fine. The only issue I am having is, my program only runs if the DLL is in the same folder. Please tell me what I need to change in either my program or dll so I will be able...
C#
Question 24 Oct 2012   license: CPOL
Looking to do something which should be straight forward. I want to take a file and read in each line and add a tab after the first word of each line and write it out to a new file. here is my code:using System;using System.Collections.Generic;using System.Linq;using...
C#
Question 23 Oct 2012   license: CPOL
I am trying to pass a DropDownList from one page to the other.The code from the first ASPX page is:if (validLogon) { Session["FacilityNames"] = FacilityNames; Session["User"] = txtUser; Response.Redirect("Default2.aspx"); }Where...
Question 28 Feb 2012   license: CPOL
I am trying to add 3 control characters to a string. The following is the code String ackMessage = splitted[0]; String[] msh = ackMessage.Split('|'); String controlID = msh[9]; StringBuilder sb = new...
C#
Question 21 Feb 2012   license: CPOL
byte[] fileNameByte = Encoding.ASCII.GetBytes(e.FullPath); byte[] fileData = File.ReadAllBytes(e.FullPath); byte[] clientData = new byte[4 + e.Name.Length + fileData.Length]; byte[] fileNameLen = BitConverter.GetBytes(fileNameByte.Length); m_socWorker = new...
C#
HP PCL font commands by stevenandler
Question 8 Feb 2012   license: CPOL
I am working with HP PCL escape commands the problem I amd running into is trying to changes the weight (boldness without changing the font size the following code FONTA=ESC:"(s1p0b4099T" ;* set font FONTB=ESC:"(s1p1b4099T" ;* set font FONTC=ESC:"(s1p2b4099T" ;* set font...
Question 15 Jan 2012   license: CPOL
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Net;using System.Net.Sockets;using System.Collections.Generic;using System.Text;using System.IO; public void...
Page_load Only occurs Once by stevenandler
Question 29 Aug 2011   license: CPOL
I would like my application to always call the page_load when loading this pageSearchBillType.aspxImports System.DataImports System.IOImports System.XmlPartial Class SearchDiagnosis Inherits PageBase Implements IPostBackEventHandler Shadows IsCallBack As Boolean =...
Question 1 Jun 2011   license: CPOL
Hello I need some assistance copying one table to another. I Would like to copy the data from table1 to table 2 if the item doesn't exist in table 2.Thank you very much.Steven Andler
Question 13 May 2011   license: CPOL
Can someone please send me the instructions for installing the WMI (Windows Managment Instrumentation Service) on Windows Server 2008 R2 64-Bit?Thank youSteven Andler
Question 28 Apr 2011   license: CPOL
I need to scan each record in the table tblTestCodeFavorites to ensure the value in the field TestCode exists in the table testCodes. If the value in tblTestCodeFavorites.TestCode does not exist in testCodes.SomeField, then I need to perform some processing on that tblTestCodeFavorites record...
Question 13 Feb 2011   license: CPOL
I have the following Perl/Soap script to connect to a website. I need to add a section to send files with a hl7 extension from a folder c:\ftp\newtown. If someone can provide me with a sample on how to add this to my script I would greatly appreciate it. # remove the +trace => all to remove...
Perl/soap lite script by stevenandler
Question 1 Feb 2011   license: CPOL
{\rtf1\ansi\an...
Question 18 Jan 2011   license: CPOL
HelloI am very new to SOAP and I need to write an application to connect to a webserver, login, and send up some files. I would really appreciate it if someone could show me some sample code and/or refer me to some documentation to do this.Thank you.
Question 18 Jan 2011   license: CPOL
For Each t As Test In m_AllTestsDim name As String = t.Name.ToString.ToLower.TrimintIndexLocation = Array.BinarySearch(m_key, name)If intIndexLocation >= 0 ThenMy array search works fine except for one item which can't be found. intIndexLocation is -1 when it tries to search for that...

Page 1 of 1


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