|
So when you tell your interviewer you know the MVC pattern, or the flyweight, or the abstract pattern, and he asked how you used it, you're gonna be stuck.
Reworking a CV for a particular role is ok, but beefing it up with stuff you have no commerical experience of is easily found out (IMHO) - I've tried it!!
The 'bible' is the GOF or Gang of Four[^]
Knowledge is hereditary, it will find its way up or down.
Luc Pattyn
and since what every time when i want to add button to this control one add two times
posted in C# forum
|
|
|
|
|
I've got every programming job I ever went for. I think one big reason is, I never lie. Lie, and you'll be found out. IF you don't know it, say so.
I wouldn't take a job that was only hiring if I knew certain design patterns ( although odds are that I do )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Generally:
Put your name, address, phone number, and email address at the top, centered, perhaps bold.
Don't use graphics or fancy-schmancy typefaces.
Do use plain white paper.
|
|
|
|
|
Hello,
In deploying my application it is required that it attach a sql server database to the .net framwork sql engine because there is no servers in the client computer.
How can I accomplish this task (deploying the app with out having a full running instance of sql server)?
Thanks.
Dad
|
|
|
|
|
hadad wrote: How can I accomplish this task (deploying the app with out having a full running instance of sql server)?
There is a SQL Server embedded now, which can be ( as the name implies ) embedded in your application. I've not used it, but I am hoping to sometime soon, it seems very cool to me.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
|
You're welcome?
My current favourite word is: I'm starting to run out of fav. words!
-SK Genius
Game Programming articles start - here[ ^]-
|
|
|
|
|
It was a test or other thing?
|
|
|
|
|
hi
i want to get handle of windows childs, i could get window handle by GetForegroundWindow() API, but i don't know for get handle of it's childs what api can i use.
thanks.
|
|
|
|
|
|
Hi All
Iam working on outlook connector project here during geting outlook mail via C# one pop-up window coming that is we hae to select personal folder manually i want to do programmatically....plz give me any related link or code......
Thanx in Advance.......;
Mohan t working for N.I.C
|
|
|
|
|
I am trying to get the path of the executing .exe, but so far with no luck. I have tried
Assembly.GetExecutingAssembly().CodeBase
but this just returns the path to the .dll
does anyone know how to get the path of the .exe?
thanks
|
|
|
|
|
Application.ExecutablePath ist what you're looking for.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Bearing in mind this only applies to a Windows Forms application.
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
string path1 = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().CodeBase);
string path2 = System.Environment.CurrentDirectory;
using System.Windows.Forms;
string path3 = Application.ExecutablePath;
The value for path1 on my system is "file:\\K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug"
The value for path2 on my system is "K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug"
The value for path3 on my system is "K:\\VS2008\\ConsoleTester\\ConsoleTester\\bin\\Debug\\ConsoleTester.exe"
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Assembly.GetEntryAssembly().CodeBase will give you the full .exe URI. To get the full file system path, use:
Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), Path.GetFileName(Assembly.GetEntryAssembly().CodeBase));
Semicolons: The number one seller of ostomy bags world wide. - dan neely
|
|
|
|
|
thanks guys, I've got it working
|
|
|
|
|
[DllImport("user32")]
static int SendMessage(HWND^hwnd, int wMsg, int wParam, IntPtr^lParam);
How do I change this code for using it in C++?
|
|
|
|
|
Why ask this in the C# forum ?
In C++, you just call it, you don't need p/invoke at all.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Because I know how to do it in C#, and the code i gave you was in C#, but I want to know how it is in C++.
What do you mean by just call it.. how?
thanks.
|
|
|
|
|
SendMessage(WM_MOVE, wparam, lparam, etc)
You use p/invoke to call stuff in dlls, but the stuff you get to that way, is all stuff you can just call in c++
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I need help on this.
In my project I have a folder called "files". Inside that folder I have many file which I have uploaded. Now ,just by writing the link of the files in the address bar of Web Browser (ex: http://localhost:1234/Server/files/file.rar) anyone can download that file. I want to change that. When the clients are writing the link, instead of downloading the file, another page will be opened (ex: continue.aspx) and by clicking a button on that page, they can download that file (the story is like in rapidshare, filefactory, megaupload ...)
Can anyone tell how this can be done.
|
|
|
|
|
I would recommend asking in the ASP.NET forum.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello
I'm trying to set the focus to a DGV and move the mouse to that DGV
But the position seems to be related to the screen area not the active form area
Thanks for any help
Here is the code I'm using
[CODE] private void HandMade_Click(object sender, EventArgs e)
{
dgv_X.Focus();
int X = dgv_X.Left + dgv_X.Width / 2;
int Y = dgv_X.Top + dgv_X.Height ;
Cursor.Position = new Point(X, Y);
}[/CODE]
|
|
|
|