Answer Questions
Euqil Link Button - Windows ApplicationC# Signatu
Hi, How can I make a link button minimize a applicationto taskbar And from the taskbar maximize Thanks C# Signature: [DllImport("user32.dll")] static extern bool CloseWindow(IntPtr hWnd); The CloseWindow function minimizes (but does not destroy) the specified window. To destroy a window, an application must use the DestroyWindow function. Hope This helps hmm do how ever you want.. me and PJ. van ...Show All
Jazzyv Selecting a MAPI profile
I used this article to create a c# console application that sends emails through Outlook: http://support.microsoft.com/default.aspx scid=kb;en-us;310262 The problem is in picking the correct MAPI profile. A user may have a personal mailbox and a team mailbox (say the team has a support role). I need to chose the team mailbox, but my console application ignores my code and uses the personal (default) mailbox. Outlook.Application  ...Show All
Helen Drijfhout yahoo status bar effect??
how can i n make my app to show the blinking thing in status bar.. like Yahoo mess.. mirc.. msn does.. when recive a message Hi! You need WinAPI function FlashWindow() or FlashWindowEx(). thanks a lost man.. but i have a little problem... it only stay 2 sec in flash mode and then .. goes off.. how do i make to stay.. permatly.. or untill the user clicks taht window In this case you need FlashWindowEx() and setup params for ...Show All
Kurt888 Question on Enterprise Services(COM+) DCOM settings.
Hi, I have created an enterprise sevices (COM+) component using C# launguage. When I host it on Component Services->COM+ Applications, I'm able to make call to this component from C# client. But when I try to make call to it from a remote machine it fails. Error is - System.UnauthorisedAccessException :Access is denied. This is a typical scenario. On the client machine if I have logged in with user name which is present on Server machin ...Show All
# broxi # Converting .mak to Wis Studio '05 project
Hi all, Not sure if this is correct place but here goes: Is there any way of converting a .mak file into a fully blown VS project, the .mak file is quite old (~2002), it doesn include .sln files for VS 7 but these are just wrapper and only have the .mak file in them. The .mak files are from an external librarby that we use. I can't find any information on howto do the conversation, I am contemplating doing it by hand, but really don't want to ...Show All
Raven58 Unable to load class library
I wrote a managed wrapper in C++/CLI and compiled it under AMD64. Now I wrote a client in C++/CLI too and this works well. Trying to do the same in C# I got everything to compile but when I run it it says: Unhandled Exception: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at MyClass.Main() This is weird though. I compiled the C# file for 'anycpu' but trying to set the platform ...Show All
Jeffrey.Ye Transferring data from one form to another, is it possible?
More specifically, I have a form that has as combo boxes on them. When this main form loads, it retrieves data from SQL and I bind these combo's to data tables. However, I manually put an item named <create new customer>. If the user selects that option from the combo, I popup a new form that contains all the customer fields they need to populate. When they click save, what I would like to do is either save the data back to the sq ...Show All
root Static Classes?
Does anybody know of any performance hit, penalty, etc. when using static classes In an app that I am writing, I have some generic data loaders and wrapped them in a static class because I was sick of writing the same code over and over NameSpace.Class x = new NameSpace.Class(); x.Load(data); so now its NameSpace.Class.Load(data); Thanks! Kyron - Nope, there isn't a performance hit when you use static c ...Show All
gpetrosh Tokenizing a database
Hi, I am working on a little project right now and I need a little help getting started. I have an access database that is a giant mess with disorganized fields, data put in the wrong places etc. What I want to be able to do is organize the data, export the new data to either a CVS file or some other readable file and put the garbage in a seperate notes feild. Then import all of the new data into an organized Access database. The problem i ...Show All
OwenG height and width
my web user control is composed by a panel (h=100%,w=100%) which contains a table (h=80%,w=100%) with a datagrid and a button and a panel (h=fixed px,w=100%)with another table. This second panel is first invisible and then visible when button is clicked. I try to put it in my web form where there is a table. My problem is that if the table in web form is short, the user control not resize and i can't see the second panel. ...Show All
Allen Junior public static class
Hello, I'm beginner in c#, but i have 7 years experience in VB6. I just stuck with creating public static class. my steps is: 1.creating new winform project 2.adding from solution explorer new class 3.changing type of class from "public Class1" to "public static Class1" 4.got an error "The modifier 'static' is not valid for this item" what can i do thanks well, im using vs2003. ...Show All
travmanx Setting CommandButton's BackColor programmatically.
I am trying to set the BackColor of a CommandButton in the Load event of my Windows Form. However, when I set the BackColor via the code it does not change the BackColor - instead it appears to set the outline of the CommandButton to the Color. I am using Express Edition. Thank you. Hey, Yup had come to know bout the Red and Blue switching but just didn't get the time to look into it deeper ...thx anywys ...Show All
Dean Hawthorne DataBindig SQL - lesson 9 - missing part
Hello, I have saw the lesson 9 from the bellow link: http://msdn.microsoft.com/vstudio/express/visualcsharp/learning/ and also I have download the source code. When I run the application I am able to add a new element in the table and then to save it. If I am looking in the DataBase to see the content of the table I can't see any modification. After that running again the applicaton I don't find the modification in the table ...Show All
EduQuint DataSet & DataTable
Whats the difference between the two I understand it as a datatable only contains data for a single table and a dataset can contain for multiple tables is this correct yup a DataSet can hold many DataTables. and can be referenced like this DataSet ds = new DataSet(); cmd.Fill(ds); DataTable dt = ds.Tables[0].DefaultView; DataTable dt2 = ds.Tables[1].DefaultView; You bind a DataSet to a DataAdapter (to ...Show All
MiXen Have any function caculate date after current date n days ?
I caculate date after current date n days with a bunch of code , but its not effective , I wonder whether have any function caculate date after current date n days , in C# If you know , can you help me Thank you in advance. I don't understand your question well but I hope this code helps DataTime dt = DateTime.Today.AddDays(7); //for adding days and just look at the intellisense and you will find the others. Happy programmin ...Show All
