|
So there is no way for me to remove that window?
--
Rob Hutchinson - Software Architect.
|
|
|
|
|
Maybe you could do a ::FindWindow() and minimize/hide it using the window handle..?
--
So let's just walk from place to place, as long as we don't talk face to face.
|
|
|
|
|
I didnt think of that, I'll give it a go.
Thanks.
--
Rob Hutchinson - Software Architect.
|
|
|
|
|
How can i build an own filedialog with a picture preview in C#?
|
|
|
|
|
Using Visual Stuido IDE i want to install A c# program. I need to create a setup such that:
if ie 5.0 or below is installed, it should update it silenty (of course promting to do so) and reboot the system and continue with setup again.
If operating system is 98 it should copy diffrent files and if it is 2000 it should copy diffrent files in the application folder.
Launch setup of some programs on the basis of the operatig system?
How can i do this? Please Help...
Regards,
Rahul.
|
|
|
|
|
|
Search for Installer class in google. It can perform all custom actions you want in youyr installer. There are some sample in http://www.c-sharpcorner.com/ [^]specially.
Mazy
"A bank is a place that will lend you money if you can prove that you don't need it." - Bob Hope
|
|
|
|
|
Hi,
How can I reach my graphic object boundaries on the clientrectangle? Is there a simple way of doing this? (I am doing this by creating a two dimensional matrix with the clientrectangle's height and width than giving every member of the array "0". After drawing some rectangle for ex:
Rectangle rect = new Rectangle(0,0,10,10);
Than I give "1" for every member of matrix with in the range of 0 to 10 . I mean I am tracking this after every drawing process.) Is there a simple way of this? And also if I didn't draw the object I can't guess the location and the area it used on the clientrectangle???
Thanx in advance
Cem Louis
|
|
|
|
|
hi
i am trying to detect the opened windows and to know the active windows from all opened windows .
So if anyone can help plz send me
thanx
|
|
|
|
|
You will need to wrap the EnumWindowsProc and take a look at EnumWindows or EnumDesktopWindows .
- Nick Parker My Blog
|
|
|
|
|
Hi,
I'm trying to add a new user to active directory,via LDAP.
I know the LDAP of the server,but what is the full path i have to give
For Example I want to add Tom to AD with LoginName "Tom" and Password "123456":
Directory Entry oDE=new DirectoryEntry ("LDAP://..."+???);
DirectoryEntries entries=oDE.Children;
DirectoryEntry NewUser=entries.Add("Tom", "User");
NewUser.Properties["FullName"].Add("Tom");
object obRet=NewUser.Invoke("SetPassword","123456");
NewUser.CommitChanges();
Regards,
Adi
|
|
|
|
|
Hi, I'm writing an Employee List with entries grouped by "salary". The trouble is, two employees whose salary differs by one dollar will be placed in different group. For example:
Nelson $35,000
Mark $50,000
Nick $50,000
Ibrahim $50,001 (This guy is placed in a new group)
Joel $75,000
How can I gain more control over grouping, say:
Group 1: 0-20k
Group 2: 20-40k
Group 3: 40-60k
Group 4: 60-80k
Group 5: 80-100k
Any tutorial/references in this regard you'd recommend? Thanks a bunch!
Norman Fung
|
|
|
|
|
Create an expression (a new report variable) and group by that. There is also an option in the group properties dialog to use an expression or logical criteria, but since I don't have CR on this machine, I can't look at it right now to produce a relevant example...
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
Thanks John. I think I will need a reference/url to understand what exactly you're trying to say. Otherwise, I think I will just hit the bookstore tomorrow.
Norman Fung
|
|
|
|
|
Sorry... hope you find what you are looking for... although the CR help might have had something about that, too.
What a piece of work is man, how noble in reason, how infinite in faculties, in form and moving how express and admirable . . . and yet to me, what is this quintessence of dust? -- Hamlet, Act II, Scene ii.
|
|
|
|
|
No problem John, thanks anyway.
Norman Fung
|
|
|
|
|
You may also want to look at this free online crystal report book:
Click Here![^]
Don't forget, that's Persian Gulf not Arabian gulf!
Murphy: Click Here![^]
|
|
|
|
|
I have gone thru first few chapters... I don't think I found what I needed yet - well, perhaps next chapter
Norman Fung
|
|
|
|
|
|
I have a badge printing application (done in C#) that uses Cyrstal Reports to print plastic badges.
Now I am required to do encoding on the badge's magnetic strip. In the past I have done this by sending printer command codes directly to the printer. These command codes must be sent in the same printer job as the Crystal report. Is it possible to incorporate printer command codes into a Crystal report? Can this even be done?
|
|
|
|
|
i have an external console program that converts one filetype to another and it only accepts the arguments like this:
program.exe "file1" "file2"
if i have the filenames store in vars file1 and file2 how do i create a string so that i can use the System.Diagnostics.Process.Start function? i've been trying to create a string like this:
"program.exe" "file1" "file2"
that way i can use the function but it doesn't work because the string automatically puts in '\\' when ever there's a '\' and it puts in '\"' when ever i have a '"'. how can i format it so it's more like a filename?
please help,
Rob Tomson
--
There are 10 kinds of people. Those who understand binary and those who don't.
|
|
|
|
|
static void Main(string[] args)
{
if (args.Length == 2)
Process.Start("program.exe",
string.Format("\"{0}\" \"{1}\"", args[0], args[1]);
} If you're looking at this in the debugger, the VS.NET automatically escapes those strings, which explains why you see \\ in place of \, and \" in place of ". You need to do this when you define your own strings in code (unless prefixed with the literal character - @ - in which case you only need to escape the double quotes - ").
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
thank you very much. with your help i was able to get that portion of my program working. i did notice the @ symbol in the debugger but i didn't know what it was there for, now i know.
thanks,
Rob Tomson
--
There are 10 kinds of people. Those who understand binary and those who don't.
|
|
|
|
|
how to access web service with SSL from windows application (C#)?
How to use the certificate in the client windows application/
Is there any sample available?
Thanks a lot.
|
|
|
|
|
You don't need to do anything - just use a URL with the HTTPS scheme when creating the web service proxy. If you want to pass a client certificate, you can add it to the ClientCertificates property that all web services proxies inherit from their base class, HttpWebClientProtocol . For more information and an example, see the ClientCertificates[^] property documentation in the .NET Framework SDK.
Microsoft MVP, Visual C#
My Articles
|
|
|
|