Mirific201201's Q&A profile
Visual C++ Disapearing Colour window
I am using VS8 with SP1 and when i try and edit an icon or bitmap resource the colour window/toolbox disapears after it has been clicked on e.g. selecting a colour. Once it has gone it is very dificult to get it to reapear. I have the window to normally dock and when I have managed to get it to float it still disapears. Any suggestions Reagards Robin That doesn't work as I think as far as VS2005 is concerned it is visible. the only way I can get it to repear is by clicking on another source window and re clicking on the window containing the graphic to be edited. ...Show All
.NET Development How does Socket/s being taken care of in the memory?
Hello again :) I'm just curious, if I have a server, using async-sockets model, and 1000 clients connected, how is it handled I mean, I'm sure there are no 1000 threads (haha) taking care of each socket instance.. So, what Are there, let's say, 100 sockets taken care of in 1 thread, or what Where can I learn about it What happens if I use Thread.Sleep() in one of the sockets' events (the rest of the sockets are affected ) __ButterFly__ wrote: Hehe well, you answered me - though I couldn't view the URL you provided I'm convinced you didn't make it up haha :) Thanks buddy you're something real special here @ the forums ! I send you Link to MSDN any how see this on MSDN online: http://windowssdk.msd ...Show All
Visual Basic VB.Net general
Hi all, Can I show a form within a panel of another form -- Atanu Hi Atanu A form inherits from control so it can be placed within any control container. You would have to do it at runtime as there is no design time support for this. eg Create the form instance and add it to the panel's child controls collection If you need any further information / an example, let me know Richard ...Show All
Visual Basic error message
Every time that I go to open a word document, I getan error box from Microsoft Visual Basic. The box states: Run-time error '5'' invalid procedure call or argument How do I get rid of this or better yet, get it fixed Thanks. You your trying to open the word document from Visual Basic And which version of visual basic are you using ...Show All
SQL Server XML Bulk Load XSD and Identity column problem
Hi an application I have inherited uses SQL Xml Bulk load to load in Product Data to a database. In this database is a ProductDescription Table which currently has two columns, ProductID (int(4), allow nulls) and DescriptionPhraseID(nvarchar(10), allow nulls). I would like to add an indentity integer(4) column to this table - ProductDescriptionRowId for the purposes of sorting however if I add this to the Table my bulk load fails with a COMException error. I then have to remove the column, run the bulk load and then add the ProductDescriptionRowId Column again How can I modify the XSD file - copy is pasted below, to allow this extra column to be accepted Or is there something else I need to do Can anyone help please And ...Show All
Smart Device Development Adding Custom Today Screen Item
Actually I need to add a "cutom today screen Item" to Pocket PC automatically when message has been reached to my messenger. I am presently working on Visual Studio.Net 2003( Compact Framework1.1). Actually I have tried this link: C:\Documents and Settings\Administrator\Desktop\malleswar\adding image\Creating a Pocket PC Today Screen Plug-in with the _NET Compact Framework.htm but for building Embedded Visual C++ (eVC) has to be used. If u know better way than this plz guide me. There are known issues porting from eVC to VS2005 - check out http://msdn2.microsoft.com/en-us/library/ms228698(VS.80).aspx . These issues have been fixed in upcoming VS2005 Sp1. You can download the ...Show All
Software Development for Windows Vista Getting Vista Logo Certified?
Getting Vista Logo Certified Speed up your Vista Certification process with our team working directly with you! If you are a Microsoft Empowered, Certified, or Gold Partner , you may use your advisory benefits on technical issues for Vista Logo Certification. Global Partner Support has assembled a team to specifically provide Vista Logo Certification advisory service. We will advise you at a technical level for each Test Case and help you get through the Vista Logo Cerification process. Provide your Microsoft Partner Id when you contact Global Partner Support , and a Microsoft support case will be created. To contact ISV Global Partner Support Team: Email : ISVhelp@microsoft.com ISV Advisory Services Phone: 1-800-426-9400 Op ...Show All
Visual C# Reading other user data from registry
Here is a summary of what I am doing: 1. Running C# application as user1 2. Retrieve ntuser.dat file for user2 and load as a hive in registry 3. Reading HKEY_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders My issue is that when performing #3. The ntuser.dat file for user2 has %USERPROFILE%... in it. When the application retrieves this it is returning the %USERPROFILE% variable for user1. So the results from the ntuser.dat file for user2 for Desktop is C:\Documents and Settings\User1\Desktop. This is not an acceptable result. I would be happy with either of the following scenarios: a. The application returns the reg entry as-is: %USERPROFILE%\Desktop b. The application is able to convert the %USE ...Show All
Visual Studio 2008 (Pre-release) Could not find default endpoint element that references contract IService1 in the ServiceModel client configuration section
Hi, I am getting the above error. When I try to generate the proxy using svcutil, I get an error as: "There was an error importing a wsdl:binding that the wsdl:port is dependent on".. But the proxy .cs file is generated. The host is running perfectly and I can view the wsdl. Can someone help me out with this Also is there any example available somewhere that I can use. I tried using MSDN Virtual lab example but I am getting the same error with it too. Thanks, Akhil Jindal I got the same error. But the problem i made is that i had my proxy inside the namespace, whilst on the app.config i referenced it as "IMyContract", instead of "MyNamespace.IMyContra ...Show All
.NET Development Sending MS Word document without using outlook.
Hi, We are looking for a way to send styled word document without using outlook. When u create a new mail in outlook word is used. In our project we have some standard word documents that can be used as mail. Only we don't want to use the outlook accounts / program of users but the System.Net.Mail mail system of .NET 2.0 Thanks, but we don't want to send the document as attachment. Like i said, when u type a mail in outlook, word is used as mail editor, so word converts the document into a html mail and sents it to the client using outlook account. We would like to do the same but without using outlook at all, so when we have a word document, the content of the document should be se ...Show All
Visual Basic How can I find the directory in which my app is just running ?
Hi, I need to find out, through code, the path name of where my VB.Net code is running. I have tried just about any "Application.*Path" possible, none of these gives me the answer. So, if i have installed my app in directory x on server y, when my app runs, how do i find out about the complete path name to that x directory I need to know, because I must read the content of a file that is in that x directory, and my app can be running in different directories with different files in each of these. Thansk for your help BalexH Thanks I used these properties, but I was looking at the result in debug mode, and therefore it kept giving me the "wrong" answer. Had I compiled and ru ...Show All
Visual Studio Is VS Win XP Home Edition Capable??
Peace be upon you all, Hi All, First of all I'm a newbie so I'm sorry if my question is stupid. I just want to ask if VS 2005 works fine on Win XP Home Edition If so what about the IIS *** IIS isn't in the Add/Remove Components on the Windows XP Home Edition... Thanks for your help You couldn't use VS2003 on XP home because it required IIS. VS2005 however has it's own 'build-in' web server that is uses to run ASP applications from the IDE According to the system requirement for VS2005, you can run it on XP Home SP2. See http://msdn.microsoft.com/vstudio/support/readme/ For all microsoft products, you can find the System requirement on the ms website (might take some searching though ) Regards, ...Show All
Visual Studio 2008 (Pre-release) How to access Parent Element of the ItemsControl's Panel?
Here is the situation: I have created an overloaded Canvas object as an external assembly. Now I use it as a panel object in ItemsControl: <Viewbox xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:Custom="clr-namespace:CustomNamespace" Stretch="Fill"> <ItemsControl> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Custom:CustomCanvas/> </ItemsPanelTemplate> </ItemsControl.ItemsPanel> </ItemsControl> ....... </Viewbox> How can I access that ItemsControl object from my assembly. Thing is that I define some resources on ItemsControl and I want to use them in my Canvas Assebmly C# code. On runtime the CustomCanvas has Parent property set to null, so I'm ...Show All
SQL Server Error Starting Script Editor in SSIS
I am having a problem in the Business Intelligence Development Studio. When I add and try to edit a Script Task or a Script Component, I click on the Design Script button and get one of two errors. For the Script task I get an error that states: Cannot show the editor for this task. (Microsoft Visual Studio) For the Script component I get: Cannot show Visual Studio for Applications editor. (Microsoft Visual Studio) For some reason or another it just will not start Visual Studio for Applications. I have uninstalled an re-installed several times. I have also researched and discovered that there is a bug when C# tasks are include in the project. However, this is not the case. Please help! hi, Weird thing happen to SSIS ...Show All
Windows Live Developer Forums Help needed
I am trying to search for eg: "bank" in some european countries like "Sweden","Norway" etc. I am getting zero results. The same string if i search in "UK","France","Italy" i am getting the results. The Culture Info string is "en-US". Do i need to change the culture info string to get the results. If so how am i getting results for "France" and "italy". Please help me.Thanks in advance. -Praveena Hey Praveena, it would be helpful if you could post some code from your example. I recently built a tool using the MSN Search API that you might be able to use to validate your results with, as well as see how to ...Show All
