Apparel1's Q&A profile
Visual Basic How do I execute a form "FORM.VB"?
How do I execute a form "FORM.VB" Michael yes great code dude iam a total newbie to thiss hehe :p is it also possible to open a forum but then not a new window well yes a new window but i can also click the other window now is there a way to open a new window and then disable the other window thanxs alot ...Show All
Visual Studio Express Editions Audio file type problem
Hi In general, I have managed to play audio in VB, but am having problems with some files. I can set a .wav file as a local resource and play most succeessfully. using My .Computer.Audio.Play( My .Resources.Gotword, AudioPlayMode.WaitToComplete) There are some .wav files that cause run time errors. These are mostly free downloads from web sites, and produce the following run time error. Sound API only supports playing PCM wave files What would be different about these They play OK from within the VB Resource page, they play OK as in MS Windows Media Player. The program compiles OK, runs OK, only when reach the line to p ...Show All
Windows Forms Windows.Form.DataGrid And Large Sets Of Data
Hi there, I guess this is a FAQ-type of question, and I actually seen it asked for a number of times on these forums but nobody was able to answer it so I am giving it another try... I am having a large data set (in a broad sense), and would like to browse it using the mentioned above datagrid. I've implemented IList for my data (which resides in a simple binary file), and trying to use the grid with my implementation of IList. THE PROBLEM: DataGrid is sucking all the data into memory, and the app eventually runs out of memory. (I put a breakpoint in my item[] implementation and yes, it is called as many times as there are items in my lis ...Show All
Windows Forms Custom Control, how to make custom EventArg?
Anyone know how to make a custom EventArg setup for a Custom Control ie. make: public event EventHander SomeoneClickedMe; call: cntrlWhatever_SomeoneClickedMe(object sender, CustomEventArg e) instead of calling the default: cntrlWhatever_SomeoneClickedMe(object sender, EventArg e) Yes you are correct you don't have to inherit EventArgs, nor do you have this signature for your delegate: delegate void CustomEventHandler( object sender, EventArgs e); You could instead have this: delegate bool CustomEventHandler(Whatever e); However it makes it easier on consumers of your classe ...Show All
SQL Server RS 2005 run on SQL Server 2000 Database?
Our product currently works with Cystal Reports but we decided to enhance it so it works with another reporting platform (MS Reporting Services). We are in the beginning stages of developement and trying to decide which version of RS (2000 or 2005 ) to build the reports and integrate our web UI with. Most of our clients are using SQL Server 2000 for their database platform and we don't anticpate them upgrading to 2005 in the near future. If we built everything using RS 2005 could our clients deploy RS 2005 Report Server on a SQL 2000 Database Is the licenses ...Show All
Visual Studio Team System Problem with Beta 2 TFS Install with Sharepoint portion
Although I have had no problems installing the pieces for TFS during Beta 1 and all the CTPs , I can't get Sharepoint Services 2.0 to install correctly this time. I have tried 3X and I get this on install: An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator. I am running in a Win2K3 Standard VPC image with Service Pack 1. That is the only difference over the other times . Any ideas Which came first - IIS or AD If you installed AD after installing IIS, you wi ...Show All
Visual Basic giving a webbrowser class html code from a variable/writing an html parser
hello all. is it possible to give a webbrowser class html code from a variable i'm writing my own custom mail program using the mapi controls, and it works ok for plain text messages, but for most messages (which are in html) i need to write html parsing code and then i need to figure out how to give it to a webbrowser. any help would be much appreciated; i'm a student, and i'm trying to learn more about vb. oh, yeah, help for vb6 would be most appreciated. here's the sub for getting mail with mapiS (a MAPISession control) and mapiM (a MAPIMessages control) it might help a little. Option Explicit Dim msgs As Integer Dim newmsgs As Integer D ...Show All
SQL Server DBCC SHRINKFILE
I have a VLDB. It is about 120GB of physical disk space. Periodically, the MDF bloats from 120GB to 230+ GB. It takes as much space as there is available to it on the drive. This occurs whether data is imported into it or not. It happens regularly but not on a schedule (i.e 1-2 times/week but different days of the week) There is a job that reindexes the tables periodically, which I thought was the culprit, but the job is not disabled and the DB is still ballooning. What would cause the DB to bloat Also, it takes several hours to shrink the DB using DBCC SHRINKDATABASE or SHRINKFILE. If I try to truncate only ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Help with a simple Direct3d Program
I have been following the tutorials at Pieter Germishuys website (http://www.pieterg.com/) to try and teach myself the basics of Direct3d. However, the way his tutorials are written do not fully explain a few aspects, and I have found myself stuck. The 2nd tutorial is used to create a simple colored triangle. I find myself staring at a black box instead of a colored triangle. I am hoping that someone can help me figure this out. Thanks in advance, Mark Chandler Direct3d.cs using System; using System.Drawing; using System.Windows.Forms; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; //DirectX class that inherets fr ...Show All
Windows Forms WebBrowser Steals Focus
Whenever the Navigate(URL) method is called the WebBrowser control steals the focus from the application once the URL is loaded. Is there anyway to prevent this I have an application that functions similar to outlook in that you click on results and they open in the preview. The preview window is a WebBrowser so I want the focus to remain on the results when I click one so that I can scroll through them with the arrow keys. However the WebBrowser steals the focus so that the arrow keys only scroll the web page. Thanks, Dan One possibility -- handle the WebBrowser's Navigated event and set focus back t ...Show All
Visual Studio Team System Intellisense????
I'm delighted and amazed that this product is coming however I already have one RFE....object Intellisense, the like of which is done by Prompt SQL (which has just been bought by Redgate). e.g. I type a table name followed by a period (.) and intellisense pops up a list of all the columns names. Any chance of getting that in Thanks -Jamie At this point, Intellisense is not in the product. Trust me, you're not the only one asking for it. Cheers, Brian Randell MCW Technologies ...Show All
Visual Studio Team System import using witimport fails in VSTS Beta3
I try to import WorkItem, using witimport utility. WorkItem pass validation successfully (witimport with /v flag). Actual import fails with "Account not recognized" error. I have logged in as tfssetup user which is domain user and member of TeamSystem Administrators group. Please help me out. Installations Installated Win2003 SP1 with latest updates, Team Foundation Server beta3 on server WinXP SP2 with latest updates, VSTS 2005 Release Candidate on client. It sounds like you are running into the delay caused by our syncing with Active Directory. Team Foundation has a background pr ...Show All
Windows Forms Visual representation of a list (ala ListBox bottom to top)
Hello all, getting ready to give up trying to figure out how to do what i need on my own so i'm trying my luck in asking here. I have a list of objects that i wish to represent in a visual list like a ListBox, the problem is i need to draw the items from the bottom of the control and upwards. I need the SelectedItem functionality offered by the ListBox (as well as Key-events, mouse-events and collection-changed-type-events) which has had me look at the ListBox control, however as far as i have found there's no way to reverse the order it draws it's items (without resorting to some serious headache trying to modify the areas to draw in ...Show All
Windows Forms What to use...
If I want an information rectangle to pop up after hovering over a stationary target for x amount of seconds, what should I use for the information rectangle A form or what Thanks, Devin Sounds like a tooltip to me. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbcontooltipcontroloverview.asp ...Show All
Windows Forms Grouping Extender Provider properties in a Tree View manner
Hello All, With regular properties, you can apply a TypeConverter to group related controls together in a TreeView manner (eg they display in the PropertyGrid with a plus sign that you can click to expand the list). This helps to organize related properties together regardless of property names. I would like to do the same thing with Extender Provider properties but have not been able to figure out how to do so. I am assuming (I know, I know) that this is because Extender Provider properties are not really implemented as properties but as paired GetPropertyName/SetPropertyName methods. A couple klugy work-a-rounds are possible: 1) Apply a Ca ...Show All
