PravinD's Q&A profile
Gadgets Sidebar gadgets outside the sidebar?
Hi guys, I'm interested on building some gadgets and I'd like to know a couple of info about this specific type. 1) Can they exist outside the sidebar In this case, can they know their position in the stage 2) Can they communicate to each other I had a look to the API and I couldn't find so much information about these topics. Any info will be very appreciated. Thanks, chr Don't use files whatever you do - as you say, it's far too slow. Use the registry. Write to your own key under HKEY_CURRENT_USER, it uses next to no CPU time. var oShell = new ActiveXObject("WScript.Shell"); ... oShell.RegWrite("HKCU\\Software\\MyGadget", "some text", "REG_SZ" ...Show All
.NET Development programatically Accessing the Mail
hi, my task is programatically accessing the mail server whether it is hotmail/gmail/yahoo etc using vs2005 C#.Means fetching the my inbox contents into my machine.Can you please suggest me some good references.Its very urgent and i am new to these technologies.Please give me solutions. Thanking you inadvance A.suneel. you have to look at using TCPClasses to recieve mail and check out the contents and responses from the Server. http://www.csharphelp.com/archives/archive232.html Will move thread to the appropriate forum for the experts to help out more on this ...Show All
Visual Studio warnings in Code Snippets Output for snippets in My Snippets folder
Hi Everybody, I've got a strange problem with Code snippets I've created for C# (I'm using VS2005 for Developers). I've created the snippets xml files (using snippy) And put them in Visual Studio 2005\CodeSnippets\Visual c#\My Code Snippets The snippets I've created work OK, I can add them from the Intelisense menu, or by writing the snippet shortcut and pressing TAB. The problem is that I keep getting these warning in the Code Snippets Output window C:\Documents and Settings\<myUser>\My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code Snippets\events.snippet: Missing or unspecified Language attribute C:\Documents and Settings\<myUser>\My Documents\Visual Studio 2005\Code Snippets\Visual C#\My Code ...Show All
SQL Server Is it possible to hide a field or fields based on User Groups?
RS 2000 I have a report that has a few sensitive fields and would only like to show them to a certain AD group. Is this possible Hi, sure this is possible through custom .NET code. Implement your own Active Driectory checking class and use that within reporting Services. Based on this class you can make the textbox Visible or Hidden. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) How to set the MaxItemsInObjectGraph programmatically
Hi, We would like to change the value of the 'MaxItemsInObjectGrpah' property. We know it is possible to change it through the configuration file as follows: < behaviors > < serviceBehaviors > < behavior name = "MaxItems" > < dataContractSerializer maxItemsInObjectGraph = " 2000000 " /> </ behavior > </ serviceBehaviors > </ behaviors > We wonder how it can be done programmatically Thanks. ...Show All
.NET Development Using .NET To Query NLB
Is anyone aware of a way in which one could build an application that could query an NLB cluster to find the machines that are part of said cluster If you are using DNS to load balance, then you could do a DNS lookup on the cluster name to get the IP Addresses of the machines that belong to the cluster. You could then do a reverse lookup on the IP Addresses to get the names of the individual machines (note that DNS reverse lookup is not necessarily a robust solution). If you are behind NLB hardware, then I have no idea. From the little bit that I have worked with NLBs, it seems to me that they are designed to hide the fact that you are working with a cluster of machines... ...Show All
Software Development for Windows Vista HTMLHelp context popups
Sorry if this is slightly off-topic, but it is 'Vista UI Development' related. On versions of Windows prior to Vista, HTMLHelp's context popup windows have a 'translucent' drop shadow, albeit that it's achieved by a dot screen. Under Vista (RC1) the drop shadow appears to be opaque and black! To my eyes this is ugly, and out of keeping with Vista's emphasis on translucency, particularly Aero Glass. Are there any flags or settings that can improve the appearance of HTMLHelp popups Failing that might the appearance improve in a future version HTMLHelp is supposed to be the preferred Vista-compatible solution for context help. Richard. Unfortunately sticking with Winhelp isn't really an option for sof ...Show All
Software Development for Windows Vista How Can I Disabling a specific System Warning?
System Warning Warning: A problem with the cooling system has been detected. Please turn off the computer immediately, return it for service. I believe this is not a valid message after talking with Toshiba support and changing the CPU fan. Also, I am having no heat issues, pc works fine and fan is running... Thanks for the time and effort ;)- i had this error on a toshiba laptop after it had been to another centre for repair. Looked at the problem in a different way as it being hardware fault, so stripped laptop down reseated heatsink and fan ran a few tests and hey presto all working. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game deployment on Windows XP?
Hi, I'm currently developing using Java, OpenGL and Collada, but considering trying XNA. However I have been unable to find info on what is needed to deploy a XNA game on Windows XP. I gather the user needs .NET 2.0, DirectX 9.0c and XNA itself. Does anyone know how cumbersome it is to deploy these (both for me the developer and for the enduser). Is it possible to make an installer containing all these or does the end user have to go to MS and download these separately I remember looking at DirectX some time back, where there was an issue getting the latest dx9x utility library installed on the end user's machine as the license did not allow redistribution of the lib, but maybe that has been solved With Java all that is needed is the JRE ...Show All
Audio and Video Development WM Encoder bit rate,fps vs performance
hi, I am trying to explore the WM Encoder tool for a screen capture. I noticed that the encoder always had a different bit rate and capture rate for each session. I chose to have medium quality output file every time. I am trying to emulate the performance issues i have with my application to help me with the same. I have an application which uses the WM Screen Encoder to do the capture. However, i am facing performance problems. The CPU resources always max to 90+ pc. Is there any way to tune my encoder to give me better performance I am getting a slightly better performance with your tool. But even in the case of the tool the resources max to 90pc often. I was wondering how the bit rate and fps is chosen and how to tune th ...Show All
Visual Basic linking forms
ok heres an easy one i'm sure how do i go about linking one form to another, i.e. on form1 i have 2 textboxes. on form 2 i have a label how do i write the coding so that the label.text is the sum of the 2 text boxes. ALSO How do i open a form, as a form, from a form and have the first form close, without my whole program closing with it ie. button1_click (blah blah blah) Dim frmForm2 as New form2 Form2.show where do i go from here or am i on a wrong path the first part of your post completely confused me. The part with the label1.text being textbox1.text + textbox2.text is straight forward, but the label is on the 2nd form, not the first, as well as the textboxes ...Show All
.NET Development .Net Framework V2 and Visual Studio 2003 Ent Arch
Thanks for your time. Can I use v2.0.50727 of the .Net framework with Visual Studio 2003 Ent Arch Or am I limited to 1.1 I'd like to take advantage of "MY" objects. im afraid you are limited to .NET 1.1 for VS2003. Download the free Visual Studio Express editions for use with .NET 2.0. Or purchase VS2005. Other than that you are stuck im afraid. Each VS is tied with its version of .NET Framework, with 2005 being the exception since it can also develop .NET 3.0 apps with the orcas add-in ...Show All
Visual C# Debate - Which is better? C# or Java?
I've got a debate started about the pros and cons of using MicrosoftR or JavaR programming languages started. I'd really like to see some feedback from both sides. Right now, I'm pretty completely fed up with the whole JAVA thing. All these years I've been writing ASP, VB, C# and thinking 'Java's gotta be where it's at'. I've been working with Java lately and finding it severely lacking. Anyway, please comment on: 'What Good Is Java ': http://microsoft-vs-java.blogspot.com/ I hope this isn't too far off topic. I'm hoping to learn some things about C# here, that I can't really ask more specific questions about. I want to see what developers say. My Site: http://www.web-development-contractor.com I'm all for C#, in my o ...Show All
SQL Server SQL Express SSL Certificate
Hello: I am trying to get SQL Express to use a certificate for SSL encryption between the server and client. Our company has a certificate server and I already did generate a server certificate from it. I installed the certificate in the "local machine" store and I also have the CA certificate in the trusted root on the server machine. (XP PRO) When I use the configuration tool, I get to the "protocols for SQLEXPRESS" area, I click properties, I select the certificate tab, but there are no certificates available from which to choose. Can someone shed some light on where I might go from here Larry I'd start with the BOL topic at http://msdn2.microsoft.com/en-us/libra ...Show All
Windows Forms Problem with Open/execute file.
Hi, I am using VB.net 2005. I want to add a button in my windows form, so that when user click on the button, it will open the file. The file is in the pre-set location, for example, C:\data.doc or D:\Info\data.pdf or d:\info\aaa.jpg The file will be open with it default program like .doc will be open with MS Word, .pdf will be open with Adobe Reader,etc. If unknown file, it will prompt you which program you want to run the file, just like you open(double click) the file in windows explorer. I tried to use Open File Dialog, but it seem like won't open the file with its default program. Can someone please guide me how can I do this Thank you very much. Best Regards, Yee Boon. Hi nobugz, Thanks for your ...Show All
