JIM.H.'s Q&A profile
Software Development for Windows Vista network is frozen after a standy or hibernation
I am running Windows Vista Business on an HP nc6230 laptop. When I resume from a Standby or Hibernation, I have to restart my laptop every time in order to use any of my network resources. I am using a wireless network. When I put the mouse over the wireless network icon in the task tray, it says that it is not currently connected to any networks. If I try to open that or click on Start - Connect To, nothing happens. No web pages will show up in Internet Explorer either. I tried to Disable the adapter in Device Manager and it froze up my laptop. In order to gain my wireless connection again, I must restart. Has anyone witnesses an issue like this or knows how to fix it I am using an Intel PRO/Wireless 2200BG Network Connection adapter tha ...Show All
SQL Server A call to SQL Server Reconciler failed. SQL Server 2005, SQL Server Mobile merge replication
Hi, Iam trying to perform merge replication between SQL Server 2005 and SQL server mobile. It has previously been working. Recently something is causing the following problem when i try to perform the merge. I grabed the following output from the replication monitor. Error messages: An error occurred while reading the .bcp data file for the 'MSmerge_rowtrack' article. If the .bcp file is corrupt, you must regenerate the snapshot before initializing the Subscriber. (Source: MSSQLServer, Error number: 2147767868) Get help: http://help/2147767868 The merge process was unable to deliver the snapshot to the Subscriber. If using Web synchronization, the merge process may have been unable to create or write to the message ...Show All
Visual Basic Collapse Region questions
1) When you collapse a region, and cut and paste it to a new spot, it does not stay collapsed but expands with your cursor at the end of the region. I find this very annoying a wastes time. If I cut and paste a region, I would like it stay in the collapsed state that I put it in before the cut. Is there any way to control this behavior 2) I would like a way to collapse all itmes (methods) in a region as well as the region. There are ways to collapse a method, or a region (leaving the methods in the state they were in), but I don't see how to collapse all methods in a region and the region. Is there a way to do this THanks! Bob To collapse all method in a region as well as the region, use Ctrl+M+O, use Ctrl+M+L to uncoll ...Show All
Visual Studio 2008 (Pre-release) Problem with IIS hosted service
Hi everyone, I have successfully created a service hosted in IIS 6. Everything wok fine with Anonymous access enable. I get the following error when I turn off anonymous access. Failed Authenticate TestFacNet Test method TestFacNet.TestServiceAplicationFacNet.Authenticate threw exception: System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.. My client code look like this. I'm not using a config file on the client EndpointAddress epr = new EndpointAddress ( "http://localhost/Ap ...Show All
Visual Studio Installing VS2005 Pro on Vista
How By now I've tried running both the Autorun and the Setuo programs in compatibility mode, both at the same time, but I always get a message saying I need at least Windows XP with Service Pack 2 installed. I've also tried running both programs in Admin mode, but it still doesn't work. My version of Vista is RC1, build 5600. Any information would be appreciated. take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=92029&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=757326&SiteID=1 http://blogs.conchango.com/stuartpreston/archive/2006/05/06/3918.aspx ...Show All
Visual Basic Question
Hey gyuz! I wrote a little program that runs any other program you want throuh a contextmenustrip.The program adds a notify icon in the tray and you can access the menu through there.All the programs you add are saved in the registry for calling them. I used the AddHandler to create a new ToolStripMenuItem each time i add a new program. But here is my question .. when running a program: I used : Process.Start(RegistryKey.GetValue(sender.tostring) and Shell(RegistryKey.GetValue(sender.Tostring),AppWinStyle.NormalFocus,False) The Process.Start works fine. The Shell throws the File Not Found Exception. I don't why! Sorry guys i was away for a while! Yes the problem was the double quotes. I used quotes with Sender.toString ...Show All
Visual Studio 2008 (Pre-release) Setting Up a Publc MSMQ for access through internet (using NetMsmqBinding)
Iam trying to setup a public MSMQ between two enterprises so that they can exchange messages. Iam planning to use NetMsmqBinding. Any suggestions or recommendations to consider. Thanks, T.Ramesh. Ramesh, Thanks very much for your instant reply. Can you please provide some more information on setting up a WCF that writes to a message Queue I have set up a message queue, and set up the configuration in the following format: < endpoint address = " net.msmq://xxxx/private/servicename " binding = " netMsmqBinding " bindingConfiguration = " servicenameMsmqBindingConfig " name = " ServiceNameMsmqbinding " contract = " servicename.Iservicecontr ...Show All
Visual C++ C++ OOP
Hi there. Suppose I've learnt C++ syntax including all those polymorphism, inheritance and other stuff from Object Oriented Programming. So what now How to know the things about analizing.. designing.. implementing.. testing I mean I don't know how to use OOP in a concrete project. Can you give me some info about that It would be great if the info would be "compatible" with MFC (I'm really new to programming). I;m asking because what if i would like to make a project. A big one. Make it in OO. So then I have to know what will be a class, what can be an abstract class, which functions should the object have inside, what can be a friend of class etc. - and things that are from OO and can help t ...Show All
Visual Studio Tools for Office ItemsEvents_ItemRemoveEventHandler
Hi, I am trying to capture the Delete Task Item Event. For that I am handling the ItemRemove event of Task folder. But handling this event does not provide me the Task Item which is deleted. How to get the task item within the event handler I have used the following code for the same. using System; using Outlook = Microsoft.Office.Interop.Outlook; namespace OutlookManager { class Program { static void Main(string[] args) { Outlook.Application application = new Outlook.Application(); Outlook.NameSpace nameSpace = application.GetNamespace("MAPI"); Outlook.MAPIFolder folder = nameSpace.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks); folder.Items.ItemRemove += new Microsoft.Office.In ...Show All
Smart Device Development outofmemory exception when loading an image
I'm developing an app that load an image, high resolution (Image size) when I load it always raise an error "outofmemory". the weird thing is I can load 2MB picture with 1600x1100 resolution but I can't do the same thing with 400KB image with 3200x2200. this is my code, perhaps I was wrong public sub loadimage() try picturebox.Image = New Bitmap(OpenFileDialog1.FileName) picturebox.SizeMode = PictureBoxSizeMode.StretchImage catch ex as exception end try end sub Is there any limitation (sorry for the language) of size that picturebox can handle or do you guys have tricks that can manage the memory dispose can you write me the code thanks.. I think its more to do with the resolutio ...Show All
.NET Development ASP.NET XML Serialization Threading Question
I have ASP.NET web application which heavily uses serialization of custom objects. I have defined this serialization class as Sealed and All Static members in a seperate dll. I do not have multiple threads in my ASP.NET application. Just one main thread that executes. Let me assume 2 users are browsing my application from two different locations. My assumption was there will be 2 appDomains loaded in memory, so that both will have their own copy of my Static class. So in that case my XML Serializer utility will be thread safe. Please let me know if I am wrong in my assumption. If there is only one copy of Sealed class for all AppDomain, my XML Serializer class will not be thread safe. Can someone explain what happens in WebServer ...Show All
SQL Server How to find a record
How to find a record in table without key How to get specific record in table without key field and displaying on datagrid YOu explanation has to be a bit more specific. There is no problem in finfing any values (even if there is no "key" on the column) by just using a query for retrieving the data. I also do not understand what "How to get a specific record without a key filed" means, because if you want to have a specific record, you will have to provide an identifier for extracting / querying the data from the database. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Express Editions How to tell when F18 key is pressed
I have a keypad that looks like a usb keyboard to xp but sends F18 through f24 keypress when the buttons are pressed. How can I read these in C# Keydown and key press don;t work for F keys this high. Thanks Ringo That's odd, Windows defines virtual key codes for these keys (VK_F18..VK_F24) and the .NET Keys enumeration defines them too (Keys.F18 thru Keys.F24). You may have a problem with the USB driver for this keyboard... ...Show All
Visual Studio Team System Listing global groups on TFS
Hi, Is there any API to list the names of global groups on TFS eg, [SERVER]\Team Foundation Administrators, [SERVER]\Team Foundation Valid Users etc. Manasi ListApplicationGroups gives me all the groups that start with [ProjectName]. eg. [ProjectName]/Project Administrators, [ProjectName]/Contributors etc But I need groups like [SERVER]/Team Foundation administraotrs, [SERVER]/Service Accounts etc. Manasi ...Show All
SharePoint Products and Technologies make a dropdownlist column in add new list item form postaback to serv
Is it possible that when a user is trying to create a new list item in the add new list item form. Whenever he selects a different value in the content type column, I need to post back to the server. The purpose of this is that I need to modify the value field programmatically according to what value the user selects in the content type column. Thank you. I changed my original post to value field instead of description field. So I need to change the value field when the user selects selects a different content type. I will check to see how i can do that Thanks ...Show All
