|
Just a general query, as i am under the illusion that with the .net framework installed on the host computer that vb.net applications can run with it.
Can someone clarify this for me please, and if it is possible how is it easily done?
Thanks
|
|
|
|
|
Visual Studio.NET is not required to run .NET applications. If it was, then each user would be required to license a copy which, considering the cost of VS, would be a spectacular own goal. You don't even need VS.NET to write .NET applications. You code, if you want, write them using Notepad. I'm not saying you should, only that you could.
Borland have a .NET IDE and there is a free one called SharpDevelop.
Anyway, to run the application all you need to do is compile it up as an EXE and run it on a machine with the appropriate version of the .NET framework installed.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I need a Charmap-like control in .NET.
I want to display a List<char> in this control, to display a "select a special character" dialog to the user.
What would be the best approach to display the list in a similar way like in the charmap.exe? Is there a control I can user for this (didn't find one by now) or do I have to write this control from scrath by myself?
Thanks in advance,
Sebastian
|
|
|
|
|
PhoenixHawk wrote: Is there a control I can user for this
Haven't come across one.
PhoenixHawk wrote: I have to write this control from scrath by myself?
Looks like it, perhaps just using the DataGridView is enough?
|
|
|
|
|
l you have to do is shell out to charmap.exe.
This applet puts your selected symbol into the clipboard buffer and then you can paste them anywhere you want.
See => ©«®¶Æ
|
|
|
|
|
Hello all,
I've been looking for an answer to this all over the internet, so I think I already know the answer to this. I just need to be reassured.
So, when a Kill() command is invoked on a running process, can that process trap/catch the signal, or is there an event that is raised before the process is killed? Or is there perhaps a similar command to Kill that can be sent from one process to another which can then be caught; something similar to the kill signal overloading on POSIX system? (ie. sigusr1)
BTW, I need to know if this is possible using the .NET framework 1.1
Thanks.
|
|
|
|
|
There is no signal or event to the process. The target process is stopped and the memory it occupies is freed. There is nothing the target process can catch and do anything with.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi
i am working in .net 1.1 with vs2003 and my domain is travel in which we communicate with the GDS's to get available fares of Flight, Hotels etc..
i am working on a web service which returns the available fare from the GDS. it 's working fine in .net 1.1 with vs2003 but when i migrated my WS from .net 1.1 to .net 2.0 i am getting System.FormatException while converting datetime from string using DateTime.Parse method. it was not happening earlier when i was using .net 1.1. My WS converted from vs2003 to vs2005 using a wizard and it doesn's shows a single error.
i did lots of googling on this issue but didnot gets any help ,
so any reply in the matter will be highly appericiable.
thanks
vishal sharma
vishalsharma808@hotmail.com
Thanks & Regards
Vishal Sharma
vishalsharma556@yahoo.co.in
|
|
|
|
|
IMHO a problem like this does not need a lot of googling, what you should do is
add some code to the try-catch that is (or now should be) surrounding the failing
DateTime.Parse(someString) so you can see what is in someString, and then take
appropriate corrective action.
If you then fail to fix the problem, publish the value of someString that makes
things fail and you will get more help.
Luc Pattyn
|
|
|
|
|
Hi all
in my application i need to desply output in CommandPrompt..
and also i need to take the commands which r desplayed in command prompt..
please can u let me know.
How to desply Output in CommandPrompt....In WINDOWS APPLICATION
Thnk in advance
prashanth,
s/w Engineer,
Syfnosys.
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
Is Console.WriteLine(***) ?
wang
|
|
|
|
|
Console.WriteLine(someString) will send someString to the Console.
The console is:
- the output pane when running inside Visual Studio
- the console windows when executing from a DOS command window
- absent when simply double-clicking the exe in Windows Explorer.
Luc Pattyn
|
|
|
|
|
Hi,
is it possible to process each individual word in a microsoft word document from VB.NET.
For example, if i have a phrase say 'HE IS A BOY', is it possible for VB.NET to identify each single word??
can anyone help??
Thanks in advance
Regards
Nitin
|
|
|
|
|
I known 2 ways.
1 is regex
2 is use string.split(' ') splite the phrase to a string[].
wang
|
|
|
|
|
I assume that you mean that you want to get the text out of Word and manipulate it in some way. There is a way that doesn't involve using Microsoft Word at all, and relies instead on something called an IFilter. Basically, an IFilter is the mechanism by which the Search mechanism in Windows works, and allows you to get information out of sources such as Excel, Word, Adobe Acrobat, etc.
What you need to do is read in the document using the appropriate IFilter and then parse it to extract the words. Here's a link to a C# version that shows what you need to do.
http://www.codeproject.com/csharp/IFilter.asp[^]
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I am using a MenuStrip Component in .NET 2.0, Windows form Application. How do you capture the events on the individual items, when they are clicked
Lets
Home
> SubItem1
> SubItem2
> SubItem3
ItemClicked event on the MenuStrip component triggers when the Top level Menu items are clicked like Home
How do you find out which subitem was clicked.
Thanks
Rajaraman.S
|
|
|
|
|
Hi !
I'm using Visual Studio 2005 Professional Edition and C#.
I have a simple question:
I want to add to my form, which is a scrollable control, a menustrip and
statusstrip.
The problem is that the menustrip is not fixed at top if i scroll down.
A similar problem exists also for the statusstrip. If i open the program it
is only visible if i scroll down.
The program thinks that the menustrip and the statusstrip are in the Client
region, to which i want to draw something.
So, how can I fix them, so that they are not get lost if i scroll the main
form up or down ?
--
Schwammkopf
PS: The AutoScrollMinSize is set to (ClientSize.Width + 50,
ClientSize.Height + 50). Of course, on each OnPaint i update it.
|
|
|
|
|
hi, im trying to use GetProcesses(); function to list all active processes in my machine, i want to use this function to use DuplicateHandle to list the handles of a specific process...
but i cant find no where information that could me let write the prog, mos of the cases all examples give me errors, in microsoft MSDN i dont understand i they use #using then the compiler give me errors... im confuse with using GetProcesses(); or GetCurrentProcess(); but with both i cant write the prog, full of errors...
please someone could give me a had here...
|
|
|
|
|
This is the code that I use.
Dim YourProcesses() As Diagnostics.Process
Dim currentProcess As Diagnostics.Process = Diagnostics.Process.GetCurrentProcess()
YourProcesses = Diagnostics.Process.GetProcessesByName("YourAppNameHere")
If UBound(YourProcesses) > 0 Then
If currentProcess.Id <> YourProcesses(0).Id Then
MsgBox("Previous Instance of Your Application is already Running", MsgBoxStyle.Exclamation, "Your Application")
End
End If
End If
|
|
|
|
|
Here is some C# code from a big app, it may contain some strange lines (just ignore
those), it is copied here to show the general flow:
using System.Diagnostics;
public static ProcessComparer processComparer=new ProcessComparer();
public void showComboboxWithAllProcessesInAlphabeticalOrderAndMinePreselected() {
LP_SimpleDialog dialog=new LP_SimpleDialog("Show Process", settings);
Process[] processes=Process.GetProcesses();
int n=processes.Length;
ArrayList processes2=new ArrayList();
for (int i=0; i<n; i++) processes2.Add(processes[i]);
processes2.Sort(processComparer);
string[] procnames=new string[n];
int myProcID=Process.GetCurrentProcess().Id;
int curr=0;
for (int i=0; i<n; i++) {
Process proci=(Process)processes2[i];
if (proci.Id==myProcID) curr=i;
procnames[i]=proci.ProcessName;
}
ComboBox cb=dialog.AddFixedComboBox(procnames, curr);
}
public class ProcessComparer : IComparer {
public int Compare(object object1, object object2) {
Process process1=object1 as Process;
Process process2=object2 as Process;
return string.Compare(process1.ProcessName,
process2.ProcessName, true);
}
}
Hope this helps.
Luc Pattyn
|
|
|
|
|
Has anyone ever tried to use the Text Object Model[^] with a RichTextBox? Personally, I like the TOM much more than the manipulations allowed through normal interaction with the RichTextBox but I just can't seem to find any way to get to ITextDocument in .NET.
Has anyone ever attempted this before and lived to tell the tale? I doubt that I'm the only person who ever wanted a DOM for rich text in a .NET app...
|
|
|
|
|
There's an article here on CP that might help. This is the link Clickety[^] to the message that talks about using ITextDocument.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Thanks! Seems just what I need.
|
|
|
|
|
Hello All !!!
Tell me please - how in .NET 2005 set total control for mailslot (function CreateMailSlot) for everyone.
Is it necessary set DACL in null ?
I am trying but there is no results...
If anybody uses securuty in .NET 2005 please help
|
|
|
|
|
Hi there,
I just wanted to know whether it was possible to create postscript file from doc, xls and ppt using .net framework. I am going crazy trying to find answer to this problem so at this point any help would be greatly appreciated.
|
|
|
|