Answer Questions
MikeTennor Add Flash9 Control to VS2005
I added Flash9.ocx(c:\program files\system32\macromed\flash\) to vb2005 toolbox, when I draw the "Shockwave Flash Control" to form, there comes errors: * Could not resolve dependent COM reference "stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". * Failed to create the wrapper assembly for type library "AxShockwaveFlashObjects". Exception of type 'Microsoft.Build.Tasks.ComReferenceResolutionException' was thrown. * The referenced component 'AxShockwaveFlashObjects' could not be found. Failed to create the wrapper assembly for type library "AxShockwaveFlashObjects". Exception of type 'Microsoft.Build.Tasks.ComReferenceResolutionException' was thro ...Show All
PublicError VB6 Image control in VB2005 used as feedback device in a picture
In VB6 I used Image controls to give visible feedback when the mouse moves over a 'sensitive' area in a picture: set the borderstyle to fixedsingle and set it back to none when it's outside. I am looking for a simple equivalent in VB2005. VB6 Image controls are transparent, but anything I can find in VB2005 in the form of (user-) controls is opaque (right ) and requires a lot of hassle with the underlying image. So the functionality I am looking for is to let the user know where on a picture he can click, for further info and whatever. Without ruining the picture (a bitmap in a picturebox on a panel). Should be easy, but can't find any help in the help. Help! A transparent control isn't really tran ...Show All
StephenWalker Data vanishing during run time
When I enter data into a SQL database and save it, the data that I have just added vanishes, but when I close the applicaiton and re-open it, it's still there - is there any reason for this and any way to get it to stay can you post some code you are using have you also tried the response given previously and see if that helps/fits your criteria :-) you can just refill the dataset/rebind the data however you did it initially to show the data to the user :-) (filling the dataset with the tableadapter/dataadapter and binding it) Sorry confusion on my part, it's when the program is being debugged or built Sorry my mistake again, i've solved he problem - I took ...Show All
nzmike Linking Textboxes (threading). TAB ORDER or / and FOCUS.
Please can someone help- Is there an easy way to link textboxes together so text input flows from 1 textbox to the next automatically This is commonly used, often in the entry of Product Keys and OEMs when installing software, so I thought there may be an easy way to do this as an alternative to handling lots of TextChanged and KeyPress events. Thank you. Hi and thank you for your reply. So, what you are really saying is that there is NO quick way of doing this, other than handling the text change events and coding the move to the next text box. Thank you for the clarification and your help. Colin Hi, Yes go to the VIEW menu and select TAB ORDER in design mode. Select the textboxes in order e.g. ...Show All
Benjamin Coats Help! Insert Text Into Rich Text Box
I can't seem to figure out how to take text read from a listbox and insert it into a richtextbox. I thought this would work: Dim insertText As String = ListBox1.SelectedItem.ToString myPos = RichTextBox1.SelectionStart RichTextBox1.Text.Insert(myPos, insertText) What am I doing wrong Help!!!! Thanks! Thanks for the quick response! I should have explained better... My bad... I am populating RichTextBox1 with what amounts to a tab-delimited text file that I am reading from my UNIX server: Dim file As New System.IO.StreamReader(editFile) words = file.ReadToEnd() file.Close() Kill(editFile) Me .Hide() Dim frm15 As New Form15 frm15.RichTextBox1.Text = words frm ...Show All
maxascent traking internet explorer
how can i block IE to get / download any files or adress that contain any word I'm not sure you can do this in .NET but you can however go into the tools > internet options and specify your filter list I think, as well as investing in some network traffic/proxy/filters which does this job for you. ...Show All
Charlie Audritsh Recommendation...
Hello. I am new on vb.net and I'd want to know what is the better way to do: Specifications: 1 - I have 2 forms. The form1 calls the form2. 2 - Form1 must pass parameters to form2. (ex customer number) 3 - On the form2 the usager can insert, modify, delete data on the choosen customer. What is the better way to do that 1 -Knowing I will go to modify data, In the form1 I must create a dataset 2- To pass the parameters from form1 to form2. Form2 must inherite of form1 or I must use a public var thanks... take a look at this on passing variables from one form to the other http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=835382&SiteID=1 http://forums.mic ...Show All
ehrlich ActiveX components
Are ActiveX controls lost and gone forever I have a project where I need to access client side system data and I would LOVE to have them simply access a web site with an ActiveX control to do this, but Im wondering if I'll need to lean on a Windows Form App instead... thanks... so im assuming that means that i should look at distributing a winform app to access client system info ActiveX is a previous technology....as such trying to keep up with not only the latest and greatest technology as well as security you should try to develope your application using .NET Controls thank you for the reply... i actually started a separate thread specifically for the process itself, so here's a little more info on what I am look ...Show All
grellsworth :: Serial Receive :: Helpp
Hey all.. i could be called a novice in VB.NET.. ive used it for two big projects with serial comms with no problems, but im getting a problem with the serial communications this time.. when data is received , the function takes the received byte and should store it, but it doesnt let me write it to a text box, i get an error in debugger... Error: Cross-thread operation not valid: Control 'TextBox22' accessed from a thread other than the thread it was created on. Code: Private Sub myport_DataReceived( ByVal sender As Object , ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles myport.DataReceived Rxint = myport.ReadByte TextBox22.Text = Rxint End Sub P.S. - Rxint is an integ ...Show All
morphius1 A Framework Bug?!
The following code snippet is compiled with no problem: Dim arrList2 As New ArrayList arrList2.Add(1) arrList2.Add(2) arrList2.Add(3) arrList2.Add(4) Dim arr2(arrList2.Count) As Integer arrList2.CopyTo(arr2) But this one doesn't: Dim ListBox1 As New ListBox ListBox1.Items.Add(1) ListBox1.Items.Add(2) ListBox1.Items.Add(3) ListBox1.Items.Add(4) Dim arrList As ArrayList = ArrayList.Adapter(ListBox1.Items) Dim arr(arrList.Count) As Integer arrList.CopyTo(arr) When I use the Adapter method to create a wrapper for the listbox items(it returns an arraylist which references exactly the items in the listbox), some arraylist methods do not work correc ...Show All
James Rea DecimalPlaces property missing in NumericUpDown?????
I am writing a Visual Basic application for PocketPC 2003, using Visual Studio 2005. I want a NumericUpDown control with an increment value of 0.1. If I just try to set the increment value to that, it is stored as 0 and the control doesn't work. Reading the online documentation, it looks as if I should set the DecimalPlaces property, but when I look for this property, I can't find it. If I try to change it programatically: myUpDown.DecimalPlaces=1 I get an error, that the property does not exist. Any idea what I am doing wrong, or if this is a bug and if there is a work-around Thanks Sorry I didn't reply earlier. I had requested notifications, and didn't get any, so I thought that there had not been any ...Show All
Lars Andreas Ek Help with disable keyboard, mouse and screen
I currently doing a project tat requried a pop up to warn the user to take a rest. Upon the pop up the user will not be able to continue using the computer is there any suggestion on how i can do that thank alot. Hello thank for answering the question i would like to ask you tat what you stated can i make it in such a way that it will stay at the form and hold till 5 minutes. As in the user will nt b able to do any thing in between that period of time. you can use a timer to achieve what you are doing. So if the application is in use for say, 5 minutes, then the application/timer will kick in and say "take a break" and wont be available until another 5 minutes ...Show All
geliser131 Visual Basic Express application stops before showing form on another computer
I have now tried 3 separate applications, one being just a simple form with no underlying code at all. All three applications will run fine on my Dell desktop (XP) and Dell laptop (2000) but will not run on my Toshiba laptop (XP). I do the development on my desktop so I cannot run debug on the Toshiba laptop. When I run the applications on the Toshiba, the process explorer shows it starting and immediately stopping. Placing a few log statements in the code, I noticed that the application is stopping when the form is trying to display. Load form is working fine but show form does not seem to be. This must be a configuration issue with the Toshiba as it is the only computer that does not work. However, I have done all MS ...Show All
laurin1 Reminder
Hey I am making a reminder program in Visual Basic and I was wondering if there was a way to automatically run my program when the computer is turned on, and have an icon in the notification taskbar that users can click. Thanks well you could schedule a task to run it. as for the taskbar I do not know There is a NotifyIcon control that you can use: add it to a form, which will add an icon to the system try/notification area. Obviously, you need to set the icon and a few other properties. With the control selected, hit F1 and an overview of the NotifyIcon will pop up. There's an example available there. Add a timer to the form to periodically (every one second or so) check for a specific t ...Show All
Gary Trembath inventory program
Hi, I'm interested in making an inventory program for my business which sells items and we need to keep track of our inventory and quantities of items. Does anyone know of a tutorial that I can be directed to to learn how to make this program or can anyone lead my through the process themselves This would be much appreciated. Thanks, -Isaac Where to start depends on the complexity of what you want to build. If you are simply looking to keep track of items, quantities and customers, MS Access comes with a sample database called Northwind.mdb that does just that for a fictitious company, you might get some ideas for what you want to build there. I do not know of any t ...Show All
