Draakje's Q&A profile
Smart Device Development Win CE.NET Systray Icon
Hello... I want to make a form that has an icon in systray. In Windows Forms I use NotifyIcon Class but this is not available in WinCE.NET. Can anyone give me a solution Many thanks! Hello... I found a solution ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/messagewindow.asp ). The only thing that does not work is the fact that the icon is invisible but it is there becose the space is cre ...Show All
Windows Forms dataGridView: nested obj., masked input
hi, how to display nested obj. in datagridview class A { privete string _a; public string a1 { set .... get .... } privete B _b; public B b { .... } } class B { private string[] _b1; private string[] b1 {......} } my problem are 1. How to display all the strings in one row (including b1[1], b1[2], ...) 2. How to limit the input to only numberic digits (the attribute type is string but i want us ...Show All
Smart Device Development can I keep both vs2003 and vs 2005?
just got a beta version 2005 as I wanna use compact framework 2.0 to develop application, but I also want to keep 2003, can I keep both of them Many thanks! ...Show All
SQL Server Question on MDX
I am trying to write a calculated field. I need to calculate the Sum of a Item Sold over a period of time where 2 measures called BV value and Unit Price are zero. Can someone suggest what functions I should use to get this done Thanks Ann Hello Ann, Did you mean to use a calculated member If yes, please, try the following: WITH MEMBER [Measures].SumOfSoldItems AS 'sum ( filter ( [Date].[Fiscal Year].members, [Measures].[B ...Show All
Visual Studio Express Editions performclick and graphics
I've written a short graphics test program. Basically the program executes when a button (button event) is pressed. I then wanted to use button.performclick in a Paint Event but the graphics in the button event does not work. I'm using a picture box as the canvas. Any suggestions. BTW the performclick does work for code other than graphics. OK here is an outline of the code.. private void btnOK_Click(obj ...Show All
.NET Development how to create ad hoc network using wi-fi
how can we create ad hoc network using wi-fi by how i mean how we can implement a connection between two pocket pc using wi-fi give me a sample of code in any programming language that can built a connection between the pocket pc using wi-fi Do you know what p/invokes you would use All I can find is windows vista NativeWifi and I am even having trouble finding out what dll to call it out of. thoughts thanx ...Show All
Windows Forms N:M relations and DataGridView
Hello! I have two tables related to each other in a n:m relation. To implement this relation I use a third connecting table. Let's say they have to following structure: Table "User": ID, Username Table "User-Groups": User_ID, Group_ID Table "Group": ID, Groupname A User can be in 0 or more groups and a group can have 0 or more users. Now I need to display all users of a group in a datagridview. Or all groups that a user belongs to. I just h ...Show All
SQL Server Determining when to send the report based on information inside the report?!?
Hello Here is a tricky problem to which I didn't find any "good" solution: I have a report which should be sent to the subscriber only when there is something to report. Mostly the report will be empty, because it will only report emergency-type-of-stuff. Now I have implemented the report logic twice, once in the report and once in a data driven subscription which returns a fixed email address when the report data query returns d ...Show All
SQL Server Back-up DB but keep the files for 3 days?
Hi I have created a job to backup all our database. It works fine and creates .bak files in default folder. I have scheduled the task to run every 4 hours. My question is how can i modify or program this backup plan to keep the backup files for only last 3 days and delete older backup files Mits That's simple. I assume you are using SQL Server 2000. If so, in Enterprise Manager, Expand Management node, ...Show All
Windows Live Developer Forums API Questions
I've run into a couple of issues in my development. Both are easy enough to work around but I'd prefer clarification if possible. The first issue is with the response. I seem to be getting a garbage character at the beginning of my response stream. This is preventing me from duming the response directly into the XmlDocument.Load() method. To verify I wrote a console stub and dumped the stream to the screen and it shows as a " " there. I've wo ...Show All
Visual Studio Team System Test that an event has been wired to a handler?
I have a class that exposes a public event named StatusChanged. public event StatusChangedDelegate StatusChanged; The class that creates this class is supposed to wire this event to appropriate handlers. I'm trying to write a simple test that verifies this has occurred. However, the following line in a test: Assert .IsTrue(target.StatusChanged != null ); returns this error: "Error 8 The event 'NewDaw ...Show All
Visual Basic resource parameter?
im not quite sure how this happened and im not sure on what it is and how to fix it.. help please Error 1 The item "obj\Debug\abc.Form1.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. does anyone know what this might be i cannot find any resource parameter code or any code that has anything to do with resources in my proje ...Show All
Visual Studio Express Editions System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.8.0") in VCSExpress!!!!
EnvDTE80.DTE2 dte; dte = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE.8.0"); Solution2 sln = dte.Solution; foreach (Project proj in sln.Projects) { foreach (ProjectItem item in proj.ProjectItems) { MessageBox.Show(item.Name); } } In these code these is always an error that tell me that "dte = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal.GetA ...Show All
Visual C# another question with sockets
hi, Does the beginreceive method (non blocked ) wait for data from server indefinately / or is it suppose to wait for the data to arrive at all (meaning process it only if it is available) In my program, the server sends my program a string "username" that i receive. I repply appropriately using beginsend method and it's callback. Server repplys me with string "Password" which i repply as well. However, after authen ...Show All
SQL Server Database connection error
Dear Sir; The following error messages appear and if you please explain how to handle these errors: 1- When trying to start the reporting services from the configuration manager the following appears: ------------------------------------------------------- The request failed or the service did not respond in a timely fashion, consult the event log or other applicable error logs for details ------------------------------------- ...Show All
