| Thread | Last Post | Replies |
|
| adding an image resource | 16 Jul 2005 18:51 GMT | 2 |
Hello, I have a Windows Application that needs to load multiple image files in response to users clicking buttons. Currently, I just have these images as .jpg files on disk, but I don't want to have to migrate the files everywhere that the executable is installed. Is there a ...
|
| lock statement | 16 Jul 2005 18:31 GMT | 8 |
Question If control leaves the locked block does the lock get cleared? Example (simple and bad coding) lock(obj)
|
| VERy strange error calling a C++ dll (CF, vs2003) | 16 Jul 2005 18:24 GMT | 1 |
I'm writing a C# app with VS2003 for WinCE4 / 5 x86. I must call some functions on a Embedded C++ Dll (I have the source code of it). The dll's Header is:
|
| What are these Windows Explorer clipboard formats used for? | 16 Jul 2005 18:02 GMT | 2 |
If I select files in Windows Explorer and click Copy I find the following formats on the clipboard. I know what FileDrop contains. How can I find out what the others are used for?
|
| SQL Transaction in C# | 16 Jul 2005 17:26 GMT | 6 |
I want to call a stored procedure that is in my SQL DataBase and i want to do it with transaction so i could roll-back in case of need. if i do a simple SP (like select * from table) and i don't send any parameters i have no problem and it works, but if i'm sending parameters (and ...
|
| noob question: how do i access the object sender properties | 16 Jul 2005 16:47 GMT | 7 |
based on the following code generated by the IDE: private void toolStripButton1_Click(object sender, EventArgs e) {} How do I convert sender to a ToolStripButton object so I can access its properties?
|
| A problem about shutdown the window programming by wmi | 16 Jul 2005 16:16 GMT | 1 |
I want to shutdown or reboot or logoff my window by my programme.And when I connect to my machine, and then run ManagementObjectSearcher.Get() method it throw me an exception mean "Cannot use the user certify to connect local connection".But actually my user name and password for ...
|
| Microsoft coding conventions? | 16 Jul 2005 13:55 GMT | 3 |
I'm looking for some coding conventions for c# written by microsoft. What I'm looking for is. for example: * How to name method variables, class variables * How to name functions
|
| Casting of derived classes | 16 Jul 2005 12:10 GMT | 26 |
I've got a problem and I'm not sure if it is an understanding problem of class behavior. I searched in the newsgroup and I found some Information about the same topic, but actually no solution. So sorry for the repost, but I would glad, if somebody could explain it to me.
|
| hide tab in tabControl ? | 16 Jul 2005 11:54 GMT | 1 |
I try to hide one tab in tabControl. Write such line: tabControl.TabPageCollection.Item[1].Visible = false; Compiler speaks:
|
| MAPI control with C# causes exception when calling Send() | 16 Jul 2005 08:52 GMT | 1 |
Real simple code: MSMAPI.MAPISessionClass session = new MSMAPI.MAPISessionClass(); session.SignOn(); if (session.SessionID != 0)
|
| converting byte to float | 16 Jul 2005 07:50 GMT | 3 |
I have to convert byte value to float in C#.Float is in IEEE 754 format. byte value is= 70 23 22 195 in a byte array. and its float value is = -150.0909 what is the algoritm for this conversion?
|
| overriding static and non static method | 16 Jul 2005 07:45 GMT | 6 |
I've try to access a static method using an instance instead of a class. public class test{ public static void ShowAText(string ThisText)
|
| How do i implement inheritance like this? | 16 Jul 2005 07:30 GMT | 4 |
// there are 2 forms inheriting from EditorTemplate // ItemsEditor and CategoriesEditor public EditorTemplate CreateForm(string inheritedFormName) {
|
| Changing string to datetime snafu | 16 Jul 2005 07:29 GMT | 7 |
Before processing my data in a datagrid, I need to parse the day of the week (which will be my 'rqsday' variable) from a string that comes over on a querystring: string rqs = Request.QueryString["txtboarddate"];
|