-
- Calling windows service from a web service
by Bruno Kovači&
- 7 Replies
- Last post
by Brendan Grant
- Hy! I've created a windows service, and now I need to communicate with it from a web service that is running on the local IIS. How could I do this Thanks, Bruno
-
- Create Word Documents By C#
by Leonard Lee
- 9 Replies
- Last post
by Jetttik
- Hello,
I would like to create a Word doc directly from C# Windows Form codes.
1) How to create and open the Word doc
After creating the Word doc and Open it, ...
2) How to insert a text from a textbox to the Word doc that is already currently opened
3) How to check the current Range.Selection location
Please exlpain in full as I am a newbe in C# to create Word...
Thanks in adv
-
- n00b, why isn't this writing to the console?
by learning33
- 6 Replies
- Last post
by learning33
- I run this code in the debugger and build it. Why doesn't it open up the console and write text in it
using System;
using System.IO;
namespace Ahkcom
{
static class Ahkcom
{
static void Main()
{
using ( StreamReader sr = new StreamReader ( "fill.txt" ))
{
String line;
while ((line = sr.ReadLine()) != null )
{
-
- migration from clarion
by ashk1860
- 1 Replies
- Last post
by Chunsheng Tang - MSFT
- hi
I am not Familiar with Clarionat all. there is a program developed with clarion (C++) for windows.
is it possible to migrate from clarion to .net if yes how
thank you in advance
regards
-
- Anyway to know if the program is running under VS IDE ?
by ahkow
- 4 Replies
- Last post
by Peter Ritchie
- I would like to do conditional compilation based on whether the program is running under IDE, is this possible
Thanks.
-
- windows service running on particular time and debug.write() where it prints ?
by .net sukbir
- 9 Replies
- Last post
by Galin Iliev
- Dear All,
I have windows service done with C# and able to be install using the installutil.exe. My problem now is that I want to set it like to run on particular time of day for instance 10.00 am daily How can I set this I have tried to use timer but it sets an interval only Another thing is that I have debug.write() in my windows service where can i check the output of the debug.write W
-
- Microsoft Excel Editing and Save
by msksurfer
- 2 Replies
- Last post
by msksurfer
- Sorry if i'm in the wrong part of the forum but i can't find the folder for Visual C# interop. I'm currently facing a problem with the editing and saving of a excel file. i've created a web page with a datagrid. the data from the datagrid is taken from the excel in the server. upon updating the edited part, the datagrid updatecommand will only provide data of the selected row. and i tried to save
-
- Thanks
by Philly10407
- 6 Replies
- Last post
by SautinSoft
- Hi,
Anyone know if there is a good component- ActiveX control or DLL - help to convert RTF file to PDF I used to print the RTF doc to Adobe distiller, but the distiller does work so well, I wish if there is reliable object somewehere that I could used.
Thanks in advance
-
- array bounds check
by ignorator
- 1 Replies
- Last post
by Peter Ritchie
- Hi, i'm programming a timecritical loop in which i access elements of an array. due to c# checking the index is inside the bounds of the array there is a large amount of overhead... can i suppress the bounds checking somehow ignorator ps. sorry for my english
-
- what does : and ? actually mean
by python_and_chips
- 4 Replies
- Last post
by OmegaMan
- I have been writing c# code for a while and have seen many examples using and : operators but have no idea what they mean. a recent example i saw here was
private String Number2String( int number, bool isCaps)
{
Char c = ( Char )((isCaps 65 : 97) + (number - 1));
return c.ToString();
} can anyone help me under stand this.
-
- Where do I find...
by vHaB
- 5 Replies
- Last post
by Americanadian
- I have been scouring the web for the better part of 2 hours now and cannot for the life of me find the answer to this question: Where do I find the System.Windows.dll I am looking for the System.Windows.Media namespce, which seems to be in that dll. I see the dll referenced in a lot of places but no explanation on where it might be located. Please help!
-
- how to give online updations for My own software?
by muthuraja
- 4 Replies
- Last post
by ahmedilyas
- I have done one desktop application in visual c#, i want to give online updations for that software . i need full flow and coding for this.
-
- Opening up a folder in C#
by Twaites
- 3 Replies
- Last post
by RizwanSharp
- I'm dong a project and I need to know what type of code I need in Visual C# 2005: I have string variable holding a path (to a certain folder) and I need to know how to open up that folder (in Windows Explorer) when I click a button.
-
- How to fax an image file in c#
by harneet
- 9 Replies
- Last post
by MarcLev
- hi i am using faxcomex.dll i am able to fax txt and pdf and doc files but i m not able to fax image files.
If i try i get a message operation failed
Can anybody help me out
-
- Getting operator methods for basic types?
by PSU Mike
- 2 Replies
- Last post
by PSU Mike
- Is it possible to use reflection to search for operator methods on basic types
For instance, I can search for the "+" operator on a decimal type...
method = typeof ( decimal ).GetMethod( "op_Addition" );
and it returns an appropriate method. However, this doesn't seem to work for int or double types. Is there a another way
Thanks.
Mike
-
- Splitting strings
by Azurewrath
- 4 Replies
- Last post
by Azurewrath
- Hi all,
Anyone knows if there is a method for strings that splits strings based on a character, like this, using "\" here:
"new tools\core\classes"
"new tools", "core", "classes"
Thanks,
Aw
-
- Create a clas from Math Class
by ZadehDyn
- 2 Replies
- Last post
by FlorianReischl
- Is there any way to create a class inherited from math class.
I want to add some functions to math class.
-
- DrawString doesn't draw if only framework is installed
by Saurabh Surana
- 3 Replies
- Last post
by OmegaMan
- I have a Device which has a small LCD Screen, it exposes some APIs for external application to display something on that screen with the help of a C library. We are using C# and importing those exposed C APIs in our C# application using dllimport. One of the APIs returns a handle to device context (HDC) and external application is supposed to draw on this HDC. We create Graphics object from this H
-
- ApplicationException
by vmsgman
- 9 Replies
- Last post
by sirjis
- I have derived my own ExceptionClass from ApplicaitonException for a Console App. Whenever an Exception is thrown the Application Exits. Is this normal I do I need to do something to stop this behaviour. Sorry for the newbie nuisance. Greg
-
- NotifyIcon and Windows Service
by WRBehning
- 1 Replies
- Last post
by Peter Ritchie
- I created a windows service which works fine, but I now have the requirement to add a notification window of some type that lets the user know that the service is actually running. So I added the NotifyIcon to the service. This also works fine as long as I set the service logon parameters to Local System account and Allow service to interact with desktop. This is problemmatic in that this service
-
- Converting Doc/PPT/Excel to PDF?
by Malleswar
- 3 Replies
- Last post
by Remlin
- Hi, Can any one please provide link for Printer API for .net Actually I need to convert word or excel or ppt file to universal (general) format and to send to the server. Any third party tool or API for converting to Pdf also fills my requirement. Can any one guide me Thanks in Advacne,
-
- Compiling C# files with visual studio 2005
by XeonYK
- 1 Replies
- Last post
by Peter Ritchie
- 1) i want to ask how to compile c# files in visual studio 2005 like compile C# files with console example : csc MainExample.cs /main:testing.module1 or using other option like /t:module or /t:winexe, etc 2) in C# i can using /// comment to create XML documentation in console i can use csc /t:exe /doc:Math.xml Math.cs how in visual studio 2005 3) how can i create XML documentation template auto
-
- I can't run VS 2005 on vista
by Marcin Kruszynski
- 6 Replies
- Last post
by TaylorMichaelL
- I have installed Vista Ultimate from MSDN. On clear Windows (without any optional drivers and programs) I have installed
Visual Studio 2005 Professional EN. But when I try opening Visual Studio it always closes !
In Event log is description like previous posts:
Faulting application devenv.exe, version 8.0.50727.42, time stamp 0x4333e699, faulting module ntdll.dll, version 6.0.6000.16386,
-
- I have a problem with licensing
by Zamial
- 4 Replies
- Last post
by Zamial
- I am working on a project that is massive and I have identified 13 different License.licx files
I have also identified the license file in question but can find no good resources on the error I am receiving. It is preventing me from running my application. There is a chance it's also related to SuncFusion.
Does anyone know what's going on looking at that exception
I have remov
-
- Show differences
by ZopoStyle
- 6 Replies
- Last post
by ZopoStyle
- Hi,
I need to implement a function just like Source safe's "Show Difference" function...
Does anyone has something similar or already done to do that
I need to show the differences just like source safe does.... But it must be in a windows forms, and in web form...
Thanks