Answer Questions
rkwarning Wants to create an application which run in background
Hi, I have to create a application that runs when client starts his computer for autoupdates Can anybody pls help me how should i start my application in background when user starts his machine Waiting for ur reply Thanks, Nilesh Nilesh Ingale wrote: Hi, Thanks for ur suggestion..... Thanks, Nilesh If you think so then never forget to Was this post helpful (Yes/No) Thanks!!! Hello Nilesh, If your problem is solved as was desired thorugh any of my posts here, Please mark it as a Helpfull so other can get benifite when they have same problem and results should get better indexed, Best Regards, Nilesh Ingale wrote: Hi, one more thing i want to run the Windows Ser ...Show All
masterK Performance in DotNet remoting
Hi, Application: We have developed a DotNet Remoting application which acts as a server to Calculate analytics. This server takes inputs from different client applications and respond with the analytics. This server is run on a "Single-call" mode so that each request is created independently for scalability. In some scenarios the requests from the client are sent parallely using different threads to speed up the process. Also, this remoting server uses some third party libraries for calculations which takes a longer time to compute the analytics and these libraries do not support multi-threading. Problem Statement: - Keeping number of users and different requests, Request / Response volume is very high. There are case ...Show All
jf3 2.0 dll being loaded with 2.0 or 1.1 runtime depending on connected user
Hello, I deployed a GACed 2.0 dll exposed as a COM component, and being called from Excel. When logged under my account, the library is correctly loaded Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll Running under executable C:\PROGRA~1\MICROS~2\Office10\EXCEL.EXE When logged under a colleague account, the 1.1 runtime is called : Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll Running under executable C:\PROGRA~1\MICROS~2\Office10\EXCEL.EXE Where is this settings Thanks in advance, NR I have seen that the last installed version of the framework is supposed to be called. It looks like it depends on WHO is logged on the mac ...Show All
dfl Debugging Custom Attributes
Is there something special I need to do, in order to set a breakpoint and step through a custom attribute I have a class like this: public class SecureClass { [ApplicationPermission(SecurityAction.Demand, CustomPermissions.UserAccessPermission)] [MyTest] public bool WasSuccessful() { return true; } } And I was trying to set a breakpoint in the constructor for ApplicationPermissionAttribute, so I could debug it. My unit test looks like this: [Test] public void TestUnsuccessfulDemandOfUserAccessPermission() { SecureClass instance = new SecureClass(); try { bool result = instance.WasSuccessful(); Assert.Fail(); } catch (Exception exception) { ...Show All
Jonas.S Access 2003
I already have a database I created. I need to add new records that are blank so that I can add new *.jpgs into the database, there prices, etc. Can someone help with this. I see the insert a record and have clicked on but do not see where it puts the new record. Thanks Dee What issues are you having Can we see some code you can't quite insert blank records I believe but I could be wrong. What code are you using ...Show All
DavidThi808 Where is Sysem.ServiceModel?
I just installed VS 2005 with version 2.0 of the framework. I'm attempting to work through a WCF example. I don't see the ServiceModel in the AddReference list. Is this a 2.0 or 3.0 component Moved to ".NET Framework Setup" Anyone know a good link to download the proper SDK I tried from one that was provided earlier in this thread and after an hour of continuously getting a "retry" prompt for an error the install encountered I gave up in frustration. Information on the SDK can be found at: http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/default.aspx i know till RC1,orcas tools depends on SDK tools also(not all the features,some ...Show All
Jim Cordwell Connecting to Remote DB ?
Hi all, I have a web application working online, using technologies ASP & Ms Access Can I connect to the database that is located on a web server, using a vb 6 application from a local machine. & make update, delete & inserts into that db. If not then If I upgrade my product technologies to ASP.Net & SQL Server Express then Is it will be possible of course you can..... why not Rgds Rodrigo Ok, but how can you provide me code help, in all this process, where we make modification, only in the db path or what exactly do you need modify an access db from VB6 Yes, but I want to modify it while it is located ...Show All
sapo how to run a vb.net application without installing .net framework sdk...
sir i have developed a vb.net application & i would like to distribute it. But my clients are not intreseted to install .net framework sdk in their machines.They argue that with respect to java,if only JVM is installed ,they are able to run their java applications.... So,is there any possible way to run a vb.net application without installing .net framework sdk... Please help me in this matter You are going to have to install at least the .net Framework runtime for the .Net Framework version that you developed against. You dont have to install the whole SDK just to get the application to run. I developed s/w and some body said me once that u can run application without framew ...Show All
rgalgon How to find other computers connected to my system?(LAN)
Hi, I want to know how to find other computers that are connected to my machine in vb.net. using .net framework 2.0 Thanks, SK No your forum post link does not give information about computers connected to the machine, but all computers in the workgroup. Hello Senthil! See this post, I hope this will solve your problem! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=875910&SiteID=1 Best regards, Thank you guys for helping me with regard to that namespace. It made the task sooo simple. You can find out the remote IP addresses of all active IPv4 TCP connections on your machine using IPGlobalProperties.GetActiveTcpConnections().. Read mo ...Show All
Keyu Windbg / SOS Callstack
I'm unable to get source code file and line number information for the call stack functions reported by !clrstack in .Net 2.0. I've seen examples of this working in the 1.1 framework. Does it work in 2.0 If so, what's the trick Thanks for any pointers. The following article should be helpful in using SOS within Windbg. http://msdn.microsoft.com/msdnmag/issues/03/06/Bugslayer/default.aspx Hope that helps, Stephen I don't have an answer to your question! I actually have a question. I am unable to debug VB.net code using Windbg. Can u give any pointers to info related to debugging .NET code with Windbg ...Show All
Mark Boettcher XPath expression - Sort multiple nodes
Hi Is it possible to select all node in <Element> and have them sorted on, for instance: A, desc B, asc C, asc Something like: "//Root/Elements/Element[desc(A), asc(B), asc(C)]" XML: <Root> <Elements> <Element> <A>1</A> <B>23</B> <C>90</B> </Element> <Element> <A>20</A> <B>0</B> <C>14</B> </Element> ... </Elements> </Root> Kind Regards Hi Ok, so if I for instance want to pick out Element tags containing: A>2, B==2, C<10 and sort the result: desc(A), asc(B), asc(C) I first have to select "A>2, B==2, C< ...Show All
wuyueduzun SQL my final Straw
I am having a bad time with a join, what I am trying to do is get the details of a customer into a data grid. The problem is that the on info available is a booking ID which is linked to the customer table. "SELECT tblCustomer.[customerID], tblCustomer.[firstname], tblCustomer.[surname] FROM tblCustomer WHERE tblBooking.[bookingID] =" & bookingref, myConnection) This is what I have so far. Please any help you may be able to give I would be great full for. Kind Regards Graham Based on your suggestions I have used this, now I get a error saying that a parameter is not present. ("SELECT * FROM tblCustomer, tblBooking WHERE tblCustomer.ID = table2.FK" & bookingref, myConnection) Any Ideas A few mistak ...Show All
mjobbe adding Window Media Player into IE Toolbar
Hello: I am facing a problem in adding a Window Media Player Control into IE ToolBar. I found a project written in C# on Code Project site that can add a text into IE toolBar. But I can't add the window Media Player into IE. The Project I found constitutes of 2 projects BandOjLib and SampleBars window Application C sharp where the development is happening in it. So what you do in SampleBars project will be embedded into BandObj Project after compilation and start without debugging both BandObj and SampleBars respectively. When I am adding the Window Media Player into TOOLBOX, then to drag it into window Form => it gives me this error: Assembly generation failed -- Referenced assembly 'AxInterop.WMPLib' does not hav ...Show All
Bijivb Thread was being abort
Hi all, I wrote an application which display a status dialog box while doing a time-consuming task. However, sometimes it raises an error message saying that "Thread was being aborted.". What wrong with my code Please help! Here is the code: The statusdialog is to display a dialog // status dialog public class StatusDialog : System.Windows.Forms.Form { private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label label1; private System.Windows.Froms.Label label2; public StatusDialog(string title) { label2.Text = title; } // Tick event handler private void tick( object sender, System.EventArgs e) { try { if(this.label1.BackColor == Sy ...Show All
Christoph Wienands How to veto suspend and shutdown request using C#?
Hi, I am writing a program that absolutely need to veto (cancel) any suspend and shutdown request initiated by user. Is there any way to do this in C# using managed code .NET 2.0 seems to only give PowerModeChangedEvent and doesn't give any option to veto. Before you ask, yes, I am aware that a program should never veto a suspend request, but I really need to. And yes, I am aware that veto is no longer supported in Vista (which is fine as my program is specifically for XP). Thank you very much. Trying using SystemEvents.SessionEnding. It's a cancelable event so you can use it to try and suspend the shutdown. Found the solution. http://windowssdk.msdn.microsoft.com/en-us/library/ms704147(VS.80 ...Show All
