jpresley's Q&A profile
Windows Forms ClickOnce and SDM files
ClickOnce defaults to include a project's System Definition Model (SDM) file as one of the application files. The SDM is flagged as a content file. My understanding of an application definition file (the .sdm file) is that it contains metadata regarding an application's relationship in the application diagram. Is there ever really a situation where the .sdm file should be deployed I.e. is the .sdm file truly "content". ...Show All
Software Development for Windows Vista Why is Microsoft using a proprietary web forum solution and a proprietary RSS format?
Why is Microsoft using a proprietary web forum solution instead of Internet standard newsgroups (e.g. microsoft.public.*) Why is Microsoft's propritetary web forums using a proprietary RSS format that doesn't work with Newsgator Michael. It's interesting to note that Google ranks Microsoft's proprietary web forums as the #2 and #3 hits when searching for "Microsoft proprietary". Checkout http://www.google.com/search q=Microsoft+proprietary ...Show All
Visual J# axWebBrowser
I have this problem in vusal j#, C:\Work\Form1.jsl(92): Cannot find method 'Navigate(String)' in 'AxSHDocVw.AxWebBrowser' I have no clue how to fix this, the program works on my friends comp but not mine, I'm running win xp sp2 with zone alarm security suite installed. Please reply -- Thanks I have been trying to do exactly the same thing, however, what you have suggested there, does not work for me. Anything I could do ...Show All
Smart Device Development DataGridBoolColumn
DataGridBoolColumn seems to be missing from the Smart Device (VB) development environment. I am using VS 2005 B2 - Win Mobile 5.0 - Compact Framework 2.0. I see the DataGridTextBoxColumn but not the Boolean one. Otherwise, how does one put a CheckBox into a DataGrid (for a Boolean column in a db table) You would need to create your own or use some third party DataGrid. Currently only the new DataGridView control in the V2 full .Net Framework has the capability to put checkbox into the Grid, and DataGridView control is not supported in .Net Compact Framework V2 David ...Show All
Visual Basic PropertyGrid problems
Hi, I am currently using the propertygrid control to browse an object containing many properties of different types, some being structures which contain properties of their own. The first problem is that when I create a class inheriting from ExpandableTypeConverter, and use this class as the type converter for a property in my base class, I cannot find a way to unbold the display text using the DefaultValue attribute... The second (more important) one is when I have one of these property (of the type of a user-defined structure) and I try to edit a property of the base property it does not change...The base property get m ...Show All
.NET Development Using DataReaders
Im currently trying to retrieve info from the database so that i can eidt it. I have declared my reader as follows: Dim objReader As OleDbDataReader = objSelectCusDetails.ExecuteReader However when it compiles, it doesnt come up with any errors but jsut as the form is about to load, theres an unhandled exception at the line in blue above. anyone see why this is the case It's rarely (okay, never) a good idea to run code (especially data access code) with an execption handler. The reasons why this code would fail would fill a chapter in a book--kinda like the one I wrote. S ...Show All
.NET Development The Download of the Specified Resource Has Failed Error
I am using a .NET 1.1 web service provided by a third party in an application. The application is used at a variety of sites with heterogenous network setups. A VPN exists between each of my client sites and the third party location of the web service. In 15% of the cases clients can view the web service in a browser but the browser hangs on trying to click a web method. For example http://remotesite/webservice.asmx works, but http://remotesite/webservice.asmx op=method1 does not work in the browser. Calls to method1 fail with "The download of specified resource has failed" error 2146697208. There is a KB article and oth ...Show All
Windows Forms WYSIWYG HTML Editor Control
There are tons of browserbased WYSIWYG HTML Editor controls. But, i'm building a windows based Content Managment System, and need a HTML Editor for Windows. Anyone know of a control i could use, or a way to export to HTML Is there classess to convert RitchText to HTML hi, thanks to jonas, i've been able to do a full english& ...Show All
Windows Forms Xpander controls license
Hello, I am trying to use Xpander controls in my project. Do they have licnese to buy from somewhere or free to use it Thanks. FWIW, I found this: http://codetools.com/vb/net/XPander.asp Regards. ...Show All
Visual Basic ListView flickering
Hello all I have a listview that I am adding image thumbnails to from a directory on disk. Because the directory has several hundred image files, I am using the .Refresh() method to show the thumbnails being added real-time (otherwise the application will take several seconds before it displays all the thumbs at once, not what I want) but the problem is there is way too much flicker everytime the listview is refreshed. Any suggestions Thanks. NRF What version of .Net are you using If its .Net 2.0 you can use the BackgroundWorker Component to load and add the thumbnails to the listview, that way your ui t ...Show All
Visual Studio Team System Windows SharePoint Services is not configured as recommended by Team Foundation Server.
I have tried everything to get TFS up running and i can't install the Beta on the server. Im runnning Windows 2k3 server and i have installed SQL server 2005 and the share point services. I tried to install everything as the help file describe. But when i run the TFS setup the error message says Windows SharePoint Services is not configured as recommended by Team Foundation Server So i have tried to uninstall the sharepoint services and then reinstall it. I have tried using the UI and also the silent mode as they describe in the help file but i have no luck. In the document it states to use the server farm option. however i do not get thi ...Show All
.NET Development How to use Serialport in VB?
I've search for exemple of how to use Serialport, but all my search ended up with c# examples... Any example in VB Thanks Nico One problem I've seen people have is not setting dtrenabled=true before opening the port. Ed ...Show All
Visual Basic .txt document manipulation through text boxes and command buttons
I'm trying to make a command button that when clicked, will save the text in a textbox, to a specific folder, under a certain file, without having a save menu come up, as well as then this button then displaying that same file in another text box. As well as setting up a timer, to open and re-open that file every few seconds. Can anyone help me on any of this If my wording above isnt too understandable to what im trying to do let me know. For reading and writing to and from text files, you'll want to look at the System.IO.Stream(Reader/Writer) objects. For example, to write to a specific file when you click on a button: Priva ...Show All
Windows Forms Menu Item Character Underline
In my main menu, I designate the Projects menu with the name &Projects, so that the 'P' will be an underlined shortcut for the menu. It shows up fine in the designer, but at runtime the underlining disappears. Any ideas/workarounds Jeff Since 2001, actually. Most of my .NET work over the past couple of years has been on t ...Show All
Microsoft ISV Community Center Forums VB6 XP Themes support. Solved! Source included...
Hello! I received help from nice people here(hi brenda) so i'll release this small patch right here. I know it's not right place, but hey... Here is decription: This code will make any VB6 application XP Themes compatible. No code or forms change needed. All you have to do is copy this code to a module(let's call it mdlTheme.bas) and call one function in your's Sub Main() So, your code will look like this: Sub main() DoTheTrick end sub Here is all code: --snip-- Option Explicit ' ' UxTheme patch to allow VB6 theming ' ' Marko Matic (c)2005 ' ' License Agreement: Marko Matic is not responsible for any possible dama ...Show All
