|
SOL huh?
// Steve McLenithan
Cluelessnes: There are no stupid questions, but there are a lot of inquisitive idiots.
|
|
|
|
|
Or maybe we're trying to help you help yourself. You won't learn anything by being given the answer. Do you think the regulars here learned by being told how to do everything? If you don't understand what you're doing, then learn. There's plenty of resources and as Nick said, there's even an article here on CP about Blowfish encryption using C#.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Heath Stewart wrote:
Do you think the regulars here learned by being told how to do everything? If you don't understand what you're doing, then learn.
I completely agree.
// Steve McLenithan
Cluelessnes: There are no stupid questions, but there are a lot of inquisitive idiots.
|
|
|
|
|
I just find it slightly strange that you don't even know where to start and yet you are trying to implement blowfish encryption in C#, the night before none-the-less. Did you find the article here on CP?
- Nick Parker My Blog | My Articles
|
|
|
|
|
http://www.google.ca/search?q=blowfish+encryption+in+c%23&ie=UTF-8&oe=UTF-8&hl=fr&meta=
good old copy and paste homework 
|
|
|
|
|
How can I change the line spacing in a chedkedListBox, thanks.
Interlocked
|
|
|
|
|
P/Invoke the SendMessage native API and send the LB_SETITEMHEIGHT (0x01a0) message to the CheckedListBox 's Handle .
If you override CreateParams and set the LBS_OWNERDRAWVARIABLE (0x0020) style, then specify the item index in the WPARAM parameter (3rd parameters to SendMessage ) to set just a single item's height, otherwise the height is set uniformly for all items.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Hello there
I have a Winform whit a birth date field that I enter
I want to get Pup up Form Whit a 1 week reminder off all my birth date of all my customers & I want an also 3 day remind & at the same date
Exsmpale : if i enter that Tomi birthdate is in 15/08/1974
i want pupup that remind me in 10/08/2004 in 13/08/2004 in
15/08/2004
how can I do it ?
I am working whit a Accses Database & C#
thanks allot to all...
please help...
|
|
|
|
|
Poll your database every few hours (whatever you like, with a resolution of less than a day to be safe) for birthdays occuring within a certain period, then display those in a form that you can show (using either Show for a modeless dialog or ShowDialog for a modal dialog, but don't forget to dispose the modal Form when you're done using it since it doesn't get disposed automatically in that case).
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
do u have code exsample ?
|
|
|
|
|
This is a very simple, entry-level problem and sounds like homework to me. Read about ADO.NET and just use a simple SQL query, which you could test in Access to get it right.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
hey anybody try to use MSHTML.ShowHTMLDialog?
or everybody using AxWebBrowser! 
|
|
|
|
|
osto wrote:
hey anybody try to use MSHTML.ShowHTMLDialog?
or everybody using AxWebBrowser!
Ok, whats your problem?
Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji
|
|
|
|
|
well i as wondering witch one as best for viewing a generated html report!
|
|
|
|
|
Whichever one you want. They are both hosts for MSHTML, but the Web Browser component (an RCW around the IWebBrowser2 implementation for IE) provides more services than MSHTML itself, such as hyperlink resolution and additional methods. Using the AxWebBrowser component (the actual class that's generated, which derives from AxHost ) also allows you to embed your report in a form, while using the ShowHTMLDialog helper API from MSHTML does not.
Microsoft MVP, Visual C#
My Articles
|
|
|
|
|
Is there a way to make Global Vaiables? Can I add them to the Application or ApplicationContext?
Stefan
|
|
|
|
|
U can use singleton class with public properties
Koby
|
|
|
|
|
Global variables are generally a sign of poorly thought out design. However there are cases when you want to make something available to classes across your application (like values from the application's config class).
I would suggest a couple of approaches:
1. Is to make the variable available through a static property of an appropriate class.
2. Is to make a class (a singleton) that exposes these values through static properties. For instance a Config class that retrieves the information from a config file and exposes them to the rest of the application.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
Coming soon: The Second EuroCPian Event
|
|
|
|
|
Hi
I have MFC Dll with dialog, I used it in C# App.
It's working functionality, but
The MFC Dialog stays grey. (Missing WM_PAINT (?
I think that I have problem with window handle.
Can U help me?
Thanks
Koby
|
|
|
|
|
|
Can you give us a code fragment of how your C# code invokes the MFC built dialog/control? There are plenty of things that can go wrong. Without more information its purely conjecture on what to do to fix it.
|
|
|
|
|
The Code in the C#:
[..."MyDll.dll"...]
export static int Init(CallBack* xxx, SData* ps);
The function get delegate to return event from the DLL and data on the application. ( name and ID, not window handle or other data like it)
Koby
|
|
|
|
|
why are you using win32 for a dialog box anyway?
show us WndProc and the one that create the dialog!
|
|
|
|
|
Sorry I forgot an essential point.
All the function (from App to the Dll ) was at other Thread ("Dll thread").
Not in the main (GUI) thread, but in the same one (using queue)
The init(…) and other function first enter to Q and the pulled by the "Dll Thread")
koby
|
|
|
|
|
hello,
i've got a small problem right now. i started developing a small toolbar for my personal use which is docked at the top of the desktop. now i want to change the workingarea of the desktop, so other window forms cannot overlap my toolbar.
i would be thankful for every solution.
thx a lot
|
|
|
|