THNQDigital's Q&A profile
Visual Studio Express Editions Help Clearing All Textboxes and All Comboboxes
Greetings: I found this helpful code elsewhere on the forum, but it is only working on the Combo Boxes and not the text boxes on my Form1. Currently I have 4 textboxes and 3 comboboxes on my form. In the editor, when I hover my mouse over "ComboBox" it says "Class ComboBox" and when I hover my mouse over "TextBox" it says "Interface TextBox." Any ideas or help is greatly appreciated. Thanks Glenn Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For Each c As Control In Me .Controls If TypeOf c Is TextBox Then ...Show All
Visual Studio Team System Inserting an image into a HTML field
Hello, We use Teamplain Web site and it is possible to insert an image into an HTML field. In team explorer we can see the image just fine. But in team explorer I not figure out a way of doing a similar thing. In team explorer I cannot find an insert image icon in any toolbar. Has anyone been able to insert an image in such a field Thanks VS's formatting toolbar does not have a button for inserting images. One way to insert images is to copy paste that image from a webbrowser or some other place. The image should come from a URL otherwise the html control itself doesn't have capability to store image in sever and hence the image will be removed if it doesn't get loaded from an externa ...Show All
Microsoft ISV Community Center Forums Word 2003 Includetext XPath
I have a word document that has an includetext field. The text is extracted from an XML file that is generated from an external database. I want to load it into word and insert text from different sources that is formatted data into different elements. I do not have problems extracting data from a n element when using a raw xml document. But if I add random text with formatting to an element, I need to save as a Word XML. If I save as raw data I will lose the added formatting. I can't seem to make the xpath statement work after that. Shouldn't it extract all text with formatting as long as I make sure the namespace and node name is correct. I would appreciate any suggestions Hi Mary -- I sent yo ...Show All
Visual C++ Conversion Question
Hi Folks; I'm running a WMI query to get the sizes of the disk drives in a computer. The result of course is a large number but I want to convert that number into a nicer format (i.e. 80G). So this is what I have thus far: oid GetWMITotal(HRESULT hres, IWbemServices *pSvc, char * sQuery, LPCWSTR sCol, char * data) { _variant_t varData; IEnumWbemClassObject* pEnumerator = NULL; ULONG uReturn = 1; IWbemClassObject *pclsObj; char cSuffix; int iStringOp = 0; hres = pSvc->ExecQuery( bstr_t( "WQL" ), bstr_t(sQuery), WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, NULL, &pEnumerator); HRESULT hr = pEnumerator->Next(WBEM_INFINITE, 1, &pclsObj, &uRetur ...Show All
Visual Studio Team System Microsoft Project Plan (.mpp file) in Project Portal always locked
Hi, Was wondering if anyone has seen this problem and possibly have a workaround for it. If we create a project plan using Microsoft Project 2003 (or 2007), publish the plan to the team server and then save the .mpp into a document list in the Project Portal. When attempting to edit the file project always displays the error "The file is locked by another user", read-only, notify, etc.. However the other user is me! Sometimes the error can be avoided by deleting Temporary Internet Files but not always. Curiously this only affects .mpp files that have been associated with a team project and are stored in the project portal. Storing them on the file system, or storing unbound plans in the portal works just fine. ...Show All
Windows Live Developer Forums Problem Photo Upload Dialog: "THis folder has a new image format. The COnverter is downloading."
Does anyone have any insight as to what is causing the photo uploader not to recognize any photos in the My Pictures folder It shows "No photos in this folder" (when there are) and when you change to another folder containing photos it gives a dialog box " There are images with a new format in this folder. The converter is downloading". Well, there are the typical jpg photos in the folder, and when the dialog box goes away by itself, it still shows "no photos in folder". I've tried the whole reinstallation procedures, clearing cache, removing objects, etc. Every reinstall has the same problem. Any insights please -David I have exactly the same problem. I am runni ...Show All
Windows Forms Concurrency violation help me please
hi i use vb.net 2005 and an access database i connect to one table and change many things on the table and then save it again i use the disconnected mode i disappointed i try to solve the concurrency violation like the msdn said (get a fresh copy of the table and merge it to the worked one)but it sometimes save and sometimes not !!!!! although im one user for the database help me thanks in advance. Hi, Concurrency exceptions only happen if the data in the DB doesn't correspond to data in the DataSet's "Original" version. So, either the "Original" version of the data is changed in the DataSet, or the data in the DB is changed by some "external" action. I know Access DB's don't support triggers, ...Show All
Smart Device Development communication problem!!
i can't surf the internet from my pocket pc that connects to my pc through a usb cable or bluetooth connectin while my pc is connected to the internet through a dial-up connection i could do this on windows xp using active sync but now it's not allowed to install active sync on windows vista so please help me your problem here isn't a smart device problem, and certainly not a smart device emulator problem. it's a vista/activesync issue. vista uses "vista mobile device center," not "activesync." I'm not sure if it's out of beta yet ... this is the latest download I can find: http://www.microsoft.com/downloads/details.aspx FamilyId=C23C8E6A-A72D-4AEF-9663-31CE2FEF ...Show All
Smart Device Development Crash when hosting Windows Media Player ver 10.3 ActiveX control (T-Mobile DASH)
I am using Alex Feinman's Compact Framework ActiveX host (as described in this MSDN article ). It works great when hosting Media Player versions 10.1 and 10.2, that are available on most WM5 Pocket PCs and Smartphones. For some reason, when trying to instantiate the WMP control on a T-Mobile DASH smartphone, the device UI hangs (every single running application including the home screen). The only difference that I found is that DASH uses a newer version of Media Player -10.3 (mine is build 15097). I was able to trace the problem to a call to InPlaceActivate() -> DoVerb( -5 ....) during the control creation process ( called from TransitionUpTo(..) in AxHost.cs) . Oddly enough, commenting the call to InPlaceActivate(), allows the ...Show All
Visual Basic Confused
I notice this forum has the same name as the old off-topic program that is taboo to talk about or even mention in a sentence ~ as even I noticed in a post. Shouldn't they add the .Net to the forum name as they have it on the retail box After all .Net IDE/compilers are very different from their previous generations. It probably would make little difference. You'll note that The top of the forum details Visual Basic General Questions and discussions not covered in the other VB forums such as Data and Setup. ( Not for VB6 questions .) As does http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=10&SiteID=1 We get questions relating to VB Classic ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA and DX10
I am a graphics technology developer and the releases of XNA and DX10 really where great news to hear. But now I am confused... In which way do I have to go with my products I can't see the diffence between the intended targets (I know XNA's first version is intended to students and hobbists, but will probably open the audience range). Is there any plan on "merging" this technology I know XBox 360's video chip must be DX 10 compatible in order to use this advantages, so it seems impossible for now. We also have the managed-unmanaged difference between the two API's and the different paradigms they use (low and high level programming, the content pipeline, ...) By now, it seems the option is to choose one way and li ...Show All
Visual C++ Can I disable INTERNET_OPEN_FLAG_USE_EXISTING_CONNECT?
I'm creating a multithreaded test program that will create HTTP connections to a server, with each thread creating its own CInternetSession and CHttpConnection object. However, I've noticed that if I created 30 threads all of them will be using the same TCP connection ("netstat"). It seems like there is a flag INTERNET_OPEN_FLAG_USE_EXISTING_CONNECT for CInternetSession object to use existing TCP connection, but I would like to disable this so each thread will create a new connection. How exactly do I do this If all the threads have got their own CInternetSession and CHttpConnection, I can't quite see why the same connection is used. There might be some internal mechanisms lurking behind wha ...Show All
Smart Device Development rapiconfig problems
Hi I just installed .net compact framwork and I am trying to get remote performance monitor to work with Motorola Q. In reading Steven Pratschner's .Net CF WebLog he indicated that for smartphone 5.0 devices we need to use rapiconfig to install the rpmprov.xml file using rapiconfig to provision the device. However, when I try to run rapiconfig I get " ... Access is denied error." How do I get rapiconfig to run from my desktop on the Q Thanks. ...Show All
Software Development for Windows Vista How to unit test custom activities
Hi all, I would like to create some custom activities but I'm not too sure about what approach to use to create unit tests for them (I normally use NUnit). Do you guys have any good suggestion Thanks! Hi Claudio, In order to thoroughly test an activity, here are some key items you want to cover: -Validation - property values, parent/child relationships, etc. -Runtime - normal execution scenarios, cancellation scenarios, faulting scenarios, compensation scenarios, dynamic update, load/unload (workflow persistence), behavior inside child contexts (your activity as a child of a WhileActivity for instance) -Serialization - XAML serializibility of your activity, deserialization as well -Designer behavior - ...Show All
Visual Studio 2008 (Pre-release) I can see https site but not able to download by svcutil
Hello. Well, a couple of days ago, I put a post concerning this sample. . Since Vista was released, I'm using IIS7. (over http, I've been running the samples successfully)And I'm trying WCFSamples\TechnologySamples\Basic\Binding\WS\TransportSecurity sample. Before I just couldn't get to see the page that had https. Now I can access it by IE. But it always says that there's certification error. I don't know why cause I used the setup.bat that came with it. Anyway, I think because of it, when I try the following command svcutil https://localhost/servicemodelsamples/service.svc , I cannot download the metadata because of the certification error. Is there any solution to this How can I make this certification error disappear ...Show All
