|
Something like:
For Each p As Process In Process.GetProcesses
If p.ProcessName = "OUTLOOK" Then
Console.WriteLine(p.ProcessName & " / " & p.MainWindowTitle)
End If
Next
Console.ReadLine()
|
|
|
|
|
I have a render html like
<table><tr><td>ABC</td></tr></table>
i want print this or exports this render html to pdf file and save this file in My file sysytem.
is it possible? if yes then how?
i m using asp.net+c#+iTextsharp
thankx in advance
|
|
|
|
|
hello dear...
i was reading the artcle ".NET Phone Communication Library" but i was unable to find the competlete article i just found the PART_I and PART_IV
kindly email me the complete article or tell me the path so that i may get the full article myself. kindly help me..
i shall be very thankful to you.
fawada ali
fawadali123@gmail.com
|
|
|
|
|
Parts II and III don't exist.
|
|
|
|
|
Hi all,
I'm quite new to vb.net programming and I'm facing some difficulties with the getchanges method of a datatable...
In my program, I have a standalone datatable which I'm using as the datasource to a datagridview. When I make changes to the datagridview, and I use the getchanges(DataRowState.Modified) method, I get Nothing as the result, no matter what changes I made. I also tried using the table as bindingsource to the datagridview but this didn't help either. Can anybody please point me out what I'm doing wrong? Below is my code:
- usr is an object that contains a table named table
- dgv is a datagridview on my form
- the update sub is a member of usr which is called when a button on the form is clicked
BindingSource1.DataSource = usr.table
BindingSource1.RaiseListChangedEvents = True
dgv.DataSource = BindingSource1
public sub update()
dim tmpdt as new datatable
tmpdt = table.getchanges(DataRowState.Modified)
end sub
Thanks in advance.
|
|
|
|
|
"Steve Ballmer will deliver the keynote at Microsoft Tech-ed India 2009 Conference in Hyderabad. There will be announcements related to Windows 7, Silverlight 3, Microsoft Surface Computer, Tata Nano, IPL, etc. and Microsoft will also provide free certification to all onsite attendees.
What: Microsoft Tech-ed India 2009
Where: Hyderabad
When: May 13-15, 2009
Register: http://www.microsoft.com/india/teched2009
There is also a ""Top Architect"" contest being organized. http://virtualtechdays.com/toparchitect/default.aspx
Official Orkut group:-
|
|
|
|
|
Can I get a console application to run silently (ie without starting up the DOS window) in .Net?
|
|
|
|
|
write it as a service. put all code that does the work in DLL and then you can call it from either a consloe app or service
|
|
|
|
|
I was thinking more the other way around. What I'm trying to do is when my custom protocol is clicked on (either from Outlook/Word/IE), is determine what application to launch via the rest of the protocol format. I have read that registering a custom protocol can simply be done via the Windows Registry where you specify the protocol handler to run. So, my thoughts are that I build a console application where the rest of the information is sent onto a windows service, which then deterimes and launch the required application. Any suggestions is appreciated.
|
|
|
|
|
If you create a windows application but does not create a window for it, it will be effectivelly a DOS application without a console.
|
|
|
|
|
i hope " processInfo.WindowStyle = ProcessWindowStyle.Minimized;" will solve youre problem
below is detailed settings that i am using
ProcessStartInfo processInfo = new ProcessStartInfo(xx, yy);
processInfo.UseShellExecute = false;
processInfo.RedirectStandardError = true;
processInfo.RedirectStandardInput = true;
processInfo.StandardOutputEncoding = Encoding.Default;
processInfo.RedirectStandardOutput = true;
processInfo.CreateNoWindow = true;
processInfo.WindowStyle = ProcessWindowStyle.Minimized;
Process pingProcess = Process.Start(processInfo);
|
|
|
|
|
We have a very simple requirement to replicate data across a network. The requirement is to take data from a staging server (a set of folders) and then move it to 3 servers across the network. I am new to Sync and we have just been able to set the job up so that it syncs up the servers sequentially. Is there any way in which we can have all 3 servers synced up at the same time using the sync framework?
The data moves in a single-direction and there is no need to sync the staging server back. Staging server will always have the latest data. Please let us know if there is a way to handle this.
|
|
|
|
|
Hi all,
When I try to install Web Developer 2008 Express Edition ,then I found the error as below :--->
Microsoft Visual Web Developer 2008 Express Edition - ENU has encountered a problem during setup. Setup did not complete correctly .
MY system configuration is -->
CPU -- P4 3.0 GHZ
RAM -- 2.0 GB
O.S -- Windows xpsp2
and installed software is SQL server 2000,2005 Dotnet 2003 & 2005 .
|
|
|
|
|
You'll have to take a look at the setup log to see what the error actually was. You've given people absolutely nothing to go on here.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I found this on setup log :-->
WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation.
"
|
|
|
|
|
First[^] result in google.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I am trying to make a program that can search a directory on the local computer for a certain file and then replace all of the occurrences of that file in the directory and the subdirectories. How can I do this?
|
|
|
|
|
Look at the MSDN documentation on the DirectoryInfo[^] class. There's a link to the class's member functions and properties at the bottom. There's also a File class in System.IO you might want.
Dybs
|
|
|
|
|
Thanks, I got that working.
Now I have another question, Can you reference files in the projects references? Like type in a path and it opens a file in the resources.
|
|
|
|
|
To my knowledge, the "Project References" section is only for other assemblies referenced by your project (i.e. another class library). I'm not too familiar with how to use other resources in a project at the moment.
Dybs
|
|
|
|
|
in first go i would say no
if you put more details of your requirement then we may think an alternative
|
|
|
|
|
I have a C# web service that is creates a file in c:\inetpub\mdws\dwnld. If the web service needs to recreate or delete the file I get the following;
Server was unable to process request. ---> Access to the path 'C:\Inetpub\mdws\dwnld\catwoman.bbd' is denied.
I was receiving this error when doing File.Copy. I was able to create the file by using a FileStream/BinaryWriter. If I try to create the file again I get this error. I'm using FileStream(path, FileMode.Create, FileAccess.Write). I get the same result if I try to do a File.Delete(path) if the file exists before trying to create.
|
|
|
|
|
Maybe the file is being used by another process, have tried to delete it manually?
|
|
|
|
|
Make sure all reader and writer classes which use the file are closed or not. It will never allow to delete the file until and unless those reader or writers are closed.
Either you love IT or leave IT...
|
|
|
|
|
Hi guys.I need help coding for a class project on power(load) flow analysis.Anyone willing to help?will greatly appreciate.Thanks
julez123
|
|
|
|