bes7252's Q&A profile
Visual Studio 2008 (Pre-release) GridViewColumn Limitation
I have a problem with GridViewColumn when using CellTemplateSelector. The solution, I believe, is to allow a "DataContext" property on GridViewColumn. But first, the problem... I have a data aquisition application in which I want to define two (only) templates related to quality control: one for "good" data and one for "bad" data. Unfortunately the template must also supply the data binding path, meaning that I have to have copies of the templates for every piece of data that I might want to display. This defeats the purpose of a template as far as I am concerned because it conserves no effort. To illustrate the problem I have concocted the XAML file below. My application doesn't use XML data, but this was the ...Show All
Visual Studio Team System Display fullpath with filename in the WIT history
Hi all, Is there anyway that I could display fullpath with file name in the WIT history, like bug Currently, it only shows "Associated with changeset 1366". What I would like to see is something like this, "$/project/module/file.cs" Best Regards, ...Show All
Visual Studio Editing an existing connectionstring with the DataConnectionDialog at runtime
Can anyone tell me if it is possible to edit an existing connectionstring with the DataConnectionDialog at runtime in my own winform application I can create a new one at runtime in my own winform application using the following code: Microsoft.Data.ConnectionUI. DataConnectionDialog dcd = new Microsoft.Data.ConnectionUI. DataConnectionDialog (); Microsoft.Data.ConnectionUI. DataSource .AddStandardDataSources(dcd); Microsoft.Data.ConnectionUI. DataConnectionDialog .Show(dcd); Once I have created one, I would like to be able to use the same dialog to edit it by feeding it the existing connectionstring information (the equivalent of the PromptEdit method of the MSDASC.DataLinks object). Any help would be much appreciate ...Show All
Visual Studio Express Editions Filtering a database between two dates using MonthCalendars
Hi. I need my application to filter the contents of its database between two specific dates, as selected on 'From' and 'To' MonthCalendars, but my newbieness won't let me. I have the data, the calendars and the button, but I just can't work out what the code on the button should be to make this filter happen. Thanks in advance. AngusHuey, I found an article in code project titled QuickWhere: create complex forms for searching into databases. I believe this is exactly what you want. :-) Just take a look at the following link then download the project and have a try. http://www.codeproject.com/vb/net/QuickWhere.asp ...Show All
Smart Device Development Trouble conneting to WebService from the phone
Most of the problems that people encouter are from emulator, my problem is actually on the device itself. I'm using T-Mobile Dash with Windows Mobile 5.0. Everytime I try to connect to webservice from my mobile phone I'm getting similar error I guess like everyone else... Connection could not be established to the Network . I have no problem accessing WSDL page from IE using GPRS or EDGE. The webservice call is very simple call (HelloWorld) Is there any other settings I should check Yes I tried that option, nothing changed... also tried to call TMobile and of course they told me they don't support 3rd apps and since my IE connection works they can't help me. ...Show All
SQL Server SQL Server Agent Jobs
Hi, I'm new to this area so hope someone can help: 1) Does SQL Server agent jobs support executing windows script files (.wsf) I tried running using an Operating System Command (CmdExec) but nothing happened: wscript c:\file.wsf 2) The windows script file is located on the Web Server. I want to run the job from an SQL server calling the windows script file which is located on a different server. The target server is not an SQL Server. Is this possible Thanks, Martin Hi Jens, Thanks for your reply it was very helpful. I am having one problem with the remote windows script file (.wsf) as it appears to hang when I call it remotely. It does kick the script off and it runs until it hang ...Show All
Visual C# Need help with .Split()
I've actually got two situations with this method. The first is with the .Split command. It works with the majority of the names it's passed but a few are not being processed correctly. For instance, the majority of the name fields entering this routine look like this: Holt, James; however, a few look like this: Harden, Jr.,James, which the .Split doesn't process. I've tried several configurations, {' ', ',', '.'} for example and still nothing. The configuration shown below is the last attempt. The second problem I'm encountering is an indexing error. When I click on a name in the Tree, then click on a letter above the name I get this error: "Index was outside the bounds of the array." The tree looks like this when th ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cube texture
Hello. Here i would like to ask about how to use cube texture that i store in the dds file. here is my situation: i create cubetexture object from file, which is cubetexture.dds. I'm not planning on using it for the eviroment mapping like the teapot one in the directx sdk sample, i just want to draw a cube box using the cube.x file that i already created and map it using cube texture. is it possible if its possible, then how to actually did it. i kind of new in directx. the point of doing this is i want to test my hardware whether it able to render cube texture or not. Could someone please give me some clues about this I really appreciate your help in this. Thank you Well, it’s indeed possible, but no ...Show All
Visual C++ Problem with IO
I tried to copy an existing text file to another new file using StreamReader and StreamWriter. I read using ReadLine() and wrote with WriteLine(ReadLine()). But last it skips about 687 bytes. I had to bring the file poiner back by 687 and re read and rewrite. Is this a bug or anything i missed. ReadLine reads upto and including the carriage return ('\r', '\n', or "\r\n"), if that isn't the last byte/bytes of your file ReadLine will not read it for you and you'll miss the last few bytes of the file. ...Show All
SharePoint Products and Technologies Multiple web parts on a tabcard?
Hi all, I have a requirement where I would like to be able to host multiple web parts in a single part of the screen by using, for example, some kind of tabcard system where one web part can be displayed at a time. Clicking on a different tab would of course display a different web part. Has anybody done something similar to this or can anyone think of a way to simulate this type of behaviour My undertsanding is that by default a web part zone can only display multiple web parts in a horizontal or vertical orientation. If anyone is aware of a third party web part that can host multiple web parts in this manner I'd be interested to hear about that too. Depending on how complex the web parts are ( ...Show All
Visual Basic populating an Access database using visual basic 2005
I am trying to create a new employee application that gets input from a user in text boxes and then take that information and populate a database in Access that will later be pulled to the Track IT! database on SQLserver2005. How do i do it Thank you. there are a few ways of doing this but the easiest way probably would be to use a datagridview and dataAdapters. the datagridview is a control which allows you to databind values to it, and you can view/delete/edit/add records to the control (similar type of layout as when you view a Table in MS Access) using a DataAdapter allows you to easily "fill" a dataset with the query given and being able to allow you to also update the datasource (database). ...Show All
Windows Search Technologies Windows Safe Search Filter - Application Error
I use Windows Desktop Search and recently starting getting an error message. Details: WindowsSafeSearchFilter.exe - Application Error The exception unknown software exception (0x0eedfade) occured in the application at location 0x7c812a5b Followed by the error: Runtime error 217 007F0EEE What do these errors mean Dear Paul I am a computer novice and have the same problem (oxdeedfade and runtime error 217) Can you please express your advice of 11/6/2006 in easy to follow steps as it is rather complicated for me to follow at the moment. I do not know how to check about 3rd party filters or disable indexing! How do you do this ...Show All
Visual Studio Vb6 on Vista
I hope not to be primitive, but I still use Vb6. I Installed BEta version of Windows Vista (beta2), but I cannot install Vb6 on in it. I know, it is still Beta, but i want to ask of Vb6 will be workable in Windows Vista in the future Error: NTVDM encountered a hard error Thanks for listening. Forgive my 'dutch english'. Hi, We've managed to install the VB6 IDE on Vista RC1 - here's some information I hope helps: http://www.callmap.co.uk/vb6onvista.htm Cheers! ...Show All
SQL Server Visual Studio 2005 - "Generate Create Script" for SQL 2000 stored procedure
Hello. I have noticed that "Generate Create Script" feature changed in VS 2005 (compared to 2003). In VS 2003 this feature was displaying dialog window where I could choose some options on what to include in script and where to place it. In VS 2005 this feature just creates SQL script in "Create Scripts" folder, without any intermediate dialog, and now it uses sp_executesql procedure in a script. Is there any way to change this behaviour (back to what it used to be in VS 2003) Thanks Iouri A little late to this particular party, but I also agree that the scripting feature (including that in SQL Management Studio) is useless. When I script to a new query window, I have to remov ...Show All
Game Technologies: DirectX, XNA, XACT, etc. IndexOutOfRange Exception when using KeyboardState.IsKeyDown(Keys.Alt)
Hellooo... I'm playing around with XNA and i find it pretty cool so first of all: great job guys... but i think i ran in troubles with using KeyboardState.IsKeyDown(Keys.Alt) in my code. Everytime i tried IsKeyDown with the ALT key an IndexOutOfRange Exception was thrown. I haven't posted a Bug Report for now cause i don't know if it is a bug or just me noob ... so anyone other has a problem You can access the alt key like so: bool altDown = keyboardState.IsKeyDown( Keys.Menu ); The control and shift keys have slightly more intuitive enum entries for them, under ControlKey and ShiftKey, respectively. (The explanation is as follows. The key codes in use are the same as the VK_* defines that Win32 uses. The ...Show All
