|
Okay, got the solution!
My icon was to big for being displayed in the start menu
Thanx
|
|
|
|
|
go to project details and there you can find the option to browse an icon!
|
|
|
|
|
Hello everyone
Working at a Intranet solution where we are gonna pull Active Directory(AD) data on the user and ofcause authenticate the user.
I have been experimenting with different approches like
* manually logging in a user(admin loging, as the ordinary user isnt allowed to search the AD). And for that matter the user him/her self for testing.
* WindowsIndenity(btw. does this work on mac, linux etc) which works just fine for the Authentication part - but not the "data part"
Now the problem accours when we dont want the User to manually login(Enter username/password) but prefer to have it done automaticly in the background - kinda like WindowsIndentity.
One solution would be to obtain the users login/initials so we can search for the user in AD after (through a admin login)
So my question: is this even possible ? and if so how? aint asking for a full written code, just a few pointers and so
My worry is ofcause that it aint possible due to Security reasons.
Best Regards
-Klaus M. Jensen
|
|
|
|
|
Hello,
I've creating some classes and collections which use generic like :
class SomeCollection<T> : ACollection where T : class
But I also have nested collections so sometimes the type of an object is like :
SomeCollection<MyCollection<MyObject>> someColl;
Does a "typedef" or alias exists in C# ?
I know aliases are used with namespaces, but I didn't find anything for types.
I'd like to have :
"typedef" SomeCollection<MyCollection<MyObject>> TheCollection;<br />
TheCollection coll = new TheCollection();
Thanks.
-- modified at 4:48 Thursday 14th June, 2007
|
|
|
|
|
Hi, how about:
using System.Collections.Generic;
using ListListInt=System.Collections.Generic.List<System.Collections.Generic.List<int>>;
class myClass {
ListListInt myListOfListsOfInts=new ListListInt();
}
-- modified at 7:18 Thursday 14th June, 2007
Luc Pattyn
[My Articles] [Forum Guidelines]
|
|
|
|
|
Thanks for the reply, but the alias ListListInt is available only in the scope of the file, not through the whole project. And I don't want to define it everywhere I use it.
I searched answers to that problem, and the only way to do it is to create a new class :
public class ListlistInt : System.Collections.Generic.List<System.Collections.Generic.List<int>>
{
}
Maybe I'll do it that way, and create a "header"-like file where I store all those kind of "alias" classes...
|
|
|
|
|
Gatchan wrote: the alias ListListInt is available only in the scope of the file
same is true if you insert a typedef in a C or C++ source file...
Gatchan wrote: create a new class
OK
Gatchan wrote: a "header"-like file
I suggest you either put such classes in the same namespace as your current project;
or make them part of a new namespace that lives in a separate reusable class library
project (and DLL file).
|
|
|
|
|
I am trying to access (read) registry of a remote system. I am using RemoteRegistry but is giving Exception : Attempted to perform an unauthorized operation.
So i want change the permission to read registry programmatically.
Plz... reply soon...
Regards.
Devesh Mishra
|
|
|
|
|
Hi all,
I'm Newbie. How to passing parameter's values from Form to crystal report?
Just say I have some textBoxs. I want TextBox's value pass to crystal report so that i can print them to printer in the right margins.
Please Help.
Thx
|
|
|
|
|
Search CrystalReport push method Click Go button on the top panel of CP
You will get the answer
ALL THE BEST
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
I like it!
|
|
|
|
|
|
Sylvester George wrote: Trying to turn your eyes on me
I guess my wife would have some problems with that!
|
|
|
|
|
|
Hi all,
Sub TestAdd()<br />
<br />
Dim miDocSrc As MODI.Document<br />
Dim miDocDest As MODI.Document<br />
<br />
Set miDocSrc = New MODI.Document<br />
Set miDocDest = New MODI.Document<br />
miDocSrc.Create "C:\document1.tif"<br />
miDocDest.Create<br />
<br />
With miDocDest.Images<br />
.Add miDocSrc.Images(0), Nothing<br />
.Add miDocSrc.Images(2), Nothing<br />
.Add miDocSrc.Images(1), miDocDest.Images(1)<br />
End With<br />
<br />
miDocDest.SaveAs "C:\document2.mdi", miFILE_FORMAT_MDI<br />
<br />
Set miDocDest = Nothing<br />
Set miDocSrc = Nothing<br />
<br />
End Sub<br />
<br />
How could i convert above the only Bolded code into c# .NET
thanks in advance
|
|
|
|
|
hi surezu
try this:
miDocDest.Images.Add(miDocSrc.Images(0), null);
miDocDest.Images.Add(miDocSrc.Images(2), null);
miDocDest.Images.Add(miDocSrc.Images(1), miDocDest.Images(1));
regards
|
|
|
|
|
hi
i need to attach a audio file in my application .plz help me how can i do this
|
|
|
|
|
If it's a wav file you can use the classes of System.Media.
|
|
|
|
|
plz tell me is this necessary that there must be an audio player in my application.or without an audio player i can play a wave file(only by giving the path of that wavefile) ?
thanks
|
|
|
|
|
Hi,
you can play a sound file using P/Invoke:
public static void PlaySoundFile(string fileSpec) {
int res=PlaySound(fileSpec, 0, 0);
if (res==0) log("Failed to play sound "+fileSpec);
}
[DllImport("Winmm.dll", CharSet=CharSet.Ansi,
CallingConvention=CallingConvention.Cdecl)]
static extern int PlaySound(string filespec, int hModule, int dwFlags);
-- modified at 7:20 Thursday 14th June, 2007
|
|
|
|
|
This "sounds" cool. I can't wait to get home and try it. If it works, you got my five.
|
|
|
|
|
Hi everybody,
I'm new to learn C#. I want to create a datagridview to so some columns with formular as excel. Ex: column3 = column1 + column2.
Can someone help me.
Thank so much.
|
|
|
|
|
I was wondering where to start with mic input with C#. I am doing a project on pitch extraction in real time (which will later become a guitar tuner) and so need to be able to capture sounds with a microphone.
Thanks
|
|
|
|
|
|
Thanks that'll help a lot.
|
|
|
|