|
hello!!
i am desperate to know the way to authenticate a local windows account, by taking username & password, without using active directory!
did tried myself, invained, searched, never got a solution, all what i found were having active directory in it, i dont hav and i dont want to hav active directory installed!!!isnt there any way of doing it without active directory!!
can anyone please help???
Adeel
--
|
|
|
|
|
Hi there,
I've just started to use the RichTextBox control in Visual Studio. Just got few question, how can show the line number on the left hand side?
Also, how can i get these information about these from RichTextBox:
1. Line Number
2. Line Position Number
3. Line Column Number
So that i can use it to show these info on the status bar window.
Thanks in advance for your help~
|
|
|
|
|
|
Thanks allot Patrick Sears, the first one is my fav as its simple and does the job~
|
|
|
|
|
hi,
But it will get flickering wright.
when ever the line number changes after Enter.
|
|
|
|
|
hi all i m developing a network based game in C# 2005. i want to transfer objects of drawing class stored in arraylist,to another computer how to do it i only found one method "convert into byte from text and then send *".i have found no way to send objects. is sending arraylist is possible ? or i have to get each object from list and then convert into byte and then send.
my question is
1).how to convert arraylist into byte? if possible
2).How to convert objects in byte[] and then send.
3) is there any other method other than this to send objects of classes on network.
* byte[] buf= System.Text.Encoding.Unicode.GetBytes("Helllo World");
any other way of transfering object except method metioned above.
-- modified at 15:11 Tuesday 24th April, 2007
Regards.
Tasleem Arif
|
|
|
|
|
You're talking about a subject called "Remoting". Search for it on this website, there are dozens of articles from beginner to advanced describing how to do this.
------------
Cheers,
Patrick
|
|
|
|
|
Thanks for reply, actually i m makin that game in Compact Framework, i m using windows application just for the testing. i search on internet about the Remoting in .net CF it is not supported in .net CF so i have no option except to use the sockets.
Regards.
Tasleem Arif
|
|
|
|
|
Ah, I see. Yes, you're going to need to package the data yourself and push it out over a socket.
That said, it shouldn't be too difficult to do. The Compact Framework supports basic serialization, which should serve your purpose; if not, Marc Clifton wrote an awesome serializer here on Code Project:
http://www.codeproject.com/csharp/RawSerializer.asp[^]
It's easy enough to open a socket and call Write() on the data, and since it's a local TCP connection you probably don't need to worry about latency or data loss.
------------
Cheers,
Patrick
|
|
|
|
|
I am using C# 2005 Express Edition and want to create a report. Report tools does not come with it. How should I create report?
|
|
|
|
|
What did you want for free??
You'll have to buy something like Crystal Reports or one of the $$$ editions of Visual Studio .NET.
There's nothing that comes with the Express Editions.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Is there a way to share a resource file between two C# projects under one solution in VS2005. For instance,
Project1
-Class1.cs
-Class2.cs
-Resource.resx
Project2 - references Project1
-ClassA
Can sombody give me some example or a resouce
Thanks
|
|
|
|
|
guys u really doing agreat work..okie i just wanna to make color eraser ..like that one in Paint by c#..i didnt find it in deitel (it sucks).i can understand the code but i cant creat it .
fellas dont late for me..iam stuck..
Best Regards;);)
|
|
|
|
|
mr jets wrote: fellas dont late for me..iam stuck..
|
|
|
|
|
Wow.
------------
Cheers,
Patrick
|
|
|
|
|
i dont know..is that akind of joke..iam anew to the c# world but iam sure Wowww its not the answer that iam looking for ..its so simple plzz ..!
how can i do acolor eraser like that one in paint ..?
Regards ;
|
|
|
|
|
hello guys..my program like that one in Paint ( drawing lines, ellipse,...) but i dont know how to Zoom in/out the pic ..plzz answer me as fast as u can..iam stuck!!
best regards ;
|
|
|
|
|
ok zoom in zoom out is nothing if u closely look at it. in zoom in many things comes out of ur view scope,
Zoom in is basically the distance between drawing or pixels increases and it look that its widened,zoom out is opposite of that.
so my point of view is if u could understand during zoom out the distance between drawing should be increased and in zoom out distance between drawings should be decreased.
so add the constant number for zoomfactor and multiply or divide as u wish to increase of decrease the distance between points.
Regards.
Tasleem Arif
|
|
|
|
|
Article by Bingzhe Quan Zoom in/out[^] will help you.
Regards,
Satips.
|
|
|
|
|
thanks Satips ..but the big problem that iam using v.s 2003 not 2oo5 ..do u know any other articles about Zoom in/out ..i will be greatfull bro..!
Regards ;
|
|
|
|
|
Good People,
How do I use a custom color for a form or control? There is a rollout that says custom colors but it doesn't have the colors I need. Do I have to hard code it? Is there a way I can add it to the rollout? By the way, I'm using .NET 2.0.
Thank you,
BP
|
|
|
|
|
you can create a custom color using the Color.FromArgb() method.
--
CleaKO The sad part about this instance is that none of the users ever said anything [about the problem].
Pete O`Hanlon Doesn't that just tell you everything you need to know about users?
|
|
|
|
|
Add it by right clicking on the custom colors...
In design mode
BackColor -> Custom Tab -> Right Click a square
This will bring up a screen where you can set a custom color for your selections.
Pualee
|
|
|
|
|
hi all
i make a form to draw in it and to eliminate graphics flicker i made
this.DoubleBuffered = true;
now i transfered my work to work on TabControl but i donot know how to do DoubleBuffered in it
so how can i do it
thanx
Generator
|
|
|
|
|
Unfortunately you're going to run into a wall when trying to make the TabControl double buffered. You can get the tab area itself to double buffer by extending the TabControl and setting this.DoubleBuffered = true, but that still won't fix the flicker in the tab pages themselves.
At that point it makes more sense to write your own tab control, given the amount of effort you'd go to to extend the existing one just to double buffer it.
------------
Cheers,
Patrick
|
|
|
|